2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.65 for ibis 1.5.7.
6
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11
@%:@ This configure script is free software; the Free Software Foundation
12
@%:@ gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in @%:@(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
93
*[\\/]* ) as_myself=$0 ;;
94
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
test -z "$as_dir" && as_dir=.
99
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
# in which case we are not to be found in the path.
107
if test "x$as_myself" = x; then
110
if test ! -f "$as_myself"; then
111
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115
# Unset variables that we do not need and which cause bugs (e.g. in
116
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117
# suppresses any "Segmentation fault" message there. '((' could
118
# trigger a bug in pdksh 5.2.14.
119
for as_var in BASH_ENV ENV MAIL MAILPATH
120
do eval test x\${$as_var+set} = xset \
121
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
if test "x$CONFIG_SHELL" = x; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in @%:@(
147
set -o posix ;; @%:@(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
test \$(( 1 + 1 )) = 2 || exit 1"
175
if (eval "$as_required") 2>/dev/null; then :
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188
test -z "$as_dir" && as_dir=.
190
case $as_dir in @%:@(
192
for as_base in sh bash ksh sh5; do
193
# Try only shells that exist, to save several forks.
194
as_shell=$as_dir/$as_base
195
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
CONFIG_SHELL=$as_shell as_have_required=yes
198
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
CONFIG_SHELL=$SHELL as_have_required=yes
213
if test "x$CONFIG_SHELL" != x; then :
214
# We cannot yet assume a decent shell, so we have to provide a
215
# neutralization value for shells without unset; and this also
216
# works around shells that cannot unset nonexistent variables.
219
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224
if test x$as_have_required = xno; then :
225
$as_echo "$0: This script requires a shell more modern than all"
226
$as_echo "$0: the shells that I found on your system."
227
if test x${ZSH_VERSION+set} = xset ; then
228
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
$0: including any error possibly output before this
233
$0: message. Then install a modern shell, or manually run
234
$0: the script under such a shell if you do have one."
240
SHELL=${CONFIG_SHELL-/bin/sh}
242
# Unset more variables known to interfere with behavior of common tools.
243
CLICOLOR_FORCE= GREP_OPTIONS=
244
unset CLICOLOR_FORCE GREP_OPTIONS
246
## --------------------- ##
247
## M4sh Shell Functions. ##
248
## --------------------- ##
251
@%:@ Portably unset VAR.
254
{ eval $1=; unset $1;}
258
@%:@ as_fn_set_status STATUS
259
@%:@ -----------------------
260
@%:@ Set @S|@? to STATUS, without forking.
264
} @%:@ as_fn_set_status
266
@%:@ as_fn_exit STATUS
267
@%:@ -----------------
268
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
283
-*) as_dir=./$as_dir;;
285
test -d "$as_dir" || eval $as_mkdir_p || {
289
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292
as_dirs="'$as_qdir' $as_dirs"
293
as_dir=`$as_dirname -- "$as_dir" ||
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
X"$as_dir" : 'X\(//\)[^/]' \| \
296
X"$as_dir" : 'X\(//\)$' \| \
297
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
$as_echo X"$as_dir" |
299
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316
test -d "$as_dir" && break
318
test -z "$as_dirs" || eval "mkdir $as_dirs"
319
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
@%:@ as_fn_append VAR VALUE
324
@%:@ ----------------------
325
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
326
@%:@ advantage of any shell optimizations that allow amortized linear growth over
327
@%:@ repeated appends, instead of the typical quadratic growth present in naive
328
@%:@ implementations.
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
eval 'as_fn_append ()
341
@%:@ as_fn_arith ARG...
342
@%:@ ------------------
343
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
344
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
345
@%:@ must be portable across @S|@(()) and expr.
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354
as_val=`expr "$@" || test $? -eq 1`
359
@%:@ as_fn_error ERROR [LINENO LOG_FD]
360
@%:@ ---------------------------------
361
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
@%:@ script with status @S|@?, using 1 if that was 0.
366
as_status=$?; test $as_status -eq 0 && as_status=1
368
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371
$as_echo "$as_me: error: $1" >&2
372
as_fn_exit $as_status
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
test "X`expr 00001 : '.*\(...\)'`" = X001; then
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394
as_me=`$as_basename -- "$0" ||
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
X"$0" : 'X\(//\)$' \| \
397
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399
sed '/^.*\/\([^/][^/]*\)\/*$/{
413
# Avoid depending upon Character Ranges.
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
as_cr_digits='0123456789'
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
421
as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441
chmod +x "$as_me.lineno" ||
442
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444
# Don't try to exec as it changes $[0], causing all sort of problems
445
# (the dirname of $[0] is not the place where we might find the
446
# original and so on. Autoconf is especially sensitive to this).
448
# Exit status is that of the last command.
452
ECHO_C= ECHO_N= ECHO_T=
453
case `echo -n x` in @%:@(((((
455
case `echo 'xy\c'` in
456
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
458
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465
rm -f conf$$ conf$$.exe conf$$.file
466
if test -d conf$$.dir; then
467
rm -f conf$$.dir/conf$$.file
470
mkdir conf$$.dir 2>/dev/null
472
if (echo >conf$$.file) 2>/dev/null; then
473
if ln -s conf$$.file conf$$ 2>/dev/null; then
475
# ... but there are two gotchas:
476
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
# In both cases, we have to default to `cp -p'.
479
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481
elif ln conf$$.file conf$$ 2>/dev/null; then
489
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
rmdir conf$$.dir 2>/dev/null
492
if mkdir -p . 2>/dev/null; then
493
as_mkdir_p='mkdir -p "$as_dir"'
495
test -d ./-p && rmdir ./-p
499
if test -x / >/dev/null 2>&1; then
502
if ls -dL / >/dev/null 2>&1; then
509
if test -d "$1"; then
515
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
516
???[sx]*):;;*)false;;esac;fi
520
as_executable_p=$as_test_x
522
# Sed expression to map a string onto a valid CPP name.
523
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525
# Sed expression to map a string onto a valid variable name.
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
# Check that we are running under the correct shell.
531
SHELL=${CONFIG_SHELL-/bin/sh}
535
# Remove one level of quotation (which was required for Make).
536
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541
if test "X$1" = X--no-reexec; then
542
# Discard the --no-reexec flag, and continue.
544
elif test "X$1" = X--fallback-echo; then
545
# Avoid inline document here, it may be left over
547
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
# Yippee, $ECHO works!
551
# Restart under the correct shell.
552
exec $SHELL "$0" --no-reexec ${1+"$@"}
555
if test "X$1" = X--fallback-echo; then
556
# used as fallback echo
564
# The HP-UX ksh and POSIX shell print the target directory to stdout
566
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568
if test -z "$lt_ECHO"; then
569
if test "X${echo_test_string+set}" != Xset; then
570
# find a string as large as possible, as long as the shell can cope with it
571
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
test "X$echo_testing_string" = "X$echo_test_string"; then
586
# The Solaris, AIX, and Digital Unix default echo programs unquote
587
# backslashes. This makes it impossible to quote backslashes using
588
# echo "$something" | sed 's/\\/\\\\/g'
590
# So, first we look for a working echo in the user's PATH.
592
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
for dir in $PATH /usr/ucb; do
595
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
test "X$echo_testing_string" = "X$echo_test_string"; then
605
if test "X$ECHO" = Xecho; then
606
# We didn't find a better echo, so look for alternatives.
607
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
test "X$echo_testing_string" = "X$echo_test_string"; then
610
# This shell has a builtin print -r that does the trick.
612
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
test "X$CONFIG_SHELL" != X/bin/ksh; then
614
# If we have ksh, try running configure again with it.
615
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
export ORIGINAL_CONFIG_SHELL
617
CONFIG_SHELL=/bin/ksh
619
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
test "X$echo_testing_string" = "X$echo_test_string"; then
628
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
test "X$echo_testing_string" = 'X\t' &&
630
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
test "X$echo_testing_string" = "X$echo_test_string"; then
632
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634
SHELL="$CONFIG_SHELL"
636
ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
test "X$echo_testing_string" = 'X\t' &&
639
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
test "X$echo_testing_string" = "X$echo_test_string"; then
641
ECHO="$CONFIG_SHELL $0 --fallback-echo"
643
# maybe with a smaller string...
646
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654
if test "$prev" != 'sed 50q "$0"'; then
655
echo_test_string=`eval $prev`
656
export echo_test_string
657
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659
# Oops. We lost completely, so just stick with echo.
668
# Copy echo and quote the copy suitably for passing to libtool from
669
# the Makefile, instead of quoting the original, which is used later.
671
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678
test -n "$DJDIR" || exec 7<&0 </dev/null
682
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
683
# so uname gets run too.
684
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689
ac_default_prefix=/usr/local
691
ac_config_libobj_dir=.
698
# Identity of this package.
700
PACKAGE_TARNAME='ibis'
701
PACKAGE_VERSION='1.5.7'
702
PACKAGE_STRING='ibis 1.5.7'
706
ac_unique_file="src/ibis_api.h"
707
# Factoring default headers for most tests.
708
ac_includes_default="\
710
#ifdef HAVE_SYS_TYPES_H
711
# include <sys/types.h>
713
#ifdef HAVE_SYS_STAT_H
714
# include <sys/stat.h>
720
# ifdef HAVE_STDLIB_H
725
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730
#ifdef HAVE_STRINGS_H
731
# include <strings.h>
733
#ifdef HAVE_INTTYPES_H
734
# include <inttypes.h>
743
ac_subst_vars='am__EXEEXT_FALSE
752
OSM_BUILD_OPENIB_FALSE
753
OSM_BUILD_OPENIB_TRUE
823
MAINTAINER_MODE_FALSE
833
INSTALL_STRIP_PROGRAM
875
program_transform_name
888
enable_option_checking
889
enable_maintainer_mode
890
enable_dependency_tracking
905
ac_precious_vars='build_alias
920
# Initialize some variables set by options.
922
ac_init_version=false
923
ac_unrecognized_opts=
925
# The variables have the same names as the options, with
926
# dashes changed to underlines.
934
program_transform_name=s,x,x,
942
# Installation directory options.
943
# These are left unexpanded so users can "make install exec_prefix=/foo"
944
# and all the variables that are supposed to be based on exec_prefix
945
# by default will actually change.
946
# Use braces instead of parens because sh, perl, etc. also accept them.
947
# (The list follows the same order as the GNU Coding Standards.)
948
bindir='${exec_prefix}/bin'
949
sbindir='${exec_prefix}/sbin'
950
libexecdir='${exec_prefix}/libexec'
951
datarootdir='${prefix}/share'
952
datadir='${datarootdir}'
953
sysconfdir='${prefix}/etc'
954
sharedstatedir='${prefix}/com'
955
localstatedir='${prefix}/var'
956
includedir='${prefix}/include'
957
oldincludedir='/usr/include'
958
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
959
infodir='${datarootdir}/info'
964
libdir='${exec_prefix}/lib'
965
localedir='${datarootdir}/locale'
966
mandir='${datarootdir}/man'
972
# If the previous option needs an argument, assign it.
973
if test -n "$ac_prev"; then
974
eval $ac_prev=\$ac_option
980
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
984
# Accept the important Cygnus configure options, so we can diagnose typos.
986
case $ac_dashdash$ac_option in
990
-bindir | --bindir | --bindi | --bind | --bin | --bi)
992
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
995
-build | --build | --buil | --bui | --bu)
996
ac_prev=build_alias ;;
997
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
998
build_alias=$ac_optarg ;;
1000
-cache-file | --cache-file | --cache-fil | --cache-fi \
1001
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1002
ac_prev=cache_file ;;
1003
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1004
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1005
cache_file=$ac_optarg ;;
1007
--config-cache | -C)
1008
cache_file=config.cache ;;
1010
-datadir | --datadir | --datadi | --datad)
1012
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1013
datadir=$ac_optarg ;;
1015
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1016
| --dataroo | --dataro | --datar)
1017
ac_prev=datarootdir ;;
1018
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1019
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1020
datarootdir=$ac_optarg ;;
1022
-disable-* | --disable-*)
1023
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1024
# Reject names that are not valid shell variable names.
1025
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026
as_fn_error "invalid feature name: $ac_useropt"
1027
ac_useropt_orig=$ac_useropt
1028
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029
case $ac_user_opts in
1031
"enable_$ac_useropt"
1033
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1034
ac_unrecognized_sep=', ';;
1036
eval enable_$ac_useropt=no ;;
1038
-docdir | --docdir | --docdi | --doc | --do)
1040
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1041
docdir=$ac_optarg ;;
1043
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1045
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1046
dvidir=$ac_optarg ;;
1048
-enable-* | --enable-*)
1049
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1050
# Reject names that are not valid shell variable names.
1051
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1052
as_fn_error "invalid feature name: $ac_useropt"
1053
ac_useropt_orig=$ac_useropt
1054
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1055
case $ac_user_opts in
1057
"enable_$ac_useropt"
1059
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1060
ac_unrecognized_sep=', ';;
1062
eval enable_$ac_useropt=\$ac_optarg ;;
1064
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1065
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1066
| --exec | --exe | --ex)
1067
ac_prev=exec_prefix ;;
1068
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1069
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1070
| --exec=* | --exe=* | --ex=*)
1071
exec_prefix=$ac_optarg ;;
1073
-gas | --gas | --ga | --g)
1074
# Obsolete; use --with-gas.
1077
-help | --help | --hel | --he | -h)
1078
ac_init_help=long ;;
1079
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1080
ac_init_help=recursive ;;
1081
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1082
ac_init_help=short ;;
1084
-host | --host | --hos | --ho)
1085
ac_prev=host_alias ;;
1086
-host=* | --host=* | --hos=* | --ho=*)
1087
host_alias=$ac_optarg ;;
1089
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1091
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1093
htmldir=$ac_optarg ;;
1095
-includedir | --includedir | --includedi | --included | --include \
1096
| --includ | --inclu | --incl | --inc)
1097
ac_prev=includedir ;;
1098
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1099
| --includ=* | --inclu=* | --incl=* | --inc=*)
1100
includedir=$ac_optarg ;;
1102
-infodir | --infodir | --infodi | --infod | --info | --inf)
1104
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1105
infodir=$ac_optarg ;;
1107
-libdir | --libdir | --libdi | --libd)
1109
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1110
libdir=$ac_optarg ;;
1112
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1113
| --libexe | --libex | --libe)
1114
ac_prev=libexecdir ;;
1115
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1116
| --libexe=* | --libex=* | --libe=*)
1117
libexecdir=$ac_optarg ;;
1119
-localedir | --localedir | --localedi | --localed | --locale)
1120
ac_prev=localedir ;;
1121
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1122
localedir=$ac_optarg ;;
1124
-localstatedir | --localstatedir | --localstatedi | --localstated \
1125
| --localstate | --localstat | --localsta | --localst | --locals)
1126
ac_prev=localstatedir ;;
1127
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1128
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1129
localstatedir=$ac_optarg ;;
1131
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1133
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1134
mandir=$ac_optarg ;;
1136
-nfp | --nfp | --nf)
1137
# Obsolete; use --without-fp.
1140
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1141
| --no-cr | --no-c | -n)
1144
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1145
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1148
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1149
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1150
| --oldin | --oldi | --old | --ol | --o)
1151
ac_prev=oldincludedir ;;
1152
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1153
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1154
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1155
oldincludedir=$ac_optarg ;;
1157
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1159
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1160
prefix=$ac_optarg ;;
1162
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1163
| --program-pre | --program-pr | --program-p)
1164
ac_prev=program_prefix ;;
1165
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1166
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1167
program_prefix=$ac_optarg ;;
1169
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1170
| --program-suf | --program-su | --program-s)
1171
ac_prev=program_suffix ;;
1172
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1173
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1174
program_suffix=$ac_optarg ;;
1176
-program-transform-name | --program-transform-name \
1177
| --program-transform-nam | --program-transform-na \
1178
| --program-transform-n | --program-transform- \
1179
| --program-transform | --program-transfor \
1180
| --program-transfo | --program-transf \
1181
| --program-trans | --program-tran \
1182
| --progr-tra | --program-tr | --program-t)
1183
ac_prev=program_transform_name ;;
1184
-program-transform-name=* | --program-transform-name=* \
1185
| --program-transform-nam=* | --program-transform-na=* \
1186
| --program-transform-n=* | --program-transform-=* \
1187
| --program-transform=* | --program-transfor=* \
1188
| --program-transfo=* | --program-transf=* \
1189
| --program-trans=* | --program-tran=* \
1190
| --progr-tra=* | --program-tr=* | --program-t=*)
1191
program_transform_name=$ac_optarg ;;
1193
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1195
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1196
pdfdir=$ac_optarg ;;
1198
-psdir | --psdir | --psdi | --psd | --ps)
1200
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1203
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1204
| -silent | --silent | --silen | --sile | --sil)
1207
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1209
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1211
sbindir=$ac_optarg ;;
1213
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1214
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1215
| --sharedst | --shareds | --shared | --share | --shar \
1217
ac_prev=sharedstatedir ;;
1218
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1219
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1220
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1222
sharedstatedir=$ac_optarg ;;
1224
-site | --site | --sit)
1226
-site=* | --site=* | --sit=*)
1229
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1231
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1232
srcdir=$ac_optarg ;;
1234
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1235
| --syscon | --sysco | --sysc | --sys | --sy)
1236
ac_prev=sysconfdir ;;
1237
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1238
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1239
sysconfdir=$ac_optarg ;;
1241
-target | --target | --targe | --targ | --tar | --ta | --t)
1242
ac_prev=target_alias ;;
1243
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1244
target_alias=$ac_optarg ;;
1246
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1249
-version | --version | --versio | --versi | --vers | -V)
1250
ac_init_version=: ;;
1253
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1254
# Reject names that are not valid shell variable names.
1255
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1256
as_fn_error "invalid package name: $ac_useropt"
1257
ac_useropt_orig=$ac_useropt
1258
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1259
case $ac_user_opts in
1263
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1264
ac_unrecognized_sep=', ';;
1266
eval with_$ac_useropt=\$ac_optarg ;;
1268
-without-* | --without-*)
1269
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1270
# Reject names that are not valid shell variable names.
1271
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1272
as_fn_error "invalid package name: $ac_useropt"
1273
ac_useropt_orig=$ac_useropt
1274
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275
case $ac_user_opts in
1279
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1280
ac_unrecognized_sep=', ';;
1282
eval with_$ac_useropt=no ;;
1285
# Obsolete; use --with-x.
1288
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1289
| --x-incl | --x-inc | --x-in | --x-i)
1290
ac_prev=x_includes ;;
1291
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1292
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1293
x_includes=$ac_optarg ;;
1295
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1296
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1297
ac_prev=x_libraries ;;
1298
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1299
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1300
x_libraries=$ac_optarg ;;
1302
-*) as_fn_error "unrecognized option: \`$ac_option'
1303
Try \`$0 --help' for more information."
1307
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1308
# Reject names that are not valid shell variable names.
1309
case $ac_envvar in #(
1310
'' | [0-9]* | *[!_$as_cr_alnum]* )
1311
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1313
eval $ac_envvar=\$ac_optarg
1314
export $ac_envvar ;;
1317
# FIXME: should be removed in autoconf 3.0.
1318
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1319
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1320
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1321
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1327
if test -n "$ac_prev"; then
1328
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1329
as_fn_error "missing argument to $ac_option"
1332
if test -n "$ac_unrecognized_opts"; then
1333
case $enable_option_checking in
1335
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1336
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1340
# Check all directory arguments for consistency.
1341
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1342
datadir sysconfdir sharedstatedir localstatedir includedir \
1343
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1344
libdir localedir mandir
1346
eval ac_val=\$$ac_var
1347
# Remove trailing slashes.
1350
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1351
eval $ac_var=\$ac_val;;
1353
# Be sure to have absolute directory names.
1355
[\\/$]* | ?:[\\/]* ) continue;;
1356
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1358
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1361
# There might be people who depend on the old broken behavior: `$host'
1362
# used to hold the argument of --host etc.
1363
# FIXME: To remove some day.
1366
target=$target_alias
1368
# FIXME: To remove some day.
1369
if test "x$host_alias" != x; then
1370
if test "x$build_alias" = x; then
1371
cross_compiling=maybe
1372
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1373
If a cross compiler is detected then cross compile mode will be used." >&2
1374
elif test "x$build_alias" != "x$host_alias"; then
1380
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1382
test "$silent" = yes && exec 6>/dev/null
1385
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1386
ac_ls_di=`ls -di .` &&
1387
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1388
as_fn_error "working directory cannot be determined"
1389
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1390
as_fn_error "pwd does not report name of working directory"
1393
# Find the source files, if location was not specified.
1394
if test -z "$srcdir"; then
1395
ac_srcdir_defaulted=yes
1396
# Try the directory containing this script, then the parent directory.
1397
ac_confdir=`$as_dirname -- "$as_myself" ||
1398
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1399
X"$as_myself" : 'X\(//\)[^/]' \| \
1400
X"$as_myself" : 'X\(//\)$' \| \
1401
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1402
$as_echo X"$as_myself" |
1403
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1421
if test ! -r "$srcdir/$ac_unique_file"; then
1425
ac_srcdir_defaulted=no
1427
if test ! -r "$srcdir/$ac_unique_file"; then
1428
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1429
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1431
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1433
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1435
# When building in place, set srcdir=.
1436
if test "$ac_abs_confdir" = "$ac_pwd"; then
1439
# Remove unnecessary trailing slashes from srcdir.
1440
# Double slashes in file names in object file debugging info
1441
# mess up M-x gdb in Emacs.
1443
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1445
for ac_var in $ac_precious_vars; do
1446
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1447
eval ac_env_${ac_var}_value=\$${ac_var}
1448
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1449
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1453
# Report the --help message.
1455
if test "$ac_init_help" = "long"; then
1456
# Omit some internal or obsolete options to make the list less imposing.
1457
# This message is too long to be a string in the A/UX 3.1 sh.
1459
\`configure' configures ibis 1.5.7 to adapt to many kinds of systems.
1461
Usage: $0 [OPTION]... [VAR=VALUE]...
1463
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1464
VAR=VALUE. See below for descriptions of some of the useful variables.
1466
Defaults for the options are specified in brackets.
1469
-h, --help display this help and exit
1470
--help=short display options specific to this package
1471
--help=recursive display the short help of all the included packages
1472
-V, --version display version information and exit
1473
-q, --quiet, --silent do not print \`checking...' messages
1474
--cache-file=FILE cache test results in FILE [disabled]
1475
-C, --config-cache alias for \`--cache-file=config.cache'
1476
-n, --no-create do not create output files
1477
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1479
Installation directories:
1480
--prefix=PREFIX install architecture-independent files in PREFIX
1481
@<:@@S|@ac_default_prefix@:>@
1482
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1485
By default, \`make install' will install all the files in
1486
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1487
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1488
for instance \`--prefix=\$HOME'.
1490
For better control, use the options below.
1492
Fine tuning of the installation directories:
1493
--bindir=DIR user executables [EPREFIX/bin]
1494
--sbindir=DIR system admin executables [EPREFIX/sbin]
1495
--libexecdir=DIR program executables [EPREFIX/libexec]
1496
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1497
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1498
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1499
--libdir=DIR object code libraries [EPREFIX/lib]
1500
--includedir=DIR C header files [PREFIX/include]
1501
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1502
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1503
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1504
--infodir=DIR info documentation [DATAROOTDIR/info]
1505
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1506
--mandir=DIR man documentation [DATAROOTDIR/man]
1507
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/ibis@:>@
1508
--htmldir=DIR html documentation [DOCDIR]
1509
--dvidir=DIR dvi documentation [DOCDIR]
1510
--pdfdir=DIR pdf documentation [DOCDIR]
1511
--psdir=DIR ps documentation [DOCDIR]
1517
--program-prefix=PREFIX prepend PREFIX to installed program names
1518
--program-suffix=SUFFIX append SUFFIX to installed program names
1519
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1522
--build=BUILD configure for building on BUILD [guessed]
1523
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1527
if test -n "$ac_init_help"; then
1528
case $ac_init_help in
1529
short | recursive ) echo "Configuration of ibis 1.5.7:";;
1534
--disable-option-checking ignore unrecognized --enable/--with options
1535
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1536
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1537
--enable-maintainer-mode enable make rules and dependencies not useful
1538
(and sometimes confusing) to the casual installer
1539
--disable-dependency-tracking speeds up one-time build
1540
--enable-dependency-tracking do not reject slow dependency extractors
1541
--enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1542
--enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1543
--enable-fast-install@<:@=PKGS@:>@
1544
optimize for fast installation @<:@default=yes@:>@
1545
--disable-libtool-lock avoid locking (might break parallel builds)
1546
--enable-libcheck Enable Dependency Checking
1547
--enable-debug Turn on debugging
1550
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1551
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1552
--with-pic try to use only PIC/non-PIC objects @<:@default=use
1554
--with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1555
--with-tclconfig=PATH use tclConfig.sh from PATH
1556
(configure gets Tcl configuration from here)
1557
--with-tcl=PATH use Tcl from PATH
1558
--with-tclsh=TCLSH use TCLSH as the tclsh program
1559
(let configure find Tcl using this program)
1560
--with-osm=<dir> define OSM prefix
1561
--with-osm-libs=<dir> define where to find OSM libs
1563
Some influential environment variables:
1564
CXX C++ compiler command
1565
CXXFLAGS C++ compiler flags
1566
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1567
nonstandard directory <lib dir>
1568
LIBS libraries to pass to the linker, e.g. -l<library>
1569
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1570
you have headers in a nonstandard directory <include dir>
1571
CC C compiler command
1572
CFLAGS C compiler flags
1574
CXXCPP C++ preprocessor
1576
Use these variables to override the choices made by `configure' or to help
1577
it to find libraries and programs with nonstandard names/locations.
1579
Report bugs to the package provider.
1584
if test "$ac_init_help" = "recursive"; then
1585
# If there are subdirs, report their specific --help.
1586
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1587
test -d "$ac_dir" ||
1588
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1593
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1595
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1596
# A ".." for each directory in $ac_dir_suffix.
1597
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1598
case $ac_top_builddir_sub in
1599
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1600
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1603
ac_abs_top_builddir=$ac_pwd
1604
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1605
# for backward compatibility:
1606
ac_top_builddir=$ac_top_build_prefix
1609
.) # We are building in place.
1611
ac_top_srcdir=$ac_top_builddir_sub
1612
ac_abs_top_srcdir=$ac_pwd ;;
1613
[\\/]* | ?:[\\/]* ) # Absolute name.
1614
ac_srcdir=$srcdir$ac_dir_suffix;
1615
ac_top_srcdir=$srcdir
1616
ac_abs_top_srcdir=$srcdir ;;
1618
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1619
ac_top_srcdir=$ac_top_build_prefix$srcdir
1620
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1622
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1624
cd "$ac_dir" || { ac_status=$?; continue; }
1625
# Check for guested configure.
1626
if test -f "$ac_srcdir/configure.gnu"; then
1628
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1629
elif test -f "$ac_srcdir/configure"; then
1631
$SHELL "$ac_srcdir/configure" --help=recursive
1633
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1635
cd "$ac_pwd" || { ac_status=$?; break; }
1639
test -n "$ac_init_help" && exit $ac_status
1640
if $ac_init_version; then
1642
ibis configure 1.5.7
1643
generated by GNU Autoconf 2.65
1645
Copyright (C) 2009 Free Software Foundation, Inc.
1646
This configure script is free software; the Free Software Foundation
1647
gives unlimited permission to copy, distribute and modify it.
1652
## ------------------------ ##
1653
## Autoconf initialization. ##
1654
## ------------------------ ##
1656
@%:@ ac_fn_cxx_try_compile LINENO
1657
@%:@ ----------------------------
1658
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1659
ac_fn_cxx_try_compile ()
1661
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662
rm -f conftest.$ac_objext
1663
if { { ac_try="$ac_compile"
1665
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1666
*) ac_try_echo=$ac_try;;
1668
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669
$as_echo "$ac_try_echo"; } >&5
1670
(eval "$ac_compile") 2>conftest.err
1672
if test -s conftest.err; then
1673
grep -v '^ *+' conftest.err >conftest.er1
1674
cat conftest.er1 >&5
1675
mv -f conftest.er1 conftest.err
1677
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1678
test $ac_status = 0; } && {
1679
test -z "$ac_cxx_werror_flag" ||
1680
test ! -s conftest.err
1681
} && test -s conftest.$ac_objext; then :
1684
$as_echo "$as_me: failed program was:" >&5
1685
sed 's/^/| /' conftest.$ac_ext >&5
1689
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1690
as_fn_set_status $ac_retval
1692
} @%:@ ac_fn_cxx_try_compile
1694
@%:@ ac_fn_c_try_compile LINENO
1695
@%:@ --------------------------
1696
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1697
ac_fn_c_try_compile ()
1699
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700
rm -f conftest.$ac_objext
1701
if { { ac_try="$ac_compile"
1703
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1704
*) ac_try_echo=$ac_try;;
1706
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1707
$as_echo "$ac_try_echo"; } >&5
1708
(eval "$ac_compile") 2>conftest.err
1710
if test -s conftest.err; then
1711
grep -v '^ *+' conftest.err >conftest.er1
1712
cat conftest.er1 >&5
1713
mv -f conftest.er1 conftest.err
1715
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716
test $ac_status = 0; } && {
1717
test -z "$ac_c_werror_flag" ||
1718
test ! -s conftest.err
1719
} && test -s conftest.$ac_objext; then :
1722
$as_echo "$as_me: failed program was:" >&5
1723
sed 's/^/| /' conftest.$ac_ext >&5
1727
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1728
as_fn_set_status $ac_retval
1730
} @%:@ ac_fn_c_try_compile
1732
@%:@ ac_fn_c_try_cpp LINENO
1733
@%:@ ----------------------
1734
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1737
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738
if { { ac_try="$ac_cpp conftest.$ac_ext"
1740
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1741
*) ac_try_echo=$ac_try;;
1743
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744
$as_echo "$ac_try_echo"; } >&5
1745
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1747
if test -s conftest.err; then
1748
grep -v '^ *+' conftest.err >conftest.er1
1749
cat conftest.er1 >&5
1750
mv -f conftest.er1 conftest.err
1752
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753
test $ac_status = 0; } >/dev/null && {
1754
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1755
test ! -s conftest.err
1759
$as_echo "$as_me: failed program was:" >&5
1760
sed 's/^/| /' conftest.$ac_ext >&5
1764
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1765
as_fn_set_status $ac_retval
1767
} @%:@ ac_fn_c_try_cpp
1769
@%:@ ac_fn_c_try_link LINENO
1770
@%:@ -----------------------
1771
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1774
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775
rm -f conftest.$ac_objext conftest$ac_exeext
1776
if { { ac_try="$ac_link"
1778
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1779
*) ac_try_echo=$ac_try;;
1781
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782
$as_echo "$ac_try_echo"; } >&5
1783
(eval "$ac_link") 2>conftest.err
1785
if test -s conftest.err; then
1786
grep -v '^ *+' conftest.err >conftest.er1
1787
cat conftest.er1 >&5
1788
mv -f conftest.er1 conftest.err
1790
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1791
test $ac_status = 0; } && {
1792
test -z "$ac_c_werror_flag" ||
1793
test ! -s conftest.err
1794
} && test -s conftest$ac_exeext && {
1795
test "$cross_compiling" = yes ||
1796
$as_test_x conftest$ac_exeext
1800
$as_echo "$as_me: failed program was:" >&5
1801
sed 's/^/| /' conftest.$ac_ext >&5
1805
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1806
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1807
# interfere with the next link command; also delete a directory that is
1808
# left behind by Apple's compiler. We do this before executing the actions.
1809
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1810
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1811
as_fn_set_status $ac_retval
1813
} @%:@ ac_fn_c_try_link
1815
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1816
@%:@ -------------------------------------------------------
1817
@%:@ Tests whether HEADER exists and can be compiled using the include files in
1818
@%:@ INCLUDES, setting the cache variable VAR accordingly.
1819
ac_fn_c_check_header_compile ()
1821
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1823
$as_echo_n "checking for $2... " >&6; }
1824
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1825
$as_echo_n "(cached) " >&6
1827
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828
/* end confdefs.h. */
1832
if ac_fn_c_try_compile "$LINENO"; then :
1837
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1841
$as_echo "$ac_res" >&6; }
1842
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1844
} @%:@ ac_fn_c_check_header_compile
1846
@%:@ ac_fn_c_try_run LINENO
1847
@%:@ ----------------------
1848
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1849
@%:@ that executables *can* be run.
1852
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853
if { { ac_try="$ac_link"
1855
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1856
*) ac_try_echo=$ac_try;;
1858
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1859
$as_echo "$ac_try_echo"; } >&5
1860
(eval "$ac_link") 2>&5
1862
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1864
{ { case "(($ac_try" in
1865
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1866
*) ac_try_echo=$ac_try;;
1868
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869
$as_echo "$ac_try_echo"; } >&5
1870
(eval "$ac_try") 2>&5
1872
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873
test $ac_status = 0; }; }; then :
1876
$as_echo "$as_me: program exited with status $ac_status" >&5
1877
$as_echo "$as_me: failed program was:" >&5
1878
sed 's/^/| /' conftest.$ac_ext >&5
1880
ac_retval=$ac_status
1882
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1883
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1884
as_fn_set_status $ac_retval
1886
} @%:@ ac_fn_c_try_run
1888
@%:@ ac_fn_c_check_func LINENO FUNC VAR
1889
@%:@ ----------------------------------
1890
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1891
ac_fn_c_check_func ()
1893
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1895
$as_echo_n "checking for $2... " >&6; }
1896
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1897
$as_echo_n "(cached) " >&6
1899
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900
/* end confdefs.h. */
1901
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1902
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1903
#define $2 innocuous_$2
1905
/* System header to define __stub macros and hopefully few prototypes,
1906
which can conflict with char $2 (); below.
1907
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1908
<limits.h> exists even on freestanding compilers. */
1911
# include <limits.h>
1913
# include <assert.h>
1918
/* Override any GCC internal prototype to avoid an error.
1919
Use char because int might match the return type of a GCC
1920
builtin and then its argument prototype would still apply. */
1925
/* The GNU C library defines this for functions which it implements
1926
to always fail with ENOSYS. Some functions are actually named
1927
something starting with __ and the normal name is an alias. */
1928
#if defined __stub_$2 || defined __stub___$2
1940
if ac_fn_c_try_link "$LINENO"; then :
1945
rm -f core conftest.err conftest.$ac_objext \
1946
conftest$ac_exeext conftest.$ac_ext
1949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1950
$as_echo "$ac_res" >&6; }
1951
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1953
} @%:@ ac_fn_c_check_func
1955
@%:@ ac_fn_cxx_try_cpp LINENO
1956
@%:@ ------------------------
1957
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1958
ac_fn_cxx_try_cpp ()
1960
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961
if { { ac_try="$ac_cpp conftest.$ac_ext"
1963
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1964
*) ac_try_echo=$ac_try;;
1966
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1967
$as_echo "$ac_try_echo"; } >&5
1968
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1970
if test -s conftest.err; then
1971
grep -v '^ *+' conftest.err >conftest.er1
1972
cat conftest.er1 >&5
1973
mv -f conftest.er1 conftest.err
1975
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1976
test $ac_status = 0; } >/dev/null && {
1977
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1978
test ! -s conftest.err
1982
$as_echo "$as_me: failed program was:" >&5
1983
sed 's/^/| /' conftest.$ac_ext >&5
1987
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1988
as_fn_set_status $ac_retval
1990
} @%:@ ac_fn_cxx_try_cpp
1992
@%:@ ac_fn_cxx_try_link LINENO
1993
@%:@ -------------------------
1994
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1995
ac_fn_cxx_try_link ()
1997
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1998
rm -f conftest.$ac_objext conftest$ac_exeext
1999
if { { ac_try="$ac_link"
2001
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002
*) ac_try_echo=$ac_try;;
2004
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005
$as_echo "$ac_try_echo"; } >&5
2006
(eval "$ac_link") 2>conftest.err
2008
if test -s conftest.err; then
2009
grep -v '^ *+' conftest.err >conftest.er1
2010
cat conftest.er1 >&5
2011
mv -f conftest.er1 conftest.err
2013
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014
test $ac_status = 0; } && {
2015
test -z "$ac_cxx_werror_flag" ||
2016
test ! -s conftest.err
2017
} && test -s conftest$ac_exeext && {
2018
test "$cross_compiling" = yes ||
2019
$as_test_x conftest$ac_exeext
2023
$as_echo "$as_me: failed program was:" >&5
2024
sed 's/^/| /' conftest.$ac_ext >&5
2028
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2029
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2030
# interfere with the next link command; also delete a directory that is
2031
# left behind by Apple's compiler. We do this before executing the actions.
2032
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2033
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2034
as_fn_set_status $ac_retval
2036
} @%:@ ac_fn_cxx_try_link
2038
@%:@ ac_fn_cxx_try_run LINENO
2039
@%:@ ------------------------
2040
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
2041
@%:@ that executables *can* be run.
2042
ac_fn_cxx_try_run ()
2044
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2045
if { { ac_try="$ac_link"
2047
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2048
*) ac_try_echo=$ac_try;;
2050
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2051
$as_echo "$ac_try_echo"; } >&5
2052
(eval "$ac_link") 2>&5
2054
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2055
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2056
{ { case "(($ac_try" in
2057
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2058
*) ac_try_echo=$ac_try;;
2060
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2061
$as_echo "$ac_try_echo"; } >&5
2062
(eval "$ac_try") 2>&5
2064
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2065
test $ac_status = 0; }; }; then :
2068
$as_echo "$as_me: program exited with status $ac_status" >&5
2069
$as_echo "$as_me: failed program was:" >&5
2070
sed 's/^/| /' conftest.$ac_ext >&5
2072
ac_retval=$ac_status
2074
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2075
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2076
as_fn_set_status $ac_retval
2078
} @%:@ ac_fn_cxx_try_run
2080
@%:@ ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2081
@%:@ ---------------------------------------------------------
2082
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2083
@%:@ the include files in INCLUDES and setting the cache variable VAR
2085
ac_fn_cxx_check_header_mongrel ()
2087
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2088
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2090
$as_echo_n "checking for $2... " >&6; }
2091
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2092
$as_echo_n "(cached) " >&6
2095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2096
$as_echo "$ac_res" >&6; }
2098
# Is the header compilable?
2099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2100
$as_echo_n "checking $2 usability... " >&6; }
2101
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2102
/* end confdefs.h. */
2106
if ac_fn_cxx_try_compile "$LINENO"; then :
2107
ac_header_compiler=yes
2109
ac_header_compiler=no
2111
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2113
$as_echo "$ac_header_compiler" >&6; }
2115
# Is the header present?
2116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2117
$as_echo_n "checking $2 presence... " >&6; }
2118
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119
/* end confdefs.h. */
2122
if ac_fn_cxx_try_cpp "$LINENO"; then :
2123
ac_header_preproc=yes
2125
ac_header_preproc=no
2127
rm -f conftest.err conftest.$ac_ext
2128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2129
$as_echo "$ac_header_preproc" >&6; }
2131
# So? What about this header?
2132
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2134
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2135
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2136
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2137
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2140
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2141
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2142
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2143
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2144
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2145
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2146
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2147
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2148
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2149
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2153
$as_echo_n "checking for $2... " >&6; }
2154
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2155
$as_echo_n "(cached) " >&6
2157
eval "$3=\$ac_header_compiler"
2160
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161
$as_echo "$ac_res" >&6; }
2163
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2165
} @%:@ ac_fn_cxx_check_header_mongrel
2167
@%:@ ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2168
@%:@ ---------------------------------------------
2169
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
2170
@%:@ variable VAR accordingly.
2171
ac_fn_cxx_check_type ()
2173
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2175
$as_echo_n "checking for $2... " >&6; }
2176
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2177
$as_echo_n "(cached) " >&6
2180
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2181
/* end confdefs.h. */
2192
if ac_fn_cxx_try_compile "$LINENO"; then :
2193
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2194
/* end confdefs.h. */
2205
if ac_fn_cxx_try_compile "$LINENO"; then :
2210
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2212
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2216
$as_echo "$ac_res" >&6; }
2217
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2219
} @%:@ ac_fn_cxx_check_type
2221
@%:@ ac_fn_cxx_check_func LINENO FUNC VAR
2222
@%:@ ------------------------------------
2223
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
2224
ac_fn_cxx_check_func ()
2226
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2227
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2228
$as_echo_n "checking for $2... " >&6; }
2229
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2230
$as_echo_n "(cached) " >&6
2232
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233
/* end confdefs.h. */
2234
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2235
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2236
#define $2 innocuous_$2
2238
/* System header to define __stub macros and hopefully few prototypes,
2239
which can conflict with char $2 (); below.
2240
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2241
<limits.h> exists even on freestanding compilers. */
2244
# include <limits.h>
2246
# include <assert.h>
2251
/* Override any GCC internal prototype to avoid an error.
2252
Use char because int might match the return type of a GCC
2253
builtin and then its argument prototype would still apply. */
2258
/* The GNU C library defines this for functions which it implements
2259
to always fail with ENOSYS. Some functions are actually named
2260
something starting with __ and the normal name is an alias. */
2261
#if defined __stub_$2 || defined __stub___$2
2273
if ac_fn_cxx_try_link "$LINENO"; then :
2278
rm -f core conftest.err conftest.$ac_objext \
2279
conftest$ac_exeext conftest.$ac_ext
2282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2283
$as_echo "$ac_res" >&6; }
2284
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2286
} @%:@ ac_fn_cxx_check_func
2287
cat >config.log <<_ACEOF
2288
This file contains any messages produced by compilers while
2289
running configure, to aid debugging if configure makes a mistake.
2291
It was created by ibis $as_me 1.5.7, which was
2292
generated by GNU Autoconf 2.65. Invocation command line was
2304
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2305
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2306
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2307
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2308
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2310
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2311
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2313
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2314
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2315
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2316
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2317
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2318
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2319
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2323
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2327
test -z "$as_dir" && as_dir=.
2328
$as_echo "PATH: $as_dir"
2344
# Keep a trace of the command line.
2345
# Strip out --no-create and --no-recursion so they do not pile up.
2346
# Strip out --silent because we don't want to record it for future runs.
2347
# Also quote any args containing shell meta-characters.
2348
# Make two passes to allow for proper duplicate-argument suppression.
2352
ac_must_keep_next=false
2358
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2359
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2360
| -silent | --silent | --silen | --sile | --sil)
2363
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2366
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2368
as_fn_append ac_configure_args1 " '$ac_arg'"
2369
if test $ac_must_keep_next = true; then
2370
ac_must_keep_next=false # Got value, back to normal.
2373
*=* | --config-cache | -C | -disable-* | --disable-* \
2374
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2375
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2376
| -with-* | --with-* | -without-* | --without-* | --x)
2377
case "$ac_configure_args0 " in
2378
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2381
-* ) ac_must_keep_next=true ;;
2384
as_fn_append ac_configure_args " '$ac_arg'"
2389
{ ac_configure_args0=; unset ac_configure_args0;}
2390
{ ac_configure_args1=; unset ac_configure_args1;}
2392
# When interrupted or exit'd, cleanup temporary files, and complete
2393
# config.log. We remove comments because anyway the quotes in there
2394
# would cause problems or look ugly.
2395
# WARNING: Use '\'' to represent an apostrophe within the trap.
2396
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2397
trap 'exit_status=$?
2398
# Save into config.log some information that might help in debugging.
2403
## ---------------- ##
2404
## Cache variables. ##
2405
## ---------------- ##
2408
# The following way of writing the cache mishandles newlines in values,
2410
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2411
eval ac_val=\$$ac_var
2415
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2416
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2419
_ | IFS | as_nl) ;; #(
2420
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2421
*) { eval $ac_var=; unset $ac_var;} ;;
2426
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2427
*${as_nl}ac_space=\ *)
2429
"s/'\''/'\''\\\\'\'''\''/g;
2430
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2433
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2441
## ----------------- ##
2442
## Output variables. ##
2443
## ----------------- ##
2446
for ac_var in $ac_subst_vars
2448
eval ac_val=\$$ac_var
2450
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2452
$as_echo "$ac_var='\''$ac_val'\''"
2456
if test -n "$ac_subst_files"; then
2458
## ------------------- ##
2459
## File substitutions. ##
2460
## ------------------- ##
2463
for ac_var in $ac_subst_files
2465
eval ac_val=\$$ac_var
2467
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2469
$as_echo "$ac_var='\''$ac_val'\''"
2474
if test -s confdefs.h; then
2484
test "$ac_signal" != 0 &&
2485
$as_echo "$as_me: caught signal $ac_signal"
2486
$as_echo "$as_me: exit $exit_status"
2488
rm -f core *.core core.conftest.* &&
2489
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2492
for ac_signal in 1 2 13 15; do
2493
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2497
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2498
rm -f -r conftest* confdefs.h
2500
$as_echo "/* confdefs.h */" > confdefs.h
2502
# Predefined preprocessor variables.
2504
cat >>confdefs.h <<_ACEOF
2505
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2508
cat >>confdefs.h <<_ACEOF
2509
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2512
cat >>confdefs.h <<_ACEOF
2513
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2516
cat >>confdefs.h <<_ACEOF
2517
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2520
cat >>confdefs.h <<_ACEOF
2521
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2524
cat >>confdefs.h <<_ACEOF
2525
@%:@define PACKAGE_URL "$PACKAGE_URL"
2529
# Let the site file select an alternate cache file if it wants to.
2530
# Prefer an explicitly selected file to automatically selected ones.
2533
if test -n "$CONFIG_SITE"; then
2534
ac_site_file1=$CONFIG_SITE
2535
elif test "x$prefix" != xNONE; then
2536
ac_site_file1=$prefix/share/config.site
2537
ac_site_file2=$prefix/etc/config.site
2539
ac_site_file1=$ac_default_prefix/share/config.site
2540
ac_site_file2=$ac_default_prefix/etc/config.site
2542
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2544
test "x$ac_site_file" = xNONE && continue
2545
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2546
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2547
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2548
sed 's/^/| /' "$ac_site_file" >&5
2553
if test -r "$cache_file"; then
2554
# Some versions of bash will fail to source /dev/null (special files
2555
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2556
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2557
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2558
$as_echo "$as_me: loading cache $cache_file" >&6;}
2560
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2561
*) . "./$cache_file";;
2565
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2566
$as_echo "$as_me: creating cache $cache_file" >&6;}
2570
# Check that the precious variables saved in the cache have kept the same
2572
ac_cache_corrupted=false
2573
for ac_var in $ac_precious_vars; do
2574
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2575
eval ac_new_set=\$ac_env_${ac_var}_set
2576
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2577
eval ac_new_val=\$ac_env_${ac_var}_value
2578
case $ac_old_set,$ac_new_set in
2580
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2581
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2582
ac_cache_corrupted=: ;;
2584
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2585
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2586
ac_cache_corrupted=: ;;
2589
if test "x$ac_old_val" != "x$ac_new_val"; then
2590
# differences in whitespace do not lead to failure.
2591
ac_old_val_w=`echo x $ac_old_val`
2592
ac_new_val_w=`echo x $ac_new_val`
2593
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2594
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2595
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2596
ac_cache_corrupted=:
2598
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2599
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2600
eval $ac_var=\$ac_old_val
2602
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2603
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2604
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2605
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2608
# Pass precious variables to config.status.
2609
if test "$ac_new_set" = set; then
2611
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2612
*) ac_arg=$ac_var=$ac_new_val ;;
2614
case " $ac_configure_args " in
2615
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2616
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2620
if $ac_cache_corrupted; then
2621
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2622
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2623
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2624
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2625
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2627
## -------------------- ##
2628
## Main body of script. ##
2629
## -------------------- ##
2632
ac_cpp='$CPP $CPPFLAGS'
2633
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2634
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2635
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2641
for ac_dir in config "$srcdir"/config; do
2642
for ac_t in install-sh install.sh shtool; do
2643
if test -f "$ac_dir/$ac_t"; then
2645
ac_install_sh="$ac_aux_dir/$ac_t -c"
2650
if test -z "$ac_aux_dir"; then
2651
as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2654
# These three variables are undocumented and unsupported,
2655
# and are intended to be withdrawn in a future Autoconf release.
2656
# They can cause serious problems if a builder's source tree is in a directory
2657
# whose full name contains unusual characters.
2658
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2659
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2660
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2665
ac_cpp='$CXXCPP $CPPFLAGS'
2666
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2667
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2668
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2671
ac_config_headers="$ac_config_headers config.h"
2674
am__api_version='1.11'
2676
# Find a good install program. We prefer a C program (faster),
2677
# so one script is as good as another. But avoid the broken or
2678
# incompatible versions:
2679
# SysV /etc/install, /usr/sbin/install
2680
# SunOS /usr/etc/install
2681
# IRIX /sbin/install
2683
# AmigaOS /C/install, which installs bootblocks on floppy discs
2684
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2685
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2686
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2687
# OS/2's system install, which has a completely different semantic
2688
# ./install, which can be erroneously created by make from ./install.sh.
2689
# Reject install programs that cannot install multiple files.
2690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2691
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2692
if test -z "$INSTALL"; then
2693
if test "${ac_cv_path_install+set}" = set; then :
2694
$as_echo_n "(cached) " >&6
2696
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700
test -z "$as_dir" && as_dir=.
2701
# Account for people who put trailing slashes in PATH elements.
2702
case $as_dir/ in @%:@((
2703
./ | .// | /[cC]/* | \
2704
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2705
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2708
# OSF1 and SCO ODT 3.0 have their own names for install.
2709
# Don't use installbsd from OSF since it installs stuff as root
2711
for ac_prog in ginstall scoinst install; do
2712
for ac_exec_ext in '' $ac_executable_extensions; do
2713
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2714
if test $ac_prog = install &&
2715
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2716
# AIX install. It has an incompatible calling convention.
2718
elif test $ac_prog = install &&
2719
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2720
# program-specific install script used by HP pwplus--don't use.
2723
rm -rf conftest.one conftest.two conftest.dir
2724
echo one > conftest.one
2725
echo two > conftest.two
2727
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2728
test -s conftest.one && test -s conftest.two &&
2729
test -s conftest.dir/conftest.one &&
2730
test -s conftest.dir/conftest.two
2732
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2745
rm -rf conftest.one conftest.two conftest.dir
2748
if test "${ac_cv_path_install+set}" = set; then
2749
INSTALL=$ac_cv_path_install
2751
# As a last resort, use the slow shell script. Don't cache a
2752
# value for INSTALL within a source directory, because that will
2753
# break other packages using the cache if that directory is
2754
# removed, or if the value is a relative name.
2755
INSTALL=$ac_install_sh
2758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2759
$as_echo "$INSTALL" >&6; }
2761
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2762
# It thinks the first close brace ends the variable substitution.
2763
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2765
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2767
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2770
$as_echo_n "checking whether build environment is sane... " >&6; }
2773
echo timestamp > conftest.file
2774
# Reject unsafe characters in $srcdir or the absolute working directory
2775
# name. Accept space and tab only in the latter.
2779
*[\\\"\#\$\&\'\`$am_lf]*)
2780
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2783
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2784
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2787
# Do `set' in a subshell so we don't clobber the current shell's
2788
# arguments. Must try -L first in case configure is actually a
2789
# symlink; some systems play weird games with the mod time of symlinks
2790
# (eg FreeBSD returns the mod time of the symlink's containing
2793
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2794
if test "$*" = "X"; then
2796
set X `ls -t "$srcdir/configure" conftest.file`
2799
if test "$*" != "X $srcdir/configure conftest.file" \
2800
&& test "$*" != "X conftest.file $srcdir/configure"; then
2802
# If neither matched, then we have a broken ls. This can happen
2803
# if, for instance, CONFIG_SHELL is bash and it inherits a
2804
# broken ls alias from the environment. This has actually
2805
# happened. Such a system could not be considered "sane".
2806
as_fn_error "ls -t appears to fail. Make sure there is not a broken
2807
alias in your environment" "$LINENO" 5
2810
test "$2" = conftest.file
2816
as_fn_error "newly created file is older than distributed files!
2817
Check your system clock" "$LINENO" 5
2819
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2820
$as_echo "yes" >&6; }
2821
test "$program_prefix" != NONE &&
2822
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2823
# Use a double $ so make ignores it.
2824
test "$program_suffix" != NONE &&
2825
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2826
# Double any \ or $.
2827
# By default was `s,x,x', remove it if useless.
2828
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2829
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2831
# expand $ac_aux_dir to an absolute path
2832
am_aux_dir=`cd $ac_aux_dir && pwd`
2834
if test x"${MISSING+set}" != xset; then
2837
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2839
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2842
# Use eval to expand $SHELL
2843
if eval "$MISSING --run true"; then
2844
am_missing_run="$MISSING --run "
2847
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2848
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2851
if test x"${install_sh}" != xset; then
2854
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2856
install_sh="\${SHELL} $am_aux_dir/install-sh"
2860
# Installed binaries are usually stripped using `strip' when the user
2861
# run `make install-strip'. However `strip' might not be the right
2862
# tool to use in cross-compilation environments, therefore Automake
2863
# will honor the `STRIP' environment variable to overrule this program.
2864
if test "$cross_compiling" != no; then
2865
if test -n "$ac_tool_prefix"; then
2866
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2867
set dummy ${ac_tool_prefix}strip; ac_word=$2
2868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2869
$as_echo_n "checking for $ac_word... " >&6; }
2870
if test "${ac_cv_prog_STRIP+set}" = set; then :
2871
$as_echo_n "(cached) " >&6
2873
if test -n "$STRIP"; then
2874
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2876
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2880
test -z "$as_dir" && as_dir=.
2881
for ac_exec_ext in '' $ac_executable_extensions; do
2882
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2883
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2884
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2893
STRIP=$ac_cv_prog_STRIP
2894
if test -n "$STRIP"; then
2895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2896
$as_echo "$STRIP" >&6; }
2898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2899
$as_echo "no" >&6; }
2904
if test -z "$ac_cv_prog_STRIP"; then
2906
# Extract the first word of "strip", so it can be a program name with args.
2907
set dummy strip; ac_word=$2
2908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909
$as_echo_n "checking for $ac_word... " >&6; }
2910
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2911
$as_echo_n "(cached) " >&6
2913
if test -n "$ac_ct_STRIP"; then
2914
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2916
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2920
test -z "$as_dir" && as_dir=.
2921
for ac_exec_ext in '' $ac_executable_extensions; do
2922
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2923
ac_cv_prog_ac_ct_STRIP="strip"
2924
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2934
if test -n "$ac_ct_STRIP"; then
2935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2936
$as_echo "$ac_ct_STRIP" >&6; }
2938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939
$as_echo "no" >&6; }
2942
if test "x$ac_ct_STRIP" = x; then
2945
case $cross_compiling:$ac_tool_warned in
2947
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2948
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2949
ac_tool_warned=yes ;;
2954
STRIP="$ac_cv_prog_STRIP"
2958
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2961
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2962
if test -z "$MKDIR_P"; then
2963
if test "${ac_cv_path_mkdir+set}" = set; then :
2964
$as_echo_n "(cached) " >&6
2966
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2970
test -z "$as_dir" && as_dir=.
2971
for ac_prog in mkdir gmkdir; do
2972
for ac_exec_ext in '' $ac_executable_extensions; do
2973
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2974
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2975
'mkdir (GNU coreutils) '* | \
2976
'mkdir (coreutils) '* | \
2977
'mkdir (fileutils) '4.1*)
2978
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2988
test -d ./--version && rmdir ./--version
2989
if test "${ac_cv_path_mkdir+set}" = set; then
2990
MKDIR_P="$ac_cv_path_mkdir -p"
2992
# As a last resort, use the slow shell script. Don't cache a
2993
# value for MKDIR_P within a source directory, because that will
2994
# break other packages using the cache if that directory is
2995
# removed, or if the value is a relative name.
2996
MKDIR_P="$ac_install_sh -d"
2999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3000
$as_echo "$MKDIR_P" >&6; }
3004
[\\/$]* | ?:[\\/]*) ;;
3005
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3008
for ac_prog in gawk mawk nawk awk
3010
# Extract the first word of "$ac_prog", so it can be a program name with args.
3011
set dummy $ac_prog; ac_word=$2
3012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3013
$as_echo_n "checking for $ac_word... " >&6; }
3014
if test "${ac_cv_prog_AWK+set}" = set; then :
3015
$as_echo_n "(cached) " >&6
3017
if test -n "$AWK"; then
3018
ac_cv_prog_AWK="$AWK" # Let the user override the test.
3020
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024
test -z "$as_dir" && as_dir=.
3025
for ac_exec_ext in '' $ac_executable_extensions; do
3026
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3027
ac_cv_prog_AWK="$ac_prog"
3028
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3038
if test -n "$AWK"; then
3039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3040
$as_echo "$AWK" >&6; }
3042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3043
$as_echo "no" >&6; }
3047
test -n "$AWK" && break
3050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3051
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3053
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3054
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3055
$as_echo_n "(cached) " >&6
3057
cat >conftest.make <<\_ACEOF
3060
@echo '@@@%%%=$(MAKE)=@@@%%%'
3062
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3063
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3065
eval ac_cv_prog_make_${ac_make}_set=yes;;
3067
eval ac_cv_prog_make_${ac_make}_set=no;;
3071
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3073
$as_echo "yes" >&6; }
3076
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077
$as_echo "no" >&6; }
3078
SET_MAKE="MAKE=${MAKE-make}"
3081
rm -rf .tst 2>/dev/null
3082
mkdir .tst 2>/dev/null
3083
if test -d .tst; then
3088
rmdir .tst 2>/dev/null
3090
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3091
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3092
# is not polluted with repeated "-I."
3093
am__isrc=' -I$(srcdir)'
3094
# test to see if srcdir already configured
3095
if test -f $srcdir/config.status; then
3096
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3100
# test whether we have cygpath
3101
if test -z "$CYGPATH_W"; then
3102
if (cygpath --version) >/dev/null 2>/dev/null; then
3103
CYGPATH_W='cygpath -w'
3110
# Define the identity of the package.
3115
cat >>confdefs.h <<_ACEOF
3116
@%:@define PACKAGE "$PACKAGE"
3120
cat >>confdefs.h <<_ACEOF
3121
@%:@define VERSION "$VERSION"
3124
# Some tools Automake needs.
3126
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3129
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3132
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3135
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3138
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3140
# We need awk for the "check" target. The system "awk" is bad on
3142
# Always define AMTAR for backward compatibility.
3144
AMTAR=${AMTAR-"${am_missing_run}tar"}
3146
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3155
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3156
@%:@ Check whether --enable-maintainer-mode was given.
3157
if test "${enable_maintainer_mode+set}" = set; then :
3158
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3160
USE_MAINTAINER_MODE=no
3163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3164
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3165
if test $USE_MAINTAINER_MODE = yes; then
3166
MAINTAINER_MODE_TRUE=
3167
MAINTAINER_MODE_FALSE='#'
3169
MAINTAINER_MODE_TRUE='#'
3170
MAINTAINER_MODE_FALSE=
3173
MAINT=$MAINTAINER_MODE_TRUE
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3178
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3180
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3181
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3182
$as_echo_n "(cached) " >&6
3184
cat >conftest.make <<\_ACEOF
3187
@echo '@@@%%%=$(MAKE)=@@@%%%'
3189
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3190
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3192
eval ac_cv_prog_make_${ac_make}_set=yes;;
3194
eval ac_cv_prog_make_${ac_make}_set=no;;
3198
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3200
$as_echo "yes" >&6; }
3203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204
$as_echo "no" >&6; }
3205
SET_MAKE="MAKE=${MAKE-make}"
3210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3211
$as_echo_n "checking whether ln -s works... " >&6; }
3213
if test "$LN_S" = "ln -s"; then
3214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3215
$as_echo "yes" >&6; }
3217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3218
$as_echo "no, using $LN_S" >&6; }
3222
# Extract the first word of "swig", so it can be a program name with args.
3223
set dummy swig; ac_word=$2
3224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3225
$as_echo_n "checking for $ac_word... " >&6; }
3226
if test "${ac_cv_path_SWIG+set}" = set; then :
3227
$as_echo_n "(cached) " >&6
3231
ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
3234
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3238
test -z "$as_dir" && as_dir=.
3239
for ac_exec_ext in '' $ac_executable_extensions; do
3240
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3241
ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
3242
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3252
SWIG=$ac_cv_path_SWIG
3253
if test -n "$SWIG"; then
3254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
3255
$as_echo "$SWIG" >&6; }
3257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3258
$as_echo "no" >&6; }
3262
# we use this to track the existance of swig
3264
if test -z "$SWIG" ; then
3265
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&5
3266
$as_echo "$as_me: WARNING: cannot find 'swig' program. You should look at http://www.swig.org" >&2;}
3267
SWIG='echo "Error: SWIG is not installed. You should look at http://www.swig.org" ; false'
3268
elif test -n "1.1.5" ; then
3269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWIG version" >&5
3270
$as_echo_n "checking for SWIG version... " >&6; }
3271
swig_version=`$SWIG -version 2>&1 | grep 'SWIG Version' | sed 's/.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/g'`
3272
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $swig_version" >&5
3273
$as_echo "$swig_version" >&6; }
3274
if test -n "$swig_version" ; then
3275
# Calculate the required version number components
3277
required_major=`echo $required | sed 's/[^0-9].*//'`
3278
if test -z "$required_major" ; then
3281
required=`echo $required | sed 's/[0-9]*[^0-9]//'`
3282
required_minor=`echo $required | sed 's/[^0-9].*//'`
3283
if test -z "$required_minor" ; then
3286
required=`echo $required | sed 's/[0-9]*[^0-9]//'`
3287
required_patch=`echo $required | sed 's/[^0-9].*//'`
3288
if test -z "$required_patch" ; then
3291
# Calculate the available version number components
3292
available=`echo $swig_version | sed 's/[^0-9]*//'`
3293
available_major=`echo $available | sed 's/[^0-9].*//'`
3294
if test -z "$available_major" ; then
3297
available=`echo $available | sed 's/[0-9]*[^0-9]//'`
3298
available_minor=`echo $available | sed 's/[^0-9].*//'`
3299
if test -z "$available_minor" ; then
3302
available=`echo $available | sed 's/[0-9]*[^0-9]//'`
3303
available_patch=`echo $available | sed -e 's/.*Patch[^0-9]*//' -e 's/[^0-9]*//g' `
3304
if test -z "$available_patch" ; then
3307
# we have two modes of comparison...
3308
if test x"eq" == xeq; then
3309
if test $available_major -ne $required_major \
3310
-o $available_minor -ne $required_minor \
3311
-o $available_patch -ne $required_patch ; then
3312
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version == 1.1.5 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&5
3313
$as_echo "$as_me: WARNING: SWIG version == 1.1.5 is required. You have $available_major.$available_minor.$available_patch. You should look at http://www.swig.org " >&2;}
3314
SWIG='echo "Error: SWIG version == 1.1.5 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
3319
if test $available_major -ne $required_major \
3320
-o $available_minor -ne $required_minor \
3321
-o $available_patch -lt $required_patch ; then
3322
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 1.1.5 is required. You have $swig_version. You should look at http://www.swig.org" >&5
3323
$as_echo "$as_me: WARNING: SWIG version >= 1.1.5 is required. You have $swig_version. You should look at http://www.swig.org" >&2;}
3324
SWIG='echo "Error: SWIG version >= 1.1.5 is required. You have '"$swig_version"'. You should look at http://www.swig.org" ; false'
3330
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot determine SWIG version" >&5
3331
$as_echo "$as_me: WARNING: cannot determine SWIG version" >&2;}
3332
SWIG='echo "Error: Cannot determine SWIG version. You should look at http://www.swig.org" ; false'
3335
if test ! -z "$has_swig"; then
3336
SWIG_LIB=`$SWIG -swiglib`
3359
ac_cpp='$CXXCPP $CPPFLAGS'
3360
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3361
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3362
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3363
if test -z "$CXX"; then
3364
if test -n "$CCC"; then
3367
if test -n "$ac_tool_prefix"; then
3368
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3370
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3371
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3373
$as_echo_n "checking for $ac_word... " >&6; }
3374
if test "${ac_cv_prog_CXX+set}" = set; then :
3375
$as_echo_n "(cached) " >&6
3377
if test -n "$CXX"; then
3378
ac_cv_prog_CXX="$CXX" # Let the user override the test.
3380
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3384
test -z "$as_dir" && as_dir=.
3385
for ac_exec_ext in '' $ac_executable_extensions; do
3386
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3387
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3388
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3398
if test -n "$CXX"; then
3399
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3400
$as_echo "$CXX" >&6; }
3402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3403
$as_echo "no" >&6; }
3407
test -n "$CXX" && break
3410
if test -z "$CXX"; then
3412
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3414
# Extract the first word of "$ac_prog", so it can be a program name with args.
3415
set dummy $ac_prog; ac_word=$2
3416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417
$as_echo_n "checking for $ac_word... " >&6; }
3418
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3419
$as_echo_n "(cached) " >&6
3421
if test -n "$ac_ct_CXX"; then
3422
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3424
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428
test -z "$as_dir" && as_dir=.
3429
for ac_exec_ext in '' $ac_executable_extensions; do
3430
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3431
ac_cv_prog_ac_ct_CXX="$ac_prog"
3432
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3442
if test -n "$ac_ct_CXX"; then
3443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3444
$as_echo "$ac_ct_CXX" >&6; }
3446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3447
$as_echo "no" >&6; }
3451
test -n "$ac_ct_CXX" && break
3454
if test "x$ac_ct_CXX" = x; then
3457
case $cross_compiling:$ac_tool_warned in
3459
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3460
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3461
ac_tool_warned=yes ;;
3469
# Provide some information about the compiler.
3470
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3473
for ac_option in --version -v -V -qversion; do
3474
{ { ac_try="$ac_compiler $ac_option >&5"
3476
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3477
*) ac_try_echo=$ac_try;;
3479
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3480
$as_echo "$ac_try_echo"; } >&5
3481
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3483
if test -s conftest.err; then
3485
... rest of stderr output deleted ...
3486
10q' conftest.err >conftest.er1
3487
cat conftest.er1 >&5
3489
rm -f conftest.er1 conftest.err
3490
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3491
test $ac_status = 0; }
3494
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3495
/* end confdefs.h. */
3505
ac_clean_files_save=$ac_clean_files
3506
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3507
# Try to create an executable without -o first, disregard a.out.
3508
# It will help us diagnose broken compilers, and finding out an intuition
3510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3511
$as_echo_n "checking whether the C++ compiler works... " >&6; }
3512
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3514
# The possible output files:
3515
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3518
for ac_file in $ac_files
3521
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3522
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3527
if { { ac_try="$ac_link_default"
3529
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530
*) ac_try_echo=$ac_try;;
3532
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3533
$as_echo "$ac_try_echo"; } >&5
3534
(eval "$ac_link_default") 2>&5
3536
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3537
test $ac_status = 0; }; then :
3538
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3539
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3540
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3541
# so that the user can short-circuit this test for compilers unknown to
3543
for ac_file in $ac_files ''
3545
test -f "$ac_file" || continue
3547
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3550
# We found the default executable, but exeext='' is most
3554
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3556
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3558
# We set ac_cv_exeext here because the later test for it is not
3559
# safe: cross compilers may not add the suffix if given an `-o'
3560
# argument, so we may need to know it at that point already.
3561
# Even if this section looks crufty: it has the advantage of
3568
test "$ac_cv_exeext" = no && ac_cv_exeext=
3573
if test -z "$ac_file"; then :
3574
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575
$as_echo "no" >&6; }
3576
$as_echo "$as_me: failed program was:" >&5
3577
sed 's/^/| /' conftest.$ac_ext >&5
3579
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3580
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3581
{ as_fn_set_status 77
3582
as_fn_error "C++ compiler cannot create executables
3583
See \`config.log' for more details." "$LINENO" 5; }; }
3585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3586
$as_echo "yes" >&6; }
3588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3589
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3591
$as_echo "$ac_file" >&6; }
3592
ac_exeext=$ac_cv_exeext
3594
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3595
ac_clean_files=$ac_clean_files_save
3596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3597
$as_echo_n "checking for suffix of executables... " >&6; }
3598
if { { ac_try="$ac_link"
3600
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3601
*) ac_try_echo=$ac_try;;
3603
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3604
$as_echo "$ac_try_echo"; } >&5
3605
(eval "$ac_link") 2>&5
3607
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3608
test $ac_status = 0; }; then :
3609
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3610
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3611
# work properly (i.e., refer to `conftest.exe'), while it won't with
3613
for ac_file in conftest.exe conftest conftest.*; do
3614
test -f "$ac_file" || continue
3616
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3617
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3623
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3624
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3625
as_fn_error "cannot compute suffix of executables: cannot compile and link
3626
See \`config.log' for more details." "$LINENO" 5; }
3628
rm -f conftest conftest$ac_cv_exeext
3629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3630
$as_echo "$ac_cv_exeext" >&6; }
3632
rm -f conftest.$ac_ext
3633
EXEEXT=$ac_cv_exeext
3635
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636
/* end confdefs.h. */
3637
@%:@include <stdio.h>
3641
FILE *f = fopen ("conftest.out", "w");
3642
return ferror (f) || fclose (f) != 0;
3648
ac_clean_files="$ac_clean_files conftest.out"
3649
# Check that the compiler produces executables we can run. If not, either
3650
# the compiler is broken, or we cross compile.
3651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3652
$as_echo_n "checking whether we are cross compiling... " >&6; }
3653
if test "$cross_compiling" != yes; then
3654
{ { ac_try="$ac_link"
3656
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3657
*) ac_try_echo=$ac_try;;
3659
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3660
$as_echo "$ac_try_echo"; } >&5
3661
(eval "$ac_link") 2>&5
3663
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3664
test $ac_status = 0; }
3665
if { ac_try='./conftest$ac_cv_exeext'
3666
{ { case "(($ac_try" in
3667
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3668
*) ac_try_echo=$ac_try;;
3670
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3671
$as_echo "$ac_try_echo"; } >&5
3672
(eval "$ac_try") 2>&5
3674
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3675
test $ac_status = 0; }; }; then
3678
if test "$cross_compiling" = maybe; then
3681
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3682
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3683
as_fn_error "cannot run C++ compiled programs.
3684
If you meant to cross compile, use \`--host'.
3685
See \`config.log' for more details." "$LINENO" 5; }
3689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3690
$as_echo "$cross_compiling" >&6; }
3692
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3693
ac_clean_files=$ac_clean_files_save
3694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3695
$as_echo_n "checking for suffix of object files... " >&6; }
3696
if test "${ac_cv_objext+set}" = set; then :
3697
$as_echo_n "(cached) " >&6
3699
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700
/* end confdefs.h. */
3710
rm -f conftest.o conftest.obj
3711
if { { ac_try="$ac_compile"
3713
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3714
*) ac_try_echo=$ac_try;;
3716
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3717
$as_echo "$ac_try_echo"; } >&5
3718
(eval "$ac_compile") 2>&5
3720
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3721
test $ac_status = 0; }; then :
3722
for ac_file in conftest.o conftest.obj conftest.*; do
3723
test -f "$ac_file" || continue;
3725
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3726
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3731
$as_echo "$as_me: failed program was:" >&5
3732
sed 's/^/| /' conftest.$ac_ext >&5
3734
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3735
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3736
as_fn_error "cannot compute suffix of object files: cannot compile
3737
See \`config.log' for more details." "$LINENO" 5; }
3739
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3742
$as_echo "$ac_cv_objext" >&6; }
3743
OBJEXT=$ac_cv_objext
3745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3746
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3747
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3748
$as_echo_n "(cached) " >&6
3750
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3751
/* end confdefs.h. */
3764
if ac_fn_cxx_try_compile "$LINENO"; then :
3769
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3770
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3774
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3775
if test $ac_compiler_gnu = yes; then
3780
ac_test_CXXFLAGS=${CXXFLAGS+set}
3781
ac_save_CXXFLAGS=$CXXFLAGS
3782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3783
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3784
if test "${ac_cv_prog_cxx_g+set}" = set; then :
3785
$as_echo_n "(cached) " >&6
3787
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3788
ac_cxx_werror_flag=yes
3791
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792
/* end confdefs.h. */
3802
if ac_fn_cxx_try_compile "$LINENO"; then :
3803
ac_cv_prog_cxx_g=yes
3806
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3807
/* end confdefs.h. */
3817
if ac_fn_cxx_try_compile "$LINENO"; then :
3820
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3822
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823
/* end confdefs.h. */
3833
if ac_fn_cxx_try_compile "$LINENO"; then :
3834
ac_cv_prog_cxx_g=yes
3836
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3838
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3840
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3841
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3844
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3845
if test "$ac_test_CXXFLAGS" = set; then
3846
CXXFLAGS=$ac_save_CXXFLAGS
3847
elif test $ac_cv_prog_cxx_g = yes; then
3848
if test "$GXX" = yes; then
3854
if test "$GXX" = yes; then
3861
ac_cpp='$CXXCPP $CPPFLAGS'
3862
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3863
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3864
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3865
DEPDIR="${am__leading_dot}deps"
3867
ac_config_commands="$ac_config_commands depfiles"
3870
am_make=${MAKE-make}
3871
cat > confinc << 'END'
3873
@echo this is the am__doit target
3876
# If we don't find an include directive, just comment out the code.
3877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3878
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3882
# First try GNU make style include.
3883
echo "include confinc" > confmf
3884
# Ignore all kinds of additional output from `make'.
3885
case `$am_make -s -f confmf 2> /dev/null` in #(
3886
*the\ am__doit\ target*)
3892
# Now try BSD make style include.
3893
if test "$am__include" = "#"; then
3894
echo '.include "confinc"' > confmf
3895
case `$am_make -s -f confmf 2> /dev/null` in #(
3896
*the\ am__doit\ target*)
3897
am__include=.include
3905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3906
$as_echo "$_am_result" >&6; }
3907
rm -f confinc confmf
3909
@%:@ Check whether --enable-dependency-tracking was given.
3910
if test "${enable_dependency_tracking+set}" = set; then :
3911
enableval=$enable_dependency_tracking;
3914
if test "x$enable_dependency_tracking" != xno; then
3915
am_depcomp="$ac_aux_dir/depcomp"
3918
if test "x$enable_dependency_tracking" != xno; then
3928
depcc="$CXX" am_compiler_list=
3930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3931
$as_echo_n "checking dependency style of $depcc... " >&6; }
3932
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3933
$as_echo_n "(cached) " >&6
3935
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3936
# We make a subdir and do the tests there. Otherwise we can end up
3937
# making bogus files that we don't know about and never remove. For
3938
# instance it was reported that on HP-UX the gcc test will end up
3939
# making a dummy file named `D' -- because `-MD' means `put the output
3942
# Copy depcomp to subdir because otherwise we won't find it if we're
3943
# using a relative directory.
3944
cp "$am_depcomp" conftest.dir
3946
# We will build objects and dependencies in a subdirectory because
3947
# it helps to detect inapplicable dependency modes. For instance
3948
# both Tru64's cc and ICC support -MD to output dependencies as a
3949
# side effect of compilation, but ICC will put the dependencies in
3950
# the current directory while Tru64 will put them in the object
3954
am_cv_CXX_dependencies_compiler_type=none
3955
if test "$am_compiler_list" = ""; then
3956
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3959
case " $depcc " in #(
3960
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3963
for depmode in $am_compiler_list; do
3964
# Setup a source with many dependencies, because some compilers
3965
# like to wrap large dependency lists on column 80 (with \), and
3966
# we should not choose a depcomp mode which is confused by this.
3968
# We need to recreate these files for each test, as the compiler may
3969
# overwrite some of them when testing with obscure command lines.
3970
# This happens at least with the AIX C compiler.
3972
for i in 1 2 3 4 5 6; do
3973
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3974
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3975
# Solaris 8's {/usr,}/bin/sh.
3976
touch sub/conftst$i.h
3978
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3980
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3981
# mode. It turns out that the SunPro C++ compiler does not properly
3982
# handle `-M -o', and we need to detect this. Also, some Intel
3983
# versions had trouble with output in subdirs
3984
am__obj=sub/conftest.${OBJEXT-o}
3985
am__minus_obj="-o $am__obj"
3988
# This depmode causes a compiler race in universal mode.
3989
test "$am__universal" = false || continue
3992
# after this tag, mechanisms are not by side-effect, so they'll
3993
# only be used when explicitly requested
3994
if test "x$enable_dependency_tracking" = xyes; then
4000
msvisualcpp | msvcmsys)
4001
# This compiler won't grok `-c -o', but also, the minuso test has
4002
# not run yet. These depmodes are late enough in the game, and
4003
# so weak that their functioning should not be impacted.
4004
am__obj=conftest.${OBJEXT-o}
4009
if depmode=$depmode \
4010
source=sub/conftest.c object=$am__obj \
4011
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4012
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4013
>/dev/null 2>conftest.err &&
4014
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4015
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4016
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4017
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4018
# icc doesn't choke on unknown options, it will just issue warnings
4019
# or remarks (even with -Werror). So we grep stderr for any message
4020
# that says an option was ignored or not supported.
4021
# When given -MP, icc 7.0 and 7.1 complain thusly:
4022
# icc: Command line warning: ignoring option '-M'; no argument required
4023
# The diagnosis changed in icc 8.0:
4024
# icc: Command line remark: option '-MP' not supported
4025
if (grep 'ignoring option' conftest.err ||
4026
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4027
am_cv_CXX_dependencies_compiler_type=$depmode
4036
am_cv_CXX_dependencies_compiler_type=none
4040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4041
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4042
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4045
test "x$enable_dependency_tracking" != xno \
4046
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4047
am__fastdepCXX_TRUE=
4048
am__fastdepCXX_FALSE='#'
4050
am__fastdepCXX_TRUE='#'
4051
am__fastdepCXX_FALSE=
4056
ac_cpp='$CPP $CPPFLAGS'
4057
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4058
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4059
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4060
if test -n "$ac_tool_prefix"; then
4061
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4062
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4064
$as_echo_n "checking for $ac_word... " >&6; }
4065
if test "${ac_cv_prog_CC+set}" = set; then :
4066
$as_echo_n "(cached) " >&6
4068
if test -n "$CC"; then
4069
ac_cv_prog_CC="$CC" # Let the user override the test.
4071
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4075
test -z "$as_dir" && as_dir=.
4076
for ac_exec_ext in '' $ac_executable_extensions; do
4077
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4078
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4079
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4089
if test -n "$CC"; then
4090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4091
$as_echo "$CC" >&6; }
4093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4094
$as_echo "no" >&6; }
4099
if test -z "$ac_cv_prog_CC"; then
4101
# Extract the first word of "gcc", so it can be a program name with args.
4102
set dummy gcc; ac_word=$2
4103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4104
$as_echo_n "checking for $ac_word... " >&6; }
4105
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4106
$as_echo_n "(cached) " >&6
4108
if test -n "$ac_ct_CC"; then
4109
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4115
test -z "$as_dir" && as_dir=.
4116
for ac_exec_ext in '' $ac_executable_extensions; do
4117
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4118
ac_cv_prog_ac_ct_CC="gcc"
4119
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4128
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4129
if test -n "$ac_ct_CC"; then
4130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4131
$as_echo "$ac_ct_CC" >&6; }
4133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4134
$as_echo "no" >&6; }
4137
if test "x$ac_ct_CC" = x; then
4140
case $cross_compiling:$ac_tool_warned in
4142
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4143
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4144
ac_tool_warned=yes ;;
4152
if test -z "$CC"; then
4153
if test -n "$ac_tool_prefix"; then
4154
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4155
set dummy ${ac_tool_prefix}cc; ac_word=$2
4156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4157
$as_echo_n "checking for $ac_word... " >&6; }
4158
if test "${ac_cv_prog_CC+set}" = set; then :
4159
$as_echo_n "(cached) " >&6
4161
if test -n "$CC"; then
4162
ac_cv_prog_CC="$CC" # Let the user override the test.
4164
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168
test -z "$as_dir" && as_dir=.
4169
for ac_exec_ext in '' $ac_executable_extensions; do
4170
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4171
ac_cv_prog_CC="${ac_tool_prefix}cc"
4172
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4182
if test -n "$CC"; then
4183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4184
$as_echo "$CC" >&6; }
4186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4187
$as_echo "no" >&6; }
4193
if test -z "$CC"; then
4194
# Extract the first word of "cc", so it can be a program name with args.
4195
set dummy cc; ac_word=$2
4196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4197
$as_echo_n "checking for $ac_word... " >&6; }
4198
if test "${ac_cv_prog_CC+set}" = set; then :
4199
$as_echo_n "(cached) " >&6
4201
if test -n "$CC"; then
4202
ac_cv_prog_CC="$CC" # Let the user override the test.
4205
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209
test -z "$as_dir" && as_dir=.
4210
for ac_exec_ext in '' $ac_executable_extensions; do
4211
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4212
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4213
ac_prog_rejected=yes
4217
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4224
if test $ac_prog_rejected = yes; then
4225
# We found a bogon in the path, so make sure we never use it.
4226
set dummy $ac_cv_prog_CC
4228
if test $@%:@ != 0; then
4229
# We chose a different compiler from the bogus one.
4230
# However, it has the same basename, so the bogon will be chosen
4231
# first if we set CC to just the basename; use the full file name.
4233
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4239
if test -n "$CC"; then
4240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4241
$as_echo "$CC" >&6; }
4243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4244
$as_echo "no" >&6; }
4249
if test -z "$CC"; then
4250
if test -n "$ac_tool_prefix"; then
4251
for ac_prog in cl.exe
4253
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4254
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4256
$as_echo_n "checking for $ac_word... " >&6; }
4257
if test "${ac_cv_prog_CC+set}" = set; then :
4258
$as_echo_n "(cached) " >&6
4260
if test -n "$CC"; then
4261
ac_cv_prog_CC="$CC" # Let the user override the test.
4263
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4267
test -z "$as_dir" && as_dir=.
4268
for ac_exec_ext in '' $ac_executable_extensions; do
4269
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4270
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4271
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4281
if test -n "$CC"; then
4282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4283
$as_echo "$CC" >&6; }
4285
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4286
$as_echo "no" >&6; }
4290
test -n "$CC" && break
4293
if test -z "$CC"; then
4295
for ac_prog in cl.exe
4297
# Extract the first word of "$ac_prog", so it can be a program name with args.
4298
set dummy $ac_prog; ac_word=$2
4299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4300
$as_echo_n "checking for $ac_word... " >&6; }
4301
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4302
$as_echo_n "(cached) " >&6
4304
if test -n "$ac_ct_CC"; then
4305
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4307
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311
test -z "$as_dir" && as_dir=.
4312
for ac_exec_ext in '' $ac_executable_extensions; do
4313
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4314
ac_cv_prog_ac_ct_CC="$ac_prog"
4315
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4324
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4325
if test -n "$ac_ct_CC"; then
4326
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4327
$as_echo "$ac_ct_CC" >&6; }
4329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4330
$as_echo "no" >&6; }
4334
test -n "$ac_ct_CC" && break
4337
if test "x$ac_ct_CC" = x; then
4340
case $cross_compiling:$ac_tool_warned in
4342
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4343
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4344
ac_tool_warned=yes ;;
4353
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4354
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4355
as_fn_error "no acceptable C compiler found in \$PATH
4356
See \`config.log' for more details." "$LINENO" 5; }
4358
# Provide some information about the compiler.
4359
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4362
for ac_option in --version -v -V -qversion; do
4363
{ { ac_try="$ac_compiler $ac_option >&5"
4365
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4366
*) ac_try_echo=$ac_try;;
4368
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4369
$as_echo "$ac_try_echo"; } >&5
4370
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4372
if test -s conftest.err; then
4374
... rest of stderr output deleted ...
4375
10q' conftest.err >conftest.er1
4376
cat conftest.er1 >&5
4378
rm -f conftest.er1 conftest.err
4379
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4380
test $ac_status = 0; }
4383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4384
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4385
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4386
$as_echo_n "(cached) " >&6
4388
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4389
/* end confdefs.h. */
4402
if ac_fn_c_try_compile "$LINENO"; then :
4407
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4408
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4412
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4413
if test $ac_compiler_gnu = yes; then
4418
ac_test_CFLAGS=${CFLAGS+set}
4419
ac_save_CFLAGS=$CFLAGS
4420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4421
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4422
if test "${ac_cv_prog_cc_g+set}" = set; then :
4423
$as_echo_n "(cached) " >&6
4425
ac_save_c_werror_flag=$ac_c_werror_flag
4426
ac_c_werror_flag=yes
4429
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4430
/* end confdefs.h. */
4440
if ac_fn_c_try_compile "$LINENO"; then :
4444
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4445
/* end confdefs.h. */
4455
if ac_fn_c_try_compile "$LINENO"; then :
4458
ac_c_werror_flag=$ac_save_c_werror_flag
4460
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4461
/* end confdefs.h. */
4471
if ac_fn_c_try_compile "$LINENO"; then :
4474
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4476
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4478
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4479
ac_c_werror_flag=$ac_save_c_werror_flag
4481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4482
$as_echo "$ac_cv_prog_cc_g" >&6; }
4483
if test "$ac_test_CFLAGS" = set; then
4484
CFLAGS=$ac_save_CFLAGS
4485
elif test $ac_cv_prog_cc_g = yes; then
4486
if test "$GCC" = yes; then
4492
if test "$GCC" = yes; then
4498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4499
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4500
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4501
$as_echo_n "(cached) " >&6
4503
ac_cv_prog_cc_c89=no
4505
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4506
/* end confdefs.h. */
4509
#include <sys/types.h>
4510
#include <sys/stat.h>
4511
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4512
struct buf { int x; };
4513
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4514
static char *e (p, i)
4520
static char *f (char * (*g) (char **, int), char **p, ...)
4525
s = g (p, va_arg (v,int));
4530
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4531
function prototypes and stuff, but not '\xHH' hex character constants.
4532
These don't provoke an error unfortunately, instead are silently treated
4533
as 'x'. The following induces an error, until -std is added to get
4534
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4535
array size at least. It's necessary to write '\x00'==0 to get something
4536
that's true only with -std. */
4537
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4539
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4540
inside strings and character constants. */
4542
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4544
int test (int i, double x);
4545
struct s1 {int (*f) (int a);};
4546
struct s2 {int (*f) (double a);};
4547
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4553
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4558
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4559
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4561
CC="$ac_save_CC $ac_arg"
4562
if ac_fn_c_try_compile "$LINENO"; then :
4563
ac_cv_prog_cc_c89=$ac_arg
4565
rm -f core conftest.err conftest.$ac_objext
4566
test "x$ac_cv_prog_cc_c89" != "xno" && break
4568
rm -f conftest.$ac_ext
4573
case "x$ac_cv_prog_cc_c89" in
4575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4576
$as_echo "none needed" >&6; } ;;
4578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4579
$as_echo "unsupported" >&6; } ;;
4581
CC="$CC $ac_cv_prog_cc_c89"
4582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4583
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4585
if test "x$ac_cv_prog_cc_c89" != xno; then :
4590
ac_cpp='$CXXCPP $CPPFLAGS'
4591
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4595
depcc="$CC" am_compiler_list=
4597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4598
$as_echo_n "checking dependency style of $depcc... " >&6; }
4599
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4600
$as_echo_n "(cached) " >&6
4602
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4603
# We make a subdir and do the tests there. Otherwise we can end up
4604
# making bogus files that we don't know about and never remove. For
4605
# instance it was reported that on HP-UX the gcc test will end up
4606
# making a dummy file named `D' -- because `-MD' means `put the output
4609
# Copy depcomp to subdir because otherwise we won't find it if we're
4610
# using a relative directory.
4611
cp "$am_depcomp" conftest.dir
4613
# We will build objects and dependencies in a subdirectory because
4614
# it helps to detect inapplicable dependency modes. For instance
4615
# both Tru64's cc and ICC support -MD to output dependencies as a
4616
# side effect of compilation, but ICC will put the dependencies in
4617
# the current directory while Tru64 will put them in the object
4621
am_cv_CC_dependencies_compiler_type=none
4622
if test "$am_compiler_list" = ""; then
4623
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4626
case " $depcc " in #(
4627
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4630
for depmode in $am_compiler_list; do
4631
# Setup a source with many dependencies, because some compilers
4632
# like to wrap large dependency lists on column 80 (with \), and
4633
# we should not choose a depcomp mode which is confused by this.
4635
# We need to recreate these files for each test, as the compiler may
4636
# overwrite some of them when testing with obscure command lines.
4637
# This happens at least with the AIX C compiler.
4639
for i in 1 2 3 4 5 6; do
4640
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4641
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4642
# Solaris 8's {/usr,}/bin/sh.
4643
touch sub/conftst$i.h
4645
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4647
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4648
# mode. It turns out that the SunPro C++ compiler does not properly
4649
# handle `-M -o', and we need to detect this. Also, some Intel
4650
# versions had trouble with output in subdirs
4651
am__obj=sub/conftest.${OBJEXT-o}
4652
am__minus_obj="-o $am__obj"
4655
# This depmode causes a compiler race in universal mode.
4656
test "$am__universal" = false || continue
4659
# after this tag, mechanisms are not by side-effect, so they'll
4660
# only be used when explicitly requested
4661
if test "x$enable_dependency_tracking" = xyes; then
4667
msvisualcpp | msvcmsys)
4668
# This compiler won't grok `-c -o', but also, the minuso test has
4669
# not run yet. These depmodes are late enough in the game, and
4670
# so weak that their functioning should not be impacted.
4671
am__obj=conftest.${OBJEXT-o}
4676
if depmode=$depmode \
4677
source=sub/conftest.c object=$am__obj \
4678
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4679
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4680
>/dev/null 2>conftest.err &&
4681
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4682
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4683
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4684
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4685
# icc doesn't choke on unknown options, it will just issue warnings
4686
# or remarks (even with -Werror). So we grep stderr for any message
4687
# that says an option was ignored or not supported.
4688
# When given -MP, icc 7.0 and 7.1 complain thusly:
4689
# icc: Command line warning: ignoring option '-M'; no argument required
4690
# The diagnosis changed in icc 8.0:
4691
# icc: Command line remark: option '-MP' not supported
4692
if (grep 'ignoring option' conftest.err ||
4693
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4694
am_cv_CC_dependencies_compiler_type=$depmode
4703
am_cv_CC_dependencies_compiler_type=none
4707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4708
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4709
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4712
test "x$enable_dependency_tracking" != xno \
4713
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4715
am__fastdepCC_FALSE='#'
4717
am__fastdepCC_TRUE='#'
4718
am__fastdepCC_FALSE=
4723
ac_cpp='$CPP $CPPFLAGS'
4724
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4725
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4726
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4728
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4729
# On Suns, sometimes $CPP names a directory.
4730
if test -n "$CPP" && test -d "$CPP"; then
4733
if test -z "$CPP"; then
4734
if test "${ac_cv_prog_CPP+set}" = set; then :
4735
$as_echo_n "(cached) " >&6
4737
# Double quotes because CPP needs to be expanded
4738
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4741
for ac_c_preproc_warn_flag in '' yes
4743
# Use a header file that comes with gcc, so configuring glibc
4744
# with a fresh cross-compiler works.
4745
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4746
# <limits.h> exists even on freestanding compilers.
4747
# On the NeXT, cc -E runs the code through the compiler's parser,
4748
# not just through cpp. "Syntax error" is here to catch this case.
4749
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4750
/* end confdefs.h. */
4752
@%:@ include <limits.h>
4754
@%:@ include <assert.h>
4758
if ac_fn_c_try_cpp "$LINENO"; then :
4761
# Broken: fails on valid input.
4764
rm -f conftest.err conftest.$ac_ext
4766
# OK, works on sane cases. Now check whether nonexistent headers
4767
# can be detected and how.
4768
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769
/* end confdefs.h. */
4770
@%:@include <ac_nonexistent.h>
4772
if ac_fn_c_try_cpp "$LINENO"; then :
4773
# Broken: success on invalid input.
4776
# Passes both tests.
4780
rm -f conftest.err conftest.$ac_ext
4783
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4784
rm -f conftest.err conftest.$ac_ext
4785
if $ac_preproc_ok; then :
4797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4798
$as_echo "$CPP" >&6; }
4800
for ac_c_preproc_warn_flag in '' yes
4802
# Use a header file that comes with gcc, so configuring glibc
4803
# with a fresh cross-compiler works.
4804
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4805
# <limits.h> exists even on freestanding compilers.
4806
# On the NeXT, cc -E runs the code through the compiler's parser,
4807
# not just through cpp. "Syntax error" is here to catch this case.
4808
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4809
/* end confdefs.h. */
4811
@%:@ include <limits.h>
4813
@%:@ include <assert.h>
4817
if ac_fn_c_try_cpp "$LINENO"; then :
4820
# Broken: fails on valid input.
4823
rm -f conftest.err conftest.$ac_ext
4825
# OK, works on sane cases. Now check whether nonexistent headers
4826
# can be detected and how.
4827
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4828
/* end confdefs.h. */
4829
@%:@include <ac_nonexistent.h>
4831
if ac_fn_c_try_cpp "$LINENO"; then :
4832
# Broken: success on invalid input.
4835
# Passes both tests.
4839
rm -f conftest.err conftest.$ac_ext
4842
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4843
rm -f conftest.err conftest.$ac_ext
4844
if $ac_preproc_ok; then :
4847
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4848
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4849
as_fn_error "C preprocessor \"$CPP\" fails sanity check
4850
See \`config.log' for more details." "$LINENO" 5; }
4854
ac_cpp='$CXXCPP $CPPFLAGS'
4855
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4856
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4857
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4861
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4862
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4867
macro_version='2.2.6b'
4868
macro_revision='1.3017'
4882
ltmain="$ac_aux_dir/ltmain.sh"
4884
# Make sure we can run config.sub.
4885
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4886
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4889
$as_echo_n "checking build system type... " >&6; }
4890
if test "${ac_cv_build+set}" = set; then :
4891
$as_echo_n "(cached) " >&6
4893
ac_build_alias=$build_alias
4894
test "x$ac_build_alias" = x &&
4895
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4896
test "x$ac_build_alias" = x &&
4897
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4898
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4899
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4903
$as_echo "$ac_cv_build" >&6; }
4904
case $ac_cv_build in
4906
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4909
ac_save_IFS=$IFS; IFS='-'
4915
# Remember, the first character of IFS is used to create $*,
4916
# except with old shells:
4919
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4923
$as_echo_n "checking host system type... " >&6; }
4924
if test "${ac_cv_host+set}" = set; then :
4925
$as_echo_n "(cached) " >&6
4927
if test "x$host_alias" = x; then
4928
ac_cv_host=$ac_cv_build
4930
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4931
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4936
$as_echo "$ac_cv_host" >&6; }
4939
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4942
ac_save_IFS=$IFS; IFS='-'
4948
# Remember, the first character of IFS is used to create $*,
4949
# except with old shells:
4952
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4956
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4957
if test "${ac_cv_path_SED+set}" = set; then :
4958
$as_echo_n "(cached) " >&6
4960
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4961
for ac_i in 1 2 3 4 5 6 7; do
4962
ac_script="$ac_script$as_nl$ac_script"
4964
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4965
{ ac_script=; unset ac_script;}
4966
if test -z "$SED"; then
4967
ac_path_SED_found=false
4968
# Loop through the user's path and test for each of PROGNAME-LIST
4969
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973
test -z "$as_dir" && as_dir=.
4974
for ac_prog in sed gsed; do
4975
for ac_exec_ext in '' $ac_executable_extensions; do
4976
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4977
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4978
# Check for GNU ac_path_SED and select it if it is found.
4979
# Check for GNU $ac_path_SED
4980
case `"$ac_path_SED" --version 2>&1` in
4982
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4985
$as_echo_n 0123456789 >"conftest.in"
4988
cat "conftest.in" "conftest.in" >"conftest.tmp"
4989
mv "conftest.tmp" "conftest.in"
4990
cp "conftest.in" "conftest.nl"
4991
$as_echo '' >> "conftest.nl"
4992
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4993
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4994
as_fn_arith $ac_count + 1 && ac_count=$as_val
4995
if test $ac_count -gt ${ac_path_SED_max-0}; then
4996
# Best one so far, save it but keep looking for a better one
4997
ac_cv_path_SED="$ac_path_SED"
4998
ac_path_SED_max=$ac_count
5000
# 10*(2^10) chars as input seems more than enough
5001
test $ac_count -gt 10 && break
5003
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5006
$ac_path_SED_found && break 3
5011
if test -z "$ac_cv_path_SED"; then
5012
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5019
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5020
$as_echo "$ac_cv_path_SED" >&6; }
5021
SED="$ac_cv_path_SED"
5024
test -z "$SED" && SED=sed
5025
Xsed="$SED -e 1s/^X//"
5037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5038
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5039
if test "${ac_cv_path_GREP+set}" = set; then :
5040
$as_echo_n "(cached) " >&6
5042
if test -z "$GREP"; then
5043
ac_path_GREP_found=false
5044
# Loop through the user's path and test for each of PROGNAME-LIST
5045
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5049
test -z "$as_dir" && as_dir=.
5050
for ac_prog in grep ggrep; do
5051
for ac_exec_ext in '' $ac_executable_extensions; do
5052
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5053
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5054
# Check for GNU ac_path_GREP and select it if it is found.
5055
# Check for GNU $ac_path_GREP
5056
case `"$ac_path_GREP" --version 2>&1` in
5058
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5061
$as_echo_n 0123456789 >"conftest.in"
5064
cat "conftest.in" "conftest.in" >"conftest.tmp"
5065
mv "conftest.tmp" "conftest.in"
5066
cp "conftest.in" "conftest.nl"
5067
$as_echo 'GREP' >> "conftest.nl"
5068
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5069
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5070
as_fn_arith $ac_count + 1 && ac_count=$as_val
5071
if test $ac_count -gt ${ac_path_GREP_max-0}; then
5072
# Best one so far, save it but keep looking for a better one
5073
ac_cv_path_GREP="$ac_path_GREP"
5074
ac_path_GREP_max=$ac_count
5076
# 10*(2^10) chars as input seems more than enough
5077
test $ac_count -gt 10 && break
5079
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5082
$ac_path_GREP_found && break 3
5087
if test -z "$ac_cv_path_GREP"; then
5088
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5091
ac_cv_path_GREP=$GREP
5095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5096
$as_echo "$ac_cv_path_GREP" >&6; }
5097
GREP="$ac_cv_path_GREP"
5100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5101
$as_echo_n "checking for egrep... " >&6; }
5102
if test "${ac_cv_path_EGREP+set}" = set; then :
5103
$as_echo_n "(cached) " >&6
5105
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5106
then ac_cv_path_EGREP="$GREP -E"
5108
if test -z "$EGREP"; then
5109
ac_path_EGREP_found=false
5110
# Loop through the user's path and test for each of PROGNAME-LIST
5111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5115
test -z "$as_dir" && as_dir=.
5116
for ac_prog in egrep; do
5117
for ac_exec_ext in '' $ac_executable_extensions; do
5118
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5119
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5120
# Check for GNU ac_path_EGREP and select it if it is found.
5121
# Check for GNU $ac_path_EGREP
5122
case `"$ac_path_EGREP" --version 2>&1` in
5124
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5127
$as_echo_n 0123456789 >"conftest.in"
5130
cat "conftest.in" "conftest.in" >"conftest.tmp"
5131
mv "conftest.tmp" "conftest.in"
5132
cp "conftest.in" "conftest.nl"
5133
$as_echo 'EGREP' >> "conftest.nl"
5134
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5135
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5136
as_fn_arith $ac_count + 1 && ac_count=$as_val
5137
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5138
# Best one so far, save it but keep looking for a better one
5139
ac_cv_path_EGREP="$ac_path_EGREP"
5140
ac_path_EGREP_max=$ac_count
5142
# 10*(2^10) chars as input seems more than enough
5143
test $ac_count -gt 10 && break
5145
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5148
$ac_path_EGREP_found && break 3
5153
if test -z "$ac_cv_path_EGREP"; then
5154
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5157
ac_cv_path_EGREP=$EGREP
5162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5163
$as_echo "$ac_cv_path_EGREP" >&6; }
5164
EGREP="$ac_cv_path_EGREP"
5167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5168
$as_echo_n "checking for fgrep... " >&6; }
5169
if test "${ac_cv_path_FGREP+set}" = set; then :
5170
$as_echo_n "(cached) " >&6
5172
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5173
then ac_cv_path_FGREP="$GREP -F"
5175
if test -z "$FGREP"; then
5176
ac_path_FGREP_found=false
5177
# Loop through the user's path and test for each of PROGNAME-LIST
5178
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5179
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5182
test -z "$as_dir" && as_dir=.
5183
for ac_prog in fgrep; do
5184
for ac_exec_ext in '' $ac_executable_extensions; do
5185
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5186
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5187
# Check for GNU ac_path_FGREP and select it if it is found.
5188
# Check for GNU $ac_path_FGREP
5189
case `"$ac_path_FGREP" --version 2>&1` in
5191
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5194
$as_echo_n 0123456789 >"conftest.in"
5197
cat "conftest.in" "conftest.in" >"conftest.tmp"
5198
mv "conftest.tmp" "conftest.in"
5199
cp "conftest.in" "conftest.nl"
5200
$as_echo 'FGREP' >> "conftest.nl"
5201
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5202
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5203
as_fn_arith $ac_count + 1 && ac_count=$as_val
5204
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5205
# Best one so far, save it but keep looking for a better one
5206
ac_cv_path_FGREP="$ac_path_FGREP"
5207
ac_path_FGREP_max=$ac_count
5209
# 10*(2^10) chars as input seems more than enough
5210
test $ac_count -gt 10 && break
5212
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5215
$ac_path_FGREP_found && break 3
5220
if test -z "$ac_cv_path_FGREP"; then
5221
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5224
ac_cv_path_FGREP=$FGREP
5229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5230
$as_echo "$ac_cv_path_FGREP" >&6; }
5231
FGREP="$ac_cv_path_FGREP"
5234
test -z "$GREP" && GREP=grep
5254
@%:@ Check whether --with-gnu-ld was given.
5255
if test "${with_gnu_ld+set}" = set; then :
5256
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5262
if test "$GCC" = yes; then
5263
# Check if gcc -print-prog-name=ld gives a path.
5264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5265
$as_echo_n "checking for ld used by $CC... " >&6; }
5268
# gcc leaves a trailing carriage return which upsets mingw
5269
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5271
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5274
# Accept absolute paths.
5276
re_direlt='/[^/][^/]*/\.\./'
5277
# Canonicalize the pathname of ld
5278
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5279
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5280
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5282
test -z "$LD" && LD="$ac_prog"
5285
# If it fails, then pretend we aren't using GCC.
5289
# If it is relative, then search for the first ld in PATH.
5293
elif test "$with_gnu_ld" = yes; then
5294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5295
$as_echo_n "checking for GNU ld... " >&6; }
5297
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5298
$as_echo_n "checking for non-GNU ld... " >&6; }
5300
if test "${lt_cv_path_LD+set}" = set; then :
5301
$as_echo_n "(cached) " >&6
5303
if test -z "$LD"; then
5304
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5305
for ac_dir in $PATH; do
5307
test -z "$ac_dir" && ac_dir=.
5308
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5309
lt_cv_path_LD="$ac_dir/$ac_prog"
5310
# Check to see if the program is GNU ld. I'd rather use --version,
5311
# but apparently some variants of GNU ld only accept -v.
5312
# Break only if it was the GNU/non-GNU ld that we prefer.
5313
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5314
*GNU* | *'with BFD'*)
5315
test "$with_gnu_ld" != no && break
5318
test "$with_gnu_ld" != yes && break
5325
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5330
if test -n "$LD"; then
5331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5332
$as_echo "$LD" >&6; }
5334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5335
$as_echo "no" >&6; }
5337
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5339
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5340
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5341
$as_echo_n "(cached) " >&6
5343
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5344
case `$LD -v 2>&1 </dev/null` in
5345
*GNU* | *'with BFD'*)
5346
lt_cv_prog_gnu_ld=yes
5349
lt_cv_prog_gnu_ld=no
5353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5354
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5355
with_gnu_ld=$lt_cv_prog_gnu_ld
5365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5366
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5367
if test "${lt_cv_path_NM+set}" = set; then :
5368
$as_echo_n "(cached) " >&6
5370
if test -n "$NM"; then
5371
# Let the user override the test.
5374
lt_nm_to_check="${ac_tool_prefix}nm"
5375
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5376
lt_nm_to_check="$lt_nm_to_check nm"
5378
for lt_tmp_nm in $lt_nm_to_check; do
5379
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5380
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5382
test -z "$ac_dir" && ac_dir=.
5383
tmp_nm="$ac_dir/$lt_tmp_nm"
5384
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5385
# Check to see if the nm accepts a BSD-compat flag.
5386
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5387
# nm: unknown option "B" ignored
5388
# Tru64's nm complains that /dev/null is an invalid object file
5389
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5390
*/dev/null* | *'Invalid file or object type'*)
5391
lt_cv_path_NM="$tmp_nm -B"
5395
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5397
lt_cv_path_NM="$tmp_nm -p"
5401
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5402
continue # so that we can try to find one that supports BSD flags
5411
: ${lt_cv_path_NM=no}
5414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5415
$as_echo "$lt_cv_path_NM" >&6; }
5416
if test "$lt_cv_path_NM" != "no"; then
5419
# Didn't find any BSD compatible name lister, look for dumpbin.
5420
if test -n "$ac_tool_prefix"; then
5421
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5423
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5424
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5425
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5426
$as_echo_n "checking for $ac_word... " >&6; }
5427
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5428
$as_echo_n "(cached) " >&6
5430
if test -n "$DUMPBIN"; then
5431
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5433
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437
test -z "$as_dir" && as_dir=.
5438
for ac_exec_ext in '' $ac_executable_extensions; do
5439
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5440
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5441
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450
DUMPBIN=$ac_cv_prog_DUMPBIN
5451
if test -n "$DUMPBIN"; then
5452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5453
$as_echo "$DUMPBIN" >&6; }
5455
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456
$as_echo "no" >&6; }
5460
test -n "$DUMPBIN" && break
5463
if test -z "$DUMPBIN"; then
5464
ac_ct_DUMPBIN=$DUMPBIN
5465
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5467
# Extract the first word of "$ac_prog", so it can be a program name with args.
5468
set dummy $ac_prog; ac_word=$2
5469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5470
$as_echo_n "checking for $ac_word... " >&6; }
5471
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5472
$as_echo_n "(cached) " >&6
5474
if test -n "$ac_ct_DUMPBIN"; then
5475
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5477
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481
test -z "$as_dir" && as_dir=.
5482
for ac_exec_ext in '' $ac_executable_extensions; do
5483
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5484
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5485
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5495
if test -n "$ac_ct_DUMPBIN"; then
5496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5497
$as_echo "$ac_ct_DUMPBIN" >&6; }
5499
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5500
$as_echo "no" >&6; }
5504
test -n "$ac_ct_DUMPBIN" && break
5507
if test "x$ac_ct_DUMPBIN" = x; then
5510
case $cross_compiling:$ac_tool_warned in
5512
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5513
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5514
ac_tool_warned=yes ;;
5516
DUMPBIN=$ac_ct_DUMPBIN
5521
if test "$DUMPBIN" != ":"; then
5525
test -z "$NM" && NM=nm
5532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5533
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5534
if test "${lt_cv_nm_interface+set}" = set; then :
5535
$as_echo_n "(cached) " >&6
5537
lt_cv_nm_interface="BSD nm"
5538
echo "int some_variable = 0;" > conftest.$ac_ext
5539
(eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
5540
(eval "$ac_compile" 2>conftest.err)
5541
cat conftest.err >&5
5542
(eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5543
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5544
cat conftest.err >&5
5545
(eval echo "\"\$as_me:__oline__: output\"" >&5)
5546
cat conftest.out >&5
5547
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5548
lt_cv_nm_interface="MS dumpbin"
5552
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5553
$as_echo "$lt_cv_nm_interface" >&6; }
5555
# find the maximum length of command line arguments
5556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5557
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5558
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5559
$as_echo_n "(cached) " >&6
5566
# On DJGPP, this test can blow up pretty badly due to problems in libc
5567
# (any single argument exceeding 2000 bytes causes a buffer overrun
5568
# during glob expansion). Even if it were fixed, the result of this
5569
# check would be larger than it should be.
5570
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5574
# Under GNU Hurd, this test is not required because there is
5575
# no limit to the length of command line arguments.
5576
# Libtool will interpret -1 as no limit whatsoever
5577
lt_cv_sys_max_cmd_len=-1;
5580
cygwin* | mingw* | cegcc*)
5581
# On Win9x/ME, this test blows up -- it succeeds, but takes
5582
# about 5 minutes as the teststring grows exponentially.
5583
# Worse, since 9x/ME are not pre-emptively multitasking,
5584
# you end up with a "frozen" computer, even though with patience
5585
# the test eventually succeeds (with a max line length of 256k).
5586
# Instead, let's just punt: use the minimum linelength reported by
5587
# all of the supported platforms: 8192 (on NT/2K/XP).
5588
lt_cv_sys_max_cmd_len=8192;
5592
# On AmigaOS with pdksh, this test takes hours, literally.
5593
# So we just punt and use a minimum line length of 8192.
5594
lt_cv_sys_max_cmd_len=8192;
5597
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5598
# This has been around since 386BSD, at least. Likely further.
5599
if test -x /sbin/sysctl; then
5600
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5601
elif test -x /usr/sbin/sysctl; then
5602
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5604
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5606
# And add a safety zone
5607
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5608
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5612
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5613
lt_cv_sys_max_cmd_len=196608
5617
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5618
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5619
# nice to cause kernel panics so lets avoid the loop below.
5620
# First set a reasonable default.
5621
lt_cv_sys_max_cmd_len=16384
5623
if test -x /sbin/sysconfig; then
5624
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5625
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5630
lt_cv_sys_max_cmd_len=102400
5632
sysv5* | sco5v6* | sysv4.2uw2*)
5633
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5634
if test -n "$kargmax"; then
5635
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5637
lt_cv_sys_max_cmd_len=32768
5641
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5642
if test -n "$lt_cv_sys_max_cmd_len"; then
5643
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5644
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5646
# Make teststring a little bigger before we do anything with it.
5647
# a 1K string should be a reasonable start.
5648
for i in 1 2 3 4 5 6 7 8 ; do
5649
teststring=$teststring$teststring
5651
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5652
# If test is not a shell built-in, we'll probably end up computing a
5653
# maximum length that is only half of the actual maximum length, but
5655
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5656
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5657
test $i != 17 # 1/2 MB should be enough
5660
teststring=$teststring$teststring
5662
# Only check the string length outside the loop.
5663
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5665
# Add a significant safety factor because C++ compilers can tack on
5666
# massive amounts of additional arguments before passing them to the
5667
# linker. It appears as though 1/2 is a usable value.
5668
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5675
if test -n $lt_cv_sys_max_cmd_len ; then
5676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5677
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5679
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5680
$as_echo "none" >&6; }
5682
max_cmd_len=$lt_cv_sys_max_cmd_len
5693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5694
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5695
# Try some XSI features
5698
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5700
&& eval 'test $(( 1 + 1 )) -eq 2 \
5701
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5704
$as_echo "$xsi_shell" >&6; }
5707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5708
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5710
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5712
&& lt_shell_append=yes
5713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5714
$as_echo "$lt_shell_append" >&6; }
5717
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5727
# test EBCDIC or ASCII
5728
case `echo X|tr X '\101'` in
5729
A) # ASCII based system
5730
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5731
lt_SP2NL='tr \040 \012'
5732
lt_NL2SP='tr \015\012 \040\040'
5734
*) # EBCDIC based system
5735
lt_SP2NL='tr \100 \n'
5736
lt_NL2SP='tr \r\n \100\100'
5748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5749
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5750
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5751
$as_echo_n "(cached) " >&6
5753
lt_cv_ld_reload_flag='-r'
5755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5756
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5757
reload_flag=$lt_cv_ld_reload_flag
5758
case $reload_flag in
5760
*) reload_flag=" $reload_flag" ;;
5762
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5765
if test "$GCC" = yes; then
5766
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5768
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5781
if test -n "$ac_tool_prefix"; then
5782
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5783
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5785
$as_echo_n "checking for $ac_word... " >&6; }
5786
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5787
$as_echo_n "(cached) " >&6
5789
if test -n "$OBJDUMP"; then
5790
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5796
test -z "$as_dir" && as_dir=.
5797
for ac_exec_ext in '' $ac_executable_extensions; do
5798
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5799
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5800
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5809
OBJDUMP=$ac_cv_prog_OBJDUMP
5810
if test -n "$OBJDUMP"; then
5811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5812
$as_echo "$OBJDUMP" >&6; }
5814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5815
$as_echo "no" >&6; }
5820
if test -z "$ac_cv_prog_OBJDUMP"; then
5821
ac_ct_OBJDUMP=$OBJDUMP
5822
# Extract the first word of "objdump", so it can be a program name with args.
5823
set dummy objdump; ac_word=$2
5824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5825
$as_echo_n "checking for $ac_word... " >&6; }
5826
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5827
$as_echo_n "(cached) " >&6
5829
if test -n "$ac_ct_OBJDUMP"; then
5830
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5832
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836
test -z "$as_dir" && as_dir=.
5837
for ac_exec_ext in '' $ac_executable_extensions; do
5838
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5839
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5840
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5849
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5850
if test -n "$ac_ct_OBJDUMP"; then
5851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5852
$as_echo "$ac_ct_OBJDUMP" >&6; }
5854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5855
$as_echo "no" >&6; }
5858
if test "x$ac_ct_OBJDUMP" = x; then
5861
case $cross_compiling:$ac_tool_warned in
5863
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5864
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5865
ac_tool_warned=yes ;;
5867
OBJDUMP=$ac_ct_OBJDUMP
5870
OBJDUMP="$ac_cv_prog_OBJDUMP"
5873
test -z "$OBJDUMP" && OBJDUMP=objdump
5883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5884
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5885
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5886
$as_echo_n "(cached) " >&6
5888
lt_cv_file_magic_cmd='$MAGIC_CMD'
5889
lt_cv_file_magic_test_file=
5890
lt_cv_deplibs_check_method='unknown'
5891
# Need to set the preceding variable on all platforms that support
5892
# interlibrary dependencies.
5893
# 'none' -- dependencies not supported.
5894
# `unknown' -- same as none, but documents that we really don't know.
5895
# 'pass_all' -- all dependencies passed with no checks.
5896
# 'test_compile' -- check by making test program.
5897
# 'file_magic [[regex]]' -- check by looking for files in library path
5898
# which responds to the $file_magic_cmd with a given extended regex.
5899
# If you have `file' or equivalent on your system and you're not sure
5900
# whether `pass_all' will *always* work, you probably want this one.
5904
lt_cv_deplibs_check_method=pass_all
5908
lt_cv_deplibs_check_method=pass_all
5912
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5913
lt_cv_file_magic_cmd='/usr/bin/file -L'
5914
lt_cv_file_magic_test_file=/shlib/libc.so
5918
# func_win32_libid is a shell function defined in ltmain.sh
5919
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5920
lt_cv_file_magic_cmd='func_win32_libid'
5924
# Base MSYS/MinGW do not provide the 'file' command needed by
5925
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5926
# unless we find 'file', for example because we are cross-compiling.
5927
if ( file / ) >/dev/null 2>&1; then
5928
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5929
lt_cv_file_magic_cmd='func_win32_libid'
5931
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5932
lt_cv_file_magic_cmd='$OBJDUMP -f'
5937
# use the weaker test based on 'objdump'. See mingw*.
5938
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5939
lt_cv_file_magic_cmd='$OBJDUMP -f'
5942
darwin* | rhapsody*)
5943
lt_cv_deplibs_check_method=pass_all
5946
freebsd* | dragonfly*)
5947
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5950
# Not sure whether the presence of OpenBSD here was a mistake.
5951
# Let's accept both of them until this is cleared up.
5952
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5953
lt_cv_file_magic_cmd=/usr/bin/file
5954
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5958
lt_cv_deplibs_check_method=pass_all
5963
lt_cv_deplibs_check_method=pass_all
5966
hpux10.20* | hpux11*)
5967
lt_cv_file_magic_cmd=/usr/bin/file
5970
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5971
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5974
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5975
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5978
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5979
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5985
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5986
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5989
irix5* | irix6* | nonstopux*)
5991
*-32|*"-32 ") libmagic=32-bit;;
5992
*-n32|*"-n32 ") libmagic=N32;;
5993
*-64|*"-64 ") libmagic=64-bit;;
5994
*) libmagic=never-match;;
5996
lt_cv_deplibs_check_method=pass_all
5999
# This must be Linux ELF.
6000
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6001
lt_cv_deplibs_check_method=pass_all
6004
netbsd* | netbsdelf*-gnu)
6005
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6006
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6008
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6013
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6014
lt_cv_file_magic_cmd=/usr/bin/file
6015
lt_cv_file_magic_test_file=/usr/lib/libnls.so
6019
lt_cv_deplibs_check_method=pass_all
6023
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6024
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6026
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6030
osf3* | osf4* | osf5*)
6031
lt_cv_deplibs_check_method=pass_all
6035
lt_cv_deplibs_check_method=pass_all
6039
lt_cv_deplibs_check_method=pass_all
6042
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6043
lt_cv_deplibs_check_method=pass_all
6047
case $host_vendor in
6049
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]'
6050
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6053
lt_cv_deplibs_check_method=pass_all
6056
lt_cv_file_magic_cmd='/bin/file'
6057
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6060
lt_cv_file_magic_cmd='/bin/file'
6061
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6062
lt_cv_file_magic_test_file=/lib/libc.so
6065
lt_cv_deplibs_check_method=pass_all
6068
lt_cv_deplibs_check_method=pass_all
6074
lt_cv_deplibs_check_method=pass_all
6079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6080
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6081
file_magic_cmd=$lt_cv_file_magic_cmd
6082
deplibs_check_method=$lt_cv_deplibs_check_method
6083
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6096
if test -n "$ac_tool_prefix"; then
6097
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6098
set dummy ${ac_tool_prefix}ar; ac_word=$2
6099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6100
$as_echo_n "checking for $ac_word... " >&6; }
6101
if test "${ac_cv_prog_AR+set}" = set; then :
6102
$as_echo_n "(cached) " >&6
6104
if test -n "$AR"; then
6105
ac_cv_prog_AR="$AR" # Let the user override the test.
6107
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6111
test -z "$as_dir" && as_dir=.
6112
for ac_exec_ext in '' $ac_executable_extensions; do
6113
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6114
ac_cv_prog_AR="${ac_tool_prefix}ar"
6115
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6125
if test -n "$AR"; then
6126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6127
$as_echo "$AR" >&6; }
6129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6130
$as_echo "no" >&6; }
6135
if test -z "$ac_cv_prog_AR"; then
6137
# Extract the first word of "ar", so it can be a program name with args.
6138
set dummy ar; ac_word=$2
6139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140
$as_echo_n "checking for $ac_word... " >&6; }
6141
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6142
$as_echo_n "(cached) " >&6
6144
if test -n "$ac_ct_AR"; then
6145
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151
test -z "$as_dir" && as_dir=.
6152
for ac_exec_ext in '' $ac_executable_extensions; do
6153
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6154
ac_cv_prog_ac_ct_AR="ar"
6155
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6165
if test -n "$ac_ct_AR"; then
6166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6167
$as_echo "$ac_ct_AR" >&6; }
6169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170
$as_echo "no" >&6; }
6173
if test "x$ac_ct_AR" = x; then
6176
case $cross_compiling:$ac_tool_warned in
6178
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6179
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6180
ac_tool_warned=yes ;;
6188
test -z "$AR" && AR=ar
6189
test -z "$AR_FLAGS" && AR_FLAGS=cru
6201
if test -n "$ac_tool_prefix"; then
6202
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6203
set dummy ${ac_tool_prefix}strip; ac_word=$2
6204
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6205
$as_echo_n "checking for $ac_word... " >&6; }
6206
if test "${ac_cv_prog_STRIP+set}" = set; then :
6207
$as_echo_n "(cached) " >&6
6209
if test -n "$STRIP"; then
6210
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6212
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6216
test -z "$as_dir" && as_dir=.
6217
for ac_exec_ext in '' $ac_executable_extensions; do
6218
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6219
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6220
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6229
STRIP=$ac_cv_prog_STRIP
6230
if test -n "$STRIP"; then
6231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6232
$as_echo "$STRIP" >&6; }
6234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6235
$as_echo "no" >&6; }
6240
if test -z "$ac_cv_prog_STRIP"; then
6242
# Extract the first word of "strip", so it can be a program name with args.
6243
set dummy strip; ac_word=$2
6244
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6245
$as_echo_n "checking for $ac_word... " >&6; }
6246
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6247
$as_echo_n "(cached) " >&6
6249
if test -n "$ac_ct_STRIP"; then
6250
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6252
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6256
test -z "$as_dir" && as_dir=.
6257
for ac_exec_ext in '' $ac_executable_extensions; do
6258
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6259
ac_cv_prog_ac_ct_STRIP="strip"
6260
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6269
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6270
if test -n "$ac_ct_STRIP"; then
6271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6272
$as_echo "$ac_ct_STRIP" >&6; }
6274
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6275
$as_echo "no" >&6; }
6278
if test "x$ac_ct_STRIP" = x; then
6281
case $cross_compiling:$ac_tool_warned in
6283
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6284
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6285
ac_tool_warned=yes ;;
6290
STRIP="$ac_cv_prog_STRIP"
6293
test -z "$STRIP" && STRIP=:
6300
if test -n "$ac_tool_prefix"; then
6301
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6302
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6303
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6304
$as_echo_n "checking for $ac_word... " >&6; }
6305
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6306
$as_echo_n "(cached) " >&6
6308
if test -n "$RANLIB"; then
6309
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6311
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315
test -z "$as_dir" && as_dir=.
6316
for ac_exec_ext in '' $ac_executable_extensions; do
6317
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6318
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6319
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6328
RANLIB=$ac_cv_prog_RANLIB
6329
if test -n "$RANLIB"; then
6330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6331
$as_echo "$RANLIB" >&6; }
6333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6334
$as_echo "no" >&6; }
6339
if test -z "$ac_cv_prog_RANLIB"; then
6340
ac_ct_RANLIB=$RANLIB
6341
# Extract the first word of "ranlib", so it can be a program name with args.
6342
set dummy ranlib; ac_word=$2
6343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6344
$as_echo_n "checking for $ac_word... " >&6; }
6345
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6346
$as_echo_n "(cached) " >&6
6348
if test -n "$ac_ct_RANLIB"; then
6349
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6351
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6355
test -z "$as_dir" && as_dir=.
6356
for ac_exec_ext in '' $ac_executable_extensions; do
6357
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6358
ac_cv_prog_ac_ct_RANLIB="ranlib"
6359
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6368
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6369
if test -n "$ac_ct_RANLIB"; then
6370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6371
$as_echo "$ac_ct_RANLIB" >&6; }
6373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6374
$as_echo "no" >&6; }
6377
if test "x$ac_ct_RANLIB" = x; then
6380
case $cross_compiling:$ac_tool_warned in
6382
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6383
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6384
ac_tool_warned=yes ;;
6386
RANLIB=$ac_ct_RANLIB
6389
RANLIB="$ac_cv_prog_RANLIB"
6392
test -z "$RANLIB" && RANLIB=:
6399
# Determine commands to create old-style static archives.
6400
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6401
old_postinstall_cmds='chmod 644 $oldlib'
6402
old_postuninstall_cmds=
6404
if test -n "$RANLIB"; then
6407
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6410
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6413
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6449
# If no C compiler was specified, use CC.
6452
# If no C compiler flags were specified, use CFLAGS.
6453
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6455
# Allow CC to be a program name with arguments.
6459
# Check for command to grab the raw symbol name followed by C symbol from nm.
6460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6461
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6462
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6463
$as_echo_n "(cached) " >&6
6466
# These are sane defaults that work on at least a few old systems.
6467
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6469
# Character class describing NM global symbol codes.
6470
symcode='[BCDEGRST]'
6472
# Regexp to match symbols that can be accessed directly from C.
6473
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6475
# Define system-specific variables.
6480
cygwin* | mingw* | pw32* | cegcc*)
6481
symcode='[ABCDGISTW]'
6484
if test "$host_cpu" = ia64; then
6485
symcode='[ABCDEGRST]'
6489
symcode='[BCDEGRST]'
6492
symcode='[BCDEGQRST]'
6503
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6511
# If we're using GNU nm, then use its standard symbol codes.
6512
case `$NM -V 2>&1` in
6513
*GNU* | *'with BFD'*)
6514
symcode='[ABCDGIRSTW]' ;;
6517
# Transform an extracted symbol line into a proper C declaration.
6518
# Some systems (esp. on ia64) link data and code symbols differently,
6519
# so use this general approach.
6520
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6522
# Transform an extracted symbol line into symbol name and symbol address
6523
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6524
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'"
6526
# Handle CRLF in mingw tool chain
6530
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6534
# Try without a prefix underscore, then with it.
6535
for ac_symprfx in "" "_"; do
6537
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6538
symxfrm="\\1 $ac_symprfx\\2 \\2"
6540
# Write the raw and C identifiers.
6541
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6542
# Fake it for dumpbin and say T for any non-static function
6543
# and D for any global variable.
6544
# Also find C++ and __fastcall symbols from MSVC++,
6545
# which start with @ or ?.
6546
lt_cv_sys_global_symbol_pipe="$AWK '"\
6547
" {last_section=section; section=\$ 3};"\
6548
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6549
" \$ 0!~/External *\|/{next};"\
6550
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6551
" {if(hide[section]) next};"\
6552
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6553
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6554
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6555
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6556
" ' prfx=^$ac_symprfx"
6558
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6561
# Check to see that the pipe works correctly.
6565
cat > conftest.$ac_ext <<_LT_EOF
6570
void nm_test_func(void);
6571
void nm_test_func(void){}
6575
int main(){nm_test_var='a';nm_test_func();return(0);}
6578
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6579
(eval $ac_compile) 2>&5
6581
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6582
test $ac_status = 0; }; then
6583
# Now try to grab the symbols.
6585
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6586
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6588
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6589
test $ac_status = 0; } && test -s "$nlist"; then
6590
# Try sorting and uniquifying the output.
6591
if sort "$nlist" | uniq > "$nlist"T; then
6592
mv -f "$nlist"T "$nlist"
6597
# Make sure that we snagged all the symbols we need.
6598
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6599
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6600
cat <<_LT_EOF > conftest.$ac_ext
6606
# Now generate the symbol file.
6607
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6609
cat <<_LT_EOF >> conftest.$ac_ext
6611
/* The mapping between symbol names and symbols. */
6616
lt__PROGRAM__LTX_preloaded_symbols[] =
6618
{ "@PROGRAM@", (void *) 0 },
6620
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6621
cat <<\_LT_EOF >> conftest.$ac_ext
6625
/* This works around a problem in FreeBSD linker */
6626
#ifdef FREEBSD_WORKAROUND
6627
static const void *lt_preloaded_setup() {
6628
return lt__PROGRAM__LTX_preloaded_symbols;
6636
# Now try linking the two files.
6637
mv conftest.$ac_objext conftstm.$ac_objext
6638
lt_save_LIBS="$LIBS"
6639
lt_save_CFLAGS="$CFLAGS"
6640
LIBS="conftstm.$ac_objext"
6641
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6642
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6643
(eval $ac_link) 2>&5
6645
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6646
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6649
LIBS="$lt_save_LIBS"
6650
CFLAGS="$lt_save_CFLAGS"
6652
echo "cannot find nm_test_func in $nlist" >&5
6655
echo "cannot find nm_test_var in $nlist" >&5
6658
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6661
echo "$progname: failed program was:" >&5
6662
cat conftest.$ac_ext >&5
6664
rm -rf conftest* conftst*
6666
# Do not use the global_symbol_pipe unless it works.
6667
if test "$pipe_works" = yes; then
6670
lt_cv_sys_global_symbol_pipe=
6676
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6677
lt_cv_sys_global_symbol_to_cdecl=
6679
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6681
$as_echo "failed" >&6; }
6683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6684
$as_echo "ok" >&6; }
6709
@%:@ Check whether --enable-libtool-lock was given.
6710
if test "${enable_libtool_lock+set}" = set; then :
6711
enableval=$enable_libtool_lock;
6714
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6716
# Some flags need to be propagated to the compiler or linker for good
6720
# Find out which ABI we are using.
6721
echo 'int i;' > conftest.$ac_ext
6722
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6723
(eval $ac_compile) 2>&5
6725
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6726
test $ac_status = 0; }; then
6727
case `/usr/bin/file conftest.$ac_objext` in
6739
# Find out which ABI we are using.
6740
echo '#line __oline__ "configure"' > conftest.$ac_ext
6741
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6742
(eval $ac_compile) 2>&5
6744
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6745
test $ac_status = 0; }; then
6746
if test "$lt_cv_prog_gnu_ld" = yes; then
6747
case `/usr/bin/file conftest.$ac_objext` in
6749
LD="${LD-ld} -melf32bsmip"
6752
LD="${LD-ld} -melf32bmipn32"
6755
LD="${LD-ld} -melf64bmip"
6759
case `/usr/bin/file conftest.$ac_objext` in
6775
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6776
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6777
# Find out which ABI we are using.
6778
echo 'int i;' > conftest.$ac_ext
6779
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6780
(eval $ac_compile) 2>&5
6782
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6783
test $ac_status = 0; }; then
6784
case `/usr/bin/file conftest.o` in
6787
x86_64-*kfreebsd*-gnu)
6788
LD="${LD-ld} -m elf_i386_fbsd"
6791
LD="${LD-ld} -m elf_i386"
6793
ppc64-*linux*|powerpc64-*linux*)
6794
LD="${LD-ld} -m elf32ppclinux"
6797
LD="${LD-ld} -m elf_s390"
6800
LD="${LD-ld} -m elf32_sparc"
6806
x86_64-*kfreebsd*-gnu)
6807
LD="${LD-ld} -m elf_x86_64_fbsd"
6810
LD="${LD-ld} -m elf_x86_64"
6812
ppc*-*linux*|powerpc*-*linux*)
6813
LD="${LD-ld} -m elf64ppc"
6815
s390*-*linux*|s390*-*tpf*)
6816
LD="${LD-ld} -m elf64_s390"
6819
LD="${LD-ld} -m elf64_sparc"
6829
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6830
SAVE_CFLAGS="$CFLAGS"
6831
CFLAGS="$CFLAGS -belf"
6832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6833
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6834
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6835
$as_echo_n "(cached) " >&6
6838
ac_cpp='$CPP $CPPFLAGS'
6839
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6840
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6841
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6843
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6844
/* end confdefs.h. */
6854
if ac_fn_c_try_link "$LINENO"; then :
6855
lt_cv_cc_needs_belf=yes
6857
lt_cv_cc_needs_belf=no
6859
rm -f core conftest.err conftest.$ac_objext \
6860
conftest$ac_exeext conftest.$ac_ext
6862
ac_cpp='$CPP $CPPFLAGS'
6863
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6864
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6865
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6869
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6870
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6871
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6872
CFLAGS="$SAVE_CFLAGS"
6876
# Find out which ABI we are using.
6877
echo 'int i;' > conftest.$ac_ext
6878
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6879
(eval $ac_compile) 2>&5
6881
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6882
test $ac_status = 0; }; then
6883
case `/usr/bin/file conftest.o` in
6885
case $lt_cv_prog_gnu_ld in
6886
yes*) LD="${LD-ld} -m elf64_sparc" ;;
6888
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6900
need_locks="$enable_libtool_lock"
6904
rhapsody* | darwin*)
6905
if test -n "$ac_tool_prefix"; then
6906
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6907
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909
$as_echo_n "checking for $ac_word... " >&6; }
6910
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6911
$as_echo_n "(cached) " >&6
6913
if test -n "$DSYMUTIL"; then
6914
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6916
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6920
test -z "$as_dir" && as_dir=.
6921
for ac_exec_ext in '' $ac_executable_extensions; do
6922
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6923
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6924
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6933
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6934
if test -n "$DSYMUTIL"; then
6935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6936
$as_echo "$DSYMUTIL" >&6; }
6938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939
$as_echo "no" >&6; }
6944
if test -z "$ac_cv_prog_DSYMUTIL"; then
6945
ac_ct_DSYMUTIL=$DSYMUTIL
6946
# Extract the first word of "dsymutil", so it can be a program name with args.
6947
set dummy dsymutil; ac_word=$2
6948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6949
$as_echo_n "checking for $ac_word... " >&6; }
6950
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6951
$as_echo_n "(cached) " >&6
6953
if test -n "$ac_ct_DSYMUTIL"; then
6954
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6956
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6960
test -z "$as_dir" && as_dir=.
6961
for ac_exec_ext in '' $ac_executable_extensions; do
6962
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6963
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6964
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6973
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6974
if test -n "$ac_ct_DSYMUTIL"; then
6975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6976
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6979
$as_echo "no" >&6; }
6982
if test "x$ac_ct_DSYMUTIL" = x; then
6985
case $cross_compiling:$ac_tool_warned in
6987
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6988
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6989
ac_tool_warned=yes ;;
6991
DSYMUTIL=$ac_ct_DSYMUTIL
6994
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6997
if test -n "$ac_tool_prefix"; then
6998
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6999
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001
$as_echo_n "checking for $ac_word... " >&6; }
7002
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7003
$as_echo_n "(cached) " >&6
7005
if test -n "$NMEDIT"; then
7006
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7008
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012
test -z "$as_dir" && as_dir=.
7013
for ac_exec_ext in '' $ac_executable_extensions; do
7014
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7015
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7016
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7025
NMEDIT=$ac_cv_prog_NMEDIT
7026
if test -n "$NMEDIT"; then
7027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7028
$as_echo "$NMEDIT" >&6; }
7030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031
$as_echo "no" >&6; }
7036
if test -z "$ac_cv_prog_NMEDIT"; then
7037
ac_ct_NMEDIT=$NMEDIT
7038
# Extract the first word of "nmedit", so it can be a program name with args.
7039
set dummy nmedit; ac_word=$2
7040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7041
$as_echo_n "checking for $ac_word... " >&6; }
7042
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7043
$as_echo_n "(cached) " >&6
7045
if test -n "$ac_ct_NMEDIT"; then
7046
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7048
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7052
test -z "$as_dir" && as_dir=.
7053
for ac_exec_ext in '' $ac_executable_extensions; do
7054
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7055
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7056
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7065
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7066
if test -n "$ac_ct_NMEDIT"; then
7067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7068
$as_echo "$ac_ct_NMEDIT" >&6; }
7070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7071
$as_echo "no" >&6; }
7074
if test "x$ac_ct_NMEDIT" = x; then
7077
case $cross_compiling:$ac_tool_warned in
7079
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7080
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7081
ac_tool_warned=yes ;;
7083
NMEDIT=$ac_ct_NMEDIT
7086
NMEDIT="$ac_cv_prog_NMEDIT"
7089
if test -n "$ac_tool_prefix"; then
7090
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7091
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093
$as_echo_n "checking for $ac_word... " >&6; }
7094
if test "${ac_cv_prog_LIPO+set}" = set; then :
7095
$as_echo_n "(cached) " >&6
7097
if test -n "$LIPO"; then
7098
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7100
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104
test -z "$as_dir" && as_dir=.
7105
for ac_exec_ext in '' $ac_executable_extensions; do
7106
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7107
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7108
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7117
LIPO=$ac_cv_prog_LIPO
7118
if test -n "$LIPO"; then
7119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7120
$as_echo "$LIPO" >&6; }
7122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7123
$as_echo "no" >&6; }
7128
if test -z "$ac_cv_prog_LIPO"; then
7130
# Extract the first word of "lipo", so it can be a program name with args.
7131
set dummy lipo; ac_word=$2
7132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7133
$as_echo_n "checking for $ac_word... " >&6; }
7134
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7135
$as_echo_n "(cached) " >&6
7137
if test -n "$ac_ct_LIPO"; then
7138
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7140
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7144
test -z "$as_dir" && as_dir=.
7145
for ac_exec_ext in '' $ac_executable_extensions; do
7146
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7147
ac_cv_prog_ac_ct_LIPO="lipo"
7148
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7157
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7158
if test -n "$ac_ct_LIPO"; then
7159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7160
$as_echo "$ac_ct_LIPO" >&6; }
7162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7163
$as_echo "no" >&6; }
7166
if test "x$ac_ct_LIPO" = x; then
7169
case $cross_compiling:$ac_tool_warned in
7171
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7172
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7173
ac_tool_warned=yes ;;
7178
LIPO="$ac_cv_prog_LIPO"
7181
if test -n "$ac_tool_prefix"; then
7182
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7183
set dummy ${ac_tool_prefix}otool; ac_word=$2
7184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7185
$as_echo_n "checking for $ac_word... " >&6; }
7186
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7187
$as_echo_n "(cached) " >&6
7189
if test -n "$OTOOL"; then
7190
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7192
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196
test -z "$as_dir" && as_dir=.
7197
for ac_exec_ext in '' $ac_executable_extensions; do
7198
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7199
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7200
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7209
OTOOL=$ac_cv_prog_OTOOL
7210
if test -n "$OTOOL"; then
7211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7212
$as_echo "$OTOOL" >&6; }
7214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7215
$as_echo "no" >&6; }
7220
if test -z "$ac_cv_prog_OTOOL"; then
7222
# Extract the first word of "otool", so it can be a program name with args.
7223
set dummy otool; ac_word=$2
7224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7225
$as_echo_n "checking for $ac_word... " >&6; }
7226
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7227
$as_echo_n "(cached) " >&6
7229
if test -n "$ac_ct_OTOOL"; then
7230
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7232
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7236
test -z "$as_dir" && as_dir=.
7237
for ac_exec_ext in '' $ac_executable_extensions; do
7238
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7239
ac_cv_prog_ac_ct_OTOOL="otool"
7240
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7249
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7250
if test -n "$ac_ct_OTOOL"; then
7251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7252
$as_echo "$ac_ct_OTOOL" >&6; }
7254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7255
$as_echo "no" >&6; }
7258
if test "x$ac_ct_OTOOL" = x; then
7261
case $cross_compiling:$ac_tool_warned in
7263
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7264
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7265
ac_tool_warned=yes ;;
7270
OTOOL="$ac_cv_prog_OTOOL"
7273
if test -n "$ac_tool_prefix"; then
7274
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7275
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7277
$as_echo_n "checking for $ac_word... " >&6; }
7278
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7279
$as_echo_n "(cached) " >&6
7281
if test -n "$OTOOL64"; then
7282
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7284
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7288
test -z "$as_dir" && as_dir=.
7289
for ac_exec_ext in '' $ac_executable_extensions; do
7290
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7291
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7292
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301
OTOOL64=$ac_cv_prog_OTOOL64
7302
if test -n "$OTOOL64"; then
7303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7304
$as_echo "$OTOOL64" >&6; }
7306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7307
$as_echo "no" >&6; }
7312
if test -z "$ac_cv_prog_OTOOL64"; then
7313
ac_ct_OTOOL64=$OTOOL64
7314
# Extract the first word of "otool64", so it can be a program name with args.
7315
set dummy otool64; ac_word=$2
7316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7317
$as_echo_n "checking for $ac_word... " >&6; }
7318
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7319
$as_echo_n "(cached) " >&6
7321
if test -n "$ac_ct_OTOOL64"; then
7322
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7324
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7328
test -z "$as_dir" && as_dir=.
7329
for ac_exec_ext in '' $ac_executable_extensions; do
7330
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7331
ac_cv_prog_ac_ct_OTOOL64="otool64"
7332
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7342
if test -n "$ac_ct_OTOOL64"; then
7343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7344
$as_echo "$ac_ct_OTOOL64" >&6; }
7346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7347
$as_echo "no" >&6; }
7350
if test "x$ac_ct_OTOOL64" = x; then
7353
case $cross_compiling:$ac_tool_warned in
7355
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7356
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7357
ac_tool_warned=yes ;;
7359
OTOOL64=$ac_ct_OTOOL64
7362
OTOOL64="$ac_cv_prog_OTOOL64"
7391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7392
$as_echo_n "checking for -single_module linker flag... " >&6; }
7393
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7394
$as_echo_n "(cached) " >&6
7396
lt_cv_apple_cc_single_mod=no
7397
if test -z "${LT_MULTI_MODULE}"; then
7398
# By default we will add the -single_module flag. You can override
7399
# by either setting the environment variable LT_MULTI_MODULE
7400
# non-empty at configure time, or by adding -multi_module to the
7402
rm -rf libconftest.dylib*
7403
echo "int foo(void){return 1;}" > conftest.c
7404
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7405
-dynamiclib -Wl,-single_module conftest.c" >&5
7406
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7407
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7409
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7410
lt_cv_apple_cc_single_mod=yes
7412
cat conftest.err >&5
7414
rm -rf libconftest.dylib*
7418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7419
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7421
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7422
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7423
$as_echo_n "(cached) " >&6
7425
lt_cv_ld_exported_symbols_list=no
7426
save_LDFLAGS=$LDFLAGS
7427
echo "_main" > conftest.sym
7428
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7429
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7430
/* end confdefs.h. */
7440
if ac_fn_c_try_link "$LINENO"; then :
7441
lt_cv_ld_exported_symbols_list=yes
7443
lt_cv_ld_exported_symbols_list=no
7445
rm -f core conftest.err conftest.$ac_objext \
7446
conftest$ac_exeext conftest.$ac_ext
7447
LDFLAGS="$save_LDFLAGS"
7450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7451
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7453
rhapsody* | darwin1.[012])
7454
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7456
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7457
darwin*) # darwin 5.x on
7458
# if running on 10.5 or later, the deployment target defaults
7459
# to the OS version, if on x86, and 10.4, the deployment
7460
# target defaults to 10.4. Don't you love it?
7461
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7462
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7463
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7465
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7467
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7471
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7472
_lt_dar_single_mod='$single_module'
7474
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7475
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7477
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7479
if test "$DSYMUTIL" != ":"; then
7480
_lt_dsymutil='~$DSYMUTIL $lib || :'
7488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7489
$as_echo_n "checking for ANSI C header files... " >&6; }
7490
if test "${ac_cv_header_stdc+set}" = set; then :
7491
$as_echo_n "(cached) " >&6
7493
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7494
/* end confdefs.h. */
7508
if ac_fn_c_try_compile "$LINENO"; then :
7509
ac_cv_header_stdc=yes
7511
ac_cv_header_stdc=no
7513
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7515
if test $ac_cv_header_stdc = yes; then
7516
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7517
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7518
/* end confdefs.h. */
7522
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7523
$EGREP "memchr" >/dev/null 2>&1; then :
7526
ac_cv_header_stdc=no
7532
if test $ac_cv_header_stdc = yes; then
7533
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7534
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7535
/* end confdefs.h. */
7539
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7540
$EGREP "free" >/dev/null 2>&1; then :
7543
ac_cv_header_stdc=no
7549
if test $ac_cv_header_stdc = yes; then
7550
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7551
if test "$cross_compiling" = yes; then :
7554
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7555
/* end confdefs.h. */
7558
#if ((' ' & 0x0FF) == 0x020)
7559
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7560
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7562
# define ISLOWER(c) \
7563
(('a' <= (c) && (c) <= 'i') \
7564
|| ('j' <= (c) && (c) <= 'r') \
7565
|| ('s' <= (c) && (c) <= 'z'))
7566
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7569
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7574
for (i = 0; i < 256; i++)
7575
if (XOR (islower (i), ISLOWER (i))
7576
|| toupper (i) != TOUPPER (i))
7581
if ac_fn_c_try_run "$LINENO"; then :
7584
ac_cv_header_stdc=no
7586
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7587
conftest.$ac_objext conftest.beam conftest.$ac_ext
7592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7593
$as_echo "$ac_cv_header_stdc" >&6; }
7594
if test $ac_cv_header_stdc = yes; then
7596
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7600
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7601
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7602
inttypes.h stdint.h unistd.h
7604
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7605
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7607
eval as_val=\$$as_ac_Header
7608
if test "x$as_val" = x""yes; then :
7609
cat >>confdefs.h <<_ACEOF
7610
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7618
for ac_header in dlfcn.h
7620
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7622
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7623
cat >>confdefs.h <<_ACEOF
7624
@%:@define HAVE_DLFCN_H 1
7634
ac_cpp='$CXXCPP $CPPFLAGS'
7635
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7636
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7637
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7638
if test -z "$CXX"; then
7639
if test -n "$CCC"; then
7642
if test -n "$ac_tool_prefix"; then
7643
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7645
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7646
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7648
$as_echo_n "checking for $ac_word... " >&6; }
7649
if test "${ac_cv_prog_CXX+set}" = set; then :
7650
$as_echo_n "(cached) " >&6
7652
if test -n "$CXX"; then
7653
ac_cv_prog_CXX="$CXX" # Let the user override the test.
7655
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659
test -z "$as_dir" && as_dir=.
7660
for ac_exec_ext in '' $ac_executable_extensions; do
7661
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7662
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7663
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7673
if test -n "$CXX"; then
7674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7675
$as_echo "$CXX" >&6; }
7677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7678
$as_echo "no" >&6; }
7682
test -n "$CXX" && break
7685
if test -z "$CXX"; then
7687
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7689
# Extract the first word of "$ac_prog", so it can be a program name with args.
7690
set dummy $ac_prog; ac_word=$2
7691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7692
$as_echo_n "checking for $ac_word... " >&6; }
7693
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7694
$as_echo_n "(cached) " >&6
7696
if test -n "$ac_ct_CXX"; then
7697
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7699
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7703
test -z "$as_dir" && as_dir=.
7704
for ac_exec_ext in '' $ac_executable_extensions; do
7705
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7706
ac_cv_prog_ac_ct_CXX="$ac_prog"
7707
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7716
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7717
if test -n "$ac_ct_CXX"; then
7718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7719
$as_echo "$ac_ct_CXX" >&6; }
7721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7722
$as_echo "no" >&6; }
7726
test -n "$ac_ct_CXX" && break
7729
if test "x$ac_ct_CXX" = x; then
7732
case $cross_compiling:$ac_tool_warned in
7734
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7735
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7736
ac_tool_warned=yes ;;
7744
# Provide some information about the compiler.
7745
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7748
for ac_option in --version -v -V -qversion; do
7749
{ { ac_try="$ac_compiler $ac_option >&5"
7751
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7752
*) ac_try_echo=$ac_try;;
7754
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7755
$as_echo "$ac_try_echo"; } >&5
7756
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
7758
if test -s conftest.err; then
7760
... rest of stderr output deleted ...
7761
10q' conftest.err >conftest.er1
7762
cat conftest.er1 >&5
7764
rm -f conftest.er1 conftest.err
7765
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7766
test $ac_status = 0; }
7769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7770
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7771
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
7772
$as_echo_n "(cached) " >&6
7774
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7775
/* end confdefs.h. */
7788
if ac_fn_cxx_try_compile "$LINENO"; then :
7793
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7794
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7798
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7799
if test $ac_compiler_gnu = yes; then
7804
ac_test_CXXFLAGS=${CXXFLAGS+set}
7805
ac_save_CXXFLAGS=$CXXFLAGS
7806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7807
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
7808
if test "${ac_cv_prog_cxx_g+set}" = set; then :
7809
$as_echo_n "(cached) " >&6
7811
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7812
ac_cxx_werror_flag=yes
7815
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7816
/* end confdefs.h. */
7826
if ac_fn_cxx_try_compile "$LINENO"; then :
7827
ac_cv_prog_cxx_g=yes
7830
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831
/* end confdefs.h. */
7841
if ac_fn_cxx_try_compile "$LINENO"; then :
7844
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7846
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7847
/* end confdefs.h. */
7857
if ac_fn_cxx_try_compile "$LINENO"; then :
7858
ac_cv_prog_cxx_g=yes
7860
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7862
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7864
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7865
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7868
$as_echo "$ac_cv_prog_cxx_g" >&6; }
7869
if test "$ac_test_CXXFLAGS" = set; then
7870
CXXFLAGS=$ac_save_CXXFLAGS
7871
elif test $ac_cv_prog_cxx_g = yes; then
7872
if test "$GXX" = yes; then
7878
if test "$GXX" = yes; then
7885
ac_cpp='$CXXCPP $CPPFLAGS'
7886
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7887
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7888
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7890
depcc="$CXX" am_compiler_list=
7892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7893
$as_echo_n "checking dependency style of $depcc... " >&6; }
7894
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
7895
$as_echo_n "(cached) " >&6
7897
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7898
# We make a subdir and do the tests there. Otherwise we can end up
7899
# making bogus files that we don't know about and never remove. For
7900
# instance it was reported that on HP-UX the gcc test will end up
7901
# making a dummy file named `D' -- because `-MD' means `put the output
7904
# Copy depcomp to subdir because otherwise we won't find it if we're
7905
# using a relative directory.
7906
cp "$am_depcomp" conftest.dir
7908
# We will build objects and dependencies in a subdirectory because
7909
# it helps to detect inapplicable dependency modes. For instance
7910
# both Tru64's cc and ICC support -MD to output dependencies as a
7911
# side effect of compilation, but ICC will put the dependencies in
7912
# the current directory while Tru64 will put them in the object
7916
am_cv_CXX_dependencies_compiler_type=none
7917
if test "$am_compiler_list" = ""; then
7918
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7921
case " $depcc " in #(
7922
*\ -arch\ *\ -arch\ *) am__universal=true ;;
7925
for depmode in $am_compiler_list; do
7926
# Setup a source with many dependencies, because some compilers
7927
# like to wrap large dependency lists on column 80 (with \), and
7928
# we should not choose a depcomp mode which is confused by this.
7930
# We need to recreate these files for each test, as the compiler may
7931
# overwrite some of them when testing with obscure command lines.
7932
# This happens at least with the AIX C compiler.
7934
for i in 1 2 3 4 5 6; do
7935
echo '#include "conftst'$i'.h"' >> sub/conftest.c
7936
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7937
# Solaris 8's {/usr,}/bin/sh.
7938
touch sub/conftst$i.h
7940
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7942
# We check with `-c' and `-o' for the sake of the "dashmstdout"
7943
# mode. It turns out that the SunPro C++ compiler does not properly
7944
# handle `-M -o', and we need to detect this. Also, some Intel
7945
# versions had trouble with output in subdirs
7946
am__obj=sub/conftest.${OBJEXT-o}
7947
am__minus_obj="-o $am__obj"
7950
# This depmode causes a compiler race in universal mode.
7951
test "$am__universal" = false || continue
7954
# after this tag, mechanisms are not by side-effect, so they'll
7955
# only be used when explicitly requested
7956
if test "x$enable_dependency_tracking" = xyes; then
7962
msvisualcpp | msvcmsys)
7963
# This compiler won't grok `-c -o', but also, the minuso test has
7964
# not run yet. These depmodes are late enough in the game, and
7965
# so weak that their functioning should not be impacted.
7966
am__obj=conftest.${OBJEXT-o}
7971
if depmode=$depmode \
7972
source=sub/conftest.c object=$am__obj \
7973
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7974
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7975
>/dev/null 2>conftest.err &&
7976
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7977
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7978
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7979
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7980
# icc doesn't choke on unknown options, it will just issue warnings
7981
# or remarks (even with -Werror). So we grep stderr for any message
7982
# that says an option was ignored or not supported.
7983
# When given -MP, icc 7.0 and 7.1 complain thusly:
7984
# icc: Command line warning: ignoring option '-M'; no argument required
7985
# The diagnosis changed in icc 8.0:
7986
# icc: Command line remark: option '-MP' not supported
7987
if (grep 'ignoring option' conftest.err ||
7988
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7989
am_cv_CXX_dependencies_compiler_type=$depmode
7998
am_cv_CXX_dependencies_compiler_type=none
8002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
8003
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8004
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8007
test "x$enable_dependency_tracking" != xno \
8008
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8009
am__fastdepCXX_TRUE=
8010
am__fastdepCXX_FALSE='#'
8012
am__fastdepCXX_TRUE='#'
8013
am__fastdepCXX_FALSE=
8017
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8018
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8019
(test "X$CXX" != "Xg++"))) ; then
8021
ac_cpp='$CXXCPP $CPPFLAGS'
8022
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8023
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8024
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8026
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8027
if test -z "$CXXCPP"; then
8028
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
8029
$as_echo_n "(cached) " >&6
8031
# Double quotes because CXXCPP needs to be expanded
8032
for CXXCPP in "$CXX -E" "/lib/cpp"
8035
for ac_cxx_preproc_warn_flag in '' yes
8037
# Use a header file that comes with gcc, so configuring glibc
8038
# with a fresh cross-compiler works.
8039
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8040
# <limits.h> exists even on freestanding compilers.
8041
# On the NeXT, cc -E runs the code through the compiler's parser,
8042
# not just through cpp. "Syntax error" is here to catch this case.
8043
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8044
/* end confdefs.h. */
8046
@%:@ include <limits.h>
8048
@%:@ include <assert.h>
8052
if ac_fn_cxx_try_cpp "$LINENO"; then :
8055
# Broken: fails on valid input.
8058
rm -f conftest.err conftest.$ac_ext
8060
# OK, works on sane cases. Now check whether nonexistent headers
8061
# can be detected and how.
8062
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8063
/* end confdefs.h. */
8064
@%:@include <ac_nonexistent.h>
8066
if ac_fn_cxx_try_cpp "$LINENO"; then :
8067
# Broken: success on invalid input.
8070
# Passes both tests.
8074
rm -f conftest.err conftest.$ac_ext
8077
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8078
rm -f conftest.err conftest.$ac_ext
8079
if $ac_preproc_ok; then :
8084
ac_cv_prog_CXXCPP=$CXXCPP
8087
CXXCPP=$ac_cv_prog_CXXCPP
8089
ac_cv_prog_CXXCPP=$CXXCPP
8091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8092
$as_echo "$CXXCPP" >&6; }
8094
for ac_cxx_preproc_warn_flag in '' yes
8096
# Use a header file that comes with gcc, so configuring glibc
8097
# with a fresh cross-compiler works.
8098
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8099
# <limits.h> exists even on freestanding compilers.
8100
# On the NeXT, cc -E runs the code through the compiler's parser,
8101
# not just through cpp. "Syntax error" is here to catch this case.
8102
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8103
/* end confdefs.h. */
8105
@%:@ include <limits.h>
8107
@%:@ include <assert.h>
8111
if ac_fn_cxx_try_cpp "$LINENO"; then :
8114
# Broken: fails on valid input.
8117
rm -f conftest.err conftest.$ac_ext
8119
# OK, works on sane cases. Now check whether nonexistent headers
8120
# can be detected and how.
8121
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8122
/* end confdefs.h. */
8123
@%:@include <ac_nonexistent.h>
8125
if ac_fn_cxx_try_cpp "$LINENO"; then :
8126
# Broken: success on invalid input.
8129
# Passes both tests.
8133
rm -f conftest.err conftest.$ac_ext
8136
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8137
rm -f conftest.err conftest.$ac_ext
8138
if $ac_preproc_ok; then :
8141
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8142
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8143
_lt_caught_CXX_error=yes; }
8147
ac_cpp='$CXXCPP $CPPFLAGS'
8148
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8149
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8150
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8153
_lt_caught_CXX_error=yes
8170
@%:@ Check whether --enable-shared was given.
8171
if test "${enable_shared+set}" = set; then :
8172
enableval=$enable_shared; p=${PACKAGE-default}
8174
yes) enable_shared=yes ;;
8175
no) enable_shared=no ;;
8178
# Look at the argument we got. We use all the common list separators.
8179
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8180
for pkg in $enableval; do
8182
if test "X$pkg" = "X$p"; then
8201
@%:@ Check whether --enable-static was given.
8202
if test "${enable_static+set}" = set; then :
8203
enableval=$enable_static; p=${PACKAGE-default}
8205
yes) enable_static=yes ;;
8206
no) enable_static=no ;;
8209
# Look at the argument we got. We use all the common list separators.
8210
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8211
for pkg in $enableval; do
8213
if test "X$pkg" = "X$p"; then
8233
@%:@ Check whether --with-pic was given.
8234
if test "${with_pic+set}" = set; then :
8235
withval=$with_pic; pic_mode="$withval"
8241
test -z "$pic_mode" && pic_mode=default
8249
@%:@ Check whether --enable-fast-install was given.
8250
if test "${enable_fast_install+set}" = set; then :
8251
enableval=$enable_fast_install; p=${PACKAGE-default}
8253
yes) enable_fast_install=yes ;;
8254
no) enable_fast_install=no ;;
8256
enable_fast_install=no
8257
# Look at the argument we got. We use all the common list separators.
8258
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8259
for pkg in $enableval; do
8261
if test "X$pkg" = "X$p"; then
8262
enable_fast_install=yes
8269
enable_fast_install=yes
8282
# This can be used to rebuild libtool when needed
8283
LIBTOOL_DEPS="$ltmain"
8285
# Always use our own libtool.
8286
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8312
test -z "$LN_S" && LN_S="ln -s"
8327
if test -n "${ZSH_VERSION+set}" ; then
8328
setopt NO_GLOB_SUBST
8331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8332
$as_echo_n "checking for objdir... " >&6; }
8333
if test "${lt_cv_objdir+set}" = set; then :
8334
$as_echo_n "(cached) " >&6
8336
rm -f .libs 2>/dev/null
8337
mkdir .libs 2>/dev/null
8338
if test -d .libs; then
8341
# MS-DOS does not allow filenames that begin with a dot.
8344
rmdir .libs 2>/dev/null
8346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8347
$as_echo "$lt_cv_objdir" >&6; }
8348
objdir=$lt_cv_objdir
8354
cat >>confdefs.h <<_ACEOF
8355
@%:@define LT_OBJDIR "$lt_cv_objdir/"
8376
# AIX sometimes has problems with the GCC collect2 program. For some
8377
# reason, if we set the COLLECT_NAMES environment variable, the problems
8378
# vanish in a puff of smoke.
8379
if test "X${COLLECT_NAMES+set}" != Xset; then
8381
export COLLECT_NAMES
8386
# Sed substitution that helps us do robust quoting. It backslashifies
8387
# metacharacters that are still active within double-quoted strings.
8388
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8390
# Same as above, but do not quote variable references.
8391
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8393
# Sed substitution to delay expansion of an escaped shell variable in a
8394
# double_quote_subst'ed string.
8395
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8397
# Sed substitution to delay expansion of an escaped single quote.
8398
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8400
# Sed substitution to avoid accidental globbing in evaled expressions
8401
no_glob_subst='s/\*/\\\*/g'
8405
can_build_shared=yes
8407
# All known linkers require a `.a' archive for static linking (except MSVC,
8408
# which needs '.lib').
8411
with_gnu_ld="$lt_cv_prog_gnu_ld"
8414
old_CFLAGS="$CFLAGS"
8416
# Set sane defaults for various variables
8417
test -z "$CC" && CC=cc
8418
test -z "$LTCC" && LTCC=$CC
8419
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8420
test -z "$LD" && LD=ld
8421
test -z "$ac_objext" && ac_objext=o
8423
for cc_temp in $compiler""; do
8425
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8426
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8431
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8434
# Only perform the check for file, if the check method requires it
8435
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8436
case $deplibs_check_method in
8438
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8440
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8441
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8442
$as_echo_n "(cached) " >&6
8446
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8449
lt_save_MAGIC_CMD="$MAGIC_CMD"
8450
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8451
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8452
for ac_dir in $ac_dummy; do
8454
test -z "$ac_dir" && ac_dir=.
8455
if test -f $ac_dir/${ac_tool_prefix}file; then
8456
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8457
if test -n "$file_magic_test_file"; then
8458
case $deplibs_check_method in
8460
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8461
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8462
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8463
$EGREP "$file_magic_regex" > /dev/null; then
8468
*** Warning: the command libtool uses to detect shared libraries,
8469
*** $file_magic_cmd, produces output that libtool cannot recognize.
8470
*** The result is that libtool may fail to recognize shared libraries
8471
*** as such. This will affect the creation of libtool libraries that
8472
*** depend on shared libraries, but programs linked with such libtool
8473
*** libraries will work regardless of this problem. Nevertheless, you
8474
*** may want to report the problem to your system manager and/or to
8475
*** bug-libtool@gnu.org
8485
MAGIC_CMD="$lt_save_MAGIC_CMD"
8490
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8491
if test -n "$MAGIC_CMD"; then
8492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8493
$as_echo "$MAGIC_CMD" >&6; }
8495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8496
$as_echo "no" >&6; }
8503
if test -z "$lt_cv_path_MAGIC_CMD"; then
8504
if test -n "$ac_tool_prefix"; then
8505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8506
$as_echo_n "checking for file... " >&6; }
8507
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8508
$as_echo_n "(cached) " >&6
8512
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8515
lt_save_MAGIC_CMD="$MAGIC_CMD"
8516
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8517
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8518
for ac_dir in $ac_dummy; do
8520
test -z "$ac_dir" && ac_dir=.
8521
if test -f $ac_dir/file; then
8522
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8523
if test -n "$file_magic_test_file"; then
8524
case $deplibs_check_method in
8526
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8527
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8528
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8529
$EGREP "$file_magic_regex" > /dev/null; then
8534
*** Warning: the command libtool uses to detect shared libraries,
8535
*** $file_magic_cmd, produces output that libtool cannot recognize.
8536
*** The result is that libtool may fail to recognize shared libraries
8537
*** as such. This will affect the creation of libtool libraries that
8538
*** depend on shared libraries, but programs linked with such libtool
8539
*** libraries will work regardless of this problem. Nevertheless, you
8540
*** may want to report the problem to your system manager and/or to
8541
*** bug-libtool@gnu.org
8551
MAGIC_CMD="$lt_save_MAGIC_CMD"
8556
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8557
if test -n "$MAGIC_CMD"; then
8558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8559
$as_echo "$MAGIC_CMD" >&6; }
8561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562
$as_echo "no" >&6; }
8575
# Use C for the default configuration in the libtool script
8579
ac_cpp='$CPP $CPPFLAGS'
8580
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8581
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8582
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8585
# Source file extension for C test sources.
8588
# Object file extension for compiled C test sources.
8592
# Code to be used in simple compile tests
8593
lt_simple_compile_test_code="int some_variable = 0;"
8595
# Code to be used in simple link tests
8596
lt_simple_link_test_code='int main(){return(0);}'
8604
# If no C compiler was specified, use CC.
8607
# If no C compiler flags were specified, use CFLAGS.
8608
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8610
# Allow CC to be a program name with arguments.
8613
# Save the default compiler, since it gets overwritten when the other
8614
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8615
compiler_DEFAULT=$CC
8617
# save warnings/boilerplate of simple test code
8618
ac_outfile=conftest.$ac_objext
8619
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8620
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8621
_lt_compiler_boilerplate=`cat conftest.err`
8624
ac_outfile=conftest.$ac_objext
8625
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8626
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8627
_lt_linker_boilerplate=`cat conftest.err`
8632
## There is no encapsulation within the following macros, do not change
8633
## the running order or otherwise move them around unless you know exactly
8634
## what you are doing...
8635
if test -n "$compiler"; then
8637
lt_prog_compiler_no_builtin_flag=
8639
if test "$GCC" = yes; then
8640
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8643
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8644
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8645
$as_echo_n "(cached) " >&6
8647
lt_cv_prog_compiler_rtti_exceptions=no
8648
ac_outfile=conftest.$ac_objext
8649
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8650
lt_compiler_flag="-fno-rtti -fno-exceptions"
8651
# Insert the option either (1) after the last *FLAGS variable, or
8652
# (2) before a word containing "conftest.", or (3) at the end.
8653
# Note that $ac_compile itself does not contain backslashes and begins
8654
# with a dollar sign (not a hyphen), so the echo should work correctly.
8655
# The option is referenced via a variable to avoid confusing sed.
8656
lt_compile=`echo "$ac_compile" | $SED \
8657
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8658
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8659
-e 's:$: $lt_compiler_flag:'`
8660
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8661
(eval "$lt_compile" 2>conftest.err)
8663
cat conftest.err >&5
8664
echo "$as_me:__oline__: \$? = $ac_status" >&5
8665
if (exit $ac_status) && test -s "$ac_outfile"; then
8666
# The compiler can only warn and ignore the option if not recognized
8667
# So say no if there are warnings other than the usual output.
8668
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8669
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8670
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8671
lt_cv_prog_compiler_rtti_exceptions=yes
8677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8678
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8680
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8681
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8693
lt_prog_compiler_wl=
8694
lt_prog_compiler_pic=
8695
lt_prog_compiler_static=
8697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8698
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8700
if test "$GCC" = yes; then
8701
lt_prog_compiler_wl='-Wl,'
8702
lt_prog_compiler_static='-static'
8706
# All AIX code is PIC.
8707
if test "$host_cpu" = ia64; then
8708
# AIX 5 now supports IA64 processor
8709
lt_prog_compiler_static='-Bstatic'
8716
# see comment about AmigaOS4 .so support
8717
lt_prog_compiler_pic='-fPIC'
8720
# FIXME: we need at least 68020 code to build shared libraries, but
8721
# adding the `-m68020' flag to GCC prevents building anything better,
8723
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8728
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8729
# PIC is the default for these OSes.
8732
mingw* | cygwin* | pw32* | os2* | cegcc*)
8733
# This hack is so that the source file can tell whether it is being
8734
# built for inclusion in a dll (and should export symbols for example).
8735
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8736
# (--disable-auto-import) libraries
8737
lt_prog_compiler_pic='-DDLL_EXPORT'
8740
darwin* | rhapsody*)
8741
# PIC is the default on this platform
8742
# Common symbols not allowed in MH_DYLIB files
8743
lt_prog_compiler_pic='-fno-common'
8747
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8748
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8749
# sets the default TLS model and affects inlining.
8755
lt_prog_compiler_pic='-fPIC'
8761
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8762
# Instead, we relocate shared libraries at runtime.
8766
# Just because we use GCC doesn't mean we suddenly get shared libraries
8767
# on systems that don't support them.
8768
lt_prog_compiler_can_build_shared=no
8773
# QNX uses GNU C++, but need to define -shared option too, otherwise
8775
lt_prog_compiler_pic='-fPIC -shared'
8779
if test -d /usr/nec; then
8780
lt_prog_compiler_pic=-Kconform_pic
8785
lt_prog_compiler_pic='-fPIC'
8789
# PORTME Check for flag to pass linker flags through the system compiler.
8792
lt_prog_compiler_wl='-Wl,'
8793
if test "$host_cpu" = ia64; then
8794
# AIX 5 now supports IA64 processor
8795
lt_prog_compiler_static='-Bstatic'
8797
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8801
mingw* | cygwin* | pw32* | os2* | cegcc*)
8802
# This hack is so that the source file can tell whether it is being
8803
# built for inclusion in a dll (and should export symbols for example).
8804
lt_prog_compiler_pic='-DDLL_EXPORT'
8807
hpux9* | hpux10* | hpux11*)
8808
lt_prog_compiler_wl='-Wl,'
8809
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8816
lt_prog_compiler_pic='+Z'
8819
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8820
lt_prog_compiler_static='${wl}-a ${wl}archive'
8823
irix5* | irix6* | nonstopux*)
8824
lt_prog_compiler_wl='-Wl,'
8825
# PIC (with -KPIC) is the default.
8826
lt_prog_compiler_static='-non_shared'
8829
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8830
case $cc_basename in
8831
# old Intel for x86_64 which still supported -KPIC.
8833
lt_prog_compiler_wl='-Wl,'
8834
lt_prog_compiler_pic='-KPIC'
8835
lt_prog_compiler_static='-static'
8837
# icc used to be incompatible with GCC.
8838
# ICC 10 doesn't accept -KPIC any more.
8840
lt_prog_compiler_wl='-Wl,'
8841
lt_prog_compiler_pic='-fPIC'
8842
lt_prog_compiler_static='-static'
8844
# Lahey Fortran 8.1.
8846
lt_prog_compiler_wl='-Wl,'
8847
lt_prog_compiler_pic='--shared'
8848
lt_prog_compiler_static='--static'
8850
pgcc* | pgf77* | pgf90* | pgf95*)
8851
# Portland Group compilers (*not* the Pentium gcc compiler,
8852
# which looks to be a dead project)
8853
lt_prog_compiler_wl='-Wl,'
8854
lt_prog_compiler_pic='-fpic'
8855
lt_prog_compiler_static='-Bstatic'
8858
lt_prog_compiler_wl='-Wl,'
8859
# All Alpha code is PIC.
8860
lt_prog_compiler_static='-non_shared'
8863
# IBM XL C 8.0/Fortran 10.1 on PPC
8864
lt_prog_compiler_wl='-Wl,'
8865
lt_prog_compiler_pic='-qpic'
8866
lt_prog_compiler_static='-qstaticlink'
8869
case `$CC -V 2>&1 | sed 5q` in
8872
lt_prog_compiler_pic='-KPIC'
8873
lt_prog_compiler_static='-Bstatic'
8874
lt_prog_compiler_wl='-Wl,'
8877
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8878
lt_prog_compiler_pic='-KPIC'
8879
lt_prog_compiler_static='-Bstatic'
8880
lt_prog_compiler_wl=''
8888
lt_prog_compiler_pic='-KPIC'
8889
lt_prog_compiler_static='-Bstatic'
8893
# QNX uses GNU C++, but need to define -shared option too, otherwise
8895
lt_prog_compiler_pic='-fPIC -shared'
8898
osf3* | osf4* | osf5*)
8899
lt_prog_compiler_wl='-Wl,'
8900
# All OSF/1 code is PIC.
8901
lt_prog_compiler_static='-non_shared'
8905
lt_prog_compiler_static='-non_shared'
8909
lt_prog_compiler_pic='-KPIC'
8910
lt_prog_compiler_static='-Bstatic'
8911
case $cc_basename in
8913
lt_prog_compiler_wl='-Qoption ld ';;
8915
lt_prog_compiler_wl='-Wl,';;
8920
lt_prog_compiler_wl='-Qoption ld '
8921
lt_prog_compiler_pic='-PIC'
8922
lt_prog_compiler_static='-Bstatic'
8925
sysv4 | sysv4.2uw2* | sysv4.3*)
8926
lt_prog_compiler_wl='-Wl,'
8927
lt_prog_compiler_pic='-KPIC'
8928
lt_prog_compiler_static='-Bstatic'
8932
if test -d /usr/nec ;then
8933
lt_prog_compiler_pic='-Kconform_pic'
8934
lt_prog_compiler_static='-Bstatic'
8938
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8939
lt_prog_compiler_wl='-Wl,'
8940
lt_prog_compiler_pic='-KPIC'
8941
lt_prog_compiler_static='-Bstatic'
8945
lt_prog_compiler_wl='-Wl,'
8946
lt_prog_compiler_can_build_shared=no
8950
lt_prog_compiler_pic='-pic'
8951
lt_prog_compiler_static='-Bstatic'
8955
lt_prog_compiler_can_build_shared=no
8961
# For platforms which do not support PIC, -DPIC is meaningless:
8963
lt_prog_compiler_pic=
8966
lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8970
$as_echo "$lt_prog_compiler_pic" >&6; }
8978
# Check to make sure the PIC flag actually works.
8980
if test -n "$lt_prog_compiler_pic"; then
8981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8982
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8983
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8984
$as_echo_n "(cached) " >&6
8986
lt_cv_prog_compiler_pic_works=no
8987
ac_outfile=conftest.$ac_objext
8988
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8989
lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8990
# Insert the option either (1) after the last *FLAGS variable, or
8991
# (2) before a word containing "conftest.", or (3) at the end.
8992
# Note that $ac_compile itself does not contain backslashes and begins
8993
# with a dollar sign (not a hyphen), so the echo should work correctly.
8994
# The option is referenced via a variable to avoid confusing sed.
8995
lt_compile=`echo "$ac_compile" | $SED \
8996
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8997
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8998
-e 's:$: $lt_compiler_flag:'`
8999
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9000
(eval "$lt_compile" 2>conftest.err)
9002
cat conftest.err >&5
9003
echo "$as_me:__oline__: \$? = $ac_status" >&5
9004
if (exit $ac_status) && test -s "$ac_outfile"; then
9005
# The compiler can only warn and ignore the option if not recognized
9006
# So say no if there are warnings other than the usual output.
9007
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9008
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9009
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9010
lt_cv_prog_compiler_pic_works=yes
9016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9017
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9019
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9020
case $lt_prog_compiler_pic in
9022
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9025
lt_prog_compiler_pic=
9026
lt_prog_compiler_can_build_shared=no
9037
# Check to make sure the static flag actually works.
9039
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9041
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9042
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9043
$as_echo_n "(cached) " >&6
9045
lt_cv_prog_compiler_static_works=no
9046
save_LDFLAGS="$LDFLAGS"
9047
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9048
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9049
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9050
# The linker can only warn and ignore the option if not recognized
9051
# So say no if there are warnings
9052
if test -s conftest.err; then
9053
# Append any errors to the config.log.
9054
cat conftest.err 1>&5
9055
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9056
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9057
if diff conftest.exp conftest.er2 >/dev/null; then
9058
lt_cv_prog_compiler_static_works=yes
9061
lt_cv_prog_compiler_static_works=yes
9065
LDFLAGS="$save_LDFLAGS"
9068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9069
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9071
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9074
lt_prog_compiler_static=
9083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9084
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9085
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9086
$as_echo_n "(cached) " >&6
9088
lt_cv_prog_compiler_c_o=no
9089
$RM -r conftest 2>/dev/null
9093
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9095
lt_compiler_flag="-o out/conftest2.$ac_objext"
9096
# Insert the option either (1) after the last *FLAGS variable, or
9097
# (2) before a word containing "conftest.", or (3) at the end.
9098
# Note that $ac_compile itself does not contain backslashes and begins
9099
# with a dollar sign (not a hyphen), so the echo should work correctly.
9100
lt_compile=`echo "$ac_compile" | $SED \
9101
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9102
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9103
-e 's:$: $lt_compiler_flag:'`
9104
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9105
(eval "$lt_compile" 2>out/conftest.err)
9107
cat out/conftest.err >&5
9108
echo "$as_me:__oline__: \$? = $ac_status" >&5
9109
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9111
# The compiler can only warn and ignore the option if not recognized
9112
# So say no if there are warnings
9113
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9114
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9115
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9116
lt_cv_prog_compiler_c_o=yes
9121
# SGI C++ compiler will create directory out/ii_files/ for
9122
# template instantiation
9123
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9124
$RM out/* && rmdir out
9130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9131
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9139
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9140
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9141
$as_echo_n "(cached) " >&6
9143
lt_cv_prog_compiler_c_o=no
9144
$RM -r conftest 2>/dev/null
9148
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9150
lt_compiler_flag="-o out/conftest2.$ac_objext"
9151
# Insert the option either (1) after the last *FLAGS variable, or
9152
# (2) before a word containing "conftest.", or (3) at the end.
9153
# Note that $ac_compile itself does not contain backslashes and begins
9154
# with a dollar sign (not a hyphen), so the echo should work correctly.
9155
lt_compile=`echo "$ac_compile" | $SED \
9156
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9157
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9158
-e 's:$: $lt_compiler_flag:'`
9159
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
9160
(eval "$lt_compile" 2>out/conftest.err)
9162
cat out/conftest.err >&5
9163
echo "$as_me:__oline__: \$? = $ac_status" >&5
9164
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9166
# The compiler can only warn and ignore the option if not recognized
9167
# So say no if there are warnings
9168
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9169
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9170
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9171
lt_cv_prog_compiler_c_o=yes
9176
# SGI C++ compiler will create directory out/ii_files/ for
9177
# template instantiation
9178
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9179
$RM out/* && rmdir out
9185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9186
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9191
hard_links="nottested"
9192
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9193
# do not overwrite the value of need_locks provided by the user
9194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9195
$as_echo_n "checking if we can lock with hard links... " >&6; }
9198
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9200
ln conftest.a conftest.b 2>&5 || hard_links=no
9201
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9203
$as_echo "$hard_links" >&6; }
9204
if test "$hard_links" = no; then
9205
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9206
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9219
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9222
allow_undefined_flag=
9223
always_export_symbols=no
9225
archive_expsym_cmds=
9226
compiler_needs_object=no
9227
enable_shared_with_static_runtimes=no
9228
export_dynamic_flag_spec=
9229
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9230
hardcode_automatic=no
9232
hardcode_direct_absolute=no
9233
hardcode_libdir_flag_spec=
9234
hardcode_libdir_flag_spec_ld=
9235
hardcode_libdir_separator=
9237
hardcode_shlibpath_var=unsupported
9239
link_all_deplibs=unknown
9242
old_archive_from_new_cmds=
9243
old_archive_from_expsyms_cmds=
9244
thread_safe_flag_spec=
9245
whole_archive_flag_spec=
9246
# include_expsyms should be a list of space-separated symbols to be *always*
9247
# included in the symbol list
9249
# exclude_expsyms can be an extended regexp of symbols to exclude
9250
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9251
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9252
# as well as any symbol that contains `d'.
9253
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9254
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9255
# platforms (ab)use it in PIC code, but their linkers get confused if
9256
# the symbol is explicitly referenced. Since portable code cannot
9257
# rely on this symbol name, it's probably fine to never include it in
9258
# preloaded symbol tables.
9259
# Exclude shared library initialization/finalization symbols.
9260
extract_expsyms_cmds=
9263
cygwin* | mingw* | pw32* | cegcc*)
9264
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9265
# When not using gcc, we currently assume that we are using
9266
# Microsoft Visual C++.
9267
if test "$GCC" != yes; then
9272
# we just hope/assume this is gcc and not c89 (= MSVC++)
9278
linux* | k*bsd*-gnu)
9284
if test "$with_gnu_ld" = yes; then
9285
# If archive_cmds runs LD, not CC, wlarc should be empty
9288
# Set some defaults for GNU ld with shared library support. These
9289
# are reset later if shared libraries are not supported. Putting them
9290
# here allows them to be overridden if necessary.
9291
runpath_var=LD_RUN_PATH
9292
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9293
export_dynamic_flag_spec='${wl}--export-dynamic'
9294
# ancient GNU ld didn't support --whole-archive et. al.
9295
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9296
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9298
whole_archive_flag_spec=
9300
supports_anon_versioning=no
9301
case `$LD -v 2>&1` in
9302
*GNU\ gold*) supports_anon_versioning=yes ;;
9303
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9304
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9305
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9306
*\ 2.11.*) ;; # other 2.11 versions
9307
*) supports_anon_versioning=yes ;;
9310
# See if GNU ld supports shared libraries.
9313
# On AIX/PPC, the GNU linker is very broken
9314
if test "$host_cpu" != ia64; then
9318
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9319
*** to be unable to reliably create shared libraries on AIX.
9320
*** Therefore, libtool is disabling shared libraries support. If you
9321
*** really care for shared libraries, you may want to modify your PATH
9322
*** so that a non-GNU linker is found, and then restart.
9331
# see comment about AmigaOS4 .so support
9332
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9333
archive_expsym_cmds=''
9336
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)'
9337
hardcode_libdir_flag_spec='-L$libdir'
9338
hardcode_minus_L=yes
9344
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9345
allow_undefined_flag=unsupported
9346
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9347
# support --undefined. This deserves some investigation. FIXME
9348
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9354
cygwin* | mingw* | pw32* | cegcc*)
9355
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9356
# as there is no search path for DLLs.
9357
hardcode_libdir_flag_spec='-L$libdir'
9358
allow_undefined_flag=unsupported
9359
always_export_symbols=no
9360
enable_shared_with_static_runtimes=yes
9361
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9363
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9364
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9365
# If the export-symbols file already is a .def file (1st line
9366
# is EXPORTS), use it as is; otherwise, prepend...
9367
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9368
cp $export_symbols $output_objdir/$soname.def;
9370
echo EXPORTS > $output_objdir/$soname.def;
9371
cat $export_symbols >> $output_objdir/$soname.def;
9373
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9381
hardcode_shlibpath_var=no
9382
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9383
export_dynamic_flag_spec='${wl}-E'
9384
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9385
# Instead, shared libraries are loaded at an image base (0x10000000 by
9386
# default) and relocated if they conflict, which is a slow very memory
9387
# consuming and fragmenting process. To avoid this, we pick a random,
9388
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9389
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9390
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9391
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'
9394
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9396
if test "$host_os" = linux-dietlibc; then
9397
case $cc_basename in
9398
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9401
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9402
&& test "$tmp_diet" = no
9405
tmp_sharedflag='-shared'
9406
case $cc_basename,$host_cpu in
9407
pgcc*) # Portland Group C compiler
9408
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9409
tmp_addflag=' $pic_flag'
9411
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9412
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9413
tmp_addflag=' $pic_flag -Mnomain' ;;
9414
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9415
tmp_addflag=' -i_dynamic' ;;
9416
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9417
tmp_addflag=' -i_dynamic -nofor_main' ;;
9418
ifc* | ifort*) # Intel Fortran compiler
9419
tmp_addflag=' -nofor_main' ;;
9420
lf95*) # Lahey Fortran 8.1
9421
whole_archive_flag_spec=
9422
tmp_sharedflag='--shared' ;;
9423
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9424
tmp_sharedflag='-qmkshrobj'
9427
case `$CC -V 2>&1 | sed 5q` in
9428
*Sun\ C*) # Sun C 5.9
9429
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9430
compiler_needs_object=yes
9431
tmp_sharedflag='-G' ;;
9432
*Sun\ F*) # Sun Fortran 8.3
9433
tmp_sharedflag='-G' ;;
9435
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9437
if test "x$supports_anon_versioning" = xyes; then
9438
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9439
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9440
echo "local: *; };" >> $output_objdir/$libname.ver~
9441
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9444
case $cc_basename in
9446
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9447
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9448
hardcode_libdir_flag_spec=
9449
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9450
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9451
if test "x$supports_anon_versioning" = xyes; then
9452
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9453
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9454
echo "local: *; };" >> $output_objdir/$libname.ver~
9455
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9464
netbsd* | netbsdelf*-gnu)
9465
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9466
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9469
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9470
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9475
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9479
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9480
*** create shared libraries on Solaris systems. Therefore, libtool
9481
*** is disabling shared libraries support. We urge you to upgrade GNU
9482
*** binutils to release 2.9.1 or newer. Another option is to modify
9483
*** your PATH or compiler configuration so that the native linker is
9484
*** used, and then restart.
9487
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9488
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9489
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9495
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9496
case `$LD -v 2>&1` in
9497
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9501
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9502
*** reliably create shared libraries on SCO systems. Therefore, libtool
9503
*** is disabling shared libraries support. We urge you to upgrade GNU
9504
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9505
*** your PATH or compiler configuration so that the native linker is
9506
*** used, and then restart.
9511
# For security reasons, it is highly recommended that you always
9512
# use absolute paths for naming shared libraries, and exclude the
9513
# DT_RUNPATH tag from executables and libraries. But doing so
9514
# requires that you compile everything twice, which is a pain.
9515
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9516
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9517
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9518
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9527
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9530
hardcode_shlibpath_var=no
9534
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9535
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9536
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9543
if test "$ld_shlibs" = no; then
9545
hardcode_libdir_flag_spec=
9546
export_dynamic_flag_spec=
9547
whole_archive_flag_spec=
9550
# PORTME fill in a description of your system's linker (not GNU ld)
9553
allow_undefined_flag=unsupported
9554
always_export_symbols=yes
9555
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'
9556
# Note: this linker hardcodes the directories in LIBPATH if there
9557
# are no directories specified by -L.
9558
hardcode_minus_L=yes
9559
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9560
# Neither direct hardcoding nor static linking is supported with a
9562
hardcode_direct=unsupported
9567
if test "$host_cpu" = ia64; then
9568
# On IA64, the linker does run time linking by default, so we don't
9569
# have to do anything special.
9570
aix_use_runtimelinking=no
9571
exp_sym_flag='-Bexport'
9574
# If we're using GNU nm, then we don't want the "-C" option.
9575
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9576
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9577
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9579
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'
9581
aix_use_runtimelinking=no
9583
# Test if we are trying to use run time linking or normal
9584
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9585
# need to do runtime linking.
9586
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9587
for ld_flag in $LDFLAGS; do
9588
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9589
aix_use_runtimelinking=yes
9596
exp_sym_flag='-bexport'
9597
no_entry_flag='-bnoentry'
9600
# When large executables or shared objects are built, AIX ld can
9601
# have problems creating the table of contents. If linking a library
9602
# or program results in "error TOC overflow" add -mminimal-toc to
9603
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9604
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9608
hardcode_direct_absolute=yes
9609
hardcode_libdir_separator=':'
9610
link_all_deplibs=yes
9611
file_list_spec='${wl}-f,'
9613
if test "$GCC" = yes; then
9614
case $host_os in aix4.[012]|aix4.[012].*)
9615
# We only want to do this on AIX 4.2 and lower, the check
9616
# below for broken collect2 doesn't work under 4.3+
9617
collect2name=`${CC} -print-prog-name=collect2`
9618
if test -f "$collect2name" &&
9619
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9621
# We have reworked collect2
9624
# We have old collect2
9625
hardcode_direct=unsupported
9626
# It fails to find uninstalled libraries when the uninstalled
9627
# path is not listed in the libpath. Setting hardcode_minus_L
9628
# to unsupported forces relinking
9629
hardcode_minus_L=yes
9630
hardcode_libdir_flag_spec='-L$libdir'
9631
hardcode_libdir_separator=
9635
shared_flag='-shared'
9636
if test "$aix_use_runtimelinking" = yes; then
9637
shared_flag="$shared_flag "'${wl}-G'
9642
if test "$host_cpu" = ia64; then
9643
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9644
# chokes on -Wl,-G. The following line is correct:
9647
if test "$aix_use_runtimelinking" = yes; then
9648
shared_flag='${wl}-G'
9650
shared_flag='${wl}-bM:SRE'
9655
export_dynamic_flag_spec='${wl}-bexpall'
9656
# It seems that -bexpall does not export symbols beginning with
9657
# underscore (_), so it is better to generate a list of symbols to export.
9658
always_export_symbols=yes
9659
if test "$aix_use_runtimelinking" = yes; then
9660
# Warning - without using the other runtime loading flags (-brtl),
9661
# -berok will link without error, but may produce a broken library.
9662
allow_undefined_flag='-berok'
9663
# Determine the default libpath from the value encoded in an
9665
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9666
/* end confdefs.h. */
9676
if ac_fn_c_try_link "$LINENO"; then :
9678
lt_aix_libpath_sed='
9679
/Import File Strings/,/^$/ {
9685
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9686
# Check for a 64-bit object if we didn't find anything.
9687
if test -z "$aix_libpath"; then
9688
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9691
rm -f core conftest.err conftest.$ac_objext \
9692
conftest$ac_exeext conftest.$ac_ext
9693
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9695
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9696
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9698
if test "$host_cpu" = ia64; then
9699
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9700
allow_undefined_flag="-z nodefs"
9701
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"
9703
# Determine the default libpath from the value encoded in an
9705
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9706
/* end confdefs.h. */
9716
if ac_fn_c_try_link "$LINENO"; then :
9718
lt_aix_libpath_sed='
9719
/Import File Strings/,/^$/ {
9725
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9726
# Check for a 64-bit object if we didn't find anything.
9727
if test -z "$aix_libpath"; then
9728
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9731
rm -f core conftest.err conftest.$ac_objext \
9732
conftest$ac_exeext conftest.$ac_ext
9733
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9735
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9736
# Warning - without using the other run time loading flags,
9737
# -berok will link without error, but may produce a broken library.
9738
no_undefined_flag=' ${wl}-bernotok'
9739
allow_undefined_flag=' ${wl}-berok'
9740
# Exported symbols can be pulled into shared objects from archives
9741
whole_archive_flag_spec='$convenience'
9742
archive_cmds_need_lc=yes
9743
# This is similar to how AIX traditionally builds its shared libraries.
9744
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'
9752
# see comment about AmigaOS4 .so support
9753
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9754
archive_expsym_cmds=''
9757
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)'
9758
hardcode_libdir_flag_spec='-L$libdir'
9759
hardcode_minus_L=yes
9765
export_dynamic_flag_spec=-rdynamic
9768
cygwin* | mingw* | pw32* | cegcc*)
9769
# When not using gcc, we currently assume that we are using
9770
# Microsoft Visual C++.
9771
# hardcode_libdir_flag_spec is actually meaningless, as there is
9772
# no search path for DLLs.
9773
hardcode_libdir_flag_spec=' '
9774
allow_undefined_flag=unsupported
9775
# Tell ltmain to make .lib files, not .a files.
9777
# Tell ltmain to make .dll files, not .so files.
9779
# FIXME: Setting linknames here is a bad hack.
9780
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9781
# The linker will automatically build a .lib file if we build a DLL.
9782
old_archive_from_new_cmds='true'
9783
# FIXME: Should let the user specify the lib program.
9784
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9785
fix_srcfile_path='`cygpath -w "$srcfile"`'
9786
enable_shared_with_static_runtimes=yes
9789
darwin* | rhapsody*)
9792
archive_cmds_need_lc=no
9794
hardcode_automatic=yes
9795
hardcode_shlibpath_var=unsupported
9796
whole_archive_flag_spec=''
9797
link_all_deplibs=yes
9798
allow_undefined_flag="$_lt_dar_allow_undefined"
9799
case $cc_basename in
9800
ifort*) _lt_dar_can_shared=yes ;;
9801
*) _lt_dar_can_shared=$GCC ;;
9803
if test "$_lt_dar_can_shared" = "yes"; then
9804
output_verbose_link_cmd=echo
9805
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9806
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9807
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}"
9808
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}"
9817
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9818
hardcode_libdir_flag_spec='-L$libdir'
9819
hardcode_shlibpath_var=no
9826
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9827
# support. Future versions do this automatically, but an explicit c++rt0.o
9828
# does not break anything, and helps significantly (at the cost of a little
9831
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9832
hardcode_libdir_flag_spec='-R$libdir'
9834
hardcode_shlibpath_var=no
9837
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9839
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9841
hardcode_minus_L=yes
9842
hardcode_shlibpath_var=no
9845
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9846
freebsd* | dragonfly*)
9847
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9848
hardcode_libdir_flag_spec='-R$libdir'
9850
hardcode_shlibpath_var=no
9854
if test "$GCC" = yes; then
9855
archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9857
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'
9859
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9860
hardcode_libdir_separator=:
9863
# hardcode_minus_L: Not really in the search PATH,
9864
# but as the default location of the library.
9865
hardcode_minus_L=yes
9866
export_dynamic_flag_spec='${wl}-E'
9870
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9871
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9873
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9875
if test "$with_gnu_ld" = no; then
9876
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9877
hardcode_libdir_flag_spec_ld='+b $libdir'
9878
hardcode_libdir_separator=:
9880
hardcode_direct_absolute=yes
9881
export_dynamic_flag_spec='${wl}-E'
9882
# hardcode_minus_L: Not really in the search PATH,
9883
# but as the default location of the library.
9884
hardcode_minus_L=yes
9889
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9892
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9895
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9898
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9904
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9907
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9910
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9914
if test "$with_gnu_ld" = no; then
9915
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9916
hardcode_libdir_separator=:
9921
hardcode_shlibpath_var=no
9925
hardcode_direct_absolute=yes
9926
export_dynamic_flag_spec='${wl}-E'
9928
# hardcode_minus_L: Not really in the search PATH,
9929
# but as the default location of the library.
9930
hardcode_minus_L=yes
9936
irix5* | irix6* | nonstopux*)
9937
if test "$GCC" = yes; then
9938
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9939
# Try to use the -exported_symbol ld option, if it does not
9940
# work, assume that -exports_file does not work either and
9941
# implicitly export all symbols.
9942
save_LDFLAGS="$LDFLAGS"
9943
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9944
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9945
/* end confdefs.h. */
9948
if ac_fn_c_try_link "$LINENO"; then :
9949
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9952
rm -f core conftest.err conftest.$ac_objext \
9953
conftest$ac_exeext conftest.$ac_ext
9954
LDFLAGS="$save_LDFLAGS"
9956
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9957
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9959
archive_cmds_need_lc='no'
9960
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9961
hardcode_libdir_separator=:
9963
link_all_deplibs=yes
9966
netbsd* | netbsdelf*-gnu)
9967
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9968
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9970
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9972
hardcode_libdir_flag_spec='-R$libdir'
9974
hardcode_shlibpath_var=no
9978
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9980
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9981
hardcode_libdir_separator=:
9982
hardcode_shlibpath_var=no
9989
if test -f /usr/libexec/ld.so; then
9991
hardcode_shlibpath_var=no
9992
hardcode_direct_absolute=yes
9993
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9994
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9995
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9996
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9997
export_dynamic_flag_spec='${wl}-E'
10000
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10001
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10002
hardcode_libdir_flag_spec='-R$libdir'
10005
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10006
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10016
hardcode_libdir_flag_spec='-L$libdir'
10017
hardcode_minus_L=yes
10018
allow_undefined_flag=unsupported
10019
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'
10020
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10024
if test "$GCC" = yes; then
10025
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10026
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10028
allow_undefined_flag=' -expect_unresolved \*'
10029
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10031
archive_cmds_need_lc='no'
10032
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10033
hardcode_libdir_separator=:
10036
osf4* | osf5*) # as osf3* with the addition of -msym flag
10037
if test "$GCC" = yes; then
10038
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10039
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10040
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10042
allow_undefined_flag=' -expect_unresolved \*'
10043
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10044
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~
10045
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10047
# Both c and cxx compiler support -rpath directly
10048
hardcode_libdir_flag_spec='-rpath $libdir'
10050
archive_cmds_need_lc='no'
10051
hardcode_libdir_separator=:
10055
no_undefined_flag=' -z defs'
10056
if test "$GCC" = yes; then
10058
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10059
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10060
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10062
case `$CC -V 2>&1` in
10065
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10066
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10067
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10071
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10072
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10073
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10077
hardcode_libdir_flag_spec='-R$libdir'
10078
hardcode_shlibpath_var=no
10080
solaris2.[0-5] | solaris2.[0-5].*) ;;
10082
# The compiler driver will combine and reorder linker options,
10083
# but understands `-z linker_flag'. GCC discards it without `$wl',
10084
# but is careful enough not to reorder.
10085
# Supported since Solaris 2.6 (maybe 2.5.1?)
10086
if test "$GCC" = yes; then
10087
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10089
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10093
link_all_deplibs=yes
10097
if test "x$host_vendor" = xsequent; then
10098
# Use $CC to link under sequent, because it throws in some extra .o
10099
# files that make .init and .fini sections work.
10100
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10102
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10104
hardcode_libdir_flag_spec='-L$libdir'
10105
hardcode_direct=yes
10106
hardcode_minus_L=yes
10107
hardcode_shlibpath_var=no
10111
case $host_vendor in
10113
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10114
hardcode_direct=yes # is this really true???
10117
## LD is ld it makes a PLAMLIB
10118
## CC just makes a GrossModule.
10119
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10120
reload_cmds='$CC -r -o $output$reload_objs'
10124
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10128
runpath_var='LD_RUN_PATH'
10129
hardcode_shlibpath_var=no
10133
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10134
hardcode_shlibpath_var=no
10135
export_dynamic_flag_spec='-Bexport'
10139
if test -d /usr/nec; then
10140
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10141
hardcode_shlibpath_var=no
10142
runpath_var=LD_RUN_PATH
10143
hardcode_runpath_var=yes
10148
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10149
no_undefined_flag='${wl}-z,text'
10150
archive_cmds_need_lc=no
10151
hardcode_shlibpath_var=no
10152
runpath_var='LD_RUN_PATH'
10154
if test "$GCC" = yes; then
10155
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10156
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10158
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10159
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10163
sysv5* | sco3.2v5* | sco5v6*)
10164
# Note: We can NOT use -z defs as we might desire, because we do not
10165
# link with -lc, and that would cause any symbols used from libc to
10166
# always be unresolved, which means just about no library would
10167
# ever link correctly. If we're not using GNU ld we use -z text
10168
# though, which does catch some bad symbols but isn't as heavy-handed
10170
no_undefined_flag='${wl}-z,text'
10171
allow_undefined_flag='${wl}-z,nodefs'
10172
archive_cmds_need_lc=no
10173
hardcode_shlibpath_var=no
10174
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10175
hardcode_libdir_separator=':'
10176
link_all_deplibs=yes
10177
export_dynamic_flag_spec='${wl}-Bexport'
10178
runpath_var='LD_RUN_PATH'
10180
if test "$GCC" = yes; then
10181
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10182
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10184
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10185
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10190
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10191
hardcode_libdir_flag_spec='-L$libdir'
10192
hardcode_shlibpath_var=no
10200
if test x$host_vendor = xsni; then
10202
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10203
export_dynamic_flag_spec='${wl}-Blargedynsym'
10209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10210
$as_echo "$ld_shlibs" >&6; }
10211
test "$ld_shlibs" = no && can_build_shared=no
10213
with_gnu_ld=$with_gnu_ld
10230
# Do we need to explicitly link libc?
10232
case "x$archive_cmds_need_lc" in
10234
# Assume -lc should be added
10235
archive_cmds_need_lc=yes
10237
if test "$enable_shared" = yes && test "$GCC" = yes; then
10238
case $archive_cmds in
10240
# FIXME: we may have to deal with multi-command sequences.
10243
# Test whether the compiler implicitly links with -lc since on some
10244
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10245
# to ld, don't add -lc before -lgcc.
10246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10247
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10249
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10251
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10252
(eval $ac_compile) 2>&5
10254
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10255
test $ac_status = 0; } 2>conftest.err; then
10258
libobjs=conftest.$ac_objext
10260
wl=$lt_prog_compiler_wl
10261
pic_flag=$lt_prog_compiler_pic
10267
lt_save_allow_undefined_flag=$allow_undefined_flag
10268
allow_undefined_flag=
10269
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10270
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10272
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10273
test $ac_status = 0; }
10275
archive_cmds_need_lc=no
10277
archive_cmds_need_lc=yes
10279
allow_undefined_flag=$lt_save_allow_undefined_flag
10281
cat conftest.err 1>&5
10284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10285
$as_echo "$archive_cmds_need_lc" >&6; }
10448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10449
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10451
if test "$GCC" = yes; then
10453
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10454
*) lt_awk_arg="/^libraries:/" ;;
10456
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10457
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10458
# if the path contains ";" then we assume it to be the separator
10459
# otherwise default to the standard path separator (i.e. ":") - it is
10460
# assumed that no part of a normal pathname contains ";" but that should
10461
# okay in the real world where ";" in dirpaths is itself problematic.
10462
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10464
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10466
# Ok, now we have the path, separated by spaces, we can step through it
10467
# and add multilib dir if necessary.
10468
lt_tmp_lt_search_path_spec=
10469
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10470
for lt_sys_path in $lt_search_path_spec; do
10471
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10472
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10474
test -d "$lt_sys_path" && \
10475
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10478
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10479
BEGIN {RS=" "; FS="/|\n";} {
10482
for (lt_i = NF; lt_i > 0; lt_i--) {
10483
if ($lt_i != "" && $lt_i != ".") {
10484
if ($lt_i == "..") {
10487
if (lt_count == 0) {
10488
lt_foo="/" $lt_i lt_foo;
10495
if (lt_foo != "") { lt_freq[lt_foo]++; }
10496
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10498
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10500
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10502
library_names_spec=
10503
libname_spec='lib$name'
10507
postuninstall_cmds=
10511
shlibpath_overrides_runpath=unknown
10513
dynamic_linker="$host_os ld.so"
10514
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10515
need_lib_prefix=unknown
10516
hardcode_into_libs=no
10518
# when you set need_version to no, make sure it does not cause -set_version
10519
# flags to be left without arguments
10520
need_version=unknown
10525
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10526
shlibpath_var=LIBPATH
10528
# AIX 3 has no versioning support, so we append a major version to the name.
10529
soname_spec='${libname}${release}${shared_ext}$major'
10536
hardcode_into_libs=yes
10537
if test "$host_cpu" = ia64; then
10538
# AIX 5 supports IA64
10539
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10540
shlibpath_var=LD_LIBRARY_PATH
10542
# With GCC up to 2.95.x, collect2 would create an import file
10543
# for dependence libraries. The import file would start with
10544
# the line `#! .'. This would cause the generated library to
10545
# depend on `.', always an invalid library. This was fixed in
10546
# development snapshots of GCC prior to 3.0.
10548
aix4 | aix4.[01] | aix4.[01].*)
10549
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10551
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10554
can_build_shared=no
10558
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10559
# soname into executable. Probably we can add versioning support to
10560
# collect2, so additional links can be useful in future.
10561
if test "$aix_use_runtimelinking" = yes; then
10562
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10563
# instead of lib<name>.a to let people know that these are not
10564
# typical AIX shared libraries.
10565
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567
# We preserve .a as extension for shared libraries through AIX4.2
10568
# and later when we are not doing run time linking.
10569
library_names_spec='${libname}${release}.a $libname.a'
10570
soname_spec='${libname}${release}${shared_ext}$major'
10572
shlibpath_var=LIBPATH
10579
# Since July 2007 AmigaOS4 officially supports .so libraries.
10580
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10581
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10584
library_names_spec='$libname.ixlibrary $libname.a'
10585
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10586
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
10592
library_names_spec='${libname}${shared_ext}'
10593
dynamic_linker="$host_os ld.so"
10594
shlibpath_var=LIBRARY_PATH
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
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10603
shlibpath_var=LD_LIBRARY_PATH
10604
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10605
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10606
# the default ld.so.conf also contains /usr/contrib/lib and
10607
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10608
# libtool to hard-code these into programs
10611
cygwin* | mingw* | pw32* | cegcc*)
10612
version_type=windows
10617
case $GCC,$host_os in
10618
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10619
library_names_spec='$libname.dll.a'
10620
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10621
postinstall_cmds='base_file=`basename \${file}`~
10622
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10623
dldir=$destdir/`dirname \$dlpath`~
10624
test -d \$dldir || mkdir -p \$dldir~
10625
$install_prog $dir/$dlname \$dldir/$dlname~
10626
chmod a+x \$dldir/$dlname~
10627
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10628
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10630
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10631
dlpath=$dir/\$dldll~
10633
shlibpath_overrides_runpath=yes
10637
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10638
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10639
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10642
# MinGW DLLs use traditional 'lib' prefix
10643
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10644
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10645
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10646
# It is most probably a Windows format PATH printed by
10647
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10648
# path with ; separators, and with drive letters. We can handle the
10649
# drive letters (cygwin fileutils understands them), so leave them,
10650
# especially as we might pass files found there to a mingw objdump,
10651
# which wouldn't understand a cygwinified path. Ahh.
10652
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10654
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10658
# pw32 DLLs use 'pw' prefix rather than 'lib'
10659
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10665
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10668
dynamic_linker='Win32 ld.exe'
10669
# FIXME: first we should search . and the directory the executable is in
10673
darwin* | rhapsody*)
10674
dynamic_linker="$host_os dyld"
10675
version_type=darwin
10678
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10679
soname_spec='${libname}${release}${major}$shared_ext'
10680
shlibpath_overrides_runpath=yes
10681
shlibpath_var=DYLD_LIBRARY_PATH
10682
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10684
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10685
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10692
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10693
soname_spec='${libname}${release}${shared_ext}$major'
10694
shlibpath_var=LD_LIBRARY_PATH
10701
freebsd* | dragonfly*)
10702
# DragonFly does not have aout. When/if they implement a new
10703
# versioning mechanism, adjust this.
10704
if test -x /usr/bin/objformat; then
10705
objformat=`/usr/bin/objformat`
10708
freebsd[123]*) objformat=aout ;;
10709
*) objformat=elf ;;
10712
version_type=freebsd-$objformat
10713
case $version_type in
10715
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10720
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10724
shlibpath_var=LD_LIBRARY_PATH
10727
shlibpath_overrides_runpath=yes
10729
freebsd3.[01]* | freebsdelf3.[01]*)
10730
shlibpath_overrides_runpath=yes
10731
hardcode_into_libs=yes
10733
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10734
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10735
shlibpath_overrides_runpath=no
10736
hardcode_into_libs=yes
10738
*) # from 4.6 on, and DragonFly
10739
shlibpath_overrides_runpath=yes
10740
hardcode_into_libs=yes
10749
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10750
soname_spec='${libname}${release}${shared_ext}$major'
10751
shlibpath_var=LD_LIBRARY_PATH
10752
hardcode_into_libs=yes
10755
hpux9* | hpux10* | hpux11*)
10756
# Give a soname corresponding to the major version so that dld.sl refuses to
10757
# link against other versions.
10764
hardcode_into_libs=yes
10765
dynamic_linker="$host_os dld.so"
10766
shlibpath_var=LD_LIBRARY_PATH
10767
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10768
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769
soname_spec='${libname}${release}${shared_ext}$major'
10770
if test "X$HPUX_IA64_MODE" = X32; then
10771
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10773
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10775
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10779
hardcode_into_libs=yes
10780
dynamic_linker="$host_os dld.sl"
10781
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10782
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10783
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10784
soname_spec='${libname}${release}${shared_ext}$major'
10785
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10786
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10790
dynamic_linker="$host_os dld.sl"
10791
shlibpath_var=SHLIB_PATH
10792
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10793
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10794
soname_spec='${libname}${release}${shared_ext}$major'
10797
# HP-UX runs *really* slowly unless shared libraries are mode 555.
10798
postinstall_cmds='chmod 555 $lib'
10805
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10806
soname_spec='${libname}${release}${shared_ext}$major'
10807
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10808
shlibpath_var=LD_LIBRARY_PATH
10809
shlibpath_overrides_runpath=no
10810
hardcode_into_libs=yes
10813
irix5* | irix6* | nonstopux*)
10815
nonstopux*) version_type=nonstopux ;;
10817
if test "$lt_cv_prog_gnu_ld" = yes; then
10825
soname_spec='${libname}${release}${shared_ext}$major'
10826
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10828
irix5* | nonstopux*)
10829
libsuff= shlibsuff=
10832
case $LD in # libtool.m4 will add one of these switches to LD
10833
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10834
libsuff= shlibsuff= libmagic=32-bit;;
10835
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10836
libsuff=32 shlibsuff=N32 libmagic=N32;;
10837
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10838
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10839
*) libsuff= shlibsuff= libmagic=never-match;;
10843
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10844
shlibpath_overrides_runpath=no
10845
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10846
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10847
hardcode_into_libs=yes
10850
# No shared lib support for Linux oldld, aout, or coff.
10851
linux*oldld* | linux*aout* | linux*coff*)
10855
# This must be Linux ELF.
10856
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10860
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10861
soname_spec='${libname}${release}${shared_ext}$major'
10862
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10863
shlibpath_var=LD_LIBRARY_PATH
10864
shlibpath_overrides_runpath=no
10865
# Some binutils ld are patched to set DT_RUNPATH
10866
save_LDFLAGS=$LDFLAGS
10867
save_libdir=$libdir
10868
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10869
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10870
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10871
/* end confdefs.h. */
10881
if ac_fn_c_try_link "$LINENO"; then :
10882
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10883
shlibpath_overrides_runpath=yes
10886
rm -f core conftest.err conftest.$ac_objext \
10887
conftest$ac_exeext conftest.$ac_ext
10888
LDFLAGS=$save_LDFLAGS
10889
libdir=$save_libdir
10891
# This implies no fast_install, which is unacceptable.
10892
# Some rework will be needed to allow for fast_install
10893
# before this can be enabled.
10894
hardcode_into_libs=yes
10896
# Append ld.so.conf contents to the search path
10897
if test -f /etc/ld.so.conf; then
10898
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;/^$/d' | tr '\n' ' '`
10899
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10902
# We used to test for /lib/ld.so.1 and disable shared libraries on
10903
# powerpc, because MkLinux only supported shared libraries with the
10904
# GNU dynamic linker. Since this was broken with cross compilers,
10905
# most powerpc-linux boxes support dynamic linking these days and
10906
# people can always --disable-shared, the test was removed, and we
10907
# assume the GNU/Linux dynamic linker is in use.
10908
dynamic_linker='GNU/Linux ld.so'
10915
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10916
soname_spec='${libname}${release}${shared_ext}$major'
10917
shlibpath_var=LD_LIBRARY_PATH
10918
shlibpath_overrides_runpath=no
10919
hardcode_into_libs=yes
10920
dynamic_linker='NetBSD ld.elf_so'
10927
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10928
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10929
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10930
dynamic_linker='NetBSD (a.out) ld.so'
10932
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10933
soname_spec='${libname}${release}${shared_ext}$major'
10934
dynamic_linker='NetBSD ld.elf_so'
10936
shlibpath_var=LD_LIBRARY_PATH
10937
shlibpath_overrides_runpath=yes
10938
hardcode_into_libs=yes
10943
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10944
shlibpath_var=LD_LIBRARY_PATH
10945
shlibpath_overrides_runpath=yes
10952
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10953
soname_spec='${libname}${release}${shared_ext}$major'
10954
shlibpath_var=LD_LIBRARY_PATH
10955
shlibpath_overrides_runpath=no
10956
hardcode_into_libs=yes
10957
dynamic_linker='ldqnx.so'
10962
sys_lib_dlsearch_path_spec="/usr/lib"
10964
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10966
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10967
*) need_version=no ;;
10969
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10970
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10971
shlibpath_var=LD_LIBRARY_PATH
10972
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10974
openbsd2.[89] | openbsd2.[89].*)
10975
shlibpath_overrides_runpath=no
10978
shlibpath_overrides_runpath=yes
10982
shlibpath_overrides_runpath=yes
10987
libname_spec='$name'
10990
library_names_spec='$libname${shared_ext} $libname.a'
10991
dynamic_linker='OS/2 ld.exe'
10992
shlibpath_var=LIBPATH
10995
osf3* | osf4* | osf5*)
10999
soname_spec='${libname}${release}${shared_ext}$major'
11000
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11001
shlibpath_var=LD_LIBRARY_PATH
11002
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11003
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11014
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11015
soname_spec='${libname}${release}${shared_ext}$major'
11016
shlibpath_var=LD_LIBRARY_PATH
11017
shlibpath_overrides_runpath=yes
11018
hardcode_into_libs=yes
11019
# ldd complains unless libraries are executable
11020
postinstall_cmds='chmod +x $lib'
11025
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11026
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11027
shlibpath_var=LD_LIBRARY_PATH
11028
shlibpath_overrides_runpath=yes
11029
if test "$with_gnu_ld" = yes; then
11037
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11038
soname_spec='${libname}${release}${shared_ext}$major'
11039
shlibpath_var=LD_LIBRARY_PATH
11040
case $host_vendor in
11042
shlibpath_overrides_runpath=no
11044
runpath_var=LD_RUN_PATH
11052
shlibpath_overrides_runpath=no
11053
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11059
if test -d /usr/nec ;then
11061
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11062
soname_spec='$libname${shared_ext}.$major'
11063
shlibpath_var=LD_LIBRARY_PATH
11067
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11068
version_type=freebsd-elf
11071
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11072
soname_spec='${libname}${release}${shared_ext}$major'
11073
shlibpath_var=LD_LIBRARY_PATH
11074
shlibpath_overrides_runpath=yes
11075
hardcode_into_libs=yes
11076
if test "$with_gnu_ld" = yes; then
11077
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11079
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11082
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11086
sys_lib_dlsearch_path_spec='/usr/lib'
11090
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11094
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11095
shlibpath_var=LD_LIBRARY_PATH
11096
shlibpath_overrides_runpath=no
11097
hardcode_into_libs=yes
11102
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11103
soname_spec='${libname}${release}${shared_ext}$major'
11104
shlibpath_var=LD_LIBRARY_PATH
11111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11112
$as_echo "$dynamic_linker" >&6; }
11113
test "$dynamic_linker" = no && can_build_shared=no
11115
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11116
if test "$GCC" = yes; then
11117
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11120
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11121
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11123
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11124
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11214
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11216
if test -n "$hardcode_libdir_flag_spec" ||
11217
test -n "$runpath_var" ||
11218
test "X$hardcode_automatic" = "Xyes" ; then
11220
# We can hardcode non-existent directories.
11221
if test "$hardcode_direct" != no &&
11222
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11223
# have to relink, otherwise we might link with an installed library
11224
# when we should be linking with a yet-to-be-installed one
11225
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11226
test "$hardcode_minus_L" != no; then
11227
# Linking always hardcodes the temporary library directory.
11228
hardcode_action=relink
11230
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11231
hardcode_action=immediate
11234
# We cannot hardcode anything, or else we can only hardcode existing
11236
hardcode_action=unsupported
11238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11239
$as_echo "$hardcode_action" >&6; }
11241
if test "$hardcode_action" = relink ||
11242
test "$inherit_rpath" = yes; then
11243
# Fast installation is not supported
11244
enable_fast_install=no
11245
elif test "$shlibpath_overrides_runpath" = yes ||
11246
test "$enable_shared" = no; then
11247
# Fast installation is not necessary
11248
enable_fast_install=needless
11256
if test "x$enable_dlopen" != xyes; then
11257
enable_dlopen=unknown
11258
enable_dlopen_self=unknown
11259
enable_dlopen_self_static=unknown
11266
lt_cv_dlopen="load_add_on"
11268
lt_cv_dlopen_self=yes
11271
mingw* | pw32* | cegcc*)
11272
lt_cv_dlopen="LoadLibrary"
11277
lt_cv_dlopen="dlopen"
11282
# if libdl is installed we need to link against it
11283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11284
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11285
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11286
$as_echo_n "(cached) " >&6
11288
ac_check_lib_save_LIBS=$LIBS
11290
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11291
/* end confdefs.h. */
11293
/* Override any GCC internal prototype to avoid an error.
11294
Use char because int might match the return type of a GCC
11295
builtin and then its argument prototype would still apply. */
11308
if ac_fn_c_try_link "$LINENO"; then :
11309
ac_cv_lib_dl_dlopen=yes
11311
ac_cv_lib_dl_dlopen=no
11313
rm -f core conftest.err conftest.$ac_objext \
11314
conftest$ac_exeext conftest.$ac_ext
11315
LIBS=$ac_check_lib_save_LIBS
11317
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11318
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11319
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11320
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11323
lt_cv_dlopen="dyld"
11325
lt_cv_dlopen_self=yes
11332
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11333
if test "x$ac_cv_func_shl_load" = x""yes; then :
11334
lt_cv_dlopen="shl_load"
11336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11337
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11338
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11339
$as_echo_n "(cached) " >&6
11341
ac_check_lib_save_LIBS=$LIBS
11343
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11344
/* end confdefs.h. */
11346
/* Override any GCC internal prototype to avoid an error.
11347
Use char because int might match the return type of a GCC
11348
builtin and then its argument prototype would still apply. */
11356
return shl_load ();
11361
if ac_fn_c_try_link "$LINENO"; then :
11362
ac_cv_lib_dld_shl_load=yes
11364
ac_cv_lib_dld_shl_load=no
11366
rm -f core conftest.err conftest.$ac_objext \
11367
conftest$ac_exeext conftest.$ac_ext
11368
LIBS=$ac_check_lib_save_LIBS
11370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11371
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11372
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11373
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11375
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11376
if test "x$ac_cv_func_dlopen" = x""yes; then :
11377
lt_cv_dlopen="dlopen"
11379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11380
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11381
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11382
$as_echo_n "(cached) " >&6
11384
ac_check_lib_save_LIBS=$LIBS
11386
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11387
/* end confdefs.h. */
11389
/* Override any GCC internal prototype to avoid an error.
11390
Use char because int might match the return type of a GCC
11391
builtin and then its argument prototype would still apply. */
11404
if ac_fn_c_try_link "$LINENO"; then :
11405
ac_cv_lib_dl_dlopen=yes
11407
ac_cv_lib_dl_dlopen=no
11409
rm -f core conftest.err conftest.$ac_objext \
11410
conftest$ac_exeext conftest.$ac_ext
11411
LIBS=$ac_check_lib_save_LIBS
11413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11414
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11415
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11416
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11419
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11420
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11421
$as_echo_n "(cached) " >&6
11423
ac_check_lib_save_LIBS=$LIBS
11424
LIBS="-lsvld $LIBS"
11425
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11426
/* end confdefs.h. */
11428
/* Override any GCC internal prototype to avoid an error.
11429
Use char because int might match the return type of a GCC
11430
builtin and then its argument prototype would still apply. */
11443
if ac_fn_c_try_link "$LINENO"; then :
11444
ac_cv_lib_svld_dlopen=yes
11446
ac_cv_lib_svld_dlopen=no
11448
rm -f core conftest.err conftest.$ac_objext \
11449
conftest$ac_exeext conftest.$ac_ext
11450
LIBS=$ac_check_lib_save_LIBS
11452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11453
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11454
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11455
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11458
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11459
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11460
$as_echo_n "(cached) " >&6
11462
ac_check_lib_save_LIBS=$LIBS
11464
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11465
/* end confdefs.h. */
11467
/* Override any GCC internal prototype to avoid an error.
11468
Use char because int might match the return type of a GCC
11469
builtin and then its argument prototype would still apply. */
11477
return dld_link ();
11482
if ac_fn_c_try_link "$LINENO"; then :
11483
ac_cv_lib_dld_dld_link=yes
11485
ac_cv_lib_dld_dld_link=no
11487
rm -f core conftest.err conftest.$ac_objext \
11488
conftest$ac_exeext conftest.$ac_ext
11489
LIBS=$ac_check_lib_save_LIBS
11491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11492
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11493
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11494
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11515
if test "x$lt_cv_dlopen" != xno; then
11521
case $lt_cv_dlopen in
11523
save_CPPFLAGS="$CPPFLAGS"
11524
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11526
save_LDFLAGS="$LDFLAGS"
11527
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11530
LIBS="$lt_cv_dlopen_libs $LIBS"
11532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11533
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11534
if test "${lt_cv_dlopen_self+set}" = set; then :
11535
$as_echo_n "(cached) " >&6
11537
if test "$cross_compiling" = yes; then :
11538
lt_cv_dlopen_self=cross
11540
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11541
lt_status=$lt_dlunknown
11542
cat > conftest.$ac_ext <<_LT_EOF
11543
#line __oline__ "configure"
11544
#include "confdefs.h"
11553
# define LT_DLGLOBAL RTLD_GLOBAL
11556
# define LT_DLGLOBAL DL_GLOBAL
11558
# define LT_DLGLOBAL 0
11562
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11563
find out it does not work in some platform. */
11564
#ifndef LT_DLLAZY_OR_NOW
11566
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11569
# define LT_DLLAZY_OR_NOW DL_LAZY
11572
# define LT_DLLAZY_OR_NOW RTLD_NOW
11575
# define LT_DLLAZY_OR_NOW DL_NOW
11577
# define LT_DLLAZY_OR_NOW 0
11584
void fnord() { int i=42;}
11587
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11588
int status = $lt_dlunknown;
11592
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11593
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11594
/* dlclose (self); */
11602
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11603
(eval $ac_link) 2>&5
11605
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11606
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11607
(./conftest; exit; ) >&5 2>/dev/null
11609
case x$lt_status in
11610
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11611
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11612
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11615
# compilation failed
11616
lt_cv_dlopen_self=no
11623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11624
$as_echo "$lt_cv_dlopen_self" >&6; }
11626
if test "x$lt_cv_dlopen_self" = xyes; then
11627
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11629
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11630
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11631
$as_echo_n "(cached) " >&6
11633
if test "$cross_compiling" = yes; then :
11634
lt_cv_dlopen_self_static=cross
11636
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11637
lt_status=$lt_dlunknown
11638
cat > conftest.$ac_ext <<_LT_EOF
11639
#line __oline__ "configure"
11640
#include "confdefs.h"
11649
# define LT_DLGLOBAL RTLD_GLOBAL
11652
# define LT_DLGLOBAL DL_GLOBAL
11654
# define LT_DLGLOBAL 0
11658
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11659
find out it does not work in some platform. */
11660
#ifndef LT_DLLAZY_OR_NOW
11662
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11665
# define LT_DLLAZY_OR_NOW DL_LAZY
11668
# define LT_DLLAZY_OR_NOW RTLD_NOW
11671
# define LT_DLLAZY_OR_NOW DL_NOW
11673
# define LT_DLLAZY_OR_NOW 0
11680
void fnord() { int i=42;}
11683
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11684
int status = $lt_dlunknown;
11688
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11689
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11690
/* dlclose (self); */
11698
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11699
(eval $ac_link) 2>&5
11701
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11702
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11703
(./conftest; exit; ) >&5 2>/dev/null
11705
case x$lt_status in
11706
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11707
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11708
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11711
# compilation failed
11712
lt_cv_dlopen_self_static=no
11719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11720
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11723
CPPFLAGS="$save_CPPFLAGS"
11724
LDFLAGS="$save_LDFLAGS"
11729
case $lt_cv_dlopen_self in
11730
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11731
*) enable_dlopen_self=unknown ;;
11734
case $lt_cv_dlopen_self_static in
11735
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11736
*) enable_dlopen_self_static=unknown ;;
11758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11759
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11760
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11761
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11762
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11763
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11764
$as_echo "yes" >&6; }
11766
# FIXME - insert some real tests, host_os isn't really good enough
11769
if test -n "$STRIP" ; then
11770
striplib="$STRIP -x"
11771
old_striplib="$STRIP -S"
11772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11773
$as_echo "yes" >&6; }
11775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11776
$as_echo "no" >&6; }
11780
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11781
$as_echo "no" >&6; }
11797
# Report which library types will actually be built
11798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11799
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11801
$as_echo "$can_build_shared" >&6; }
11803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11804
$as_echo_n "checking whether to build shared libraries... " >&6; }
11805
test "$can_build_shared" = "no" && enable_shared=no
11807
# On AIX, shared libraries and static libraries use the same namespace, and
11808
# are all built from PIC.
11811
test "$enable_shared" = yes && enable_static=no
11812
if test -n "$RANLIB"; then
11813
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11814
postinstall_cmds='$RANLIB $lib'
11819
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11820
test "$enable_shared" = yes && enable_static=no
11824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11825
$as_echo "$enable_shared" >&6; }
11827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11828
$as_echo_n "checking whether to build static libraries... " >&6; }
11829
# Make sure either enable_shared or enable_static is yes.
11830
test "$enable_shared" = yes || enable_static=yes
11831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11832
$as_echo "$enable_static" >&6; }
11839
ac_cpp='$CXXCPP $CPPFLAGS'
11840
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11841
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11842
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11848
ac_cpp='$CXXCPP $CPPFLAGS'
11849
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11850
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11851
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11853
archive_cmds_need_lc_CXX=no
11854
allow_undefined_flag_CXX=
11855
always_export_symbols_CXX=no
11856
archive_expsym_cmds_CXX=
11857
compiler_needs_object_CXX=no
11858
export_dynamic_flag_spec_CXX=
11859
hardcode_direct_CXX=no
11860
hardcode_direct_absolute_CXX=no
11861
hardcode_libdir_flag_spec_CXX=
11862
hardcode_libdir_flag_spec_ld_CXX=
11863
hardcode_libdir_separator_CXX=
11864
hardcode_minus_L_CXX=no
11865
hardcode_shlibpath_var_CXX=unsupported
11866
hardcode_automatic_CXX=no
11867
inherit_rpath_CXX=no
11869
module_expsym_cmds_CXX=
11870
link_all_deplibs_CXX=unknown
11871
old_archive_cmds_CXX=$old_archive_cmds
11872
no_undefined_flag_CXX=
11873
whole_archive_flag_spec_CXX=
11874
enable_shared_with_static_runtimes_CXX=no
11876
# Source file extension for C++ test sources.
11879
# Object file extension for compiled C++ test sources.
11883
# No sense in running all these tests if we already determined that
11884
# the CXX compiler isn't working. Some variables (like enable_shared)
11885
# are currently assumed to apply to all compilers on this platform,
11886
# and will be corrupted by setting them based on a non-working compiler.
11887
if test "$_lt_caught_CXX_error" != yes; then
11888
# Code to be used in simple compile tests
11889
lt_simple_compile_test_code="int some_variable = 0;"
11891
# Code to be used in simple link tests
11892
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11894
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11901
# If no C compiler was specified, use CC.
11904
# If no C compiler flags were specified, use CFLAGS.
11905
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11907
# Allow CC to be a program name with arguments.
11911
# save warnings/boilerplate of simple test code
11912
ac_outfile=conftest.$ac_objext
11913
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11914
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11915
_lt_compiler_boilerplate=`cat conftest.err`
11918
ac_outfile=conftest.$ac_objext
11919
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11920
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11921
_lt_linker_boilerplate=`cat conftest.err`
11925
# Allow CC to be a program name with arguments.
11930
lt_save_with_gnu_ld=$with_gnu_ld
11931
lt_save_path_LD=$lt_cv_path_LD
11932
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11933
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11935
$as_unset lt_cv_prog_gnu_ld
11937
if test -n "${lt_cv_path_LDCXX+set}"; then
11938
lt_cv_path_LD=$lt_cv_path_LDCXX
11940
$as_unset lt_cv_path_LD
11942
test -z "${LDCXX+set}" || LD=$LDCXX
11946
for cc_temp in $compiler""; do
11948
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11949
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11954
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11957
if test -n "$compiler"; then
11958
# We don't want -fno-exception when compiling C++ code, so set the
11959
# no_builtin_flag separately
11960
if test "$GXX" = yes; then
11961
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11963
lt_prog_compiler_no_builtin_flag_CXX=
11966
if test "$GXX" = yes; then
11967
# Set up default GNU C++ configuration
11971
@%:@ Check whether --with-gnu-ld was given.
11972
if test "${with_gnu_ld+set}" = set; then :
11973
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11979
if test "$GCC" = yes; then
11980
# Check if gcc -print-prog-name=ld gives a path.
11981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11982
$as_echo_n "checking for ld used by $CC... " >&6; }
11985
# gcc leaves a trailing carriage return which upsets mingw
11986
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11988
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11991
# Accept absolute paths.
11993
re_direlt='/[^/][^/]*/\.\./'
11994
# Canonicalize the pathname of ld
11995
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11996
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11997
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11999
test -z "$LD" && LD="$ac_prog"
12002
# If it fails, then pretend we aren't using GCC.
12006
# If it is relative, then search for the first ld in PATH.
12007
with_gnu_ld=unknown
12010
elif test "$with_gnu_ld" = yes; then
12011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12012
$as_echo_n "checking for GNU ld... " >&6; }
12014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12015
$as_echo_n "checking for non-GNU ld... " >&6; }
12017
if test "${lt_cv_path_LD+set}" = set; then :
12018
$as_echo_n "(cached) " >&6
12020
if test -z "$LD"; then
12021
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12022
for ac_dir in $PATH; do
12024
test -z "$ac_dir" && ac_dir=.
12025
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12026
lt_cv_path_LD="$ac_dir/$ac_prog"
12027
# Check to see if the program is GNU ld. I'd rather use --version,
12028
# but apparently some variants of GNU ld only accept -v.
12029
# Break only if it was the GNU/non-GNU ld that we prefer.
12030
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12031
*GNU* | *'with BFD'*)
12032
test "$with_gnu_ld" != no && break
12035
test "$with_gnu_ld" != yes && break
12042
lt_cv_path_LD="$LD" # Let the user override the test with a path.
12046
LD="$lt_cv_path_LD"
12047
if test -n "$LD"; then
12048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12049
$as_echo "$LD" >&6; }
12051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12052
$as_echo "no" >&6; }
12054
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12056
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12057
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12058
$as_echo_n "(cached) " >&6
12060
# I'd rather use --version here, but apparently some GNU lds only accept -v.
12061
case `$LD -v 2>&1 </dev/null` in
12062
*GNU* | *'with BFD'*)
12063
lt_cv_prog_gnu_ld=yes
12066
lt_cv_prog_gnu_ld=no
12070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12071
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12072
with_gnu_ld=$lt_cv_prog_gnu_ld
12080
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12081
# archiving commands below assume that GNU ld is being used.
12082
if test "$with_gnu_ld" = yes; then
12083
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12084
archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12086
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12087
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12089
# If archive_cmds runs LD, not CC, wlarc should be empty
12090
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12091
# investigate it a little bit more. (MM)
12094
# ancient GNU ld didn't support --whole-archive et. al.
12095
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12096
$GREP 'no-whole-archive' > /dev/null; then
12097
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12099
whole_archive_flag_spec_CXX=
12105
# A generic and very simple default shared library creation
12106
# command for GNU C++ for the case where it uses the native
12107
# linker, instead of GNU ld. If possible, this setting should
12108
# overridden to take advantage of the native linker features on
12109
# the platform it is being used on.
12110
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12113
# Commands to make compiler produce verbose output that lists
12114
# what "hidden" libraries, object files and flags are used when
12115
# linking a shared library.
12116
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12124
# PORTME: fill in a description of your system's C++ link characteristics
12125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12126
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12130
# FIXME: insert proper C++ library support
12134
if test "$host_cpu" = ia64; then
12135
# On IA64, the linker does run time linking by default, so we don't
12136
# have to do anything special.
12137
aix_use_runtimelinking=no
12138
exp_sym_flag='-Bexport'
12141
aix_use_runtimelinking=no
12143
# Test if we are trying to use run time linking or normal
12144
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12145
# need to do runtime linking.
12146
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12147
for ld_flag in $LDFLAGS; do
12150
aix_use_runtimelinking=yes
12158
exp_sym_flag='-bexport'
12159
no_entry_flag='-bnoentry'
12162
# When large executables or shared objects are built, AIX ld can
12163
# have problems creating the table of contents. If linking a library
12164
# or program results in "error TOC overflow" add -mminimal-toc to
12165
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12166
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12168
archive_cmds_CXX=''
12169
hardcode_direct_CXX=yes
12170
hardcode_direct_absolute_CXX=yes
12171
hardcode_libdir_separator_CXX=':'
12172
link_all_deplibs_CXX=yes
12173
file_list_spec_CXX='${wl}-f,'
12175
if test "$GXX" = yes; then
12176
case $host_os in aix4.[012]|aix4.[012].*)
12177
# We only want to do this on AIX 4.2 and lower, the check
12178
# below for broken collect2 doesn't work under 4.3+
12179
collect2name=`${CC} -print-prog-name=collect2`
12180
if test -f "$collect2name" &&
12181
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12183
# We have reworked collect2
12186
# We have old collect2
12187
hardcode_direct_CXX=unsupported
12188
# It fails to find uninstalled libraries when the uninstalled
12189
# path is not listed in the libpath. Setting hardcode_minus_L
12190
# to unsupported forces relinking
12191
hardcode_minus_L_CXX=yes
12192
hardcode_libdir_flag_spec_CXX='-L$libdir'
12193
hardcode_libdir_separator_CXX=
12196
shared_flag='-shared'
12197
if test "$aix_use_runtimelinking" = yes; then
12198
shared_flag="$shared_flag "'${wl}-G'
12202
if test "$host_cpu" = ia64; then
12203
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12204
# chokes on -Wl,-G. The following line is correct:
12207
if test "$aix_use_runtimelinking" = yes; then
12208
shared_flag='${wl}-G'
12210
shared_flag='${wl}-bM:SRE'
12215
export_dynamic_flag_spec_CXX='${wl}-bexpall'
12216
# It seems that -bexpall does not export symbols beginning with
12217
# underscore (_), so it is better to generate a list of symbols to
12219
always_export_symbols_CXX=yes
12220
if test "$aix_use_runtimelinking" = yes; then
12221
# Warning - without using the other runtime loading flags (-brtl),
12222
# -berok will link without error, but may produce a broken library.
12223
allow_undefined_flag_CXX='-berok'
12224
# Determine the default libpath from the value encoded in an empty
12226
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12227
/* end confdefs.h. */
12237
if ac_fn_cxx_try_link "$LINENO"; then :
12239
lt_aix_libpath_sed='
12240
/Import File Strings/,/^$/ {
12246
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12247
# Check for a 64-bit object if we didn't find anything.
12248
if test -z "$aix_libpath"; then
12249
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12252
rm -f core conftest.err conftest.$ac_objext \
12253
conftest$ac_exeext conftest.$ac_ext
12254
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12256
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12258
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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12260
if test "$host_cpu" = ia64; then
12261
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12262
allow_undefined_flag_CXX="-z nodefs"
12263
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"
12265
# Determine the default libpath from the value encoded in an
12266
# empty executable.
12267
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12268
/* end confdefs.h. */
12278
if ac_fn_cxx_try_link "$LINENO"; then :
12280
lt_aix_libpath_sed='
12281
/Import File Strings/,/^$/ {
12287
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12288
# Check for a 64-bit object if we didn't find anything.
12289
if test -z "$aix_libpath"; then
12290
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12293
rm -f core conftest.err conftest.$ac_objext \
12294
conftest$ac_exeext conftest.$ac_ext
12295
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12297
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12298
# Warning - without using the other run time loading flags,
12299
# -berok will link without error, but may produce a broken library.
12300
no_undefined_flag_CXX=' ${wl}-bernotok'
12301
allow_undefined_flag_CXX=' ${wl}-berok'
12302
# Exported symbols can be pulled into shared objects from archives
12303
whole_archive_flag_spec_CXX='$convenience'
12304
archive_cmds_need_lc_CXX=yes
12305
# This is similar to how AIX traditionally builds its shared
12307
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'
12313
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12314
allow_undefined_flag_CXX=unsupported
12315
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12316
# support --undefined. This deserves some investigation. FIXME
12317
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12324
case $cc_basename in
12326
# FIXME: insert proper C++ library support
12332
cygwin* | mingw* | pw32* | cegcc*)
12333
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12334
# as there is no search path for DLLs.
12335
hardcode_libdir_flag_spec_CXX='-L$libdir'
12336
allow_undefined_flag_CXX=unsupported
12337
always_export_symbols_CXX=no
12338
enable_shared_with_static_runtimes_CXX=yes
12340
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12341
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'
12342
# If the export-symbols file already is a .def file (1st line
12343
# is EXPORTS), use it as is; otherwise, prepend...
12344
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12345
cp $export_symbols $output_objdir/$soname.def;
12347
echo EXPORTS > $output_objdir/$soname.def;
12348
cat $export_symbols >> $output_objdir/$soname.def;
12350
$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'
12355
darwin* | rhapsody*)
12358
archive_cmds_need_lc_CXX=no
12359
hardcode_direct_CXX=no
12360
hardcode_automatic_CXX=yes
12361
hardcode_shlibpath_var_CXX=unsupported
12362
whole_archive_flag_spec_CXX=''
12363
link_all_deplibs_CXX=yes
12364
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12365
case $cc_basename in
12366
ifort*) _lt_dar_can_shared=yes ;;
12367
*) _lt_dar_can_shared=$GCC ;;
12369
if test "$_lt_dar_can_shared" = "yes"; then
12370
output_verbose_link_cmd=echo
12371
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}"
12372
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12373
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}"
12374
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}"
12375
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12376
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}"
12377
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}"
12387
case $cc_basename in
12389
# FIXME: insert proper C++ library support
12393
# Green Hills C++ Compiler
12394
# FIXME: insert proper C++ library support
12398
# FIXME: insert proper C++ library support
12405
# C++ shared libraries reported to be fairly broken before
12411
archive_cmds_need_lc_CXX=no
12414
freebsd* | dragonfly*)
12415
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12424
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12425
hardcode_libdir_separator_CXX=:
12426
export_dynamic_flag_spec_CXX='${wl}-E'
12427
hardcode_direct_CXX=yes
12428
hardcode_minus_L_CXX=yes # Not in the search PATH,
12429
# but as the default
12430
# location of the library.
12432
case $cc_basename in
12434
# FIXME: insert proper C++ library support
12438
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'
12439
# Commands to make compiler produce verbose output that lists
12440
# what "hidden" libraries, object files and flags are used when
12441
# linking a shared library.
12443
# There doesn't appear to be a way to prevent this compiler from
12444
# explicitly linking system object files so we need to strip them
12445
# from the output so that they don't get included in the library
12447
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; $ECHO "X$list" | $Xsed'
12450
if test "$GXX" = yes; then
12451
archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
12453
# FIXME: insert proper C++ library support
12461
if test $with_gnu_ld = no; then
12462
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12463
hardcode_libdir_separator_CXX=:
12469
export_dynamic_flag_spec_CXX='${wl}-E'
12475
hardcode_direct_CXX=no
12476
hardcode_shlibpath_var_CXX=no
12479
hardcode_direct_CXX=yes
12480
hardcode_direct_absolute_CXX=yes
12481
hardcode_minus_L_CXX=yes # Not in the search PATH,
12482
# but as the default
12483
# location of the library.
12487
case $cc_basename in
12489
# FIXME: insert proper C++ library support
12495
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12498
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12501
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12504
# Commands to make compiler produce verbose output that lists
12505
# what "hidden" libraries, object files and flags are used when
12506
# linking a shared library.
12508
# There doesn't appear to be a way to prevent this compiler from
12509
# explicitly linking system object files so we need to strip them
12510
# from the output so that they don't get included in the library
12512
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; $ECHO "X$list" | $Xsed'
12515
if test "$GXX" = yes; then
12516
if test $with_gnu_ld = no; then
12519
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12522
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12525
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12530
# FIXME: insert proper C++ library support
12538
hardcode_direct_CXX=no
12539
hardcode_shlibpath_var_CXX=no
12540
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12541
export_dynamic_flag_spec_CXX='${wl}-E'
12542
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12543
# Instead, shared libraries are loaded at an image base (0x10000000 by
12544
# default) and relocated if they conflict, which is a slow very memory
12545
# consuming and fragmenting process. To avoid this, we pick a random,
12546
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12547
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
12548
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'
12549
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'
12552
case $cc_basename in
12555
archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12557
# Archives containing C++ object files must be created using
12558
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
12559
# necessary to make sure instantiated templates are included
12561
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12564
if test "$GXX" = yes; then
12565
if test "$with_gnu_ld" = no; then
12566
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12568
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
12571
link_all_deplibs_CXX=yes
12574
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12575
hardcode_libdir_separator_CXX=:
12576
inherit_rpath_CXX=yes
12579
linux* | k*bsd*-gnu | kopensolaris*-gnu)
12580
case $cc_basename in
12582
# Kuck and Associates, Inc. (KAI) C++ Compiler
12584
# KCC will only create a shared library if the output file
12585
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12586
# to its proper name (with version) after linking.
12587
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'
12588
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'
12589
# Commands to make compiler produce verbose output that lists
12590
# what "hidden" libraries, object files and flags are used when
12591
# linking a shared library.
12593
# There doesn't appear to be a way to prevent this compiler from
12594
# explicitly linking system object files so we need to strip them
12595
# from the output so that they don't get included in the library
12597
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; $ECHO "X$list" | $Xsed'
12599
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12600
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12602
# Archives containing C++ object files must be created using
12603
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12604
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12609
# version 8.0 and above of icpc choke on multiply defined symbols
12610
# if we add $predep_objects and $postdep_objects, however 7.1 and
12611
# earlier do not add the objects themselves.
12612
case `$CC -V 2>&1` in
12614
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12615
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'
12617
*) # Version 8.0 or newer
12620
ia64*) tmp_idyn=' -i_dynamic';;
12622
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12623
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'
12626
archive_cmds_need_lc_CXX=no
12627
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12628
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12629
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12632
# Portland Group C++ compiler
12634
*pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12635
prelink_cmds_CXX='tpldir=Template.dir~
12637
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12638
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12639
old_archive_cmds_CXX='tpldir=Template.dir~
12641
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12642
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12644
archive_cmds_CXX='tpldir=Template.dir~
12646
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12647
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12648
archive_expsym_cmds_CXX='tpldir=Template.dir~
12650
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12651
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12653
*) # Version 6 will use weak symbols
12654
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12655
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'
12659
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12660
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12661
whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12665
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12666
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'
12668
runpath_var=LD_RUN_PATH
12669
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12670
hardcode_libdir_separator_CXX=:
12672
# Commands to make compiler produce verbose output that lists
12673
# what "hidden" libraries, object files and flags are used when
12674
# linking a shared library.
12676
# There doesn't appear to be a way to prevent this compiler from
12677
# explicitly linking system object files so we need to strip them
12678
# from the output so that they don't get included in the library
12680
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12683
# IBM XL 8.0 on PPC, with GNU ld
12684
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12685
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12686
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12687
if test "x$supports_anon_versioning" = xyes; then
12688
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12689
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12690
echo "local: *; };" >> $output_objdir/$libname.ver~
12691
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12695
case `$CC -V 2>&1 | sed 5q` in
12698
no_undefined_flag_CXX=' -zdefs'
12699
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12700
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'
12701
hardcode_libdir_flag_spec_CXX='-R$libdir'
12702
whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
12703
compiler_needs_object_CXX=yes
12705
# Not sure whether something based on
12706
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12708
output_verbose_link_cmd='echo'
12710
# Archives containing C++ object files must be created using
12711
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12712
# necessary to make sure instantiated templates are included
12714
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12722
# FIXME: insert proper C++ library support
12727
# FIXME: insert proper C++ library support
12732
case $cc_basename in
12734
# FIXME: insert proper C++ library support
12738
# FIXME: insert proper C++ library support
12745
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12746
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12748
hardcode_libdir_flag_spec_CXX='-R$libdir'
12749
hardcode_direct_CXX=yes
12750
hardcode_shlibpath_var_CXX=no
12752
# Workaround some broken pre-1.5 toolchains
12753
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12761
# C++ shared libraries are fairly broken
12766
if test -f /usr/libexec/ld.so; then
12767
hardcode_direct_CXX=yes
12768
hardcode_shlibpath_var_CXX=no
12769
hardcode_direct_absolute_CXX=yes
12770
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12771
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12772
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12773
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12774
export_dynamic_flag_spec_CXX='${wl}-E'
12775
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12777
output_verbose_link_cmd=echo
12783
osf3* | osf4* | osf5*)
12784
case $cc_basename in
12786
# Kuck and Associates, Inc. (KAI) C++ Compiler
12788
# KCC will only create a shared library if the output file
12789
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12790
# to its proper name (with version) after linking.
12791
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'
12793
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12794
hardcode_libdir_separator_CXX=:
12796
# Archives containing C++ object files must be created using
12797
# the KAI C++ compiler.
12799
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12800
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12804
# Rational C++ 2.4.1
12805
# FIXME: insert proper C++ library support
12811
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12812
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12813
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12816
allow_undefined_flag_CXX=' -expect_unresolved \*'
12817
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12818
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12819
echo "-hidden">> $lib.exp~
12820
$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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
12822
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12826
hardcode_libdir_separator_CXX=:
12828
# Commands to make compiler produce verbose output that lists
12829
# what "hidden" libraries, object files and flags are used when
12830
# linking a shared library.
12832
# There doesn't appear to be a way to prevent this compiler from
12833
# explicitly linking system object files so we need to strip them
12834
# from the output so that they don't get included in the library
12836
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
12839
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12840
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12843
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12846
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12850
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12851
hardcode_libdir_separator_CXX=:
12853
# Commands to make compiler produce verbose output that lists
12854
# what "hidden" libraries, object files and flags are used when
12855
# linking a shared library.
12856
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12859
# FIXME: insert proper C++ library support
12867
# FIXME: insert proper C++ library support
12872
case $cc_basename in
12875
# FIXME: insert proper C++ library support
12880
# FIXME: insert proper C++ library support
12884
# FIXME: insert proper C++ library support
12891
case $cc_basename in
12893
# Sun C++ 4.2, 5.x and Centerline C++
12894
archive_cmds_need_lc_CXX=yes
12895
no_undefined_flag_CXX=' -zdefs'
12896
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12897
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12898
$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'
12900
hardcode_libdir_flag_spec_CXX='-R$libdir'
12901
hardcode_shlibpath_var_CXX=no
12903
solaris2.[0-5] | solaris2.[0-5].*) ;;
12905
# The compiler driver will combine and reorder linker options,
12906
# but understands `-z linker_flag'.
12907
# Supported since Solaris 2.6 (maybe 2.5.1?)
12908
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12911
link_all_deplibs_CXX=yes
12913
output_verbose_link_cmd='echo'
12915
# Archives containing C++ object files must be created using
12916
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12917
# necessary to make sure instantiated templates are included
12919
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12922
# Green Hills C++ Compiler
12923
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12925
# The C++ compiler must be used to create the archive.
12926
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12929
# GNU C++ compiler with Solaris linker
12930
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12931
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12932
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12933
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12934
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12935
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12937
# Commands to make compiler produce verbose output that lists
12938
# what "hidden" libraries, object files and flags are used when
12939
# linking a shared library.
12940
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12942
# g++ 2.7 appears to require `-G' NOT `-shared' on this
12944
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12945
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12946
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12948
# Commands to make compiler produce verbose output that lists
12949
# what "hidden" libraries, object files and flags are used when
12950
# linking a shared library.
12951
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12954
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12956
solaris2.[0-5] | solaris2.[0-5].*) ;;
12958
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12966
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12967
no_undefined_flag_CXX='${wl}-z,text'
12968
archive_cmds_need_lc_CXX=no
12969
hardcode_shlibpath_var_CXX=no
12970
runpath_var='LD_RUN_PATH'
12972
case $cc_basename in
12974
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12975
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12978
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12979
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12984
sysv5* | sco3.2v5* | sco5v6*)
12985
# Note: We can NOT use -z defs as we might desire, because we do not
12986
# link with -lc, and that would cause any symbols used from libc to
12987
# always be unresolved, which means just about no library would
12988
# ever link correctly. If we're not using GNU ld we use -z text
12989
# though, which does catch some bad symbols but isn't as heavy-handed
12991
no_undefined_flag_CXX='${wl}-z,text'
12992
allow_undefined_flag_CXX='${wl}-z,nodefs'
12993
archive_cmds_need_lc_CXX=no
12994
hardcode_shlibpath_var_CXX=no
12995
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12996
hardcode_libdir_separator_CXX=':'
12997
link_all_deplibs_CXX=yes
12998
export_dynamic_flag_spec_CXX='${wl}-Bexport'
12999
runpath_var='LD_RUN_PATH'
13001
case $cc_basename in
13003
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13004
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13007
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13008
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13014
case $cc_basename in
13016
# NonStop-UX NCC 3.20
13017
# FIXME: insert proper C++ library support
13021
# FIXME: insert proper C++ library support
13028
# FIXME: insert proper C++ library support
13033
# FIXME: insert proper C++ library support
13038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13039
$as_echo "$ld_shlibs_CXX" >&6; }
13040
test "$ld_shlibs_CXX" = no && can_build_shared=no
13046
## There is no encapsulation within the following macros, do not change
13047
## the running order or otherwise move them around unless you know exactly
13048
## what you are doing...
13049
# Dependencies to place before and after the object being linked:
13050
predep_objects_CXX=
13051
postdep_objects_CXX=
13054
compiler_lib_search_path_CXX=
13056
cat > conftest.$ac_ext <<_LT_EOF
13060
Foo (void) { a = 0; }
13066
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13067
(eval $ac_compile) 2>&5
13069
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13070
test $ac_status = 0; }; then
13071
# Parse the compiler output and extract the necessary
13072
# objects, libraries and library flags.
13074
# Sentinel used to keep track of whether or not we are before
13075
# the conftest object file.
13076
pre_test_object_deps_done=no
13078
for p in `eval "$output_verbose_link_cmd"`; do
13082
# Some compilers place space between "-{L,R}" and the path.
13083
# Remove the space.
13084
if test $p = "-L" ||
13085
test $p = "-R"; then
13092
if test "$pre_test_object_deps_done" = no; then
13095
# Internal compiler library paths should come after those
13096
# provided the user. The postdeps already come after the
13097
# user supplied libs so there is no need to process them.
13098
if test -z "$compiler_lib_search_path_CXX"; then
13099
compiler_lib_search_path_CXX="${prev}${p}"
13101
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13104
# The "-l" case would never come before the object being
13105
# linked, so don't bother handling this case.
13108
if test -z "$postdeps_CXX"; then
13109
postdeps_CXX="${prev}${p}"
13111
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13117
# This assumes that the test object file only shows up
13118
# once in the compiler output.
13119
if test "$p" = "conftest.$objext"; then
13120
pre_test_object_deps_done=yes
13124
if test "$pre_test_object_deps_done" = no; then
13125
if test -z "$predep_objects_CXX"; then
13126
predep_objects_CXX="$p"
13128
predep_objects_CXX="$predep_objects_CXX $p"
13131
if test -z "$postdep_objects_CXX"; then
13132
postdep_objects_CXX="$p"
13134
postdep_objects_CXX="$postdep_objects_CXX $p"
13139
*) ;; # Ignore the rest.
13147
echo "libtool.m4: error: problem compiling CXX test program"
13150
$RM -f confest.$objext
13152
# PORTME: override above test on systems where it is broken
13155
# Interix 3.5 installs completely hosed .la files for C++, so rather than
13156
# hack all around it, let's just trust "g++" to DTRT.
13157
predep_objects_CXX=
13158
postdep_objects_CXX=
13163
case `$CC -V 2>&1 | sed 5q` in
13167
# The more standards-conforming stlport4 library is
13168
# incompatible with the Cstd library. Avoid specifying
13169
# it if it's in CXXFLAGS. Ignore libCrun as
13170
# -library=stlport4 depends on it.
13171
case " $CXX $CXXFLAGS " in
13172
*" -library=stlport4 "*)
13173
solaris_use_stlport4=yes
13177
if test "$solaris_use_stlport4" != yes; then
13178
postdeps_CXX='-library=Cstd -library=Crun'
13185
case $cc_basename in
13187
# The more standards-conforming stlport4 library is
13188
# incompatible with the Cstd library. Avoid specifying
13189
# it if it's in CXXFLAGS. Ignore libCrun as
13190
# -library=stlport4 depends on it.
13191
case " $CXX $CXXFLAGS " in
13192
*" -library=stlport4 "*)
13193
solaris_use_stlport4=yes
13197
# Adding this requires a known-good setup of shared libraries for
13198
# Sun compiler versions before 5.6, else PIC objects from an old
13199
# archive will be linked into the output, leading to subtle bugs.
13200
if test "$solaris_use_stlport4" != yes; then
13201
postdeps_CXX='-library=Cstd -library=Crun'
13209
case " $postdeps_CXX " in
13210
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13212
compiler_lib_search_dirs_CXX=
13213
if test -n "${compiler_lib_search_path_CXX}"; then
13214
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13247
lt_prog_compiler_wl_CXX=
13248
lt_prog_compiler_pic_CXX=
13249
lt_prog_compiler_static_CXX=
13251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13252
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13254
# C++ specific cases for pic, static, wl, etc.
13255
if test "$GXX" = yes; then
13256
lt_prog_compiler_wl_CXX='-Wl,'
13257
lt_prog_compiler_static_CXX='-static'
13261
# All AIX code is PIC.
13262
if test "$host_cpu" = ia64; then
13263
# AIX 5 now supports IA64 processor
13264
lt_prog_compiler_static_CXX='-Bstatic'
13271
# see comment about AmigaOS4 .so support
13272
lt_prog_compiler_pic_CXX='-fPIC'
13275
# FIXME: we need at least 68020 code to build shared libraries, but
13276
# adding the `-m68020' flag to GCC prevents building anything better,
13278
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13283
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13284
# PIC is the default for these OSes.
13286
mingw* | cygwin* | os2* | pw32* | cegcc*)
13287
# This hack is so that the source file can tell whether it is being
13288
# built for inclusion in a dll (and should export symbols for example).
13289
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13290
# (--disable-auto-import) libraries
13291
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13293
darwin* | rhapsody*)
13294
# PIC is the default on this platform
13295
# Common symbols not allowed in MH_DYLIB files
13296
lt_prog_compiler_pic_CXX='-fno-common'
13299
# DJGPP does not support shared libraries at all
13300
lt_prog_compiler_pic_CXX=
13303
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
13304
# Instead, we relocate shared libraries at runtime.
13307
if test -d /usr/nec; then
13308
lt_prog_compiler_pic_CXX=-Kconform_pic
13312
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13313
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13314
# sets the default TLS model and affects inlining.
13319
lt_prog_compiler_pic_CXX='-fPIC'
13324
# QNX uses GNU C++, but need to define -shared option too, otherwise
13325
# it will coredump.
13326
lt_prog_compiler_pic_CXX='-fPIC -shared'
13329
lt_prog_compiler_pic_CXX='-fPIC'
13335
# All AIX code is PIC.
13336
if test "$host_cpu" = ia64; then
13337
# AIX 5 now supports IA64 processor
13338
lt_prog_compiler_static_CXX='-Bstatic'
13340
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13344
case $cc_basename in
13346
# Green Hills C++ Compiler
13347
# _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"
13352
case $cc_basename in
13354
lt_prog_compiler_pic_CXX='-KPIC'
13357
# Green Hills C++ Compiler
13358
lt_prog_compiler_pic_CXX='-pic'
13364
freebsd* | dragonfly*)
13365
# FreeBSD uses GNU C++
13367
hpux9* | hpux10* | hpux11*)
13368
case $cc_basename in
13370
lt_prog_compiler_wl_CXX='-Wl,'
13371
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13372
if test "$host_cpu" != ia64; then
13373
lt_prog_compiler_pic_CXX='+Z'
13377
lt_prog_compiler_wl_CXX='-Wl,'
13378
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13384
lt_prog_compiler_pic_CXX='+Z'
13393
# This is c89, which is MS Visual C++ (no shared libs)
13394
# Anyone wants to do a port?
13396
irix5* | irix6* | nonstopux*)
13397
case $cc_basename in
13399
lt_prog_compiler_wl_CXX='-Wl,'
13400
lt_prog_compiler_static_CXX='-non_shared'
13401
# CC pic flag -KPIC is the default.
13407
linux* | k*bsd*-gnu | kopensolaris*-gnu)
13408
case $cc_basename in
13411
lt_prog_compiler_wl_CXX='--backend -Wl,'
13412
lt_prog_compiler_pic_CXX='-fPIC'
13415
# old Intel C++ for x86_64 which still supported -KPIC.
13416
lt_prog_compiler_wl_CXX='-Wl,'
13417
lt_prog_compiler_pic_CXX='-KPIC'
13418
lt_prog_compiler_static_CXX='-static'
13421
# Intel C++, used to be incompatible with GCC.
13422
# ICC 10 doesn't accept -KPIC any more.
13423
lt_prog_compiler_wl_CXX='-Wl,'
13424
lt_prog_compiler_pic_CXX='-fPIC'
13425
lt_prog_compiler_static_CXX='-static'
13428
# Portland Group C++ compiler
13429
lt_prog_compiler_wl_CXX='-Wl,'
13430
lt_prog_compiler_pic_CXX='-fpic'
13431
lt_prog_compiler_static_CXX='-Bstatic'
13435
# Make sure the PIC flag is empty. It appears that all Alpha
13436
# Linux and Compaq Tru64 Unix objects are PIC.
13437
lt_prog_compiler_pic_CXX=
13438
lt_prog_compiler_static_CXX='-non_shared'
13441
# IBM XL 8.0 on PPC
13442
lt_prog_compiler_wl_CXX='-Wl,'
13443
lt_prog_compiler_pic_CXX='-qpic'
13444
lt_prog_compiler_static_CXX='-qstaticlink'
13447
case `$CC -V 2>&1 | sed 5q` in
13450
lt_prog_compiler_pic_CXX='-KPIC'
13451
lt_prog_compiler_static_CXX='-Bstatic'
13452
lt_prog_compiler_wl_CXX='-Qoption ld '
13463
case $cc_basename in
13465
lt_prog_compiler_pic_CXX='-W c,exportall'
13471
netbsd* | netbsdelf*-gnu)
13474
# QNX uses GNU C++, but need to define -shared option too, otherwise
13475
# it will coredump.
13476
lt_prog_compiler_pic_CXX='-fPIC -shared'
13478
osf3* | osf4* | osf5*)
13479
case $cc_basename in
13481
lt_prog_compiler_wl_CXX='--backend -Wl,'
13484
# Rational C++ 2.4.1
13485
lt_prog_compiler_pic_CXX='-pic'
13488
# Digital/Compaq C++
13489
lt_prog_compiler_wl_CXX='-Wl,'
13490
# Make sure the PIC flag is empty. It appears that all Alpha
13491
# Linux and Compaq Tru64 Unix objects are PIC.
13492
lt_prog_compiler_pic_CXX=
13493
lt_prog_compiler_static_CXX='-non_shared'
13502
case $cc_basename in
13504
# Sun C++ 4.2, 5.x and Centerline C++
13505
lt_prog_compiler_pic_CXX='-KPIC'
13506
lt_prog_compiler_static_CXX='-Bstatic'
13507
lt_prog_compiler_wl_CXX='-Qoption ld '
13510
# Green Hills C++ Compiler
13511
lt_prog_compiler_pic_CXX='-PIC'
13518
case $cc_basename in
13521
lt_prog_compiler_pic_CXX='-pic'
13522
lt_prog_compiler_static_CXX='-Bstatic'
13526
lt_prog_compiler_pic_CXX='-pic'
13532
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13533
case $cc_basename in
13535
lt_prog_compiler_wl_CXX='-Wl,'
13536
lt_prog_compiler_pic_CXX='-KPIC'
13537
lt_prog_compiler_static_CXX='-Bstatic'
13542
case $cc_basename in
13544
# NonStop-UX NCC 3.20
13545
lt_prog_compiler_pic_CXX='-KPIC'
13554
lt_prog_compiler_can_build_shared_CXX=no
13560
# For platforms which do not support PIC, -DPIC is meaningless:
13562
lt_prog_compiler_pic_CXX=
13565
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13569
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13574
# Check to make sure the PIC flag actually works.
13576
if test -n "$lt_prog_compiler_pic_CXX"; then
13577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13578
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13579
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13580
$as_echo_n "(cached) " >&6
13582
lt_cv_prog_compiler_pic_works_CXX=no
13583
ac_outfile=conftest.$ac_objext
13584
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13585
lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13586
# Insert the option either (1) after the last *FLAGS variable, or
13587
# (2) before a word containing "conftest.", or (3) at the end.
13588
# Note that $ac_compile itself does not contain backslashes and begins
13589
# with a dollar sign (not a hyphen), so the echo should work correctly.
13590
# The option is referenced via a variable to avoid confusing sed.
13591
lt_compile=`echo "$ac_compile" | $SED \
13592
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13593
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13594
-e 's:$: $lt_compiler_flag:'`
13595
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13596
(eval "$lt_compile" 2>conftest.err)
13598
cat conftest.err >&5
13599
echo "$as_me:__oline__: \$? = $ac_status" >&5
13600
if (exit $ac_status) && test -s "$ac_outfile"; then
13601
# The compiler can only warn and ignore the option if not recognized
13602
# So say no if there are warnings other than the usual output.
13603
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13604
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13605
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13606
lt_cv_prog_compiler_pic_works_CXX=yes
13612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13613
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13615
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13616
case $lt_prog_compiler_pic_CXX in
13618
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13621
lt_prog_compiler_pic_CXX=
13622
lt_prog_compiler_can_build_shared_CXX=no
13630
# Check to make sure the static flag actually works.
13632
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13634
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13635
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13636
$as_echo_n "(cached) " >&6
13638
lt_cv_prog_compiler_static_works_CXX=no
13639
save_LDFLAGS="$LDFLAGS"
13640
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13641
echo "$lt_simple_link_test_code" > conftest.$ac_ext
13642
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13643
# The linker can only warn and ignore the option if not recognized
13644
# So say no if there are warnings
13645
if test -s conftest.err; then
13646
# Append any errors to the config.log.
13647
cat conftest.err 1>&5
13648
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13649
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13650
if diff conftest.exp conftest.er2 >/dev/null; then
13651
lt_cv_prog_compiler_static_works_CXX=yes
13654
lt_cv_prog_compiler_static_works_CXX=yes
13658
LDFLAGS="$save_LDFLAGS"
13661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13662
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13664
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13667
lt_prog_compiler_static_CXX=
13673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13674
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13675
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13676
$as_echo_n "(cached) " >&6
13678
lt_cv_prog_compiler_c_o_CXX=no
13679
$RM -r conftest 2>/dev/null
13683
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13685
lt_compiler_flag="-o out/conftest2.$ac_objext"
13686
# Insert the option either (1) after the last *FLAGS variable, or
13687
# (2) before a word containing "conftest.", or (3) at the end.
13688
# Note that $ac_compile itself does not contain backslashes and begins
13689
# with a dollar sign (not a hyphen), so the echo should work correctly.
13690
lt_compile=`echo "$ac_compile" | $SED \
13691
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13692
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13693
-e 's:$: $lt_compiler_flag:'`
13694
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13695
(eval "$lt_compile" 2>out/conftest.err)
13697
cat out/conftest.err >&5
13698
echo "$as_me:__oline__: \$? = $ac_status" >&5
13699
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13701
# The compiler can only warn and ignore the option if not recognized
13702
# So say no if there are warnings
13703
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13704
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13705
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13706
lt_cv_prog_compiler_c_o_CXX=yes
13711
# SGI C++ compiler will create directory out/ii_files/ for
13712
# template instantiation
13713
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13714
$RM out/* && rmdir out
13720
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13721
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13726
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13727
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13728
$as_echo_n "(cached) " >&6
13730
lt_cv_prog_compiler_c_o_CXX=no
13731
$RM -r conftest 2>/dev/null
13735
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13737
lt_compiler_flag="-o out/conftest2.$ac_objext"
13738
# Insert the option either (1) after the last *FLAGS variable, or
13739
# (2) before a word containing "conftest.", or (3) at the end.
13740
# Note that $ac_compile itself does not contain backslashes and begins
13741
# with a dollar sign (not a hyphen), so the echo should work correctly.
13742
lt_compile=`echo "$ac_compile" | $SED \
13743
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13744
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13745
-e 's:$: $lt_compiler_flag:'`
13746
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13747
(eval "$lt_compile" 2>out/conftest.err)
13749
cat out/conftest.err >&5
13750
echo "$as_me:__oline__: \$? = $ac_status" >&5
13751
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13753
# The compiler can only warn and ignore the option if not recognized
13754
# So say no if there are warnings
13755
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13756
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13757
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13758
lt_cv_prog_compiler_c_o_CXX=yes
13763
# SGI C++ compiler will create directory out/ii_files/ for
13764
# template instantiation
13765
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13766
$RM out/* && rmdir out
13772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13773
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13778
hard_links="nottested"
13779
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13780
# do not overwrite the value of need_locks provided by the user
13781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13782
$as_echo_n "checking if we can lock with hard links... " >&6; }
13785
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13787
ln conftest.a conftest.b 2>&5 || hard_links=no
13788
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13790
$as_echo "$hard_links" >&6; }
13791
if test "$hard_links" = no; then
13792
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13793
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13803
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13805
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13808
# If we're using GNU nm, then we don't want the "-C" option.
13809
# -C means demangle to AIX nm, but means don't demangle with GNU nm
13810
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13811
export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13813
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'
13817
export_symbols_cmds_CXX="$ltdll_cmds"
13819
cygwin* | mingw* | cegcc*)
13820
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
13822
linux* | k*bsd*-gnu)
13823
link_all_deplibs_CXX=no
13826
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13829
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13832
$as_echo "$ld_shlibs_CXX" >&6; }
13833
test "$ld_shlibs_CXX" = no && can_build_shared=no
13835
with_gnu_ld_CXX=$with_gnu_ld
13843
# Do we need to explicitly link libc?
13845
case "x$archive_cmds_need_lc_CXX" in
13847
# Assume -lc should be added
13848
archive_cmds_need_lc_CXX=yes
13850
if test "$enable_shared" = yes && test "$GCC" = yes; then
13851
case $archive_cmds_CXX in
13853
# FIXME: we may have to deal with multi-command sequences.
13856
# Test whether the compiler implicitly links with -lc since on some
13857
# systems, -lgcc has to come before -lc. If gcc already passes -lc
13858
# to ld, don't add -lc before -lgcc.
13859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13860
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13862
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13864
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13865
(eval $ac_compile) 2>&5
13867
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13868
test $ac_status = 0; } 2>conftest.err; then
13871
libobjs=conftest.$ac_objext
13873
wl=$lt_prog_compiler_wl_CXX
13874
pic_flag=$lt_prog_compiler_pic_CXX
13880
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13881
allow_undefined_flag_CXX=
13882
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13883
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13885
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13886
test $ac_status = 0; }
13888
archive_cmds_need_lc_CXX=no
13890
archive_cmds_need_lc_CXX=yes
13892
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13894
cat conftest.err 1>&5
13897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13898
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
13968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13969
$as_echo_n "checking dynamic linker characteristics... " >&6; }
13971
library_names_spec=
13972
libname_spec='lib$name'
13976
postuninstall_cmds=
13980
shlibpath_overrides_runpath=unknown
13982
dynamic_linker="$host_os ld.so"
13983
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13984
need_lib_prefix=unknown
13985
hardcode_into_libs=no
13987
# when you set need_version to no, make sure it does not cause -set_version
13988
# flags to be left without arguments
13989
need_version=unknown
13994
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13995
shlibpath_var=LIBPATH
13997
# AIX 3 has no versioning support, so we append a major version to the name.
13998
soname_spec='${libname}${release}${shared_ext}$major'
14005
hardcode_into_libs=yes
14006
if test "$host_cpu" = ia64; then
14007
# AIX 5 supports IA64
14008
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14009
shlibpath_var=LD_LIBRARY_PATH
14011
# With GCC up to 2.95.x, collect2 would create an import file
14012
# for dependence libraries. The import file would start with
14013
# the line `#! .'. This would cause the generated library to
14014
# depend on `.', always an invalid library. This was fixed in
14015
# development snapshots of GCC prior to 3.0.
14017
aix4 | aix4.[01] | aix4.[01].*)
14018
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14020
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14023
can_build_shared=no
14027
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14028
# soname into executable. Probably we can add versioning support to
14029
# collect2, so additional links can be useful in future.
14030
if test "$aix_use_runtimelinking" = yes; then
14031
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
14032
# instead of lib<name>.a to let people know that these are not
14033
# typical AIX shared libraries.
14034
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14036
# We preserve .a as extension for shared libraries through AIX4.2
14037
# and later when we are not doing run time linking.
14038
library_names_spec='${libname}${release}.a $libname.a'
14039
soname_spec='${libname}${release}${shared_ext}$major'
14041
shlibpath_var=LIBPATH
14048
# Since July 2007 AmigaOS4 officially supports .so libraries.
14049
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14050
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14053
library_names_spec='$libname.ixlibrary $libname.a'
14054
# Create ${libname}_ixlibrary.a entries in /sys/libs.
14055
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
14061
library_names_spec='${libname}${shared_ext}'
14062
dynamic_linker="$host_os ld.so"
14063
shlibpath_var=LIBRARY_PATH
14069
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14070
soname_spec='${libname}${release}${shared_ext}$major'
14071
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14072
shlibpath_var=LD_LIBRARY_PATH
14073
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14074
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14075
# the default ld.so.conf also contains /usr/contrib/lib and
14076
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14077
# libtool to hard-code these into programs
14080
cygwin* | mingw* | pw32* | cegcc*)
14081
version_type=windows
14086
case $GCC,$host_os in
14087
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14088
library_names_spec='$libname.dll.a'
14089
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14090
postinstall_cmds='base_file=`basename \${file}`~
14091
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14092
dldir=$destdir/`dirname \$dlpath`~
14093
test -d \$dldir || mkdir -p \$dldir~
14094
$install_prog $dir/$dlname \$dldir/$dlname~
14095
chmod a+x \$dldir/$dlname~
14096
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14097
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14099
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14100
dlpath=$dir/\$dldll~
14102
shlibpath_overrides_runpath=yes
14106
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
14107
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14108
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14111
# MinGW DLLs use traditional 'lib' prefix
14112
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14113
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14114
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14115
# It is most probably a Windows format PATH printed by
14116
# mingw gcc, but we are running on Cygwin. Gcc prints its search
14117
# path with ; separators, and with drive letters. We can handle the
14118
# drive letters (cygwin fileutils understands them), so leave them,
14119
# especially as we might pass files found there to a mingw objdump,
14120
# which wouldn't understand a cygwinified path. Ahh.
14121
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14123
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14127
# pw32 DLLs use 'pw' prefix rather than 'lib'
14128
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14134
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14137
dynamic_linker='Win32 ld.exe'
14138
# FIXME: first we should search . and the directory the executable is in
14142
darwin* | rhapsody*)
14143
dynamic_linker="$host_os dyld"
14144
version_type=darwin
14147
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14148
soname_spec='${libname}${release}${major}$shared_ext'
14149
shlibpath_overrides_runpath=yes
14150
shlibpath_var=DYLD_LIBRARY_PATH
14151
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14153
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14160
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14161
soname_spec='${libname}${release}${shared_ext}$major'
14162
shlibpath_var=LD_LIBRARY_PATH
14169
freebsd* | dragonfly*)
14170
# DragonFly does not have aout. When/if they implement a new
14171
# versioning mechanism, adjust this.
14172
if test -x /usr/bin/objformat; then
14173
objformat=`/usr/bin/objformat`
14176
freebsd[123]*) objformat=aout ;;
14177
*) objformat=elf ;;
14180
version_type=freebsd-$objformat
14181
case $version_type in
14183
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14188
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14192
shlibpath_var=LD_LIBRARY_PATH
14195
shlibpath_overrides_runpath=yes
14197
freebsd3.[01]* | freebsdelf3.[01]*)
14198
shlibpath_overrides_runpath=yes
14199
hardcode_into_libs=yes
14201
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14202
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14203
shlibpath_overrides_runpath=no
14204
hardcode_into_libs=yes
14206
*) # from 4.6 on, and DragonFly
14207
shlibpath_overrides_runpath=yes
14208
hardcode_into_libs=yes
14217
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14218
soname_spec='${libname}${release}${shared_ext}$major'
14219
shlibpath_var=LD_LIBRARY_PATH
14220
hardcode_into_libs=yes
14223
hpux9* | hpux10* | hpux11*)
14224
# Give a soname corresponding to the major version so that dld.sl refuses to
14225
# link against other versions.
14232
hardcode_into_libs=yes
14233
dynamic_linker="$host_os dld.so"
14234
shlibpath_var=LD_LIBRARY_PATH
14235
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14236
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14237
soname_spec='${libname}${release}${shared_ext}$major'
14238
if test "X$HPUX_IA64_MODE" = X32; then
14239
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14241
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14243
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14247
hardcode_into_libs=yes
14248
dynamic_linker="$host_os dld.sl"
14249
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14250
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14251
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14252
soname_spec='${libname}${release}${shared_ext}$major'
14253
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14254
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14258
dynamic_linker="$host_os dld.sl"
14259
shlibpath_var=SHLIB_PATH
14260
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14261
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14262
soname_spec='${libname}${release}${shared_ext}$major'
14265
# HP-UX runs *really* slowly unless shared libraries are mode 555.
14266
postinstall_cmds='chmod 555 $lib'
14273
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14274
soname_spec='${libname}${release}${shared_ext}$major'
14275
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14276
shlibpath_var=LD_LIBRARY_PATH
14277
shlibpath_overrides_runpath=no
14278
hardcode_into_libs=yes
14281
irix5* | irix6* | nonstopux*)
14283
nonstopux*) version_type=nonstopux ;;
14285
if test "$lt_cv_prog_gnu_ld" = yes; then
14293
soname_spec='${libname}${release}${shared_ext}$major'
14294
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14296
irix5* | nonstopux*)
14297
libsuff= shlibsuff=
14300
case $LD in # libtool.m4 will add one of these switches to LD
14301
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14302
libsuff= shlibsuff= libmagic=32-bit;;
14303
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14304
libsuff=32 shlibsuff=N32 libmagic=N32;;
14305
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14306
libsuff=64 shlibsuff=64 libmagic=64-bit;;
14307
*) libsuff= shlibsuff= libmagic=never-match;;
14311
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14312
shlibpath_overrides_runpath=no
14313
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14314
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14315
hardcode_into_libs=yes
14318
# No shared lib support for Linux oldld, aout, or coff.
14319
linux*oldld* | linux*aout* | linux*coff*)
14323
# This must be Linux ELF.
14324
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14328
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14329
soname_spec='${libname}${release}${shared_ext}$major'
14330
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14331
shlibpath_var=LD_LIBRARY_PATH
14332
shlibpath_overrides_runpath=no
14333
# Some binutils ld are patched to set DT_RUNPATH
14334
save_LDFLAGS=$LDFLAGS
14335
save_libdir=$libdir
14336
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14337
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14338
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14339
/* end confdefs.h. */
14349
if ac_fn_cxx_try_link "$LINENO"; then :
14350
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14351
shlibpath_overrides_runpath=yes
14354
rm -f core conftest.err conftest.$ac_objext \
14355
conftest$ac_exeext conftest.$ac_ext
14356
LDFLAGS=$save_LDFLAGS
14357
libdir=$save_libdir
14359
# This implies no fast_install, which is unacceptable.
14360
# Some rework will be needed to allow for fast_install
14361
# before this can be enabled.
14362
hardcode_into_libs=yes
14364
# Append ld.so.conf contents to the search path
14365
if test -f /etc/ld.so.conf; then
14366
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;/^$/d' | tr '\n' ' '`
14367
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14370
# We used to test for /lib/ld.so.1 and disable shared libraries on
14371
# powerpc, because MkLinux only supported shared libraries with the
14372
# GNU dynamic linker. Since this was broken with cross compilers,
14373
# most powerpc-linux boxes support dynamic linking these days and
14374
# people can always --disable-shared, the test was removed, and we
14375
# assume the GNU/Linux dynamic linker is in use.
14376
dynamic_linker='GNU/Linux ld.so'
14383
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14384
soname_spec='${libname}${release}${shared_ext}$major'
14385
shlibpath_var=LD_LIBRARY_PATH
14386
shlibpath_overrides_runpath=no
14387
hardcode_into_libs=yes
14388
dynamic_linker='NetBSD ld.elf_so'
14395
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14396
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14397
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14398
dynamic_linker='NetBSD (a.out) ld.so'
14400
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14401
soname_spec='${libname}${release}${shared_ext}$major'
14402
dynamic_linker='NetBSD ld.elf_so'
14404
shlibpath_var=LD_LIBRARY_PATH
14405
shlibpath_overrides_runpath=yes
14406
hardcode_into_libs=yes
14411
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14412
shlibpath_var=LD_LIBRARY_PATH
14413
shlibpath_overrides_runpath=yes
14420
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14421
soname_spec='${libname}${release}${shared_ext}$major'
14422
shlibpath_var=LD_LIBRARY_PATH
14423
shlibpath_overrides_runpath=no
14424
hardcode_into_libs=yes
14425
dynamic_linker='ldqnx.so'
14430
sys_lib_dlsearch_path_spec="/usr/lib"
14432
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14434
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14435
*) need_version=no ;;
14437
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14438
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14439
shlibpath_var=LD_LIBRARY_PATH
14440
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14442
openbsd2.[89] | openbsd2.[89].*)
14443
shlibpath_overrides_runpath=no
14446
shlibpath_overrides_runpath=yes
14450
shlibpath_overrides_runpath=yes
14455
libname_spec='$name'
14458
library_names_spec='$libname${shared_ext} $libname.a'
14459
dynamic_linker='OS/2 ld.exe'
14460
shlibpath_var=LIBPATH
14463
osf3* | osf4* | osf5*)
14467
soname_spec='${libname}${release}${shared_ext}$major'
14468
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14469
shlibpath_var=LD_LIBRARY_PATH
14470
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14471
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14482
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14483
soname_spec='${libname}${release}${shared_ext}$major'
14484
shlibpath_var=LD_LIBRARY_PATH
14485
shlibpath_overrides_runpath=yes
14486
hardcode_into_libs=yes
14487
# ldd complains unless libraries are executable
14488
postinstall_cmds='chmod +x $lib'
14493
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14494
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14495
shlibpath_var=LD_LIBRARY_PATH
14496
shlibpath_overrides_runpath=yes
14497
if test "$with_gnu_ld" = yes; then
14505
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14506
soname_spec='${libname}${release}${shared_ext}$major'
14507
shlibpath_var=LD_LIBRARY_PATH
14508
case $host_vendor in
14510
shlibpath_overrides_runpath=no
14512
runpath_var=LD_RUN_PATH
14520
shlibpath_overrides_runpath=no
14521
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14527
if test -d /usr/nec ;then
14529
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14530
soname_spec='$libname${shared_ext}.$major'
14531
shlibpath_var=LD_LIBRARY_PATH
14535
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14536
version_type=freebsd-elf
14539
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14540
soname_spec='${libname}${release}${shared_ext}$major'
14541
shlibpath_var=LD_LIBRARY_PATH
14542
shlibpath_overrides_runpath=yes
14543
hardcode_into_libs=yes
14544
if test "$with_gnu_ld" = yes; then
14545
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14547
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14550
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14554
sys_lib_dlsearch_path_spec='/usr/lib'
14558
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14562
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14563
shlibpath_var=LD_LIBRARY_PATH
14564
shlibpath_overrides_runpath=no
14565
hardcode_into_libs=yes
14570
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14571
soname_spec='${libname}${release}${shared_ext}$major'
14572
shlibpath_var=LD_LIBRARY_PATH
14579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14580
$as_echo "$dynamic_linker" >&6; }
14581
test "$dynamic_linker" = no && can_build_shared=no
14583
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14584
if test "$GCC" = yes; then
14585
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14588
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14589
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14591
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14592
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14631
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14632
hardcode_action_CXX=
14633
if test -n "$hardcode_libdir_flag_spec_CXX" ||
14634
test -n "$runpath_var_CXX" ||
14635
test "X$hardcode_automatic_CXX" = "Xyes" ; then
14637
# We can hardcode non-existent directories.
14638
if test "$hardcode_direct_CXX" != no &&
14639
# If the only mechanism to avoid hardcoding is shlibpath_var, we
14640
# have to relink, otherwise we might link with an installed library
14641
# when we should be linking with a yet-to-be-installed one
14642
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14643
test "$hardcode_minus_L_CXX" != no; then
14644
# Linking always hardcodes the temporary library directory.
14645
hardcode_action_CXX=relink
14647
# We can link without hardcoding, and we can hardcode nonexisting dirs.
14648
hardcode_action_CXX=immediate
14651
# We cannot hardcode anything, or else we can only hardcode existing
14653
hardcode_action_CXX=unsupported
14655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14656
$as_echo "$hardcode_action_CXX" >&6; }
14658
if test "$hardcode_action_CXX" = relink ||
14659
test "$inherit_rpath_CXX" = yes; then
14660
# Fast installation is not supported
14661
enable_fast_install=no
14662
elif test "$shlibpath_overrides_runpath" = yes ||
14663
test "$enable_shared" = no; then
14664
# Fast installation is not necessary
14665
enable_fast_install=needless
14674
fi # test -n "$compiler"
14680
with_gnu_ld=$lt_save_with_gnu_ld
14681
lt_cv_path_LDCXX=$lt_cv_path_LD
14682
lt_cv_path_LD=$lt_save_path_LD
14683
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14684
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14685
fi # test "$_lt_caught_CXX_error" != yes
14688
ac_cpp='$CXXCPP $CPPFLAGS'
14689
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14690
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14691
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14705
ac_config_commands="$ac_config_commands libtool"
14710
# Only expand once:
14714
@%:@ Check whether --enable-libcheck was given.
14715
if test "${enable_libcheck+set}" = set; then :
14716
enableval=$enable_libcheck; case "${enableval}" in
14717
yes) libcheck=true ;;
14718
no) libcheck=false ;;
14719
*) as_fn_error "bad value ${enableval} for --enable-libcheck" "$LINENO" 5 ;; esac
14726
# --- BEGIN MLX_LANG_TCL ---
14728
if test "x$libcheck" = "xtrue"; then
14731
@%:@ Check whether --with-tclconfig was given.
14732
if test "${with_tclconfig+set}" = set; then :
14733
withval=$with_tclconfig; TclLibBase=`echo ${withval} | sed s/tclConfig.sh\$//`
14737
@%:@ Check whether --with-tcl was given.
14738
if test "${with_tcl+set}" = set; then :
14739
withval=$with_tcl; TclLibBase="${withval}/lib"
14743
@%:@ Check whether --with-tclsh was given.
14744
if test "${with_tclsh+set}" = set; then :
14745
withval=$with_tclsh; TCLSH="${withval}"
14749
if test "x$TCLSH" = "xno" -o "x$with_tclconfig" = "xno" ; then
14750
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&5
14751
$as_echo "$as_me: WARNING: Tcl disabled because tclsh or tclconfig specified as \"no\"" >&2;}
14755
if test "x$with_tcl" != xno; then
14756
if test \! -z "$with_tclconfig" -a \! -d "$with_tclconfig" ; then
14757
as_fn_error "--with-tclconfig requires a directory argument." "$LINENO" 5
14760
if test \! -z "$TCLSH" -a \! -x "$TCLSH" ; then
14761
as_fn_error "--with-tclsh must specify an executable file." "$LINENO" 5
14764
if test X"$TclLibBase" = X; then # do we already know?
14765
# No? Run tclsh and ask it where it lives.
14767
# Do we know where a tclsh lives?
14768
if test X"$TCLSH" = X; then
14769
# Try and find tclsh. Any tclsh.
14770
# If a new version of tcl comes out and unfortunately adds another
14771
# filename, it should be safe to add it (to the front of the line --
14772
# somef vendors have older, badly installed tclshs that we want to avoid
14774
for ac_prog in tclsh tclsh8.3 tclsh8.4
14776
# Extract the first word of "$ac_prog", so it can be a program name with args.
14777
set dummy $ac_prog; ac_word=$2
14778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14779
$as_echo_n "checking for $ac_word... " >&6; }
14780
if test "${ac_cv_path_TCLSH+set}" = set; then :
14781
$as_echo_n "(cached) " >&6
14785
ac_cv_path_TCLSH="$TCLSH" # Let the user override the test with a path.
14788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14789
for as_dir in $PATH
14792
test -z "$as_dir" && as_dir=.
14793
for ac_exec_ext in '' $ac_executable_extensions; do
14794
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14795
ac_cv_path_TCLSH="$as_dir/$ac_word$ac_exec_ext"
14796
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14806
TCLSH=$ac_cv_path_TCLSH
14807
if test -n "$TCLSH"; then
14808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH" >&5
14809
$as_echo "$TCLSH" >&6; }
14811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14812
$as_echo "no" >&6; }
14816
test -n "$TCLSH" && break
14818
test -n "$TCLSH" || TCLSH=""unknown""
14822
# Do we know where to get a tclsh?
14823
if test "X${TCLSH}" != "Xunknown"; then
14824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl says it lives" >&5
14825
$as_echo_n "checking where Tcl says it lives... " >&6; }
14826
echo "puts \$tcl_library" > /tmp/tcl.conf.$$
14827
TclLibBase=`${TCLSH} /tmp/tcl.conf.$$ | sed -e 's,^/*$,,'`
14828
rm /tmp/tcl.conf.$$
14829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TclLibBase" >&5
14830
$as_echo "$TclLibBase" >&6; }
14834
if test -z "$TclLibBase" ; then
14835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find tclsh" >&5
14836
$as_echo "can't find tclsh" >&6; }
14837
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl installtion; use of Tcl disabled." >&5
14838
$as_echo "$as_me: WARNING: can't find Tcl installtion; use of Tcl disabled." >&2;}
14841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclConfig.sh" >&5
14842
$as_echo_n "checking for tclConfig.sh... " >&6; }
14843
# Check a list of places where the tclConfig.sh file might be.
14844
# Note we prefer the 64 bit version if exists
14845
tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}"
14846
tclCondifSearchPath="$tclCondifSearchPath ${TclLibBase}/.."
14847
tclCondifSearchPath="$tclCondifSearchPath `echo ${TCLSH} | sed s/sh//`"
14848
tclCondifSearchPath="$tclCondifSearchPath /usr/lib64"
14849
tclCondifSearchPath="$tclCondifSearchPath /usr/lib"
14850
tclCondifSearchPath="$tclCondifSearchPath /usr/local/lib"
14851
for tcldir in $tclCondifSearchPath; do
14852
if test -f "${tcldir}/tclConfig.sh"; then
14853
TclLibBase="${tcldir}"
14858
if test -z "${TclLibBase}" ; then
14859
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"unknown\"" >&5
14860
$as_echo "\"unknown\"" >&6; }
14861
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl configuration; use of Tcl disabled." >&5
14862
$as_echo "$as_me: WARNING: can't find Tcl configuration; use of Tcl disabled." >&2;}
14865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TclLibBase}/" >&5
14866
$as_echo "${TclLibBase}/" >&6; }
14869
if test "X${with_tcl}" != Xno ; then
14870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Tcl configuration on what Tcl needs to compile" >&5
14871
$as_echo_n "checking Tcl configuration on what Tcl needs to compile... " >&6; }
14872
. ${TclLibBase}/tclConfig.sh
14873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
14874
$as_echo "ok" >&6; }
14877
if test -d /usr/lib64 ; then
14878
TCL_LIB_SPEC=`echo ${TCL_LIB_SPEC} | sed 's=/usr/lib =/usr/lib64 =g'`
14881
if test "X${with_tcl}" != Xno ; then
14882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where Tcl includes are" >&5
14883
$as_echo_n "checking where Tcl includes are... " >&6; }
14884
for tclinclude in "${TCL_PREFIX}/include/tcl${TCL_VERSION}" \
14885
"${TCL_PREFIX}/include/tcl" \
14886
"${TCL_PREFIX}/include" ; do
14887
if test -r "${tclinclude}/tcl.h" ; then
14888
TCL_CPPFLAGS="-I${tclinclude}"
14892
if test X"${TCL_CPPFLAGS}" = X ; then
14893
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find Tcl includes; use of Tcl disabled." >&5
14894
$as_echo "$as_me: WARNING: can't find Tcl includes; use of Tcl disabled." >&2;}
14897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${TCL_CPPFLAGS}" >&5
14898
$as_echo "${TCL_CPPFLAGS}" >&6; }
14901
# Finally, pick up the Tcl configuration if we haven't found an
14903
if test "X${with_tcl}" != Xno; then
14904
TCL_SEARCH=`echo ${TCL_LD_SEARCH_FLAGS} | sed 's/-Wl,-rpath,/-rpath/'`
14906
if test X"$TCL_LIBS" = X; then
14907
TCL_LIBS=`echo ${TCL_LIB_FILE} | sed 's/lib\([^ \t]*\)\.\(so\|a\)/-l\1/'`
14910
if test X"$TCL_LIB_SPEC" = X; then
14911
TCL_LIB_SPEC='-L/usr/lib'
14914
TCL_LIBS1="${TCL_LIB_SPEC} ${TCL_LIBS}"
14915
TCL_LIBS=`echo ${TCL_LIBS1} | sed 's/-lieee//'`
14922
TCL_CPPFLAGS=disabled
14923
TCL_PREFIX=disabled
14931
# --- END MLX_LANG_TCL ---
14936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14937
$as_echo_n "checking for ANSI C header files... " >&6; }
14938
if test "${ac_cv_header_stdc+set}" = set; then :
14939
$as_echo_n "(cached) " >&6
14941
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14942
/* end confdefs.h. */
14943
#include <stdlib.h>
14944
#include <stdarg.h>
14945
#include <string.h>
14956
if ac_fn_cxx_try_compile "$LINENO"; then :
14957
ac_cv_header_stdc=yes
14959
ac_cv_header_stdc=no
14961
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14963
if test $ac_cv_header_stdc = yes; then
14964
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14965
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14966
/* end confdefs.h. */
14967
#include <string.h>
14970
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14971
$EGREP "memchr" >/dev/null 2>&1; then :
14974
ac_cv_header_stdc=no
14980
if test $ac_cv_header_stdc = yes; then
14981
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14982
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14983
/* end confdefs.h. */
14984
#include <stdlib.h>
14987
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14988
$EGREP "free" >/dev/null 2>&1; then :
14991
ac_cv_header_stdc=no
14997
if test $ac_cv_header_stdc = yes; then
14998
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14999
if test "$cross_compiling" = yes; then :
15002
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003
/* end confdefs.h. */
15005
#include <stdlib.h>
15006
#if ((' ' & 0x0FF) == 0x020)
15007
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15008
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15010
# define ISLOWER(c) \
15011
(('a' <= (c) && (c) <= 'i') \
15012
|| ('j' <= (c) && (c) <= 'r') \
15013
|| ('s' <= (c) && (c) <= 'z'))
15014
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15017
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15022
for (i = 0; i < 256; i++)
15023
if (XOR (islower (i), ISLOWER (i))
15024
|| toupper (i) != TOUPPER (i))
15029
if ac_fn_cxx_try_run "$LINENO"; then :
15032
ac_cv_header_stdc=no
15034
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15035
conftest.$ac_objext conftest.beam conftest.$ac_ext
15040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15041
$as_echo "$ac_cv_header_stdc" >&6; }
15042
if test $ac_cv_header_stdc = yes; then
15044
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
15048
for ac_header in inttypes.h stdlib.h string.h
15050
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15051
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15052
eval as_val=\$$as_ac_Header
15053
if test "x$as_val" = x""yes; then :
15054
cat >>confdefs.h <<_ACEOF
15055
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15065
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15066
if test "${ac_cv_c_const+set}" = set; then :
15067
$as_echo_n "(cached) " >&6
15069
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15070
/* end confdefs.h. */
15075
/* FIXME: Include the comments suggested by Paul. */
15076
#ifndef __cplusplus
15077
/* Ultrix mips cc rejects this. */
15078
typedef int charset[2];
15080
/* SunOS 4.1.1 cc rejects this. */
15081
char const *const *pcpcc;
15083
/* NEC SVR4.0.2 mips cc rejects this. */
15084
struct point {int x, y;};
15085
static struct point const zero = {0,0};
15086
/* AIX XL C 1.02.0.0 rejects this.
15087
It does not let you subtract one const X* pointer from another in
15088
an arm of an if-expression whose if-part is not a constant
15090
const char *g = "string";
15091
pcpcc = &g + (g ? g-g : 0);
15092
/* HPUX 7.0 cc rejects these. */
15094
ppc = (char**) pcpcc;
15095
pcpcc = (char const *const *) ppc;
15096
{ /* SCO 3.2v4 cc rejects this. */
15098
char const *s = 0 ? (char *) 0 : (char const *) 0;
15103
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15104
int x[] = {25, 17};
15105
const int *foo = &x[0];
15108
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15109
typedef const int *iptr;
15113
{ /* AIX XL C 1.02.0.0 rejects this saying
15114
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15115
struct s { int j; const int *ap[3]; };
15116
struct s *b; b->j = 5;
15118
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15119
const int foo = 10;
15120
if (!foo) return 0;
15122
return !cs[0] && !zero.x;
15129
if ac_fn_cxx_try_compile "$LINENO"; then :
15134
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15137
$as_echo "$ac_cv_c_const" >&6; }
15138
if test $ac_cv_c_const = no; then
15140
$as_echo "@%:@define const /**/" >>confdefs.h
15144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
15145
$as_echo_n "checking for inline... " >&6; }
15146
if test "${ac_cv_c_inline+set}" = set; then :
15147
$as_echo_n "(cached) " >&6
15150
for ac_kw in inline __inline__ __inline; do
15151
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15152
/* end confdefs.h. */
15153
#ifndef __cplusplus
15155
static $ac_kw foo_t static_foo () {return 0; }
15156
$ac_kw foo_t foo () {return 0; }
15160
if ac_fn_cxx_try_compile "$LINENO"; then :
15161
ac_cv_c_inline=$ac_kw
15163
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15164
test "$ac_cv_c_inline" != no && break
15168
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
15169
$as_echo "$ac_cv_c_inline" >&6; }
15171
case $ac_cv_c_inline in
15174
case $ac_cv_c_inline in
15176
*) ac_val=$ac_cv_c_inline;;
15178
cat >>confdefs.h <<_ACEOF
15179
#ifndef __cplusplus
15180
#define inline $ac_val
15186
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15187
if test "x$ac_cv_type_size_t" = x""yes; then :
15191
cat >>confdefs.h <<_ACEOF
15192
@%:@define size_t unsigned int
15198
for ac_func in strchr strstr strtol strtoull regcomp regexec
15200
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15201
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
15202
eval as_val=\$$as_ac_var
15203
if test "x$as_val" = x""yes; then :
15204
cat >>confdefs.h <<_ACEOF
15205
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15212
@%:@ Check whether --enable-debug was given.
15213
if test "${enable_debug+set}" = set; then :
15214
enableval=$enable_debug; case "${enableval}" in
15217
*) as_fn_error "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
15223
if test x$debug = xtrue; then
15233
# --- BEGIN OPENIB_APP_OSM ---
15236
@%:@ Check whether --with-osm was given.
15237
if test "${with_osm+set}" = set; then :
15238
withval=$with_osm; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM from:$with_osm" >&5
15239
$as_echo "$as_me: Using OSM from:$with_osm" >&6;}
15246
@%:@ Check whether --with-osm-libs was given.
15247
if test "${with_osm_libs+set}" = set; then :
15248
withval=$with_osm_libs; { $as_echo "$as_me:${as_lineno-$LINENO}: Using OSM libs from:$with_osm_libs" >&5
15249
$as_echo "$as_me: Using OSM libs from:$with_osm_libs" >&6;}
15251
with_osm_libs="none"
15257
if test "x$libcheck" = "xtrue"; then
15258
if test "x$with_osm" = xnone; then
15259
if test -d /usr/local/ibgd/apps/osm; then
15260
with_osm=/usr/local/ibgd/apps/osm
15261
elif test -d /usr/mellanox/osm; then
15262
with_osm=/usr/mellanox
15263
elif test -f /etc/infiniband/info; then
15264
ofed_dir=`/etc/infiniband/info | grep prefix | cut -d = -f 2`
15265
if (test -f $ofed_dir/lib/libopensm.so ||
15266
test -f $ofed_dir/lib64/libopensm.so); then
15269
elif (test -f /usr/local/lib64/libopensm.so ||
15270
test -f /usr/local/lib/libopensm.so); then
15271
with_osm=/usr/local
15272
elif (test -f /usr/lib64/libopensm.so ||
15273
test -f /usr/lib/libopensm.so); then
15276
as_fn_error "OSM: --with-osm must be provided - fail to find standard OpenSM installation" "$LINENO" 5
15279
{ $as_echo "$as_me:${as_lineno-$LINENO}: OSM: used from $with_osm" >&5
15280
$as_echo "$as_me: OSM: used from $with_osm" >&6;}
15282
if test "x$with_osm_libs" = "xnone"; then
15283
if (test -f $with_osm/lib64/libosmvendor_gen1.so ||
15284
test -f $with_osm/lib64/libosmvendor_vapi.so ||
15285
test -f $with_osm/lib64/libopensm.so ||
15286
test -f $with_osm/lib64/libosmvendor_sim.so); then
15292
with_osm_libs=$with_osm/$osm_lib_dir
15294
if test -d $with_osm/include/infiniband; then
15299
{ $as_echo "$as_me:${as_lineno-$LINENO}: OSM: build type $OSM_BUILD" >&5
15300
$as_echo "$as_me: OSM: build type $OSM_BUILD" >&6;}
15302
OSM_LDFLAGS="-Wl,-rpath -Wl,$with_osm_libs -L$with_osm_libs"
15303
if test $OSM_BUILD = openib; then
15304
osm_include_dir="$with_osm/include/infiniband"
15305
osm_extra_includes="-I$with_osm/include"
15307
if test -L $with_osm_libs/libosmvendor_gen1.so; then
15309
osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
15310
OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp"
15311
elif test -L $with_osm_libs/libosmvendor_vapi.so; then
15313
osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
15314
OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -lvapi -lib_mgt"
15315
elif test -L $with_osm_libs/libosmvendor_sim.so; then
15317
osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
15318
OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -libmscli -losmcomp"
15319
elif test -L $with_osm_libs/libopensm.so; then
15321
osm_vendor_sel="-DOSM_VENDOR_INTF_OPENIB "
15322
OSM_LDFLAGS="$OSM_LDFLAGS -lopensm -losmvendor -losmcomp -libumad"
15324
as_fn_error "OSM: Fail to recognize vendor type" "$LINENO" 5
15326
osm_vendor_sel="$osm_vendor_sel -DOSM_BUILD_OPENIB"
15328
# we are in gen1 build
15329
osm_include_dir="$with_osm/include"
15331
if test -L $with_osm_libs/libosmsvc_ts.so; then
15333
OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_ts -lcomplib"
15334
osm_vendor_sel="-DOSM_VENDOR_INTF_TS"
15335
elif test -L $with_osm_libs/libosmsvc_mtl.so; then
15337
OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_mtl -lcomplib -lvapi -lib_mgt"
15338
osm_vendor_sel="-DOSM_VENDOR_INTF_MTL"
15339
elif test -L $with_osm_libs/libosmsvc_sim.so; then
15341
OSM_LDFLAGS="$OSM_LDFLAGS -losmsvc_sim -lcomplib"
15342
osm_vendor_sel="-DOSM_VENDOR_INTF_SIM"
15344
as_fn_error "OSM: Fail to recognize vendor type" "$LINENO" 5
15347
{ $as_echo "$as_me:${as_lineno-$LINENO}: OSM: vendor type $OSM_VENDOR" >&5
15348
$as_echo "$as_me: OSM: vendor type $OSM_VENDOR" >&6;}
15351
as_ac_File=`$as_echo "ac_cv_file_$osm_include_dir/opensm/osm_config.h" | $as_tr_sh`
15352
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $osm_include_dir/opensm/osm_config.h" >&5
15353
$as_echo_n "checking for $osm_include_dir/opensm/osm_config.h... " >&6; }
15354
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
15355
$as_echo_n "(cached) " >&6
15357
test "$cross_compiling" = yes &&
15358
as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
15359
if test -r "$osm_include_dir/opensm/osm_config.h"; then
15360
eval "$as_ac_File=yes"
15362
eval "$as_ac_File=no"
15365
eval ac_res=\$$as_ac_File
15366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15367
$as_echo "$ac_res" >&6; }
15368
eval as_val=\$$as_ac_File
15369
if test "x$as_val" = x""yes; then :
15372
as_fn_error "OSM: could not find $with_osm/include/opensm/osm_config.h" "$LINENO" 5
15376
grep '#define OSM_DEBUG 1' $osm_include_dir/opensm/osm_config.h > /dev/null
15377
if test $? -eq 0 ; then
15378
osm_debug_flags='-DDEBUG -D_DEBUG -D_DEBUG_ -DDBG'
15379
{ $as_echo "$as_me:${as_lineno-$LINENO}: OSM: compiled in DEBUG mode" >&5
15380
$as_echo "$as_me: OSM: compiled in DEBUG mode" >&6;}
15385
OSM_CFLAGS="-I$osm_include_dir $osm_extra_includes $osm_debug_flags $osm_vendor_sel -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1"
15388
OSM_CLFAGS=disabled
15389
OSM_LDFLAGS=disabled
15390
OSM_VEDNOR=disabled
15394
if test "x$OSM_VENDOR" = xts; then
15395
OSM_VENDOR_TS_TRUE=
15396
OSM_VENDOR_TS_FALSE='#'
15398
OSM_VENDOR_TS_TRUE='#'
15399
OSM_VENDOR_TS_FALSE=
15402
if test "x$OSM_VENDOR" = xmtl; then
15403
OSM_VENDOR_MTL_TRUE=
15404
OSM_VENDOR_MTL_FALSE='#'
15406
OSM_VENDOR_MTL_TRUE='#'
15407
OSM_VENDOR_MTL_FALSE=
15410
if test "x$OSM_VENDOR" = xsim; then
15411
OSM_VENDOR_SIM_TRUE=
15412
OSM_VENDOR_SIM_FALSE='#'
15414
OSM_VENDOR_SIM_TRUE='#'
15415
OSM_VENDOR_SIM_FALSE=
15418
if test "x$OSM_BUILD" = xopenib; then
15419
OSM_BUILD_OPENIB_TRUE=
15420
OSM_BUILD_OPENIB_FALSE='#'
15422
OSM_BUILD_OPENIB_TRUE='#'
15423
OSM_BUILD_OPENIB_FALSE=
15433
# --- OPENIB_APP_OSM ---
15436
ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile doc/Makefile"
15438
cat >confcache <<\_ACEOF
15439
# This file is a shell script that caches the results of configure
15440
# tests run on this system so they can be shared between configure
15441
# scripts and configure runs, see configure's option --config-cache.
15442
# It is not useful on other systems. If it contains results you don't
15443
# want to keep, you may remove or edit it.
15445
# config.status only pays attention to the cache file if you give it
15446
# the --recheck option to rerun configure.
15448
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15449
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15450
# following values.
15454
# The following way of writing the cache mishandles newlines in values,
15455
# but we know of no workaround that is simple, portable, and efficient.
15456
# So, we kill variables containing newlines.
15457
# Ultrix sh set writes to stderr and can't be redirected directly,
15458
# and sets the high bit in the cache file unless we assign to the vars.
15460
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15461
eval ac_val=\$$ac_var
15465
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15466
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15469
_ | IFS | as_nl) ;; #(
15470
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15471
*) { eval $ac_var=; unset $ac_var;} ;;
15477
case $as_nl`(ac_space=' '; set) 2>&1` in #(
15478
*${as_nl}ac_space=\ *)
15479
# `set' does not quote correctly, so add quotes: double-quote
15480
# substitution turns \\\\ into \\, and sed turns \\ into \.
15483
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15486
# `set' quotes correctly as required by POSIX, so do not add quotes.
15487
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15496
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15498
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15500
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15501
if test -w "$cache_file"; then
15502
test "x$cache_file" != "x/dev/null" &&
15503
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15504
$as_echo "$as_me: updating cache $cache_file" >&6;}
15505
cat confcache >$cache_file
15507
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15508
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15513
test "x$prefix" = xNONE && prefix=$ac_default_prefix
15514
# Let make expand exec_prefix.
15515
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15517
DEFS=-DHAVE_CONFIG_H
15521
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15522
# 1. Remove the extension, and $U if already installed.
15523
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15524
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15525
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15526
# will be set to the directory where LIBOBJS objects are built.
15527
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15528
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15530
LIB@&t@OBJS=$ac_libobjs
15532
LTLIBOBJS=$ac_ltlibobjs
15535
if test -n "$EXEEXT"; then
15537
am__EXEEXT_FALSE='#'
15539
am__EXEEXT_TRUE='#'
15543
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15544
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
15545
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15547
if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
15548
as_fn_error "conditional \"HAS_SWIG\" was never defined.
15549
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15551
if test -z "${HAS_SWIG_TRUE}" && test -z "${HAS_SWIG_FALSE}"; then
15552
as_fn_error "conditional \"HAS_SWIG\" was never defined.
15553
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15555
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15556
as_fn_error "conditional \"AMDEP\" was never defined.
15557
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15559
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15560
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
15561
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15563
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15564
as_fn_error "conditional \"am__fastdepCC\" was never defined.
15565
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15567
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15568
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
15569
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15571
if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
15572
as_fn_error "conditional \"DEBUG\" was never defined.
15573
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15575
if test -z "${OSM_VENDOR_TS_TRUE}" && test -z "${OSM_VENDOR_TS_FALSE}"; then
15576
as_fn_error "conditional \"OSM_VENDOR_TS\" was never defined.
15577
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15579
if test -z "${OSM_VENDOR_MTL_TRUE}" && test -z "${OSM_VENDOR_MTL_FALSE}"; then
15580
as_fn_error "conditional \"OSM_VENDOR_MTL\" was never defined.
15581
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15583
if test -z "${OSM_VENDOR_SIM_TRUE}" && test -z "${OSM_VENDOR_SIM_FALSE}"; then
15584
as_fn_error "conditional \"OSM_VENDOR_SIM\" was never defined.
15585
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15587
if test -z "${OSM_BUILD_OPENIB_TRUE}" && test -z "${OSM_BUILD_OPENIB_FALSE}"; then
15588
as_fn_error "conditional \"OSM_BUILD_OPENIB\" was never defined.
15589
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15592
: ${CONFIG_STATUS=./config.status}
15594
ac_clean_files_save=$ac_clean_files
15595
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15596
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15597
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15599
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15601
# Generated by $as_me.
15602
# Run this file to recreate the current configuration.
15603
# Compiler output produced by configure, useful for debugging
15604
# configure, is in config.log if it exists.
15607
ac_cs_recheck=false
15610
SHELL=\${CONFIG_SHELL-$SHELL}
15613
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15614
## -------------------- ##
15615
## M4sh Initialization. ##
15616
## -------------------- ##
15618
# Be more Bourne compatible
15619
DUALCASE=1; export DUALCASE # for MKS sh
15620
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15623
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15624
# is contrary to our usage. Disable this feature.
15625
alias -g '${1+"$@"}'='"$@"'
15626
setopt NO_GLOB_SUBST
15628
case `(set -o) 2>/dev/null` in @%:@(
15630
set -o posix ;; @%:@(
15640
# Printing a long string crashes Solaris 7 /usr/bin/printf.
15641
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15642
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15643
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15644
# Prefer a ksh shell builtin over an external printf program on Solaris,
15645
# but without wasting forks for bash or zsh.
15646
if test -z "$BASH_VERSION$ZSH_VERSION" \
15647
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15648
as_echo='print -r --'
15649
as_echo_n='print -rn --'
15650
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15651
as_echo='printf %s\n'
15652
as_echo_n='printf %s'
15654
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15655
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15656
as_echo_n='/usr/ucb/echo -n'
15658
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15659
as_echo_n_body='eval
15663
expr "X$arg" : "X\\(.*\\)$as_nl";
15664
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15666
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15668
export as_echo_n_body
15669
as_echo_n='sh -c $as_echo_n_body as_echo'
15671
export as_echo_body
15672
as_echo='sh -c $as_echo_body as_echo'
15675
# The user is always right.
15676
if test "${PATH_SEPARATOR+set}" != set; then
15678
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15679
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15686
# We need space, tab and new line, in precisely that order. Quoting is
15687
# there to prevent editors from complaining about space-tab.
15688
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15689
# splitting by setting IFS to empty value.)
15692
# Find who we are. Look in the path if we contain no directory separator.
15694
*[\\/]* ) as_myself=$0 ;;
15695
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15696
for as_dir in $PATH
15699
test -z "$as_dir" && as_dir=.
15700
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15706
# We did not find ourselves, most probably we were run as `sh COMMAND'
15707
# in which case we are not to be found in the path.
15708
if test "x$as_myself" = x; then
15711
if test ! -f "$as_myself"; then
15712
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15716
# Unset variables that we do not need and which cause bugs (e.g. in
15717
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15718
# suppresses any "Segmentation fault" message there. '((' could
15719
# trigger a bug in pdksh 5.2.14.
15720
for as_var in BASH_ENV ENV MAIL MAILPATH
15721
do eval test x\${$as_var+set} = xset \
15722
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15735
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15738
@%:@ as_fn_error ERROR [LINENO LOG_FD]
15739
@%:@ ---------------------------------
15740
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15741
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15742
@%:@ script with status @S|@?, using 1 if that was 0.
15745
as_status=$?; test $as_status -eq 0 && as_status=1
15747
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15748
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15750
$as_echo "$as_me: error: $1" >&2
15751
as_fn_exit $as_status
15755
@%:@ as_fn_set_status STATUS
15756
@%:@ -----------------------
15757
@%:@ Set @S|@? to STATUS, without forking.
15758
as_fn_set_status ()
15761
} @%:@ as_fn_set_status
15763
@%:@ as_fn_exit STATUS
15764
@%:@ -----------------
15765
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15769
as_fn_set_status $1
15773
@%:@ as_fn_unset VAR
15774
@%:@ ---------------
15775
@%:@ Portably unset VAR.
15778
{ eval $1=; unset $1;}
15780
as_unset=as_fn_unset
15781
@%:@ as_fn_append VAR VALUE
15782
@%:@ ----------------------
15783
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
15784
@%:@ advantage of any shell optimizations that allow amortized linear growth over
15785
@%:@ repeated appends, instead of the typical quadratic growth present in naive
15786
@%:@ implementations.
15787
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15788
eval 'as_fn_append ()
15799
@%:@ as_fn_arith ARG...
15800
@%:@ ------------------
15801
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
15802
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
15803
@%:@ must be portable across @S|@(()) and expr.
15804
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15805
eval 'as_fn_arith ()
15812
as_val=`expr "$@" || test $? -eq 1`
15817
if expr a : '\(a\)' >/dev/null 2>&1 &&
15818
test "X`expr 00001 : '.*\(...\)'`" = X001; then
15824
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15825
as_basename=basename
15830
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15836
as_me=`$as_basename -- "$0" ||
15837
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15838
X"$0" : 'X\(//\)$' \| \
15839
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15841
sed '/^.*\/\([^/][^/]*\)\/*$/{
15855
# Avoid depending upon Character Ranges.
15856
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15857
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15858
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15859
as_cr_digits='0123456789'
15860
as_cr_alnum=$as_cr_Letters$as_cr_digits
15862
ECHO_C= ECHO_N= ECHO_T=
15863
case `echo -n x` in @%:@(((((
15865
case `echo 'xy\c'` in
15866
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
15868
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15875
rm -f conf$$ conf$$.exe conf$$.file
15876
if test -d conf$$.dir; then
15877
rm -f conf$$.dir/conf$$.file
15880
mkdir conf$$.dir 2>/dev/null
15882
if (echo >conf$$.file) 2>/dev/null; then
15883
if ln -s conf$$.file conf$$ 2>/dev/null; then
15885
# ... but there are two gotchas:
15886
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15887
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15888
# In both cases, we have to default to `cp -p'.
15889
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15891
elif ln conf$$.file conf$$ 2>/dev/null; then
15899
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15900
rmdir conf$$.dir 2>/dev/null
15905
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
15910
-*) as_dir=./$as_dir;;
15912
test -d "$as_dir" || eval $as_mkdir_p || {
15916
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15917
*) as_qdir=$as_dir;;
15919
as_dirs="'$as_qdir' $as_dirs"
15920
as_dir=`$as_dirname -- "$as_dir" ||
15921
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15922
X"$as_dir" : 'X\(//\)[^/]' \| \
15923
X"$as_dir" : 'X\(//\)$' \| \
15924
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15925
$as_echo X"$as_dir" |
15926
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15930
/^X\(\/\/\)[^/].*/{
15943
test -d "$as_dir" && break
15945
test -z "$as_dirs" || eval "mkdir $as_dirs"
15946
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
15949
} @%:@ as_fn_mkdir_p
15950
if mkdir -p . 2>/dev/null; then
15951
as_mkdir_p='mkdir -p "$as_dir"'
15953
test -d ./-p && rmdir ./-p
15957
if test -x / >/dev/null 2>&1; then
15958
as_test_x='test -x'
15960
if ls -dL / >/dev/null 2>&1; then
15967
if test -d "$1"; then
15973
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
15974
???[sx]*):;;*)false;;esac;fi
15978
as_executable_p=$as_test_x
15980
# Sed expression to map a string onto a valid CPP name.
15981
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15983
# Sed expression to map a string onto a valid variable name.
15984
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15988
## ----------------------------------- ##
15989
## Main body of $CONFIG_STATUS script. ##
15990
## ----------------------------------- ##
15992
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15994
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15995
# Save the log message, to keep $0 and so on meaningful, and to
15996
# report actual input values of CONFIG_FILES etc. instead of their
15997
# values after options handling.
15999
This file was extended by ibis $as_me 1.5.7, which was
16000
generated by GNU Autoconf 2.65. Invocation command line was
16002
CONFIG_FILES = $CONFIG_FILES
16003
CONFIG_HEADERS = $CONFIG_HEADERS
16004
CONFIG_LINKS = $CONFIG_LINKS
16005
CONFIG_COMMANDS = $CONFIG_COMMANDS
16008
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16013
case $ac_config_files in *"
16014
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16017
case $ac_config_headers in *"
16018
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16022
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16023
# Files that config.status was made for.
16024
config_files="$ac_config_files"
16025
config_headers="$ac_config_headers"
16026
config_commands="$ac_config_commands"
16030
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16032
\`$as_me' instantiates files and other configuration actions
16033
from templates according to the current configuration. Unless the files
16034
and actions are specified as TAGs, all are instantiated by default.
16036
Usage: $0 [OPTION]... [TAG]...
16038
-h, --help print this help, then exit
16039
-V, --version print version number and configuration settings, then exit
16040
--config print configuration, then exit
16041
-q, --quiet, --silent
16042
do not print progress messages
16043
-d, --debug don't remove temporary files
16044
--recheck update $as_me by reconfiguring in the same conditions
16045
--file=FILE[:TEMPLATE]
16046
instantiate the configuration file FILE
16047
--header=FILE[:TEMPLATE]
16048
instantiate the configuration header FILE
16050
Configuration files:
16053
Configuration headers:
16056
Configuration commands:
16059
Report bugs to the package provider."
16062
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16063
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16065
ibis config.status 1.5.7
16066
configured by $0, generated by GNU Autoconf 2.65,
16067
with options \\"\$ac_cs_config\\"
16069
Copyright (C) 2009 Free Software Foundation, Inc.
16070
This config.status script is free software; the Free Software Foundation
16071
gives unlimited permission to copy, distribute and modify it."
16078
test -n "\$AWK" || AWK=awk
16081
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16082
# The default lists apply if the user does not specify any file.
16088
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16089
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16100
# Handling of the options.
16101
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16103
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16104
$as_echo "$ac_cs_version"; exit ;;
16105
--config | --confi | --conf | --con | --co | --c )
16106
$as_echo "$ac_cs_config"; exit ;;
16107
--debug | --debu | --deb | --de | --d | -d )
16109
--file | --fil | --fi | --f )
16112
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16114
as_fn_append CONFIG_FILES " '$ac_optarg'"
16115
ac_need_defaults=false;;
16116
--header | --heade | --head | --hea )
16119
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16121
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16122
ac_need_defaults=false;;
16124
# Conflict between --help and --header
16125
as_fn_error "ambiguous option: \`$1'
16126
Try \`$0 --help' for more information.";;
16127
--help | --hel | -h )
16128
$as_echo "$ac_cs_usage"; exit ;;
16129
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
16130
| -silent | --silent | --silen | --sile | --sil | --si | --s)
16133
# This is an error.
16134
-*) as_fn_error "unrecognized option: \`$1'
16135
Try \`$0 --help' for more information." ;;
16137
*) as_fn_append ac_config_targets " $1"
16138
ac_need_defaults=false ;;
16144
ac_configure_extra_args=
16146
if $ac_cs_silent; then
16148
ac_configure_extra_args="$ac_configure_extra_args --silent"
16152
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16153
if \$ac_cs_recheck; then
16154
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16156
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16157
CONFIG_SHELL='$SHELL'
16158
export CONFIG_SHELL
16163
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16167
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
16168
@%:@@%:@ Running $as_me. @%:@@%:@
16174
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16178
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16181
# The HP-UX ksh and POSIX shell print the target directory to stdout
16182
# if CDPATH is set.
16183
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16185
sed_quote_subst='$sed_quote_subst'
16186
double_quote_subst='$double_quote_subst'
16187
delay_variable_subst='$delay_variable_subst'
16188
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16189
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16190
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16191
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16192
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16193
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16194
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16195
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16196
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16197
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16198
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16199
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16200
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16201
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16202
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16203
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16204
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16205
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16206
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16207
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16208
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16209
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16210
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16211
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16212
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16213
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16214
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16215
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16216
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16217
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16218
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16219
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16220
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16221
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16222
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16223
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16224
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16225
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16226
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16227
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16228
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16229
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16230
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16231
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16232
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16233
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16234
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16235
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16236
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16237
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16238
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16239
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16240
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16241
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16242
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16243
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16244
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16245
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16246
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16247
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16248
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16249
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16250
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16251
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16252
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16253
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16254
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16255
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16256
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16257
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16258
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16259
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16260
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16261
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16262
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16263
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16264
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16265
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16266
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16267
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16268
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16269
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16270
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16271
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16272
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16273
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16274
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16275
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16276
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16277
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16278
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16279
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16280
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16281
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16282
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16283
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16284
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16285
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16286
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16287
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16288
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16289
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16290
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16291
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16292
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16293
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16294
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16295
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16296
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16297
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16298
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16299
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16300
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16301
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16302
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16303
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16304
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16305
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16306
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16307
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16308
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16309
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16310
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16311
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16312
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16313
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16314
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16315
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16316
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16317
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16318
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16319
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16320
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16321
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16322
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16323
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16324
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16325
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16326
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16327
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16328
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16329
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16330
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16331
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16332
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16333
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16334
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16335
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16336
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16337
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16338
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16339
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16340
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16341
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16342
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16343
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16344
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16345
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16346
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16347
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16348
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16349
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16350
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16351
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16352
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16353
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16354
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16355
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16356
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16357
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16358
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16361
LTCFLAGS='$LTCFLAGS'
16362
compiler='$compiler_DEFAULT'
16364
# Quote evaled strings.
16376
deplibs_check_method \
16385
lt_cv_sys_global_symbol_pipe \
16386
lt_cv_sys_global_symbol_to_cdecl \
16387
lt_cv_sys_global_symbol_to_c_name_address \
16388
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16391
lt_prog_compiler_no_builtin_flag \
16392
lt_prog_compiler_wl \
16393
lt_prog_compiler_pic \
16394
lt_prog_compiler_static \
16395
lt_cv_prog_compiler_c_o \
16403
export_dynamic_flag_spec \
16404
whole_archive_flag_spec \
16405
compiler_needs_object \
16407
allow_undefined_flag \
16408
no_undefined_flag \
16409
hardcode_libdir_flag_spec \
16410
hardcode_libdir_flag_spec_ld \
16411
hardcode_libdir_separator \
16416
variables_saved_for_relink \
16418
library_names_spec \
16423
compiler_lib_search_dirs \
16428
compiler_lib_search_path \
16431
lt_prog_compiler_no_builtin_flag_CXX \
16432
lt_prog_compiler_wl_CXX \
16433
lt_prog_compiler_pic_CXX \
16434
lt_prog_compiler_static_CXX \
16435
lt_cv_prog_compiler_c_o_CXX \
16436
export_dynamic_flag_spec_CXX \
16437
whole_archive_flag_spec_CXX \
16438
compiler_needs_object_CXX \
16440
allow_undefined_flag_CXX \
16441
no_undefined_flag_CXX \
16442
hardcode_libdir_flag_spec_CXX \
16443
hardcode_libdir_flag_spec_ld_CXX \
16444
hardcode_libdir_separator_CXX \
16445
fix_srcfile_path_CXX \
16446
exclude_expsyms_CXX \
16447
include_expsyms_CXX \
16448
file_list_spec_CXX \
16449
compiler_lib_search_dirs_CXX \
16450
predep_objects_CXX \
16451
postdep_objects_CXX \
16454
compiler_lib_search_path_CXX; do
16455
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16456
*[\\\\\\\`\\"\\\$]*)
16457
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16460
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16465
# Double-quote double-evaled strings.
16466
for var in reload_cmds \
16467
old_postinstall_cmds \
16468
old_postuninstall_cmds \
16470
extract_expsyms_cmds \
16471
old_archive_from_new_cmds \
16472
old_archive_from_expsyms_cmds \
16474
archive_expsym_cmds \
16476
module_expsym_cmds \
16477
export_symbols_cmds \
16480
postuninstall_cmds \
16482
sys_lib_search_path_spec \
16483
sys_lib_dlsearch_path_spec \
16484
old_archive_cmds_CXX \
16485
old_archive_from_new_cmds_CXX \
16486
old_archive_from_expsyms_cmds_CXX \
16488
archive_expsym_cmds_CXX \
16490
module_expsym_cmds_CXX \
16491
export_symbols_cmds_CXX \
16492
prelink_cmds_CXX; do
16493
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16494
*[\\\\\\\`\\"\\\$]*)
16495
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16498
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16503
# Fix-up fallback echo if it was mangled by the above quoting rules.
16505
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16509
ac_aux_dir='$ac_aux_dir'
16510
xsi_shell='$xsi_shell'
16511
lt_shell_append='$lt_shell_append'
16513
# See if we are running on zsh, and set the options which allow our
16514
# commands through without removal of \ escapes INIT.
16515
if test -n "\${ZSH_VERSION+set}" ; then
16516
setopt NO_GLOB_SUBST
16522
TIMESTAMP='$TIMESTAMP'
16533
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16535
# Handling of arguments.
16536
for ac_config_target in $ac_config_targets
16538
case $ac_config_target in
16539
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16540
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16541
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16542
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16543
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16544
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16545
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16547
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16552
# If the user did not use the arguments to specify the items to instantiate,
16553
# then the envvar interface is used. Set only those that are not.
16554
# We use the long form for the default assignment because of an extremely
16555
# bizarre bug on SunOS 4.1.3.
16556
if $ac_need_defaults; then
16557
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16558
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16559
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16562
# Have a temporary directory for convenience. Make it in the build tree
16563
# simply because there is no reason against having it here, and in addition,
16564
# creating and moving files from /tmp can sometimes cause problems.
16565
# Hook for its removal unless debugging.
16566
# Note that there is a small window in which the directory will not be cleaned:
16567
# after its creation but before its name has been assigned to `$tmp'.
16571
trap 'exit_status=$?
16572
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16574
trap 'as_fn_exit 1' 1 2 13 15
16576
# Create a (secure) tmp directory for tmp files.
16579
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16580
test -n "$tmp" && test -d "$tmp"
16583
tmp=./conf$$-$RANDOM
16584
(umask 077 && mkdir "$tmp")
16585
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
16587
# Set up the scripts for CONFIG_FILES section.
16588
# No need to generate them if there are no CONFIG_FILES.
16589
# This happens for instance with `./config.status config.h'.
16590
if test -n "$CONFIG_FILES"; then
16593
ac_cr=`echo X | tr X '\015'`
16594
# On cygwin, bash can eat \r inside `` if the user requested igncr.
16595
# But we know of no other shell where ac_cr would be empty at this
16596
# point, so we can use a bashism as a fallback.
16597
if test "x$ac_cr" = x; then
16598
eval ac_cr=\$\'\\r\'
16600
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16601
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16604
ac_cs_awk_cr=$ac_cr
16607
echo 'BEGIN {' >"$tmp/subs1.awk" &&
16612
echo "cat >conf$$subs.awk <<_ACEOF" &&
16613
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16615
} >conf$$subs.sh ||
16616
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16617
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
16619
for ac_last_try in false false false false false :; do
16620
. ./conf$$subs.sh ||
16621
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16623
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16624
if test $ac_delim_n = $ac_delim_num; then
16626
elif $ac_last_try; then
16627
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
16629
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16632
rm -f conf$$subs.sh
16634
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16635
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16639
s/^/S["/; s/!.*/"]=/
16649
s/\(.\{148\}\)..*/\1/
16651
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16656
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16663
s/\(.\{148\}\)..*/\1/
16665
s/["\\]/\\&/g; s/^/"/; s/$/"/
16669
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16674
' <conf$$subs.awk | sed '
16679
' >>$CONFIG_STATUS || ac_write_fail=1
16680
rm -f conf$$subs.awk
16681
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16683
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16684
for (key in S) S_is_set[key] = 1
16690
nfields = split(line, field, "@")
16692
len = length(field[1])
16693
for (i = 2; i < nfields; i++) {
16695
keylen = length(key)
16696
if (S_is_set[key]) {
16698
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16699
len += length(value) + length(field[++i])
16710
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16711
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16712
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16715
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16716
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
16719
# VPATH may cause trouble with some makes, so we remove $(srcdir),
16720
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
16721
# trailing colons and then remove the whole line if VPATH becomes empty
16722
# (actually we leave an empty line to preserve line numbers).
16723
if test "x$srcdir" = x.; then
16724
ac_vpsub='/^[ ]*VPATH[ ]*=/{
16725
s/:*\$(srcdir):*/:/
16726
s/:*\${srcdir}:*/:/
16728
s/^\([^=]*=[ ]*\):*/\1/
16734
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16735
fi # test -n "$CONFIG_FILES"
16737
# Set up the scripts for CONFIG_HEADERS section.
16738
# No need to generate them if there are no CONFIG_HEADERS.
16739
# This happens for instance with `./config.status Makefile'.
16740
if test -n "$CONFIG_HEADERS"; then
16741
cat >"$tmp/defines.awk" <<\_ACAWK ||
16745
# Transform confdefs.h into an awk script `defines.awk', embedded as
16746
# here-document in config.status, that substitutes the proper values into
16747
# config.h.in to produce config.h.
16749
# Create a delimiter string that does not exist in confdefs.h, to ease
16750
# handling of long lines.
16752
for ac_last_try in false false :; do
16753
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16754
if test -z "$ac_t"; then
16756
elif $ac_last_try; then
16757
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
16759
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16763
# For the awk script, D is an array of macro values keyed by name,
16764
# likewise P contains macro parameters if any. Preserve backslash
16765
# newline sequences.
16767
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16769
s/.\{148\}/&'"$ac_delim"'/g
16772
s/^[ ]*#[ ]*define[ ][ ]*/ /
16779
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16781
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16785
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16786
D["\1"]=" \3\\\\\\n"\\/p
16788
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16793
s/.\{148\}/&'"$ac_delim"'/g
16798
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16801
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16803
' <confdefs.h | sed '
16804
s/'"$ac_delim"'/"\\\
16805
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16807
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16808
for (key in D) D_is_set[key] = 1
16811
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16813
split(line, arg, " ")
16814
if (arg[1] == "#") {
16818
defundef = substr(arg[1], 2)
16821
split(mac1, mac2, "(") #)
16823
prefix = substr(line, 1, index(line, defundef) - 1)
16824
if (D_is_set[macro]) {
16825
# Preserve the white space surrounding the "#".
16826
print prefix "define", macro P[macro] D[macro]
16829
# Replace #undef with comments. This is necessary, for example,
16830
# in the case of _POSIX_SOURCE, which is predefined and required
16831
# on some systems where configure will not decide to define it.
16832
if (defundef == "undef") {
16833
print "/*", prefix defundef, macro, "*/"
16841
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16842
as_fn_error "could not setup config headers machinery" "$LINENO" 5
16843
fi # test -n "$CONFIG_HEADERS"
16846
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16851
:[FHLC]) ac_mode=$ac_tag; continue;;
16853
case $ac_mode$ac_tag in
16855
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
16856
:[FH]-) ac_tag=-:-;;
16857
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16874
-) ac_f="$tmp/stdin";;
16875
*) # Look for the file first in the build tree, then in the source tree
16876
# (if the path is not absolute). The absolute path cannot be DOS-style,
16877
# because $ac_f cannot contain `:'.
16881
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16883
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16885
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16886
as_fn_append ac_file_inputs " '$ac_f'"
16889
# Let's still pretend it is `configure' which instantiates (i.e., don't
16890
# use $as_me), people would be surprised to read:
16891
# /* config.h. Generated by config.status. */
16892
configure_input='Generated from '`
16893
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16895
if test x"$ac_file" != x-; then
16896
configure_input="$ac_file. $configure_input"
16897
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16898
$as_echo "$as_me: creating $ac_file" >&6;}
16900
# Neutralize special characters interpreted by sed in replacement strings.
16901
case $configure_input in #(
16902
*\&* | *\|* | *\\* )
16903
ac_sed_conf_input=`$as_echo "$configure_input" |
16904
sed 's/[\\\\&|]/\\\\&/g'`;; #(
16905
*) ac_sed_conf_input=$configure_input;;
16909
*:-:* | *:-) cat >"$tmp/stdin" \
16910
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
16915
ac_dir=`$as_dirname -- "$ac_file" ||
16916
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16917
X"$ac_file" : 'X\(//\)[^/]' \| \
16918
X"$ac_file" : 'X\(//\)$' \| \
16919
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16920
$as_echo X"$ac_file" |
16921
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16925
/^X\(\/\/\)[^/].*/{
16938
as_dir="$ac_dir"; as_fn_mkdir_p
16942
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16944
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16945
# A ".." for each directory in $ac_dir_suffix.
16946
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16947
case $ac_top_builddir_sub in
16948
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16949
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16952
ac_abs_top_builddir=$ac_pwd
16953
ac_abs_builddir=$ac_pwd$ac_dir_suffix
16954
# for backward compatibility:
16955
ac_top_builddir=$ac_top_build_prefix
16958
.) # We are building in place.
16960
ac_top_srcdir=$ac_top_builddir_sub
16961
ac_abs_top_srcdir=$ac_pwd ;;
16962
[\\/]* | ?:[\\/]* ) # Absolute name.
16963
ac_srcdir=$srcdir$ac_dir_suffix;
16964
ac_top_srcdir=$srcdir
16965
ac_abs_top_srcdir=$srcdir ;;
16966
*) # Relative name.
16967
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16968
ac_top_srcdir=$ac_top_build_prefix$srcdir
16969
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16971
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16981
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16982
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16984
ac_MKDIR_P=$MKDIR_P
16986
[\\/$]* | ?:[\\/]* ) ;;
16987
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16991
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16992
# If the template does not know about datarootdir, expand it.
16993
# FIXME: This hack should be removed a few years after 2.60.
16994
ac_datarootdir_hack=; ac_datarootdir_seen=
17005
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17006
*datarootdir*) ac_datarootdir_seen=yes;;
17007
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17008
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17009
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17011
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17012
ac_datarootdir_hack='
17013
s&@datadir@&$datadir&g
17014
s&@docdir@&$docdir&g
17015
s&@infodir@&$infodir&g
17016
s&@localedir@&$localedir&g
17017
s&@mandir@&$mandir&g
17018
s&\\\${datarootdir}&$datarootdir&g' ;;
17022
# Neutralize VPATH when `$srcdir' = `.'.
17023
# Shell code in configure.ac might set extrasub.
17024
# FIXME: do we really want to maintain this feature?
17025
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17026
ac_sed_extra="$ac_vpsub
17029
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17031
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17032
s|@configure_input@|$ac_sed_conf_input|;t t
17033
s&@top_builddir@&$ac_top_builddir_sub&;t t
17034
s&@top_build_prefix@&$ac_top_build_prefix&;t t
17035
s&@srcdir@&$ac_srcdir&;t t
17036
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17037
s&@top_srcdir@&$ac_top_srcdir&;t t
17038
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17039
s&@builddir@&$ac_builddir&;t t
17040
s&@abs_builddir@&$ac_abs_builddir&;t t
17041
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17042
s&@INSTALL@&$ac_INSTALL&;t t
17043
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17044
$ac_datarootdir_hack
17046
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17047
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17049
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17050
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17051
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17052
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17053
which seems to be undefined. Please make sure it is defined." >&5
17054
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17055
which seems to be undefined. Please make sure it is defined." >&2;}
17059
-) cat "$tmp/out" && rm -f "$tmp/out";;
17060
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17062
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17068
if test x"$ac_file" != x-; then
17070
$as_echo "/* $configure_input */" \
17071
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17072
} >"$tmp/config.h" \
17073
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17074
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17075
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17076
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17079
mv "$tmp/config.h" "$ac_file" \
17080
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17083
$as_echo "/* $configure_input */" \
17084
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17085
|| as_fn_error "could not create -" "$LINENO" 5
17087
# Compute "$ac_file"'s index in $config_headers.
17090
for _am_header in $config_headers :; do
17091
case $_am_header in
17092
$_am_arg | $_am_arg:* )
17095
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
17098
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17099
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17100
X"$_am_arg" : 'X\(//\)[^/]' \| \
17101
X"$_am_arg" : 'X\(//\)$' \| \
17102
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17103
$as_echo X"$_am_arg" |
17104
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17108
/^X\(\/\/\)[^/].*/{
17120
s/.*/./; q'`/stamp-h$_am_stamp_count
17123
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17124
$as_echo "$as_me: executing $ac_file commands" >&6;}
17129
case $ac_file$ac_mode in
17130
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17131
# Autoconf 2.62 quotes --file arguments for eval, but not when files
17132
# are listed without --file. Let's play safe and only enable the eval
17133
# if we detect the quoting.
17134
case $CONFIG_FILES in
17135
*\'*) eval set x "$CONFIG_FILES" ;;
17136
*) set x $CONFIG_FILES ;;
17141
# Strip MF so we end up with the name of the file.
17142
mf=`echo "$mf" | sed -e 's/:.*$//'`
17143
# Check whether this is an Automake generated Makefile or not.
17144
# We used to match only the files named `Makefile.in', but
17145
# some people rename them; so instead we look at the file content.
17146
# Grep'ing the first line is not enough: some people post-process
17147
# each Makefile.in and add a new line on top of each file to say so.
17148
# Grep'ing the whole file is not good either: AIX grep has a line
17149
# limit of 2048, but all sed's we know have understand at least 4000.
17150
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17151
dirpart=`$as_dirname -- "$mf" ||
17152
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17153
X"$mf" : 'X\(//\)[^/]' \| \
17154
X"$mf" : 'X\(//\)$' \| \
17155
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17157
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17161
/^X\(\/\/\)[^/].*/{
17177
# Extract the definition of DEPDIR, am__include, and am__quote
17178
# from the Makefile without running `make'.
17179
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17180
test -z "$DEPDIR" && continue
17181
am__include=`sed -n 's/^am__include = //p' < "$mf"`
17182
test -z "am__include" && continue
17183
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17184
# When using ansi2knr, U may be empty or an underscore; expand it
17185
U=`sed -n 's/^U = //p' < "$mf"`
17186
# Find all dependency output files, they are included files with
17187
# $(DEPDIR) in their names. We invoke sed twice because it is the
17188
# simplest approach to changing $(DEPDIR) to its actual value in the
17190
for file in `sed -n "
17191
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17192
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17193
# Make sure the directory exists.
17194
test -f "$dirpart/$file" && continue
17195
fdir=`$as_dirname -- "$file" ||
17196
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17197
X"$file" : 'X\(//\)[^/]' \| \
17198
X"$file" : 'X\(//\)$' \| \
17199
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17200
$as_echo X"$file" |
17201
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17205
/^X\(\/\/\)[^/].*/{
17218
as_dir=$dirpart/$fdir; as_fn_mkdir_p
17219
# echo "creating $dirpart/$file"
17220
echo '# dummy' > "$dirpart/$file"
17227
# See if we are running on zsh, and set the options which allow our
17228
# commands through without removal of \ escapes.
17229
if test -n "${ZSH_VERSION+set}" ; then
17230
setopt NO_GLOB_SUBST
17233
cfgfile="${ofile}T"
17234
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17237
cat <<_LT_EOF >> "$cfgfile"
17240
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17241
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17242
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17243
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17245
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17246
# 2006, 2007, 2008 Free Software Foundation, Inc.
17247
# Written by Gordon Matzigkeit, 1996
17249
# This file is part of GNU Libtool.
17251
# GNU Libtool is free software; you can redistribute it and/or
17252
# modify it under the terms of the GNU General Public License as
17253
# published by the Free Software Foundation; either version 2 of
17254
# the License, or (at your option) any later version.
17256
# As a special exception to the GNU General Public License,
17257
# if you distribute this file as part of a program or library that
17258
# is built using GNU Libtool, you may include this file under the
17259
# same distribution terms that you use for the rest of that program.
17261
# GNU Libtool is distributed in the hope that it will be useful,
17262
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17263
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17264
# GNU General Public License for more details.
17266
# You should have received a copy of the GNU General Public License
17267
# along with GNU Libtool; see the file COPYING. If not, a copy
17268
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17269
# obtained by writing to the Free Software Foundation, Inc.,
17270
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17273
# The names of the tagged configurations supported by this script.
17274
available_tags="CXX "
17276
# ### BEGIN LIBTOOL CONFIG
17278
# Which release of libtool.m4 was used?
17279
macro_version=$macro_version
17280
macro_revision=$macro_revision
17282
# Whether or not to build shared libraries.
17283
build_libtool_libs=$enable_shared
17285
# Whether or not to build static libraries.
17286
build_old_libs=$enable_static
17288
# What type of objects to build.
17291
# Whether or not to optimize for fast installation.
17292
fast_install=$enable_fast_install
17295
host_alias=$host_alias
17299
# The build system.
17300
build_alias=$build_alias
17304
# A sed program that does not truncate output.
17307
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17308
Xsed="\$SED -e 1s/^X//"
17310
# A grep program that handles long lines.
17316
# A literal string matcher.
17319
# A BSD- or MS-compatible name lister.
17322
# Whether we need soft or hard links.
17325
# What is the maximum length of a command?
17326
max_cmd_len=$max_cmd_len
17328
# Object file suffix (normally "o").
17331
# Executable file suffix (normally "").
17334
# whether the shell understands "unset".
17337
# turn spaces into newlines.
17340
# turn newlines into spaces.
17343
# How to create reloadable object files.
17344
reload_flag=$lt_reload_flag
17345
reload_cmds=$lt_reload_cmds
17347
# An object symbol dumper.
17348
OBJDUMP=$lt_OBJDUMP
17350
# Method to check whether dependent libraries are shared objects.
17351
deplibs_check_method=$lt_deplibs_check_method
17353
# Command to use when deplibs_check_method == "file_magic".
17354
file_magic_cmd=$lt_file_magic_cmd
17358
AR_FLAGS=$lt_AR_FLAGS
17360
# A symbol stripping program.
17363
# Commands used to install an old-style archive.
17365
old_postinstall_cmds=$lt_old_postinstall_cmds
17366
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17371
# LTCC compiler flags.
17372
LTCFLAGS=$lt_CFLAGS
17374
# Take the output of nm and produce a listing of raw symbols and C names.
17375
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17377
# Transform the output of nm in a proper C declaration.
17378
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17380
# Transform the output of nm in a C name address pair.
17381
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17383
# Transform the output of nm in a C name address pair when lib prefix is needed.
17384
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17386
# The name of the directory that contains temporary libtool files.
17389
# Shell to use when invoking shell scripts.
17392
# An echo program that does not interpret backslashes.
17395
# Used to examine libraries when file_magic_cmd begins with "file".
17396
MAGIC_CMD=$MAGIC_CMD
17398
# Must we lock files when doing compilation?
17399
need_locks=$lt_need_locks
17401
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17402
DSYMUTIL=$lt_DSYMUTIL
17404
# Tool to change global to local symbols on Mac OS X.
17407
# Tool to manipulate fat objects and archives on Mac OS X.
17410
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17413
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17414
OTOOL64=$lt_OTOOL64
17416
# Old archive suffix (normally "a").
17419
# Shared library suffix (normally ".so").
17420
shrext_cmds=$lt_shrext_cmds
17422
# The commands to extract the exported symbol list from a shared archive.
17423
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17425
# Variables whose values should be saved in libtool wrapper scripts and
17426
# restored at link time.
17427
variables_saved_for_relink=$lt_variables_saved_for_relink
17429
# Do we need the "lib" prefix for modules?
17430
need_lib_prefix=$need_lib_prefix
17432
# Do we need a version for libraries?
17433
need_version=$need_version
17435
# Library versioning type.
17436
version_type=$version_type
17438
# Shared library runtime path variable.
17439
runpath_var=$runpath_var
17441
# Shared library path variable.
17442
shlibpath_var=$shlibpath_var
17444
# Is shlibpath searched before the hard-coded library search path?
17445
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17447
# Format of library name prefix.
17448
libname_spec=$lt_libname_spec
17450
# List of archive names. First name is the real one, the rest are links.
17451
# The last name is the one that the linker finds with -lNAME
17452
library_names_spec=$lt_library_names_spec
17454
# The coded name of the library, if different from the real name.
17455
soname_spec=$lt_soname_spec
17457
# Command to use after installation of a shared archive.
17458
postinstall_cmds=$lt_postinstall_cmds
17460
# Command to use after uninstallation of a shared archive.
17461
postuninstall_cmds=$lt_postuninstall_cmds
17463
# Commands used to finish a libtool library installation in a directory.
17464
finish_cmds=$lt_finish_cmds
17466
# As "finish_cmds", except a single script fragment to be evaled but
17468
finish_eval=$lt_finish_eval
17470
# Whether we should hardcode library paths into libraries.
17471
hardcode_into_libs=$hardcode_into_libs
17473
# Compile-time system search path for libraries.
17474
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17476
# Run-time system search path for libraries.
17477
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17479
# Whether dlopen is supported.
17480
dlopen_support=$enable_dlopen
17482
# Whether dlopen of programs is supported.
17483
dlopen_self=$enable_dlopen_self
17485
# Whether dlopen of statically linked programs is supported.
17486
dlopen_self_static=$enable_dlopen_self_static
17488
# Commands to strip libraries.
17489
old_striplib=$lt_old_striplib
17490
striplib=$lt_striplib
17493
# The linker used to build libraries.
17496
# Commands used to build an old-style archive.
17497
old_archive_cmds=$lt_old_archive_cmds
17499
# A language specific compiler.
17502
# Is the compiler the GNU compiler?
17505
# Compiler flag to turn off builtin functions.
17506
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17508
# How to pass a linker flag through the compiler.
17509
wl=$lt_lt_prog_compiler_wl
17511
# Additional compiler flags for building library objects.
17512
pic_flag=$lt_lt_prog_compiler_pic
17514
# Compiler flag to prevent dynamic linking.
17515
link_static_flag=$lt_lt_prog_compiler_static
17517
# Does compiler simultaneously support -c and -o options?
17518
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17520
# Whether or not to add -lc for building shared libraries.
17521
build_libtool_need_lc=$archive_cmds_need_lc
17523
# Whether or not to disallow shared libs when runtime libs are static.
17524
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17526
# Compiler flag to allow reflexive dlopens.
17527
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17529
# Compiler flag to generate shared objects directly from archives.
17530
whole_archive_flag_spec=$lt_whole_archive_flag_spec
17532
# Whether the compiler copes with passing no objects directly.
17533
compiler_needs_object=$lt_compiler_needs_object
17535
# Create an old-style archive from a shared archive.
17536
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17538
# Create a temporary old-style archive to link instead of a shared archive.
17539
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17541
# Commands used to build a shared archive.
17542
archive_cmds=$lt_archive_cmds
17543
archive_expsym_cmds=$lt_archive_expsym_cmds
17545
# Commands used to build a loadable module if different from building
17546
# a shared archive.
17547
module_cmds=$lt_module_cmds
17548
module_expsym_cmds=$lt_module_expsym_cmds
17550
# Whether we are building with GNU ld or not.
17551
with_gnu_ld=$lt_with_gnu_ld
17553
# Flag that allows shared libraries with undefined symbols to be built.
17554
allow_undefined_flag=$lt_allow_undefined_flag
17556
# Flag that enforces no undefined symbols.
17557
no_undefined_flag=$lt_no_undefined_flag
17559
# Flag to hardcode \$libdir into a binary during linking.
17560
# This must work even if \$libdir does not exist
17561
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17563
# If ld is used when linking, flag to hardcode \$libdir into a binary
17564
# during linking. This must work even if \$libdir does not exist.
17565
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17567
# Whether we need a single "-rpath" flag with a separated argument.
17568
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17570
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17571
# DIR into the resulting binary.
17572
hardcode_direct=$hardcode_direct
17574
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17575
# DIR into the resulting binary and the resulting library dependency is
17576
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17577
# library is relocated.
17578
hardcode_direct_absolute=$hardcode_direct_absolute
17580
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17581
# into the resulting binary.
17582
hardcode_minus_L=$hardcode_minus_L
17584
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17585
# into the resulting binary.
17586
hardcode_shlibpath_var=$hardcode_shlibpath_var
17588
# Set to "yes" if building a shared library automatically hardcodes DIR
17589
# into the library and all subsequent libraries and executables linked
17591
hardcode_automatic=$hardcode_automatic
17593
# Set to yes if linker adds runtime paths of dependent libraries
17594
# to runtime path list.
17595
inherit_rpath=$inherit_rpath
17597
# Whether libtool must link a program against all its dependency libraries.
17598
link_all_deplibs=$link_all_deplibs
17600
# Fix the shell variable \$srcfile for the compiler.
17601
fix_srcfile_path=$lt_fix_srcfile_path
17603
# Set to "yes" if exported symbols are required.
17604
always_export_symbols=$always_export_symbols
17606
# The commands to list exported symbols.
17607
export_symbols_cmds=$lt_export_symbols_cmds
17609
# Symbols that should not be listed in the preloaded symbols.
17610
exclude_expsyms=$lt_exclude_expsyms
17612
# Symbols that must always be exported.
17613
include_expsyms=$lt_include_expsyms
17615
# Commands necessary for linking programs (against libraries) with templates.
17616
prelink_cmds=$lt_prelink_cmds
17618
# Specify filename containing input files.
17619
file_list_spec=$lt_file_list_spec
17621
# How to hardcode a shared library path into an executable.
17622
hardcode_action=$hardcode_action
17624
# The directories searched by this compiler when creating a shared library.
17625
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17627
# Dependencies to place before and after the objects being linked to
17628
# create a shared library.
17629
predep_objects=$lt_predep_objects
17630
postdep_objects=$lt_postdep_objects
17631
predeps=$lt_predeps
17632
postdeps=$lt_postdeps
17634
# The library search path used internally by the compiler when linking
17635
# a shared library.
17636
compiler_lib_search_path=$lt_compiler_lib_search_path
17638
# ### END LIBTOOL CONFIG
17644
cat <<\_LT_EOF >> "$cfgfile"
17645
# AIX sometimes has problems with the GCC collect2 program. For some
17646
# reason, if we set the COLLECT_NAMES environment variable, the problems
17647
# vanish in a puff of smoke.
17648
if test "X${COLLECT_NAMES+set}" != Xset; then
17650
export COLLECT_NAMES
17657
ltmain="$ac_aux_dir/ltmain.sh"
17660
# We use sed instead of cat because bash on DJGPP gets confused if
17661
# if finds mixed CR/LF and LF-only lines. Since sed operates in
17662
# text mode, it properly converts lines to CR/LF. This bash problem
17663
# is reportedly fixed, but why not run on old versions too?
17664
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17665
|| (rm -f "$cfgfile"; exit 1)
17669
cat << \_LT_EOF >> "$cfgfile"
17671
# func_dirname file append nondir_replacement
17672
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
17673
# otherwise set result to NONDIR_REPLACEMENT.
17677
*/*) func_dirname_result="${1%/*}${2}" ;;
17678
* ) func_dirname_result="${3}" ;;
17682
# func_basename file
17685
func_basename_result="${1##*/}"
17688
# func_dirname_and_basename file append nondir_replacement
17689
# perform func_basename and func_dirname in a single function
17691
# dirname: Compute the dirname of FILE. If nonempty,
17692
# add APPEND to the result, otherwise set result
17693
# to NONDIR_REPLACEMENT.
17694
# value returned in "$func_dirname_result"
17695
# basename: Compute filename of FILE.
17696
# value retuned in "$func_basename_result"
17697
# Implementation must be kept synchronized with func_dirname
17698
# and func_basename. For efficiency, we do not delegate to
17699
# those functions but instead duplicate the functionality here.
17700
func_dirname_and_basename ()
17703
*/*) func_dirname_result="${1%/*}${2}" ;;
17704
* ) func_dirname_result="${3}" ;;
17706
func_basename_result="${1##*/}"
17709
# func_stripname prefix suffix name
17710
# strip PREFIX and SUFFIX off of NAME.
17711
# PREFIX and SUFFIX must not contain globbing or regex special
17712
# characters, hashes, percent signs, but SUFFIX may contain a leading
17713
# dot (in which case that matches only a dot).
17716
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17717
# positional parameters, so assign one to ordinary parameter first.
17718
func_stripname_result=${3}
17719
func_stripname_result=${func_stripname_result#"${1}"}
17720
func_stripname_result=${func_stripname_result%"${2}"}
17726
func_opt_split_opt=${1%%=*}
17727
func_opt_split_arg=${1#*=}
17734
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17735
*) func_lo2o_result=${1} ;;
17739
# func_xform libobj-or-source
17742
func_xform_result=${1%.*}.lo
17745
# func_arith arithmetic-term...
17748
func_arith_result=$(( $* ))
17752
# STRING may not start with a hyphen.
17755
func_len_result=${#1}
17760
*) # Bourne compatible functions.
17761
cat << \_LT_EOF >> "$cfgfile"
17763
# func_dirname file append nondir_replacement
17764
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
17765
# otherwise set result to NONDIR_REPLACEMENT.
17768
# Extract subdirectory from the argument.
17769
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17770
if test "X$func_dirname_result" = "X${1}"; then
17771
func_dirname_result="${3}"
17773
func_dirname_result="$func_dirname_result${2}"
17777
# func_basename file
17780
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17784
# func_stripname prefix suffix name
17785
# strip PREFIX and SUFFIX off of NAME.
17786
# PREFIX and SUFFIX must not contain globbing or regex special
17787
# characters, hashes, percent signs, but SUFFIX may contain a leading
17788
# dot (in which case that matches only a dot).
17789
# func_strip_suffix prefix name
17793
.*) func_stripname_result=`$ECHO "X${3}" \
17794
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17795
*) func_stripname_result=`$ECHO "X${3}" \
17796
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17801
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17802
my_sed_long_arg='1s/^-[^=]*=//'
17807
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17808
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17814
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17817
# func_xform libobj-or-source
17820
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17823
# func_arith arithmetic-term...
17826
func_arith_result=`expr "$@"`
17830
# STRING may not start with a hyphen.
17833
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17839
case $lt_shell_append in
17841
cat << \_LT_EOF >> "$cfgfile"
17843
# func_append var value
17844
# Append VALUE to the end of shell variable VAR.
17852
cat << \_LT_EOF >> "$cfgfile"
17854
# func_append var value
17855
# Append VALUE to the end of shell variable VAR.
17866
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17867
|| (rm -f "$cfgfile"; exit 1)
17869
mv -f "$cfgfile" "$ofile" ||
17870
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17874
cat <<_LT_EOF >> "$ofile"
17876
# ### BEGIN LIBTOOL TAG CONFIG: CXX
17878
# The linker used to build libraries.
17881
# Commands used to build an old-style archive.
17882
old_archive_cmds=$lt_old_archive_cmds_CXX
17884
# A language specific compiler.
17885
CC=$lt_compiler_CXX
17887
# Is the compiler the GNU compiler?
17890
# Compiler flag to turn off builtin functions.
17891
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17893
# How to pass a linker flag through the compiler.
17894
wl=$lt_lt_prog_compiler_wl_CXX
17896
# Additional compiler flags for building library objects.
17897
pic_flag=$lt_lt_prog_compiler_pic_CXX
17899
# Compiler flag to prevent dynamic linking.
17900
link_static_flag=$lt_lt_prog_compiler_static_CXX
17902
# Does compiler simultaneously support -c and -o options?
17903
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17905
# Whether or not to add -lc for building shared libraries.
17906
build_libtool_need_lc=$archive_cmds_need_lc_CXX
17908
# Whether or not to disallow shared libs when runtime libs are static.
17909
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17911
# Compiler flag to allow reflexive dlopens.
17912
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17914
# Compiler flag to generate shared objects directly from archives.
17915
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17917
# Whether the compiler copes with passing no objects directly.
17918
compiler_needs_object=$lt_compiler_needs_object_CXX
17920
# Create an old-style archive from a shared archive.
17921
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17923
# Create a temporary old-style archive to link instead of a shared archive.
17924
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17926
# Commands used to build a shared archive.
17927
archive_cmds=$lt_archive_cmds_CXX
17928
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17930
# Commands used to build a loadable module if different from building
17931
# a shared archive.
17932
module_cmds=$lt_module_cmds_CXX
17933
module_expsym_cmds=$lt_module_expsym_cmds_CXX
17935
# Whether we are building with GNU ld or not.
17936
with_gnu_ld=$lt_with_gnu_ld_CXX
17938
# Flag that allows shared libraries with undefined symbols to be built.
17939
allow_undefined_flag=$lt_allow_undefined_flag_CXX
17941
# Flag that enforces no undefined symbols.
17942
no_undefined_flag=$lt_no_undefined_flag_CXX
17944
# Flag to hardcode \$libdir into a binary during linking.
17945
# This must work even if \$libdir does not exist
17946
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17948
# If ld is used when linking, flag to hardcode \$libdir into a binary
17949
# during linking. This must work even if \$libdir does not exist.
17950
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17952
# Whether we need a single "-rpath" flag with a separated argument.
17953
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17955
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17956
# DIR into the resulting binary.
17957
hardcode_direct=$hardcode_direct_CXX
17959
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17960
# DIR into the resulting binary and the resulting library dependency is
17961
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17962
# library is relocated.
17963
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17965
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17966
# into the resulting binary.
17967
hardcode_minus_L=$hardcode_minus_L_CXX
17969
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17970
# into the resulting binary.
17971
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17973
# Set to "yes" if building a shared library automatically hardcodes DIR
17974
# into the library and all subsequent libraries and executables linked
17976
hardcode_automatic=$hardcode_automatic_CXX
17978
# Set to yes if linker adds runtime paths of dependent libraries
17979
# to runtime path list.
17980
inherit_rpath=$inherit_rpath_CXX
17982
# Whether libtool must link a program against all its dependency libraries.
17983
link_all_deplibs=$link_all_deplibs_CXX
17985
# Fix the shell variable \$srcfile for the compiler.
17986
fix_srcfile_path=$lt_fix_srcfile_path_CXX
17988
# Set to "yes" if exported symbols are required.
17989
always_export_symbols=$always_export_symbols_CXX
17991
# The commands to list exported symbols.
17992
export_symbols_cmds=$lt_export_symbols_cmds_CXX
17994
# Symbols that should not be listed in the preloaded symbols.
17995
exclude_expsyms=$lt_exclude_expsyms_CXX
17997
# Symbols that must always be exported.
17998
include_expsyms=$lt_include_expsyms_CXX
18000
# Commands necessary for linking programs (against libraries) with templates.
18001
prelink_cmds=$lt_prelink_cmds_CXX
18003
# Specify filename containing input files.
18004
file_list_spec=$lt_file_list_spec_CXX
18006
# How to hardcode a shared library path into an executable.
18007
hardcode_action=$hardcode_action_CXX
18009
# The directories searched by this compiler when creating a shared library.
18010
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18012
# Dependencies to place before and after the objects being linked to
18013
# create a shared library.
18014
predep_objects=$lt_predep_objects_CXX
18015
postdep_objects=$lt_postdep_objects_CXX
18016
predeps=$lt_predeps_CXX
18017
postdeps=$lt_postdeps_CXX
18019
# The library search path used internally by the compiler when linking
18020
# a shared library.
18021
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18023
# ### END LIBTOOL TAG CONFIG: CXX
18034
ac_clean_files=$ac_clean_files_save
18036
test $ac_write_fail = 0 ||
18037
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
18040
# configure is writing to config.log, and then calls config.status.
18041
# config.status does its own redirection, appending to config.log.
18042
# Unfortunately, on DOS this fails, as config.log is still kept open
18043
# by configure, so config.status won't be able to write to it; its
18044
# output is simply discarded. So we exec the FD to /dev/null,
18045
# effectively closing config.log, so it can be properly (re)opened and
18046
# appended to by config.status. When coming back to configure, we
18047
# need to make the FD available again.
18048
if test "$no_create" != yes; then
18050
ac_config_status_args=
18051
test "$silent" = yes &&
18052
ac_config_status_args="$ac_config_status_args --quiet"
18054
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18056
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
18057
# would make configure fail if this is the last instruction.
18058
$ac_cs_success || as_fn_exit $?
18060
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18061
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18062
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}