2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.64.
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## -------------------- ##
12
## M4sh Initialization. ##
13
## -------------------- ##
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in #(
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
42
# but without wasting forks for bash or zsh.
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
44
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46
as_echo_n='print -rn --'
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
as_echo_n='/usr/ucb/echo -n'
55
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
expr "X$arg" : "X\\(.*\\)$as_nl";
61
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
as_echo_n='sh -c $as_echo_n_body as_echo'
69
as_echo='sh -c $as_echo_body as_echo'
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
75
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83
# We need space, tab and new line, in precisely that order. Quoting is
84
# there to prevent editors from complaining about space-tab.
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86
# splitting by setting IFS to empty value.)
89
# Find who we are. Look in the path if we contain no directory separator.
91
*[\\/]* ) as_myself=$0 ;;
92
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96
test -z "$as_dir" && as_dir=.
97
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103
# We did not find ourselves, most probably we were run as `sh COMMAND'
104
# in which case we are not to be found in the path.
105
if test "x$as_myself" = x; then
108
if test ! -f "$as_myself"; then
109
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
# Unset variables that we do not need and which cause bugs (e.g. in
114
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115
# suppresses any "Segmentation fault" message there. '((' could
116
# trigger a bug in pdksh 5.2.14.
117
for as_var in BASH_ENV ENV MAIL MAILPATH
118
do eval test x\${$as_var+set} = xset \
119
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
if test "x$CONFIG_SHELL" = x; then
135
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139
# is contrary to our usage. Disable this feature.
140
alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
case \`(set -o) 2>/dev/null\` in #(
151
as_required="as_fn_return () { (exit \$1); }
152
as_fn_success () { as_fn_return 0; }
153
as_fn_failure () { as_fn_return 1; }
154
as_fn_ret_success () { return 0; }
155
as_fn_ret_failure () { return 1; }
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
exitcode=1; echo positional parameters were not saved.
167
test x\$exitcode = x0 || exit 1"
168
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
test \$(( 1 + 1 )) = 2 || exit 1"
173
if (eval "$as_required") 2>/dev/null; then :
178
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186
test -z "$as_dir" && as_dir=.
190
for as_base in sh bash ksh sh5; do
191
# Try only shells that exist, to save several forks.
192
as_shell=$as_dir/$as_base
193
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195
CONFIG_SHELL=$as_shell as_have_required=yes
196
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206
CONFIG_SHELL=$SHELL as_have_required=yes
211
if test "x$CONFIG_SHELL" != x; then :
212
# We cannot yet assume a decent shell, so we have to provide a
213
# neutralization value for shells without unset; and this also
214
# works around shells that cannot unset nonexistent variables.
217
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222
if test x$as_have_required = xno; then :
223
$as_echo "$0: This script requires a shell more modern than all"
224
$as_echo "$0: the shells that I found on your system."
225
if test x${ZSH_VERSION+set} = xset ; then
226
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
229
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230
$0: including any error possibly output before this
231
$0: message. Then install a modern shell, or manually run
232
$0: the script under such a shell if you do have one."
238
SHELL=${CONFIG_SHELL-/bin/sh}
240
# Unset more variables known to interfere with behavior of common tools.
241
CLICOLOR_FORCE= GREP_OPTIONS=
242
unset CLICOLOR_FORCE GREP_OPTIONS
244
## --------------------- ##
245
## M4sh Shell Functions. ##
246
## --------------------- ##
249
# Portably unset VAR.
252
{ eval $1=; unset $1;}
256
# as_fn_set_status STATUS
257
# -----------------------
258
# Set $? to STATUS, without forking.
266
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276
# Create "$as_dir" as a directory, including parents if necessary.
281
-*) as_dir=./$as_dir;;
283
test -d "$as_dir" || eval $as_mkdir_p || {
287
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290
as_dirs="'$as_qdir' $as_dirs"
291
as_dir=`$as_dirname -- "$as_dir" ||
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293
X"$as_dir" : 'X\(//\)[^/]' \| \
294
X"$as_dir" : 'X\(//\)$' \| \
295
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296
$as_echo X"$as_dir" |
297
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314
test -d "$as_dir" && break
316
test -z "$as_dirs" || eval "mkdir $as_dirs"
317
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321
# as_fn_append VAR VALUE
322
# ----------------------
323
# Append the text in VALUE to the end of the definition contained in VAR. Take
324
# advantage of any shell optimizations that allow amortized linear growth over
325
# repeated appends, instead of the typical quadratic growth present in naive
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328
eval 'as_fn_append ()
341
# Perform arithmetic evaluation on the ARGs, and store the result in the
342
# global $as_val. Take advantage of shells that can avoid forks. The arguments
343
# must be portable across $(()) and expr.
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352
as_val=`expr "$@" || test $? -eq 1`
357
# as_fn_error ERROR [LINENO LOG_FD]
358
# ---------------------------------
359
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361
# script with status $?, using 1 if that was 0.
364
as_status=$?; test $as_status -eq 0 && as_status=1
366
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369
$as_echo "$as_me: error: $1" >&2
370
as_fn_exit $as_status
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
374
test "X`expr 00001 : '.*\(...\)'`" = X001; then
380
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392
as_me=`$as_basename -- "$0" ||
393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394
X"$0" : 'X\(//\)$' \| \
395
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397
sed '/^.*\/\([^/][^/]*\)\/*$/{
411
# Avoid depending upon Character Ranges.
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415
as_cr_digits='0123456789'
416
as_cr_alnum=$as_cr_Letters$as_cr_digits
419
as_lineno_1=$LINENO as_lineno_1a=$LINENO
420
as_lineno_2=$LINENO as_lineno_2a=$LINENO
421
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439
chmod +x "$as_me.lineno" ||
440
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442
# Don't try to exec as it changes $[0], causing all sort of problems
443
# (the dirname of $[0] is not the place where we might find the
444
# original and so on. Autoconf is especially sensitive to this).
446
# Exit status is that of the last command.
450
ECHO_C= ECHO_N= ECHO_T=
451
case `echo -n x` in #(((((
453
case `echo 'xy\c'` in
454
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
456
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463
rm -f conf$$ conf$$.exe conf$$.file
464
if test -d conf$$.dir; then
465
rm -f conf$$.dir/conf$$.file
468
mkdir conf$$.dir 2>/dev/null
470
if (echo >conf$$.file) 2>/dev/null; then
471
if ln -s conf$$.file conf$$ 2>/dev/null; then
473
# ... but there are two gotchas:
474
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476
# In both cases, we have to default to `cp -p'.
477
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479
elif ln conf$$.file conf$$ 2>/dev/null; then
487
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488
rmdir conf$$.dir 2>/dev/null
490
if mkdir -p . 2>/dev/null; then
491
as_mkdir_p='mkdir -p "$as_dir"'
493
test -d ./-p && rmdir ./-p
497
if test -x / >/dev/null 2>&1; then
500
if ls -dL / >/dev/null 2>&1; then
507
if test -d "$1"; then
513
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514
???[sx]*):;;*)false;;esac;fi
518
as_executable_p=$as_test_x
520
# Sed expression to map a string onto a valid CPP name.
521
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523
# Sed expression to map a string onto a valid variable name.
524
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528
# Check that we are running under the correct shell.
529
SHELL=${CONFIG_SHELL-/bin/sh}
533
# Remove one level of quotation (which was required for Make).
534
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
539
if test "X$1" = X--no-reexec; then
540
# Discard the --no-reexec flag, and continue.
542
elif test "X$1" = X--fallback-echo; then
543
# Avoid inline document here, it may be left over
545
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
546
# Yippee, $ECHO works!
549
# Restart under the correct shell.
550
exec $SHELL "$0" --no-reexec ${1+"$@"}
553
if test "X$1" = X--fallback-echo; then
554
# used as fallback echo
562
# The HP-UX ksh and POSIX shell print the target directory to stdout
564
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
566
if test -z "$lt_ECHO"; then
567
if test "X${echo_test_string+set}" != Xset; then
568
# find a string as large as possible, as long as the shell can cope with it
569
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
570
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
571
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
572
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
579
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
580
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
581
test "X$echo_testing_string" = "X$echo_test_string"; then
584
# The Solaris, AIX, and Digital Unix default echo programs unquote
585
# backslashes. This makes it impossible to quote backslashes using
586
# echo "$something" | sed 's/\\/\\\\/g'
588
# So, first we look for a working echo in the user's PATH.
590
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
591
for dir in $PATH /usr/ucb; do
593
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
594
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
595
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
596
test "X$echo_testing_string" = "X$echo_test_string"; then
603
if test "X$ECHO" = Xecho; then
604
# We didn't find a better echo, so look for alternatives.
605
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
606
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
607
test "X$echo_testing_string" = "X$echo_test_string"; then
608
# This shell has a builtin print -r that does the trick.
610
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
611
test "X$CONFIG_SHELL" != X/bin/ksh; then
612
# If we have ksh, try running configure again with it.
613
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
614
export ORIGINAL_CONFIG_SHELL
615
CONFIG_SHELL=/bin/ksh
617
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
621
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
622
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
623
test "X$echo_testing_string" = "X$echo_test_string"; then
626
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
627
test "X$echo_testing_string" = 'X\t' &&
628
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
629
test "X$echo_testing_string" = "X$echo_test_string"; then
630
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
632
SHELL="$CONFIG_SHELL"
634
ECHO="$CONFIG_SHELL $0 --fallback-echo"
635
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636
test "X$echo_testing_string" = 'X\t' &&
637
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638
test "X$echo_testing_string" = "X$echo_test_string"; then
639
ECHO="$CONFIG_SHELL $0 --fallback-echo"
641
# maybe with a smaller string...
644
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
645
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
652
if test "$prev" != 'sed 50q "$0"'; then
653
echo_test_string=`eval $prev`
654
export echo_test_string
655
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
657
# Oops. We lost completely, so just stick with echo.
666
# Copy echo and quote the copy suitably for passing to libtool from
667
# the Makefile, instead of quoting the original, which is used later.
669
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
670
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676
exec 7<&0 </dev/null 6>&1
679
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
680
# so uname gets run too.
681
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
686
ac_default_prefix=/usr/local
688
ac_config_libobj_dir=.
695
# Identity of this package.
703
ac_unique_file="src/ut.cpp"
704
# Factoring default headers for most tests.
705
ac_includes_default="\
707
#ifdef HAVE_SYS_TYPES_H
708
# include <sys/types.h>
710
#ifdef HAVE_SYS_STAT_H
711
# include <sys/stat.h>
717
# ifdef HAVE_STDLIB_H
722
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
727
#ifdef HAVE_STRINGS_H
728
# include <strings.h>
730
#ifdef HAVE_INTTYPES_H
731
# include <inttypes.h>
740
ac_subst_vars='am__EXEEXT_FALSE
838
INSTALL_STRIP_PROGRAM
880
program_transform_name
893
enable_option_checking
895
enable_dependency_tracking
914
ac_precious_vars='build_alias
929
# Initialize some variables set by options.
931
ac_init_version=false
932
ac_unrecognized_opts=
934
# The variables have the same names as the options, with
935
# dashes changed to underlines.
943
program_transform_name=s,x,x,
951
# Installation directory options.
952
# These are left unexpanded so users can "make install exec_prefix=/foo"
953
# and all the variables that are supposed to be based on exec_prefix
954
# by default will actually change.
955
# Use braces instead of parens because sh, perl, etc. also accept them.
956
# (The list follows the same order as the GNU Coding Standards.)
957
bindir='${exec_prefix}/bin'
958
sbindir='${exec_prefix}/sbin'
959
libexecdir='${exec_prefix}/libexec'
960
datarootdir='${prefix}/share'
961
datadir='${datarootdir}'
962
sysconfdir='${prefix}/etc'
963
sharedstatedir='${prefix}/com'
964
localstatedir='${prefix}/var'
965
includedir='${prefix}/include'
966
oldincludedir='/usr/include'
967
docdir='${datarootdir}/doc/${PACKAGE}'
968
infodir='${datarootdir}/info'
973
libdir='${exec_prefix}/lib'
974
localedir='${datarootdir}/locale'
975
mandir='${datarootdir}/man'
981
# If the previous option needs an argument, assign it.
982
if test -n "$ac_prev"; then
983
eval $ac_prev=\$ac_option
989
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
993
# Accept the important Cygnus configure options, so we can diagnose typos.
995
case $ac_dashdash$ac_option in
999
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1001
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1002
bindir=$ac_optarg ;;
1004
-build | --build | --buil | --bui | --bu)
1005
ac_prev=build_alias ;;
1006
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1007
build_alias=$ac_optarg ;;
1009
-cache-file | --cache-file | --cache-fil | --cache-fi \
1010
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1011
ac_prev=cache_file ;;
1012
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1013
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1014
cache_file=$ac_optarg ;;
1016
--config-cache | -C)
1017
cache_file=config.cache ;;
1019
-datadir | --datadir | --datadi | --datad)
1021
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1022
datadir=$ac_optarg ;;
1024
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1025
| --dataroo | --dataro | --datar)
1026
ac_prev=datarootdir ;;
1027
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1028
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1029
datarootdir=$ac_optarg ;;
1031
-disable-* | --disable-*)
1032
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1033
# Reject names that are not valid shell variable names.
1034
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035
as_fn_error "invalid feature name: $ac_useropt"
1036
ac_useropt_orig=$ac_useropt
1037
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038
case $ac_user_opts in
1040
"enable_$ac_useropt"
1042
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1043
ac_unrecognized_sep=', ';;
1045
eval enable_$ac_useropt=no ;;
1047
-docdir | --docdir | --docdi | --doc | --do)
1049
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1050
docdir=$ac_optarg ;;
1052
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1054
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1055
dvidir=$ac_optarg ;;
1057
-enable-* | --enable-*)
1058
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1059
# Reject names that are not valid shell variable names.
1060
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1061
as_fn_error "invalid feature name: $ac_useropt"
1062
ac_useropt_orig=$ac_useropt
1063
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1064
case $ac_user_opts in
1066
"enable_$ac_useropt"
1068
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1069
ac_unrecognized_sep=', ';;
1071
eval enable_$ac_useropt=\$ac_optarg ;;
1073
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1074
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1075
| --exec | --exe | --ex)
1076
ac_prev=exec_prefix ;;
1077
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1078
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1079
| --exec=* | --exe=* | --ex=*)
1080
exec_prefix=$ac_optarg ;;
1082
-gas | --gas | --ga | --g)
1083
# Obsolete; use --with-gas.
1086
-help | --help | --hel | --he | -h)
1087
ac_init_help=long ;;
1088
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1089
ac_init_help=recursive ;;
1090
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1091
ac_init_help=short ;;
1093
-host | --host | --hos | --ho)
1094
ac_prev=host_alias ;;
1095
-host=* | --host=* | --hos=* | --ho=*)
1096
host_alias=$ac_optarg ;;
1098
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1100
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1102
htmldir=$ac_optarg ;;
1104
-includedir | --includedir | --includedi | --included | --include \
1105
| --includ | --inclu | --incl | --inc)
1106
ac_prev=includedir ;;
1107
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1108
| --includ=* | --inclu=* | --incl=* | --inc=*)
1109
includedir=$ac_optarg ;;
1111
-infodir | --infodir | --infodi | --infod | --info | --inf)
1113
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1114
infodir=$ac_optarg ;;
1116
-libdir | --libdir | --libdi | --libd)
1118
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1119
libdir=$ac_optarg ;;
1121
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1122
| --libexe | --libex | --libe)
1123
ac_prev=libexecdir ;;
1124
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1125
| --libexe=* | --libex=* | --libe=*)
1126
libexecdir=$ac_optarg ;;
1128
-localedir | --localedir | --localedi | --localed | --locale)
1129
ac_prev=localedir ;;
1130
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1131
localedir=$ac_optarg ;;
1133
-localstatedir | --localstatedir | --localstatedi | --localstated \
1134
| --localstate | --localstat | --localsta | --localst | --locals)
1135
ac_prev=localstatedir ;;
1136
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1137
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1138
localstatedir=$ac_optarg ;;
1140
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1142
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1143
mandir=$ac_optarg ;;
1145
-nfp | --nfp | --nf)
1146
# Obsolete; use --without-fp.
1149
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1150
| --no-cr | --no-c | -n)
1153
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1154
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1157
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1158
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1159
| --oldin | --oldi | --old | --ol | --o)
1160
ac_prev=oldincludedir ;;
1161
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1162
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1163
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1164
oldincludedir=$ac_optarg ;;
1166
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1168
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1169
prefix=$ac_optarg ;;
1171
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1172
| --program-pre | --program-pr | --program-p)
1173
ac_prev=program_prefix ;;
1174
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1175
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1176
program_prefix=$ac_optarg ;;
1178
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1179
| --program-suf | --program-su | --program-s)
1180
ac_prev=program_suffix ;;
1181
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1182
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1183
program_suffix=$ac_optarg ;;
1185
-program-transform-name | --program-transform-name \
1186
| --program-transform-nam | --program-transform-na \
1187
| --program-transform-n | --program-transform- \
1188
| --program-transform | --program-transfor \
1189
| --program-transfo | --program-transf \
1190
| --program-trans | --program-tran \
1191
| --progr-tra | --program-tr | --program-t)
1192
ac_prev=program_transform_name ;;
1193
-program-transform-name=* | --program-transform-name=* \
1194
| --program-transform-nam=* | --program-transform-na=* \
1195
| --program-transform-n=* | --program-transform-=* \
1196
| --program-transform=* | --program-transfor=* \
1197
| --program-transfo=* | --program-transf=* \
1198
| --program-trans=* | --program-tran=* \
1199
| --progr-tra=* | --program-tr=* | --program-t=*)
1200
program_transform_name=$ac_optarg ;;
1202
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1204
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1205
pdfdir=$ac_optarg ;;
1207
-psdir | --psdir | --psdi | --psd | --ps)
1209
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1212
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1213
| -silent | --silent | --silen | --sile | --sil)
1216
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1218
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1220
sbindir=$ac_optarg ;;
1222
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1223
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1224
| --sharedst | --shareds | --shared | --share | --shar \
1226
ac_prev=sharedstatedir ;;
1227
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1228
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1229
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1231
sharedstatedir=$ac_optarg ;;
1233
-site | --site | --sit)
1235
-site=* | --site=* | --sit=*)
1238
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1240
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1241
srcdir=$ac_optarg ;;
1243
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1244
| --syscon | --sysco | --sysc | --sys | --sy)
1245
ac_prev=sysconfdir ;;
1246
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1247
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1248
sysconfdir=$ac_optarg ;;
1250
-target | --target | --targe | --targ | --tar | --ta | --t)
1251
ac_prev=target_alias ;;
1252
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1253
target_alias=$ac_optarg ;;
1255
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1258
-version | --version | --versio | --versi | --vers | -V)
1259
ac_init_version=: ;;
1262
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1263
# Reject names that are not valid shell variable names.
1264
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1265
as_fn_error "invalid package name: $ac_useropt"
1266
ac_useropt_orig=$ac_useropt
1267
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1268
case $ac_user_opts in
1272
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1273
ac_unrecognized_sep=', ';;
1275
eval with_$ac_useropt=\$ac_optarg ;;
1277
-without-* | --without-*)
1278
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1279
# Reject names that are not valid shell variable names.
1280
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1281
as_fn_error "invalid package name: $ac_useropt"
1282
ac_useropt_orig=$ac_useropt
1283
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1284
case $ac_user_opts in
1288
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1289
ac_unrecognized_sep=', ';;
1291
eval with_$ac_useropt=no ;;
1294
# Obsolete; use --with-x.
1297
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1298
| --x-incl | --x-inc | --x-in | --x-i)
1299
ac_prev=x_includes ;;
1300
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1301
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1302
x_includes=$ac_optarg ;;
1304
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1305
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1306
ac_prev=x_libraries ;;
1307
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1308
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1309
x_libraries=$ac_optarg ;;
1311
-*) as_fn_error "unrecognized option: \`$ac_option'
1312
Try \`$0 --help' for more information."
1316
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1317
# Reject names that are not valid shell variable names.
1318
case $ac_envvar in #(
1319
'' | [0-9]* | *[!_$as_cr_alnum]* )
1320
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1322
eval $ac_envvar=\$ac_optarg
1323
export $ac_envvar ;;
1326
# FIXME: should be removed in autoconf 3.0.
1327
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1328
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1329
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1330
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1336
if test -n "$ac_prev"; then
1337
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1338
as_fn_error "missing argument to $ac_option"
1341
if test -n "$ac_unrecognized_opts"; then
1342
case $enable_option_checking in
1344
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1345
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1349
# Check all directory arguments for consistency.
1350
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1351
datadir sysconfdir sharedstatedir localstatedir includedir \
1352
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1353
libdir localedir mandir
1355
eval ac_val=\$$ac_var
1356
# Remove trailing slashes.
1359
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1360
eval $ac_var=\$ac_val;;
1362
# Be sure to have absolute directory names.
1364
[\\/$]* | ?:[\\/]* ) continue;;
1365
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1367
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1370
# There might be people who depend on the old broken behavior: `$host'
1371
# used to hold the argument of --host etc.
1372
# FIXME: To remove some day.
1375
target=$target_alias
1377
# FIXME: To remove some day.
1378
if test "x$host_alias" != x; then
1379
if test "x$build_alias" = x; then
1380
cross_compiling=maybe
1381
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1382
If a cross compiler is detected then cross compile mode will be used." >&2
1383
elif test "x$build_alias" != "x$host_alias"; then
1389
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1391
test "$silent" = yes && exec 6>/dev/null
1394
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1395
ac_ls_di=`ls -di .` &&
1396
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1397
as_fn_error "working directory cannot be determined"
1398
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1399
as_fn_error "pwd does not report name of working directory"
1402
# Find the source files, if location was not specified.
1403
if test -z "$srcdir"; then
1404
ac_srcdir_defaulted=yes
1405
# Try the directory containing this script, then the parent directory.
1406
ac_confdir=`$as_dirname -- "$as_myself" ||
1407
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1408
X"$as_myself" : 'X\(//\)[^/]' \| \
1409
X"$as_myself" : 'X\(//\)$' \| \
1410
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1411
$as_echo X"$as_myself" |
1412
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1430
if test ! -r "$srcdir/$ac_unique_file"; then
1434
ac_srcdir_defaulted=no
1436
if test ! -r "$srcdir/$ac_unique_file"; then
1437
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1438
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1440
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1442
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1444
# When building in place, set srcdir=.
1445
if test "$ac_abs_confdir" = "$ac_pwd"; then
1448
# Remove unnecessary trailing slashes from srcdir.
1449
# Double slashes in file names in object file debugging info
1450
# mess up M-x gdb in Emacs.
1452
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1454
for ac_var in $ac_precious_vars; do
1455
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1456
eval ac_env_${ac_var}_value=\$${ac_var}
1457
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1458
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1462
# Report the --help message.
1464
if test "$ac_init_help" = "long"; then
1465
# Omit some internal or obsolete options to make the list less imposing.
1466
# This message is too long to be a string in the A/UX 3.1 sh.
1468
\`configure' configures this package to adapt to many kinds of systems.
1470
Usage: $0 [OPTION]... [VAR=VALUE]...
1472
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1473
VAR=VALUE. See below for descriptions of some of the useful variables.
1475
Defaults for the options are specified in brackets.
1478
-h, --help display this help and exit
1479
--help=short display options specific to this package
1480
--help=recursive display the short help of all the included packages
1481
-V, --version display version information and exit
1482
-q, --quiet, --silent do not print \`checking...' messages
1483
--cache-file=FILE cache test results in FILE [disabled]
1484
-C, --config-cache alias for \`--cache-file=config.cache'
1485
-n, --no-create do not create output files
1486
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1488
Installation directories:
1489
--prefix=PREFIX install architecture-independent files in PREFIX
1490
[$ac_default_prefix]
1491
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1494
By default, \`make install' will install all the files in
1495
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1496
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1497
for instance \`--prefix=\$HOME'.
1499
For better control, use the options below.
1501
Fine tuning of the installation directories:
1502
--bindir=DIR user executables [EPREFIX/bin]
1503
--sbindir=DIR system admin executables [EPREFIX/sbin]
1504
--libexecdir=DIR program executables [EPREFIX/libexec]
1505
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1506
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1507
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1508
--libdir=DIR object code libraries [EPREFIX/lib]
1509
--includedir=DIR C header files [PREFIX/include]
1510
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1511
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1512
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1513
--infodir=DIR info documentation [DATAROOTDIR/info]
1514
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1515
--mandir=DIR man documentation [DATAROOTDIR/man]
1516
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1517
--htmldir=DIR html documentation [DOCDIR]
1518
--dvidir=DIR dvi documentation [DOCDIR]
1519
--pdfdir=DIR pdf documentation [DOCDIR]
1520
--psdir=DIR ps documentation [DOCDIR]
1526
--program-prefix=PREFIX prepend PREFIX to installed program names
1527
--program-suffix=SUFFIX append SUFFIX to installed program names
1528
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1531
--build=BUILD configure for building on BUILD [guessed]
1532
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1536
if test -n "$ac_init_help"; then
1541
--disable-option-checking ignore unrecognized --enable/--with options
1542
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1543
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1544
--enable-static[=PKGS] build static libraries [default=no]
1545
--disable-dependency-tracking speeds up one-time build
1546
--enable-dependency-tracking do not reject slow dependency extractors
1547
--enable-shared[=PKGS] build shared libraries [default=yes]
1548
--enable-fast-install[=PKGS]
1549
optimize for fast installation [default=yes]
1550
--disable-libtool-lock avoid locking (might break parallel builds)
1551
--enable-new_allocator use new_allocator
1552
--enable-callstack display c++ call stack after crashing
1553
--disable-xmltest Do not try to compile and run a test LIBXML program
1556
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1557
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1558
--with-pic try to use only PIC/non-PIC objects [default=use
1560
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1561
--with-boost=<path> prefix of boost installation. e.g. /usr/local/include/boost-1_33_1
1562
--with-mysql=<path> prefix of MySQL installation. e.g. /usr/local or /usr
1563
--with-postgresql=<path> prefix of PostgreSQL installation. e.g. /usr/local/pgsql or /usr/pgsql
1564
--with-python=<path> directory containing python headers e.g. /usr/local/include/python2.3
1566
--with-java will use JAVA_HOME settings to find javac
1567
--with-stlport=<path> prefix of stlport installation. e.g. /usr/local or /usr
1568
--with-xml-prefix=PFX Prefix where libxml is installed (optional)
1569
--with-xml-exec-prefix=PFX Exec prefix where libxml is installed (optional)
1571
Some influential environment variables:
1572
CXX C++ compiler command
1573
CXXFLAGS C++ compiler flags
1574
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1575
nonstandard directory <lib dir>
1576
LIBS libraries to pass to the linker, e.g. -l<library>
1577
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1578
you have headers in a nonstandard directory <include dir>
1579
CC C compiler command
1580
CFLAGS C compiler flags
1582
CXXCPP C++ preprocessor
1584
Use these variables to override the choices made by `configure' or to help
1585
it to find libraries and programs with nonstandard names/locations.
1587
Report bugs to the package provider.
1592
if test "$ac_init_help" = "recursive"; then
1593
# If there are subdirs, report their specific --help.
1594
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1595
test -d "$ac_dir" ||
1596
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1601
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1603
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1604
# A ".." for each directory in $ac_dir_suffix.
1605
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1606
case $ac_top_builddir_sub in
1607
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1611
ac_abs_top_builddir=$ac_pwd
1612
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1613
# for backward compatibility:
1614
ac_top_builddir=$ac_top_build_prefix
1617
.) # We are building in place.
1619
ac_top_srcdir=$ac_top_builddir_sub
1620
ac_abs_top_srcdir=$ac_pwd ;;
1621
[\\/]* | ?:[\\/]* ) # Absolute name.
1622
ac_srcdir=$srcdir$ac_dir_suffix;
1623
ac_top_srcdir=$srcdir
1624
ac_abs_top_srcdir=$srcdir ;;
1626
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1627
ac_top_srcdir=$ac_top_build_prefix$srcdir
1628
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1630
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1632
cd "$ac_dir" || { ac_status=$?; continue; }
1633
# Check for guested configure.
1634
if test -f "$ac_srcdir/configure.gnu"; then
1636
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1637
elif test -f "$ac_srcdir/configure"; then
1639
$SHELL "$ac_srcdir/configure" --help=recursive
1641
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1643
cd "$ac_pwd" || { ac_status=$?; break; }
1647
test -n "$ac_init_help" && exit $ac_status
1648
if $ac_init_version; then
1651
generated by GNU Autoconf 2.64
1653
Copyright (C) 2009 Free Software Foundation, Inc.
1654
This configure script is free software; the Free Software Foundation
1655
gives unlimited permission to copy, distribute and modify it.
1660
## ------------------------ ##
1661
## Autoconf initialization. ##
1662
## ------------------------ ##
1664
# ac_fn_cxx_try_compile LINENO
1665
# ----------------------------
1666
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1667
ac_fn_cxx_try_compile ()
1669
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670
rm -f conftest.$ac_objext
1671
if { { ac_try="$ac_compile"
1673
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674
*) ac_try_echo=$ac_try;;
1676
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677
$as_echo "$ac_try_echo"; } >&5
1678
(eval "$ac_compile") 2>conftest.err
1680
if test -s conftest.err; then
1681
grep -v '^ *+' conftest.err >conftest.er1
1682
cat conftest.er1 >&5
1683
mv -f conftest.er1 conftest.err
1685
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686
test $ac_status = 0; } && {
1687
test -z "$ac_cxx_werror_flag" ||
1688
test ! -s conftest.err
1689
} && test -s conftest.$ac_objext; then :
1692
$as_echo "$as_me: failed program was:" >&5
1693
sed 's/^/| /' conftest.$ac_ext >&5
1697
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1700
} # ac_fn_cxx_try_compile
1702
# ac_fn_c_try_compile LINENO
1703
# --------------------------
1704
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1705
ac_fn_c_try_compile ()
1707
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1708
rm -f conftest.$ac_objext
1709
if { { ac_try="$ac_compile"
1711
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712
*) ac_try_echo=$ac_try;;
1714
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715
$as_echo "$ac_try_echo"; } >&5
1716
(eval "$ac_compile") 2>conftest.err
1718
if test -s conftest.err; then
1719
grep -v '^ *+' conftest.err >conftest.er1
1720
cat conftest.er1 >&5
1721
mv -f conftest.er1 conftest.err
1723
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724
test $ac_status = 0; } && {
1725
test -z "$ac_c_werror_flag" ||
1726
test ! -s conftest.err
1727
} && test -s conftest.$ac_objext; then :
1730
$as_echo "$as_me: failed program was:" >&5
1731
sed 's/^/| /' conftest.$ac_ext >&5
1735
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1738
} # ac_fn_c_try_compile
1740
# ac_fn_c_try_link LINENO
1741
# -----------------------
1742
# Try to link conftest.$ac_ext, and return whether this succeeded.
1745
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746
rm -f conftest.$ac_objext conftest$ac_exeext
1747
if { { ac_try="$ac_link"
1749
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1750
*) ac_try_echo=$ac_try;;
1752
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753
$as_echo "$ac_try_echo"; } >&5
1754
(eval "$ac_link") 2>conftest.err
1756
if test -s conftest.err; then
1757
grep -v '^ *+' conftest.err >conftest.er1
1758
cat conftest.er1 >&5
1759
mv -f conftest.er1 conftest.err
1761
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762
test $ac_status = 0; } && {
1763
test -z "$ac_c_werror_flag" ||
1764
test ! -s conftest.err
1765
} && test -s conftest$ac_exeext && {
1766
test "$cross_compiling" = yes ||
1767
$as_test_x conftest$ac_exeext
1771
$as_echo "$as_me: failed program was:" >&5
1772
sed 's/^/| /' conftest.$ac_ext >&5
1776
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1777
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1778
# interfere with the next link command; also delete a directory that is
1779
# left behind by Apple's compiler. We do this before executing the actions.
1780
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1781
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1784
} # ac_fn_c_try_link
1786
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1787
# -------------------------------------------------------
1788
# Tests whether HEADER exists and can be compiled using the include files in
1789
# INCLUDES, setting the cache variable VAR accordingly.
1790
ac_fn_c_check_header_compile ()
1792
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1794
$as_echo_n "checking for $2... " >&6; }
1795
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1796
$as_echo_n "(cached) " >&6
1798
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1799
/* end confdefs.h. */
1803
if ac_fn_c_try_compile "$LINENO"; then :
1808
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1812
$as_echo "$ac_res" >&6; }
1813
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1815
} # ac_fn_c_check_header_compile
1817
# ac_fn_c_try_cpp LINENO
1818
# ----------------------
1819
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1822
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823
if { { ac_try="$ac_cpp conftest.$ac_ext"
1825
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1826
*) ac_try_echo=$ac_try;;
1828
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829
$as_echo "$ac_try_echo"; } >&5
1830
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1832
if test -s conftest.err; then
1833
grep -v '^ *+' conftest.err >conftest.er1
1834
cat conftest.er1 >&5
1835
mv -f conftest.er1 conftest.err
1837
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838
test $ac_status = 0; } >/dev/null && {
1839
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1840
test ! -s conftest.err
1844
$as_echo "$as_me: failed program was:" >&5
1845
sed 's/^/| /' conftest.$ac_ext >&5
1849
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1854
# ac_fn_c_try_run LINENO
1855
# ----------------------
1856
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1857
# that executables *can* be run.
1860
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861
if { { ac_try="$ac_link"
1863
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1864
*) ac_try_echo=$ac_try;;
1866
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867
$as_echo "$ac_try_echo"; } >&5
1868
(eval "$ac_link") 2>&5
1870
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1872
{ { case "(($ac_try" in
1873
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874
*) ac_try_echo=$ac_try;;
1876
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877
$as_echo "$ac_try_echo"; } >&5
1878
(eval "$ac_try") 2>&5
1880
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881
test $ac_status = 0; }; }; then :
1884
$as_echo "$as_me: program exited with status $ac_status" >&5
1885
$as_echo "$as_me: failed program was:" >&5
1886
sed 's/^/| /' conftest.$ac_ext >&5
1888
ac_retval=$ac_status
1890
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1891
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1896
# ac_fn_c_check_func LINENO FUNC VAR
1897
# ----------------------------------
1898
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1899
ac_fn_c_check_func ()
1901
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1903
$as_echo_n "checking for $2... " >&6; }
1904
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1905
$as_echo_n "(cached) " >&6
1907
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1908
/* end confdefs.h. */
1909
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1910
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1911
#define $2 innocuous_$2
1913
/* System header to define __stub macros and hopefully few prototypes,
1914
which can conflict with char $2 (); below.
1915
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1916
<limits.h> exists even on freestanding compilers. */
1919
# include <limits.h>
1921
# include <assert.h>
1926
/* Override any GCC internal prototype to avoid an error.
1927
Use char because int might match the return type of a GCC
1928
builtin and then its argument prototype would still apply. */
1933
/* The GNU C library defines this for functions which it implements
1934
to always fail with ENOSYS. Some functions are actually named
1935
something starting with __ and the normal name is an alias. */
1936
#if defined __stub_$2 || defined __stub___$2
1948
if ac_fn_c_try_link "$LINENO"; then :
1953
rm -f core conftest.err conftest.$ac_objext \
1954
conftest$ac_exeext conftest.$ac_ext
1957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1958
$as_echo "$ac_res" >&6; }
1959
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1961
} # ac_fn_c_check_func
1963
# ac_fn_cxx_try_cpp LINENO
1964
# ------------------------
1965
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1966
ac_fn_cxx_try_cpp ()
1968
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969
if { { ac_try="$ac_cpp conftest.$ac_ext"
1971
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1972
*) ac_try_echo=$ac_try;;
1974
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1975
$as_echo "$ac_try_echo"; } >&5
1976
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1978
if test -s conftest.err; then
1979
grep -v '^ *+' conftest.err >conftest.er1
1980
cat conftest.er1 >&5
1981
mv -f conftest.er1 conftest.err
1983
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1984
test $ac_status = 0; } >/dev/null && {
1985
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1986
test ! -s conftest.err
1990
$as_echo "$as_me: failed program was:" >&5
1991
sed 's/^/| /' conftest.$ac_ext >&5
1995
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1998
} # ac_fn_cxx_try_cpp
2000
# ac_fn_cxx_try_link LINENO
2001
# -------------------------
2002
# Try to link conftest.$ac_ext, and return whether this succeeded.
2003
ac_fn_cxx_try_link ()
2005
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006
rm -f conftest.$ac_objext conftest$ac_exeext
2007
if { { ac_try="$ac_link"
2009
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2010
*) ac_try_echo=$ac_try;;
2012
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2013
$as_echo "$ac_try_echo"; } >&5
2014
(eval "$ac_link") 2>conftest.err
2016
if test -s conftest.err; then
2017
grep -v '^ *+' conftest.err >conftest.er1
2018
cat conftest.er1 >&5
2019
mv -f conftest.er1 conftest.err
2021
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2022
test $ac_status = 0; } && {
2023
test -z "$ac_cxx_werror_flag" ||
2024
test ! -s conftest.err
2025
} && test -s conftest$ac_exeext && {
2026
test "$cross_compiling" = yes ||
2027
$as_test_x conftest$ac_exeext
2031
$as_echo "$as_me: failed program was:" >&5
2032
sed 's/^/| /' conftest.$ac_ext >&5
2036
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2037
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2038
# interfere with the next link command; also delete a directory that is
2039
# left behind by Apple's compiler. We do this before executing the actions.
2040
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2041
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2044
} # ac_fn_cxx_try_link
2046
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2047
# -------------------------------------------------------
2048
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2049
# the include files in INCLUDES and setting the cache variable VAR
2051
ac_fn_c_check_header_mongrel ()
2053
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2054
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2056
$as_echo_n "checking for $2... " >&6; }
2057
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2058
$as_echo_n "(cached) " >&6
2061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2062
$as_echo "$ac_res" >&6; }
2064
# Is the header compilable?
2065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2066
$as_echo_n "checking $2 usability... " >&6; }
2067
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2068
/* end confdefs.h. */
2072
if ac_fn_c_try_compile "$LINENO"; then :
2073
ac_header_compiler=yes
2075
ac_header_compiler=no
2077
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2079
$as_echo "$ac_header_compiler" >&6; }
2081
# Is the header present?
2082
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2083
$as_echo_n "checking $2 presence... " >&6; }
2084
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2085
/* end confdefs.h. */
2088
if ac_fn_c_try_cpp "$LINENO"; then :
2089
ac_header_preproc=yes
2091
ac_header_preproc=no
2093
rm -f conftest.err conftest.$ac_ext
2094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2095
$as_echo "$ac_header_preproc" >&6; }
2097
# So? What about this header?
2098
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2100
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2101
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2102
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2103
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2106
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2107
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2108
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2109
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2110
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2111
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2112
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2113
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2114
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2115
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2119
$as_echo_n "checking for $2... " >&6; }
2120
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2121
$as_echo_n "(cached) " >&6
2123
eval "$3=\$ac_header_compiler"
2126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2127
$as_echo "$ac_res" >&6; }
2129
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2131
} # ac_fn_c_check_header_mongrel
2132
cat >config.log <<_ACEOF
2133
This file contains any messages produced by compilers while
2134
running configure, to aid debugging if configure makes a mistake.
2136
It was created by $as_me, which was
2137
generated by GNU Autoconf 2.64. Invocation command line was
2149
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2150
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2151
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2152
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2153
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2155
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2156
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2158
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2159
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2160
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2161
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2162
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2163
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2164
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2168
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172
test -z "$as_dir" && as_dir=.
2173
$as_echo "PATH: $as_dir"
2189
# Keep a trace of the command line.
2190
# Strip out --no-create and --no-recursion so they do not pile up.
2191
# Strip out --silent because we don't want to record it for future runs.
2192
# Also quote any args containing shell meta-characters.
2193
# Make two passes to allow for proper duplicate-argument suppression.
2197
ac_must_keep_next=false
2203
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2204
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2205
| -silent | --silent | --silen | --sile | --sil)
2208
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2211
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2213
as_fn_append ac_configure_args1 " '$ac_arg'"
2214
if test $ac_must_keep_next = true; then
2215
ac_must_keep_next=false # Got value, back to normal.
2218
*=* | --config-cache | -C | -disable-* | --disable-* \
2219
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2220
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2221
| -with-* | --with-* | -without-* | --without-* | --x)
2222
case "$ac_configure_args0 " in
2223
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2226
-* ) ac_must_keep_next=true ;;
2229
as_fn_append ac_configure_args " '$ac_arg'"
2234
{ ac_configure_args0=; unset ac_configure_args0;}
2235
{ ac_configure_args1=; unset ac_configure_args1;}
2237
# When interrupted or exit'd, cleanup temporary files, and complete
2238
# config.log. We remove comments because anyway the quotes in there
2239
# would cause problems or look ugly.
2240
# WARNING: Use '\'' to represent an apostrophe within the trap.
2241
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2242
trap 'exit_status=$?
2243
# Save into config.log some information that might help in debugging.
2248
## ---------------- ##
2249
## Cache variables. ##
2250
## ---------------- ##
2253
# The following way of writing the cache mishandles newlines in values,
2255
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2256
eval ac_val=\$$ac_var
2260
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2261
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2264
_ | IFS | as_nl) ;; #(
2265
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2266
*) { eval $ac_var=; unset $ac_var;} ;;
2271
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2272
*${as_nl}ac_space=\ *)
2274
"s/'\''/'\''\\\\'\'''\''/g;
2275
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2278
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2286
## ----------------- ##
2287
## Output variables. ##
2288
## ----------------- ##
2291
for ac_var in $ac_subst_vars
2293
eval ac_val=\$$ac_var
2295
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2297
$as_echo "$ac_var='\''$ac_val'\''"
2301
if test -n "$ac_subst_files"; then
2303
## ------------------- ##
2304
## File substitutions. ##
2305
## ------------------- ##
2308
for ac_var in $ac_subst_files
2310
eval ac_val=\$$ac_var
2312
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2314
$as_echo "$ac_var='\''$ac_val'\''"
2319
if test -s confdefs.h; then
2329
test "$ac_signal" != 0 &&
2330
$as_echo "$as_me: caught signal $ac_signal"
2331
$as_echo "$as_me: exit $exit_status"
2333
rm -f core *.core core.conftest.* &&
2334
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2337
for ac_signal in 1 2 13 15; do
2338
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2342
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2343
rm -f -r conftest* confdefs.h
2345
$as_echo "/* confdefs.h */" > confdefs.h
2347
# Predefined preprocessor variables.
2349
cat >>confdefs.h <<_ACEOF
2350
#define PACKAGE_NAME "$PACKAGE_NAME"
2353
cat >>confdefs.h <<_ACEOF
2354
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2357
cat >>confdefs.h <<_ACEOF
2358
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2361
cat >>confdefs.h <<_ACEOF
2362
#define PACKAGE_STRING "$PACKAGE_STRING"
2365
cat >>confdefs.h <<_ACEOF
2366
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2369
cat >>confdefs.h <<_ACEOF
2370
#define PACKAGE_URL "$PACKAGE_URL"
2374
# Let the site file select an alternate cache file if it wants to.
2375
# Prefer an explicitly selected file to automatically selected ones.
2378
if test -n "$CONFIG_SITE"; then
2379
ac_site_file1=$CONFIG_SITE
2380
elif test "x$prefix" != xNONE; then
2381
ac_site_file1=$prefix/share/config.site
2382
ac_site_file2=$prefix/etc/config.site
2384
ac_site_file1=$ac_default_prefix/share/config.site
2385
ac_site_file2=$ac_default_prefix/etc/config.site
2387
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2389
test "x$ac_site_file" = xNONE && continue
2390
if test -r "$ac_site_file"; then
2391
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2392
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2393
sed 's/^/| /' "$ac_site_file" >&5
2398
if test -r "$cache_file"; then
2399
# Some versions of bash will fail to source /dev/null (special
2400
# files actually), so we avoid doing that.
2401
if test -f "$cache_file"; then
2402
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2403
$as_echo "$as_me: loading cache $cache_file" >&6;}
2405
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2406
*) . "./$cache_file";;
2410
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2411
$as_echo "$as_me: creating cache $cache_file" >&6;}
2415
# Check that the precious variables saved in the cache have kept the same
2417
ac_cache_corrupted=false
2418
for ac_var in $ac_precious_vars; do
2419
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2420
eval ac_new_set=\$ac_env_${ac_var}_set
2421
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2422
eval ac_new_val=\$ac_env_${ac_var}_value
2423
case $ac_old_set,$ac_new_set in
2425
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2426
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2427
ac_cache_corrupted=: ;;
2429
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2430
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2431
ac_cache_corrupted=: ;;
2434
if test "x$ac_old_val" != "x$ac_new_val"; then
2435
# differences in whitespace do not lead to failure.
2436
ac_old_val_w=`echo x $ac_old_val`
2437
ac_new_val_w=`echo x $ac_new_val`
2438
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2439
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2440
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2441
ac_cache_corrupted=:
2443
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2444
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2445
eval $ac_var=\$ac_old_val
2447
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2448
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2449
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2450
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2453
# Pass precious variables to config.status.
2454
if test "$ac_new_set" = set; then
2456
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2457
*) ac_arg=$ac_var=$ac_new_val ;;
2459
case " $ac_configure_args " in
2460
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2461
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2465
if $ac_cache_corrupted; then
2466
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2467
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2468
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2469
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2470
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2472
## -------------------- ##
2473
## Main body of script. ##
2474
## -------------------- ##
2477
ac_cpp='$CPP $CPPFLAGS'
2478
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2479
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2480
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2484
for ac_dir in config "$srcdir"/config; do
2485
for ac_t in install-sh install.sh shtool; do
2486
if test -f "$ac_dir/$ac_t"; then
2488
ac_install_sh="$ac_aux_dir/$ac_t -c"
2493
if test -z "$ac_aux_dir"; then
2494
as_fn_error "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2497
# These three variables are undocumented and unsupported,
2498
# and are intended to be withdrawn in a future Autoconf release.
2499
# They can cause serious problems if a builder's source tree is in a directory
2500
# whose full name contains unusual characters.
2501
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2502
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2503
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2506
am__api_version='1.11'
2508
# Find a good install program. We prefer a C program (faster),
2509
# so one script is as good as another. But avoid the broken or
2510
# incompatible versions:
2511
# SysV /etc/install, /usr/sbin/install
2512
# SunOS /usr/etc/install
2513
# IRIX /sbin/install
2515
# AmigaOS /C/install, which installs bootblocks on floppy discs
2516
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2517
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2518
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2519
# OS/2's system install, which has a completely different semantic
2520
# ./install, which can be erroneously created by make from ./install.sh.
2521
# Reject install programs that cannot install multiple files.
2522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2523
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2524
if test -z "$INSTALL"; then
2525
if test "${ac_cv_path_install+set}" = set; then :
2526
$as_echo_n "(cached) " >&6
2528
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2532
test -z "$as_dir" && as_dir=.
2533
# Account for people who put trailing slashes in PATH elements.
2534
case $as_dir/ in #((
2535
./ | .// | /[cC]/* | \
2536
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2537
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2540
# OSF1 and SCO ODT 3.0 have their own names for install.
2541
# Don't use installbsd from OSF since it installs stuff as root
2543
for ac_prog in ginstall scoinst install; do
2544
for ac_exec_ext in '' $ac_executable_extensions; do
2545
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2546
if test $ac_prog = install &&
2547
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2548
# AIX install. It has an incompatible calling convention.
2550
elif test $ac_prog = install &&
2551
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2552
# program-specific install script used by HP pwplus--don't use.
2555
rm -rf conftest.one conftest.two conftest.dir
2556
echo one > conftest.one
2557
echo two > conftest.two
2559
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2560
test -s conftest.one && test -s conftest.two &&
2561
test -s conftest.dir/conftest.one &&
2562
test -s conftest.dir/conftest.two
2564
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2577
rm -rf conftest.one conftest.two conftest.dir
2580
if test "${ac_cv_path_install+set}" = set; then
2581
INSTALL=$ac_cv_path_install
2583
# As a last resort, use the slow shell script. Don't cache a
2584
# value for INSTALL within a source directory, because that will
2585
# break other packages using the cache if that directory is
2586
# removed, or if the value is a relative name.
2587
INSTALL=$ac_install_sh
2590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2591
$as_echo "$INSTALL" >&6; }
2593
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2594
# It thinks the first close brace ends the variable substitution.
2595
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2597
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2599
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2602
$as_echo_n "checking whether build environment is sane... " >&6; }
2605
echo timestamp > conftest.file
2606
# Reject unsafe characters in $srcdir or the absolute working directory
2607
# name. Accept space and tab only in the latter.
2611
*[\\\"\#\$\&\'\`$am_lf]*)
2612
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2615
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2616
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2619
# Do `set' in a subshell so we don't clobber the current shell's
2620
# arguments. Must try -L first in case configure is actually a
2621
# symlink; some systems play weird games with the mod time of symlinks
2622
# (eg FreeBSD returns the mod time of the symlink's containing
2625
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2626
if test "$*" = "X"; then
2628
set X `ls -t "$srcdir/configure" conftest.file`
2631
if test "$*" != "X $srcdir/configure conftest.file" \
2632
&& test "$*" != "X conftest.file $srcdir/configure"; then
2634
# If neither matched, then we have a broken ls. This can happen
2635
# if, for instance, CONFIG_SHELL is bash and it inherits a
2636
# broken ls alias from the environment. This has actually
2637
# happened. Such a system could not be considered "sane".
2638
as_fn_error "ls -t appears to fail. Make sure there is not a broken
2639
alias in your environment" "$LINENO" 5
2642
test "$2" = conftest.file
2648
as_fn_error "newly created file is older than distributed files!
2649
Check your system clock" "$LINENO" 5
2651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2652
$as_echo "yes" >&6; }
2653
test "$program_prefix" != NONE &&
2654
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2655
# Use a double $ so make ignores it.
2656
test "$program_suffix" != NONE &&
2657
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2658
# Double any \ or $.
2659
# By default was `s,x,x', remove it if useless.
2660
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2661
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2663
# expand $ac_aux_dir to an absolute path
2664
am_aux_dir=`cd $ac_aux_dir && pwd`
2666
if test x"${MISSING+set}" != xset; then
2669
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2671
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2674
# Use eval to expand $SHELL
2675
if eval "$MISSING --run true"; then
2676
am_missing_run="$MISSING --run "
2679
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2680
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2683
if test x"${install_sh}" != xset; then
2686
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2688
install_sh="\${SHELL} $am_aux_dir/install-sh"
2692
# Installed binaries are usually stripped using `strip' when the user
2693
# run `make install-strip'. However `strip' might not be the right
2694
# tool to use in cross-compilation environments, therefore Automake
2695
# will honor the `STRIP' environment variable to overrule this program.
2696
if test "$cross_compiling" != no; then
2697
if test -n "$ac_tool_prefix"; then
2698
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2699
set dummy ${ac_tool_prefix}strip; ac_word=$2
2700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2701
$as_echo_n "checking for $ac_word... " >&6; }
2702
if test "${ac_cv_prog_STRIP+set}" = set; then :
2703
$as_echo_n "(cached) " >&6
2705
if test -n "$STRIP"; then
2706
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2708
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712
test -z "$as_dir" && as_dir=.
2713
for ac_exec_ext in '' $ac_executable_extensions; do
2714
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2715
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2716
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2725
STRIP=$ac_cv_prog_STRIP
2726
if test -n "$STRIP"; then
2727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2728
$as_echo "$STRIP" >&6; }
2730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2731
$as_echo "no" >&6; }
2736
if test -z "$ac_cv_prog_STRIP"; then
2738
# Extract the first word of "strip", so it can be a program name with args.
2739
set dummy strip; ac_word=$2
2740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741
$as_echo_n "checking for $ac_word... " >&6; }
2742
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2743
$as_echo_n "(cached) " >&6
2745
if test -n "$ac_ct_STRIP"; then
2746
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2748
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752
test -z "$as_dir" && as_dir=.
2753
for ac_exec_ext in '' $ac_executable_extensions; do
2754
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2755
ac_cv_prog_ac_ct_STRIP="strip"
2756
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2765
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2766
if test -n "$ac_ct_STRIP"; then
2767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2768
$as_echo "$ac_ct_STRIP" >&6; }
2770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771
$as_echo "no" >&6; }
2774
if test "x$ac_ct_STRIP" = x; then
2777
case $cross_compiling:$ac_tool_warned in
2779
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2780
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2781
ac_tool_warned=yes ;;
2786
STRIP="$ac_cv_prog_STRIP"
2790
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2793
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2794
if test -z "$MKDIR_P"; then
2795
if test "${ac_cv_path_mkdir+set}" = set; then :
2796
$as_echo_n "(cached) " >&6
2798
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2799
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2802
test -z "$as_dir" && as_dir=.
2803
for ac_prog in mkdir gmkdir; do
2804
for ac_exec_ext in '' $ac_executable_extensions; do
2805
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2806
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2807
'mkdir (GNU coreutils) '* | \
2808
'mkdir (coreutils) '* | \
2809
'mkdir (fileutils) '4.1*)
2810
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2820
if test "${ac_cv_path_mkdir+set}" = set; then
2821
MKDIR_P="$ac_cv_path_mkdir -p"
2823
# As a last resort, use the slow shell script. Don't cache a
2824
# value for MKDIR_P within a source directory, because that will
2825
# break other packages using the cache if that directory is
2826
# removed, or if the value is a relative name.
2827
test -d ./--version && rmdir ./--version
2828
MKDIR_P="$ac_install_sh -d"
2831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2832
$as_echo "$MKDIR_P" >&6; }
2836
[\\/$]* | ?:[\\/]*) ;;
2837
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2840
for ac_prog in gawk mawk nawk awk
2842
# Extract the first word of "$ac_prog", so it can be a program name with args.
2843
set dummy $ac_prog; ac_word=$2
2844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845
$as_echo_n "checking for $ac_word... " >&6; }
2846
if test "${ac_cv_prog_AWK+set}" = set; then :
2847
$as_echo_n "(cached) " >&6
2849
if test -n "$AWK"; then
2850
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856
test -z "$as_dir" && as_dir=.
2857
for ac_exec_ext in '' $ac_executable_extensions; do
2858
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2859
ac_cv_prog_AWK="$ac_prog"
2860
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2870
if test -n "$AWK"; then
2871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2872
$as_echo "$AWK" >&6; }
2874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875
$as_echo "no" >&6; }
2879
test -n "$AWK" && break
2882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2883
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2885
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2886
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2887
$as_echo_n "(cached) " >&6
2889
cat >conftest.make <<\_ACEOF
2892
@echo '@@@%%%=$(MAKE)=@@@%%%'
2894
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2895
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2897
eval ac_cv_prog_make_${ac_make}_set=yes;;
2899
eval ac_cv_prog_make_${ac_make}_set=no;;
2903
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2905
$as_echo "yes" >&6; }
2908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2909
$as_echo "no" >&6; }
2910
SET_MAKE="MAKE=${MAKE-make}"
2913
rm -rf .tst 2>/dev/null
2914
mkdir .tst 2>/dev/null
2915
if test -d .tst; then
2920
rmdir .tst 2>/dev/null
2922
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2923
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2924
# is not polluted with repeated "-I."
2925
am__isrc=' -I$(srcdir)'
2926
# test to see if srcdir already configured
2927
if test -f $srcdir/config.status; then
2928
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2932
# test whether we have cygpath
2933
if test -z "$CYGPATH_W"; then
2934
if (cygpath --version) >/dev/null 2>/dev/null; then
2935
CYGPATH_W='cygpath -w'
2942
# Define the identity of the package.
2947
cat >>confdefs.h <<_ACEOF
2948
#define PACKAGE "$PACKAGE"
2952
cat >>confdefs.h <<_ACEOF
2953
#define VERSION "$VERSION"
2956
# Some tools Automake needs.
2958
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2961
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2964
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2967
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2970
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2972
# We need awk for the "check" target. The system "awk" is bad on
2974
# Always define AMTAR for backward compatibility.
2976
AMTAR=${AMTAR-"${am_missing_run}tar"}
2978
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2984
ac_config_headers="$ac_config_headers config.h"
2986
# Check whether --enable-static was given.
2987
if test "${enable_static+set}" = set; then :
2988
enableval=$enable_static; p=${PACKAGE-default}
2990
yes) enable_static=yes ;;
2991
no) enable_static=no ;;
2994
# Look at the argument we got. We use all the common list separators.
2995
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2996
for pkg in $enableval; do
2998
if test "X$pkg" = "X$p"; then
3018
# Checks for programs.
3020
ac_cpp='$CXXCPP $CPPFLAGS'
3021
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3024
if test -z "$CXX"; then
3025
if test -n "$CCC"; then
3028
if test -n "$ac_tool_prefix"; then
3029
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3031
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3032
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3033
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034
$as_echo_n "checking for $ac_word... " >&6; }
3035
if test "${ac_cv_prog_CXX+set}" = set; then :
3036
$as_echo_n "(cached) " >&6
3038
if test -n "$CXX"; then
3039
ac_cv_prog_CXX="$CXX" # Let the user override the test.
3041
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045
test -z "$as_dir" && as_dir=.
3046
for ac_exec_ext in '' $ac_executable_extensions; do
3047
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3048
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3049
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059
if test -n "$CXX"; then
3060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3061
$as_echo "$CXX" >&6; }
3063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064
$as_echo "no" >&6; }
3068
test -n "$CXX" && break
3071
if test -z "$CXX"; then
3073
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3075
# Extract the first word of "$ac_prog", so it can be a program name with args.
3076
set dummy $ac_prog; ac_word=$2
3077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078
$as_echo_n "checking for $ac_word... " >&6; }
3079
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3080
$as_echo_n "(cached) " >&6
3082
if test -n "$ac_ct_CXX"; then
3083
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3085
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3089
test -z "$as_dir" && as_dir=.
3090
for ac_exec_ext in '' $ac_executable_extensions; do
3091
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3092
ac_cv_prog_ac_ct_CXX="$ac_prog"
3093
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3102
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3103
if test -n "$ac_ct_CXX"; then
3104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3105
$as_echo "$ac_ct_CXX" >&6; }
3107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108
$as_echo "no" >&6; }
3112
test -n "$ac_ct_CXX" && break
3115
if test "x$ac_ct_CXX" = x; then
3118
case $cross_compiling:$ac_tool_warned in
3120
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3121
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3122
ac_tool_warned=yes ;;
3130
# Provide some information about the compiler.
3131
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3134
for ac_option in --version -v -V -qversion; do
3135
{ { ac_try="$ac_compiler $ac_option >&5"
3137
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138
*) ac_try_echo=$ac_try;;
3140
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141
$as_echo "$ac_try_echo"; } >&5
3142
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3144
if test -s conftest.err; then
3146
... rest of stderr output deleted ...
3147
10q' conftest.err >conftest.er1
3148
cat conftest.er1 >&5
3149
rm -f conftest.er1 conftest.err
3151
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152
test $ac_status = 0; }
3155
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156
/* end confdefs.h. */
3161
FILE *f = fopen ("conftest.out", "w");
3162
return ferror (f) || fclose (f) != 0;
3168
ac_clean_files_save=$ac_clean_files
3169
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3170
# Try to create an executable without -o first, disregard a.out.
3171
# It will help us diagnose broken compilers, and finding out an intuition
3173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3174
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3175
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3177
# The possible output files:
3178
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3181
for ac_file in $ac_files
3184
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3185
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3190
if { { ac_try="$ac_link_default"
3192
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193
*) ac_try_echo=$ac_try;;
3195
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3196
$as_echo "$ac_try_echo"; } >&5
3197
(eval "$ac_link_default") 2>&5
3199
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3200
test $ac_status = 0; }; then :
3201
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3202
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3203
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3204
# so that the user can short-circuit this test for compilers unknown to
3206
for ac_file in $ac_files ''
3208
test -f "$ac_file" || continue
3210
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3213
# We found the default executable, but exeext='' is most
3217
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3219
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3221
# We set ac_cv_exeext here because the later test for it is not
3222
# safe: cross compilers may not add the suffix if given an `-o'
3223
# argument, so we may need to know it at that point already.
3224
# Even if this section looks crufty: it has the advantage of
3231
test "$ac_cv_exeext" = no && ac_cv_exeext=
3236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3237
$as_echo "$ac_file" >&6; }
3238
if test -z "$ac_file"; then :
3239
$as_echo "$as_me: failed program was:" >&5
3240
sed 's/^/| /' conftest.$ac_ext >&5
3242
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244
{ as_fn_set_status 77
3245
as_fn_error "C++ compiler cannot create executables
3246
See \`config.log' for more details." "$LINENO" 5; }; }
3248
ac_exeext=$ac_cv_exeext
3250
# Check that the compiler produces executables we can run. If not, either
3251
# the compiler is broken, or we cross compile.
3252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3253
$as_echo_n "checking whether the C++ compiler works... " >&6; }
3254
# If not cross compiling, check that we can run a simple program.
3255
if test "$cross_compiling" != yes; then
3256
if { ac_try='./$ac_file'
3257
{ { case "(($ac_try" in
3258
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259
*) ac_try_echo=$ac_try;;
3261
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262
$as_echo "$ac_try_echo"; } >&5
3263
(eval "$ac_try") 2>&5
3265
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266
test $ac_status = 0; }; }; then
3269
if test "$cross_compiling" = maybe; then
3272
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3273
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3274
as_fn_error "cannot run C++ compiled programs.
3275
If you meant to cross compile, use \`--host'.
3276
See \`config.log' for more details." "$LINENO" 5; }
3280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3281
$as_echo "yes" >&6; }
3283
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3284
ac_clean_files=$ac_clean_files_save
3285
# Check that the compiler produces executables we can run. If not, either
3286
# the compiler is broken, or we cross compile.
3287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3288
$as_echo_n "checking whether we are cross compiling... " >&6; }
3289
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3290
$as_echo "$cross_compiling" >&6; }
3292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3293
$as_echo_n "checking for suffix of executables... " >&6; }
3294
if { { ac_try="$ac_link"
3296
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297
*) ac_try_echo=$ac_try;;
3299
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300
$as_echo "$ac_try_echo"; } >&5
3301
(eval "$ac_link") 2>&5
3303
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304
test $ac_status = 0; }; then :
3305
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3306
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3307
# work properly (i.e., refer to `conftest.exe'), while it won't with
3309
for ac_file in conftest.exe conftest conftest.*; do
3310
test -f "$ac_file" || continue
3312
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3313
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3319
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3320
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3321
as_fn_error "cannot compute suffix of executables: cannot compile and link
3322
See \`config.log' for more details." "$LINENO" 5; }
3324
rm -f conftest$ac_cv_exeext
3325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3326
$as_echo "$ac_cv_exeext" >&6; }
3328
rm -f conftest.$ac_ext
3329
EXEEXT=$ac_cv_exeext
3331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3332
$as_echo_n "checking for suffix of object files... " >&6; }
3333
if test "${ac_cv_objext+set}" = set; then :
3334
$as_echo_n "(cached) " >&6
3336
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3337
/* end confdefs.h. */
3347
rm -f conftest.o conftest.obj
3348
if { { ac_try="$ac_compile"
3350
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3351
*) ac_try_echo=$ac_try;;
3353
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3354
$as_echo "$ac_try_echo"; } >&5
3355
(eval "$ac_compile") 2>&5
3357
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3358
test $ac_status = 0; }; then :
3359
for ac_file in conftest.o conftest.obj conftest.*; do
3360
test -f "$ac_file" || continue;
3362
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3363
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3368
$as_echo "$as_me: failed program was:" >&5
3369
sed 's/^/| /' conftest.$ac_ext >&5
3371
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3372
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3373
as_fn_error "cannot compute suffix of object files: cannot compile
3374
See \`config.log' for more details." "$LINENO" 5; }
3376
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3379
$as_echo "$ac_cv_objext" >&6; }
3380
OBJEXT=$ac_cv_objext
3382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3383
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3384
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3385
$as_echo_n "(cached) " >&6
3387
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3388
/* end confdefs.h. */
3401
if ac_fn_cxx_try_compile "$LINENO"; then :
3406
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3407
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3410
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3411
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3412
if test $ac_compiler_gnu = yes; then
3417
ac_test_CXXFLAGS=${CXXFLAGS+set}
3418
ac_save_CXXFLAGS=$CXXFLAGS
3419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3420
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3421
if test "${ac_cv_prog_cxx_g+set}" = set; then :
3422
$as_echo_n "(cached) " >&6
3424
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3425
ac_cxx_werror_flag=yes
3428
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3429
/* end confdefs.h. */
3439
if ac_fn_cxx_try_compile "$LINENO"; then :
3440
ac_cv_prog_cxx_g=yes
3443
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3444
/* end confdefs.h. */
3454
if ac_fn_cxx_try_compile "$LINENO"; then :
3457
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3459
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3460
/* end confdefs.h. */
3470
if ac_fn_cxx_try_compile "$LINENO"; then :
3471
ac_cv_prog_cxx_g=yes
3473
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3475
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3481
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3482
if test "$ac_test_CXXFLAGS" = set; then
3483
CXXFLAGS=$ac_save_CXXFLAGS
3484
elif test $ac_cv_prog_cxx_g = yes; then
3485
if test "$GXX" = yes; then
3491
if test "$GXX" = yes; then
3498
ac_cpp='$CPP $CPPFLAGS'
3499
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3502
DEPDIR="${am__leading_dot}deps"
3504
ac_config_commands="$ac_config_commands depfiles"
3507
am_make=${MAKE-make}
3508
cat > confinc << 'END'
3510
@echo this is the am__doit target
3513
# If we don't find an include directive, just comment out the code.
3514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3515
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3519
# First try GNU make style include.
3520
echo "include confinc" > confmf
3521
# Ignore all kinds of additional output from `make'.
3522
case `$am_make -s -f confmf 2> /dev/null` in #(
3523
*the\ am__doit\ target*)
3529
# Now try BSD make style include.
3530
if test "$am__include" = "#"; then
3531
echo '.include "confinc"' > confmf
3532
case `$am_make -s -f confmf 2> /dev/null` in #(
3533
*the\ am__doit\ target*)
3534
am__include=.include
3542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3543
$as_echo "$_am_result" >&6; }
3544
rm -f confinc confmf
3546
# Check whether --enable-dependency-tracking was given.
3547
if test "${enable_dependency_tracking+set}" = set; then :
3548
enableval=$enable_dependency_tracking;
3551
if test "x$enable_dependency_tracking" != xno; then
3552
am_depcomp="$ac_aux_dir/depcomp"
3555
if test "x$enable_dependency_tracking" != xno; then
3565
depcc="$CXX" am_compiler_list=
3567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3568
$as_echo_n "checking dependency style of $depcc... " >&6; }
3569
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3570
$as_echo_n "(cached) " >&6
3572
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3573
# We make a subdir and do the tests there. Otherwise we can end up
3574
# making bogus files that we don't know about and never remove. For
3575
# instance it was reported that on HP-UX the gcc test will end up
3576
# making a dummy file named `D' -- because `-MD' means `put the output
3579
# Copy depcomp to subdir because otherwise we won't find it if we're
3580
# using a relative directory.
3581
cp "$am_depcomp" conftest.dir
3583
# We will build objects and dependencies in a subdirectory because
3584
# it helps to detect inapplicable dependency modes. For instance
3585
# both Tru64's cc and ICC support -MD to output dependencies as a
3586
# side effect of compilation, but ICC will put the dependencies in
3587
# the current directory while Tru64 will put them in the object
3591
am_cv_CXX_dependencies_compiler_type=none
3592
if test "$am_compiler_list" = ""; then
3593
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3596
case " $depcc " in #(
3597
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3600
for depmode in $am_compiler_list; do
3601
# Setup a source with many dependencies, because some compilers
3602
# like to wrap large dependency lists on column 80 (with \), and
3603
# we should not choose a depcomp mode which is confused by this.
3605
# We need to recreate these files for each test, as the compiler may
3606
# overwrite some of them when testing with obscure command lines.
3607
# This happens at least with the AIX C compiler.
3609
for i in 1 2 3 4 5 6; do
3610
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3611
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3612
# Solaris 8's {/usr,}/bin/sh.
3613
touch sub/conftst$i.h
3615
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3617
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3618
# mode. It turns out that the SunPro C++ compiler does not properly
3619
# handle `-M -o', and we need to detect this. Also, some Intel
3620
# versions had trouble with output in subdirs
3621
am__obj=sub/conftest.${OBJEXT-o}
3622
am__minus_obj="-o $am__obj"
3625
# This depmode causes a compiler race in universal mode.
3626
test "$am__universal" = false || continue
3629
# after this tag, mechanisms are not by side-effect, so they'll
3630
# only be used when explicitly requested
3631
if test "x$enable_dependency_tracking" = xyes; then
3637
msvisualcpp | msvcmsys)
3638
# This compiler won't grok `-c -o', but also, the minuso test has
3639
# not run yet. These depmodes are late enough in the game, and
3640
# so weak that their functioning should not be impacted.
3641
am__obj=conftest.${OBJEXT-o}
3646
if depmode=$depmode \
3647
source=sub/conftest.c object=$am__obj \
3648
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3649
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3650
>/dev/null 2>conftest.err &&
3651
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3652
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3653
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3654
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3655
# icc doesn't choke on unknown options, it will just issue warnings
3656
# or remarks (even with -Werror). So we grep stderr for any message
3657
# that says an option was ignored or not supported.
3658
# When given -MP, icc 7.0 and 7.1 complain thusly:
3659
# icc: Command line warning: ignoring option '-M'; no argument required
3660
# The diagnosis changed in icc 8.0:
3661
# icc: Command line remark: option '-MP' not supported
3662
if (grep 'ignoring option' conftest.err ||
3663
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3664
am_cv_CXX_dependencies_compiler_type=$depmode
3673
am_cv_CXX_dependencies_compiler_type=none
3677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3678
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3679
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3682
test "x$enable_dependency_tracking" != xno \
3683
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3684
am__fastdepCXX_TRUE=
3685
am__fastdepCXX_FALSE='#'
3687
am__fastdepCXX_TRUE='#'
3688
am__fastdepCXX_FALSE=
3693
ac_cpp='$CPP $CPPFLAGS'
3694
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3695
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3696
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3697
if test -n "$ac_tool_prefix"; then
3698
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3699
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701
$as_echo_n "checking for $ac_word... " >&6; }
3702
if test "${ac_cv_prog_CC+set}" = set; then :
3703
$as_echo_n "(cached) " >&6
3705
if test -n "$CC"; then
3706
ac_cv_prog_CC="$CC" # Let the user override the test.
3708
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712
test -z "$as_dir" && as_dir=.
3713
for ac_exec_ext in '' $ac_executable_extensions; do
3714
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3716
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726
if test -n "$CC"; then
3727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728
$as_echo "$CC" >&6; }
3730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731
$as_echo "no" >&6; }
3736
if test -z "$ac_cv_prog_CC"; then
3738
# Extract the first word of "gcc", so it can be a program name with args.
3739
set dummy gcc; ac_word=$2
3740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741
$as_echo_n "checking for $ac_word... " >&6; }
3742
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3743
$as_echo_n "(cached) " >&6
3745
if test -n "$ac_ct_CC"; then
3746
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3748
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752
test -z "$as_dir" && as_dir=.
3753
for ac_exec_ext in '' $ac_executable_extensions; do
3754
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755
ac_cv_prog_ac_ct_CC="gcc"
3756
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3766
if test -n "$ac_ct_CC"; then
3767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3768
$as_echo "$ac_ct_CC" >&6; }
3770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771
$as_echo "no" >&6; }
3774
if test "x$ac_ct_CC" = x; then
3777
case $cross_compiling:$ac_tool_warned in
3779
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3780
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3781
ac_tool_warned=yes ;;
3789
if test -z "$CC"; then
3790
if test -n "$ac_tool_prefix"; then
3791
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3792
set dummy ${ac_tool_prefix}cc; ac_word=$2
3793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794
$as_echo_n "checking for $ac_word... " >&6; }
3795
if test "${ac_cv_prog_CC+set}" = set; then :
3796
$as_echo_n "(cached) " >&6
3798
if test -n "$CC"; then
3799
ac_cv_prog_CC="$CC" # Let the user override the test.
3801
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3805
test -z "$as_dir" && as_dir=.
3806
for ac_exec_ext in '' $ac_executable_extensions; do
3807
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3808
ac_cv_prog_CC="${ac_tool_prefix}cc"
3809
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819
if test -n "$CC"; then
3820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3821
$as_echo "$CC" >&6; }
3823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824
$as_echo "no" >&6; }
3830
if test -z "$CC"; then
3831
# Extract the first word of "cc", so it can be a program name with args.
3832
set dummy cc; ac_word=$2
3833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834
$as_echo_n "checking for $ac_word... " >&6; }
3835
if test "${ac_cv_prog_CC+set}" = set; then :
3836
$as_echo_n "(cached) " >&6
3838
if test -n "$CC"; then
3839
ac_cv_prog_CC="$CC" # Let the user override the test.
3842
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846
test -z "$as_dir" && as_dir=.
3847
for ac_exec_ext in '' $ac_executable_extensions; do
3848
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3849
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3850
ac_prog_rejected=yes
3854
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861
if test $ac_prog_rejected = yes; then
3862
# We found a bogon in the path, so make sure we never use it.
3863
set dummy $ac_cv_prog_CC
3865
if test $# != 0; then
3866
# We chose a different compiler from the bogus one.
3867
# However, it has the same basename, so the bogon will be chosen
3868
# first if we set CC to just the basename; use the full file name.
3870
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3876
if test -n "$CC"; then
3877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3878
$as_echo "$CC" >&6; }
3880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881
$as_echo "no" >&6; }
3886
if test -z "$CC"; then
3887
if test -n "$ac_tool_prefix"; then
3888
for ac_prog in cl.exe
3890
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3891
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893
$as_echo_n "checking for $ac_word... " >&6; }
3894
if test "${ac_cv_prog_CC+set}" = set; then :
3895
$as_echo_n "(cached) " >&6
3897
if test -n "$CC"; then
3898
ac_cv_prog_CC="$CC" # Let the user override the test.
3900
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3904
test -z "$as_dir" && as_dir=.
3905
for ac_exec_ext in '' $ac_executable_extensions; do
3906
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3907
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3908
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3918
if test -n "$CC"; then
3919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3920
$as_echo "$CC" >&6; }
3922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3923
$as_echo "no" >&6; }
3927
test -n "$CC" && break
3930
if test -z "$CC"; then
3932
for ac_prog in cl.exe
3934
# Extract the first word of "$ac_prog", so it can be a program name with args.
3935
set dummy $ac_prog; ac_word=$2
3936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937
$as_echo_n "checking for $ac_word... " >&6; }
3938
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3939
$as_echo_n "(cached) " >&6
3941
if test -n "$ac_ct_CC"; then
3942
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3944
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3948
test -z "$as_dir" && as_dir=.
3949
for ac_exec_ext in '' $ac_executable_extensions; do
3950
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3951
ac_cv_prog_ac_ct_CC="$ac_prog"
3952
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3961
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3962
if test -n "$ac_ct_CC"; then
3963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3964
$as_echo "$ac_ct_CC" >&6; }
3966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967
$as_echo "no" >&6; }
3971
test -n "$ac_ct_CC" && break
3974
if test "x$ac_ct_CC" = x; then
3977
case $cross_compiling:$ac_tool_warned in
3979
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3980
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3981
ac_tool_warned=yes ;;
3990
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992
as_fn_error "no acceptable C compiler found in \$PATH
3993
See \`config.log' for more details." "$LINENO" 5; }
3995
# Provide some information about the compiler.
3996
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3999
for ac_option in --version -v -V -qversion; do
4000
{ { ac_try="$ac_compiler $ac_option >&5"
4002
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003
*) ac_try_echo=$ac_try;;
4005
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006
$as_echo "$ac_try_echo"; } >&5
4007
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4009
if test -s conftest.err; then
4011
... rest of stderr output deleted ...
4012
10q' conftest.err >conftest.er1
4013
cat conftest.er1 >&5
4014
rm -f conftest.er1 conftest.err
4016
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017
test $ac_status = 0; }
4020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4021
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4022
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4023
$as_echo_n "(cached) " >&6
4025
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026
/* end confdefs.h. */
4039
if ac_fn_c_try_compile "$LINENO"; then :
4044
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4045
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4049
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4050
if test $ac_compiler_gnu = yes; then
4055
ac_test_CFLAGS=${CFLAGS+set}
4056
ac_save_CFLAGS=$CFLAGS
4057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4058
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4059
if test "${ac_cv_prog_cc_g+set}" = set; then :
4060
$as_echo_n "(cached) " >&6
4062
ac_save_c_werror_flag=$ac_c_werror_flag
4063
ac_c_werror_flag=yes
4066
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067
/* end confdefs.h. */
4077
if ac_fn_c_try_compile "$LINENO"; then :
4081
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082
/* end confdefs.h. */
4092
if ac_fn_c_try_compile "$LINENO"; then :
4095
ac_c_werror_flag=$ac_save_c_werror_flag
4097
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098
/* end confdefs.h. */
4108
if ac_fn_c_try_compile "$LINENO"; then :
4111
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4113
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4115
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116
ac_c_werror_flag=$ac_save_c_werror_flag
4118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4119
$as_echo "$ac_cv_prog_cc_g" >&6; }
4120
if test "$ac_test_CFLAGS" = set; then
4121
CFLAGS=$ac_save_CFLAGS
4122
elif test $ac_cv_prog_cc_g = yes; then
4123
if test "$GCC" = yes; then
4129
if test "$GCC" = yes; then
4135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4136
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4137
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4138
$as_echo_n "(cached) " >&6
4140
ac_cv_prog_cc_c89=no
4142
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143
/* end confdefs.h. */
4146
#include <sys/types.h>
4147
#include <sys/stat.h>
4148
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4149
struct buf { int x; };
4150
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4151
static char *e (p, i)
4157
static char *f (char * (*g) (char **, int), char **p, ...)
4162
s = g (p, va_arg (v,int));
4167
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4168
function prototypes and stuff, but not '\xHH' hex character constants.
4169
These don't provoke an error unfortunately, instead are silently treated
4170
as 'x'. The following induces an error, until -std is added to get
4171
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4172
array size at least. It's necessary to write '\x00'==0 to get something
4173
that's true only with -std. */
4174
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4176
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4177
inside strings and character constants. */
4179
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4181
int test (int i, double x);
4182
struct s1 {int (*f) (int a);};
4183
struct s2 {int (*f) (double a);};
4184
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4190
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4195
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4196
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4198
CC="$ac_save_CC $ac_arg"
4199
if ac_fn_c_try_compile "$LINENO"; then :
4200
ac_cv_prog_cc_c89=$ac_arg
4202
rm -f core conftest.err conftest.$ac_objext
4203
test "x$ac_cv_prog_cc_c89" != "xno" && break
4205
rm -f conftest.$ac_ext
4210
case "x$ac_cv_prog_cc_c89" in
4212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4213
$as_echo "none needed" >&6; } ;;
4215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4216
$as_echo "unsupported" >&6; } ;;
4218
CC="$CC $ac_cv_prog_cc_c89"
4219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4220
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4222
if test "x$ac_cv_prog_cc_c89" != xno; then :
4227
ac_cpp='$CPP $CPPFLAGS'
4228
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4229
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4230
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4232
depcc="$CC" am_compiler_list=
4234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4235
$as_echo_n "checking dependency style of $depcc... " >&6; }
4236
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4237
$as_echo_n "(cached) " >&6
4239
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4240
# We make a subdir and do the tests there. Otherwise we can end up
4241
# making bogus files that we don't know about and never remove. For
4242
# instance it was reported that on HP-UX the gcc test will end up
4243
# making a dummy file named `D' -- because `-MD' means `put the output
4246
# Copy depcomp to subdir because otherwise we won't find it if we're
4247
# using a relative directory.
4248
cp "$am_depcomp" conftest.dir
4250
# We will build objects and dependencies in a subdirectory because
4251
# it helps to detect inapplicable dependency modes. For instance
4252
# both Tru64's cc and ICC support -MD to output dependencies as a
4253
# side effect of compilation, but ICC will put the dependencies in
4254
# the current directory while Tru64 will put them in the object
4258
am_cv_CC_dependencies_compiler_type=none
4259
if test "$am_compiler_list" = ""; then
4260
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4263
case " $depcc " in #(
4264
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4267
for depmode in $am_compiler_list; do
4268
# Setup a source with many dependencies, because some compilers
4269
# like to wrap large dependency lists on column 80 (with \), and
4270
# we should not choose a depcomp mode which is confused by this.
4272
# We need to recreate these files for each test, as the compiler may
4273
# overwrite some of them when testing with obscure command lines.
4274
# This happens at least with the AIX C compiler.
4276
for i in 1 2 3 4 5 6; do
4277
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4278
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4279
# Solaris 8's {/usr,}/bin/sh.
4280
touch sub/conftst$i.h
4282
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4284
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4285
# mode. It turns out that the SunPro C++ compiler does not properly
4286
# handle `-M -o', and we need to detect this. Also, some Intel
4287
# versions had trouble with output in subdirs
4288
am__obj=sub/conftest.${OBJEXT-o}
4289
am__minus_obj="-o $am__obj"
4292
# This depmode causes a compiler race in universal mode.
4293
test "$am__universal" = false || continue
4296
# after this tag, mechanisms are not by side-effect, so they'll
4297
# only be used when explicitly requested
4298
if test "x$enable_dependency_tracking" = xyes; then
4304
msvisualcpp | msvcmsys)
4305
# This compiler won't grok `-c -o', but also, the minuso test has
4306
# not run yet. These depmodes are late enough in the game, and
4307
# so weak that their functioning should not be impacted.
4308
am__obj=conftest.${OBJEXT-o}
4313
if depmode=$depmode \
4314
source=sub/conftest.c object=$am__obj \
4315
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4316
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4317
>/dev/null 2>conftest.err &&
4318
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4319
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4320
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4321
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4322
# icc doesn't choke on unknown options, it will just issue warnings
4323
# or remarks (even with -Werror). So we grep stderr for any message
4324
# that says an option was ignored or not supported.
4325
# When given -MP, icc 7.0 and 7.1 complain thusly:
4326
# icc: Command line warning: ignoring option '-M'; no argument required
4327
# The diagnosis changed in icc 8.0:
4328
# icc: Command line remark: option '-MP' not supported
4329
if (grep 'ignoring option' conftest.err ||
4330
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4331
am_cv_CC_dependencies_compiler_type=$depmode
4340
am_cv_CC_dependencies_compiler_type=none
4344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4345
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4346
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4349
test "x$enable_dependency_tracking" != xno \
4350
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4352
am__fastdepCC_FALSE='#'
4354
am__fastdepCC_TRUE='#'
4355
am__fastdepCC_FALSE=
4360
# Check whether --enable-static was given.
4361
if test "${enable_static+set}" = set; then :
4362
enableval=$enable_static; p=${PACKAGE-default}
4364
yes) enable_static=yes ;;
4365
no) enable_static=no ;;
4368
# Look at the argument we got. We use all the common list separators.
4369
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4370
for pkg in $enableval; do
4372
if test "X$pkg" = "X$p"; then
4388
# Make sure we can run config.sub.
4389
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4390
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4393
$as_echo_n "checking build system type... " >&6; }
4394
if test "${ac_cv_build+set}" = set; then :
4395
$as_echo_n "(cached) " >&6
4397
ac_build_alias=$build_alias
4398
test "x$ac_build_alias" = x &&
4399
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4400
test "x$ac_build_alias" = x &&
4401
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4402
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4403
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4407
$as_echo "$ac_cv_build" >&6; }
4408
case $ac_cv_build in
4410
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4413
ac_save_IFS=$IFS; IFS='-'
4419
# Remember, the first character of IFS is used to create $*,
4420
# except with old shells:
4423
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4427
$as_echo_n "checking host system type... " >&6; }
4428
if test "${ac_cv_host+set}" = set; then :
4429
$as_echo_n "(cached) " >&6
4431
if test "x$host_alias" = x; then
4432
ac_cv_host=$ac_cv_build
4434
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4435
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4440
$as_echo "$ac_cv_host" >&6; }
4443
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4446
ac_save_IFS=$IFS; IFS='-'
4452
# Remember, the first character of IFS is used to create $*,
4453
# except with old shells:
4456
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4459
enable_win32_dll=yes
4462
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4463
if test -n "$ac_tool_prefix"; then
4464
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4465
set dummy ${ac_tool_prefix}as; ac_word=$2
4466
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4467
$as_echo_n "checking for $ac_word... " >&6; }
4468
if test "${ac_cv_prog_AS+set}" = set; then :
4469
$as_echo_n "(cached) " >&6
4471
if test -n "$AS"; then
4472
ac_cv_prog_AS="$AS" # Let the user override the test.
4474
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478
test -z "$as_dir" && as_dir=.
4479
for ac_exec_ext in '' $ac_executable_extensions; do
4480
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4481
ac_cv_prog_AS="${ac_tool_prefix}as"
4482
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4492
if test -n "$AS"; then
4493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4494
$as_echo "$AS" >&6; }
4496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4497
$as_echo "no" >&6; }
4502
if test -z "$ac_cv_prog_AS"; then
4504
# Extract the first word of "as", so it can be a program name with args.
4505
set dummy as; ac_word=$2
4506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4507
$as_echo_n "checking for $ac_word... " >&6; }
4508
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4509
$as_echo_n "(cached) " >&6
4511
if test -n "$ac_ct_AS"; then
4512
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4514
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518
test -z "$as_dir" && as_dir=.
4519
for ac_exec_ext in '' $ac_executable_extensions; do
4520
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4521
ac_cv_prog_ac_ct_AS="as"
4522
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4531
ac_ct_AS=$ac_cv_prog_ac_ct_AS
4532
if test -n "$ac_ct_AS"; then
4533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4534
$as_echo "$ac_ct_AS" >&6; }
4536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537
$as_echo "no" >&6; }
4540
if test "x$ac_ct_AS" = x; then
4543
case $cross_compiling:$ac_tool_warned in
4545
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4546
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4547
ac_tool_warned=yes ;;
4555
if test -n "$ac_tool_prefix"; then
4556
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4557
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4559
$as_echo_n "checking for $ac_word... " >&6; }
4560
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
4561
$as_echo_n "(cached) " >&6
4563
if test -n "$DLLTOOL"; then
4564
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4566
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4570
test -z "$as_dir" && as_dir=.
4571
for ac_exec_ext in '' $ac_executable_extensions; do
4572
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4573
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4574
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4583
DLLTOOL=$ac_cv_prog_DLLTOOL
4584
if test -n "$DLLTOOL"; then
4585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4586
$as_echo "$DLLTOOL" >&6; }
4588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589
$as_echo "no" >&6; }
4594
if test -z "$ac_cv_prog_DLLTOOL"; then
4595
ac_ct_DLLTOOL=$DLLTOOL
4596
# Extract the first word of "dlltool", so it can be a program name with args.
4597
set dummy dlltool; ac_word=$2
4598
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4599
$as_echo_n "checking for $ac_word... " >&6; }
4600
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
4601
$as_echo_n "(cached) " >&6
4603
if test -n "$ac_ct_DLLTOOL"; then
4604
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4606
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610
test -z "$as_dir" && as_dir=.
4611
for ac_exec_ext in '' $ac_executable_extensions; do
4612
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4613
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4614
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4623
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4624
if test -n "$ac_ct_DLLTOOL"; then
4625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4626
$as_echo "$ac_ct_DLLTOOL" >&6; }
4628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4629
$as_echo "no" >&6; }
4632
if test "x$ac_ct_DLLTOOL" = x; then
4635
case $cross_compiling:$ac_tool_warned in
4637
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4638
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4639
ac_tool_warned=yes ;;
4641
DLLTOOL=$ac_ct_DLLTOOL
4644
DLLTOOL="$ac_cv_prog_DLLTOOL"
4647
if test -n "$ac_tool_prefix"; then
4648
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4649
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4650
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4651
$as_echo_n "checking for $ac_word... " >&6; }
4652
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4653
$as_echo_n "(cached) " >&6
4655
if test -n "$OBJDUMP"; then
4656
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4658
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662
test -z "$as_dir" && as_dir=.
4663
for ac_exec_ext in '' $ac_executable_extensions; do
4664
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4665
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4666
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4675
OBJDUMP=$ac_cv_prog_OBJDUMP
4676
if test -n "$OBJDUMP"; then
4677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4678
$as_echo "$OBJDUMP" >&6; }
4680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4681
$as_echo "no" >&6; }
4686
if test -z "$ac_cv_prog_OBJDUMP"; then
4687
ac_ct_OBJDUMP=$OBJDUMP
4688
# Extract the first word of "objdump", so it can be a program name with args.
4689
set dummy objdump; ac_word=$2
4690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4691
$as_echo_n "checking for $ac_word... " >&6; }
4692
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4693
$as_echo_n "(cached) " >&6
4695
if test -n "$ac_ct_OBJDUMP"; then
4696
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4698
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4702
test -z "$as_dir" && as_dir=.
4703
for ac_exec_ext in '' $ac_executable_extensions; do
4704
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4705
ac_cv_prog_ac_ct_OBJDUMP="objdump"
4706
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4715
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4716
if test -n "$ac_ct_OBJDUMP"; then
4717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4718
$as_echo "$ac_ct_OBJDUMP" >&6; }
4720
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4721
$as_echo "no" >&6; }
4724
if test "x$ac_ct_OBJDUMP" = x; then
4727
case $cross_compiling:$ac_tool_warned in
4729
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4730
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4731
ac_tool_warned=yes ;;
4733
OBJDUMP=$ac_ct_OBJDUMP
4736
OBJDUMP="$ac_cv_prog_OBJDUMP"
4742
test -z "$AS" && AS=as
4748
test -z "$DLLTOOL" && DLLTOOL=dlltool
4754
test -z "$OBJDUMP" && OBJDUMP=objdump
4764
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4765
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4770
macro_version='2.2.6'
4771
macro_revision='1.3012'
4785
ltmain="$ac_aux_dir/ltmain.sh"
4787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4788
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4789
if test "${ac_cv_path_SED+set}" = set; then :
4790
$as_echo_n "(cached) " >&6
4792
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4793
for ac_i in 1 2 3 4 5 6 7; do
4794
ac_script="$ac_script$as_nl$ac_script"
4796
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4797
{ ac_script=; unset ac_script;}
4798
if test -z "$SED"; then
4799
ac_path_SED_found=false
4800
# Loop through the user's path and test for each of PROGNAME-LIST
4801
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4805
test -z "$as_dir" && as_dir=.
4806
for ac_prog in sed gsed; do
4807
for ac_exec_ext in '' $ac_executable_extensions; do
4808
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4809
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4810
# Check for GNU ac_path_SED and select it if it is found.
4811
# Check for GNU $ac_path_SED
4812
case `"$ac_path_SED" --version 2>&1` in
4814
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4817
$as_echo_n 0123456789 >"conftest.in"
4820
cat "conftest.in" "conftest.in" >"conftest.tmp"
4821
mv "conftest.tmp" "conftest.in"
4822
cp "conftest.in" "conftest.nl"
4823
$as_echo '' >> "conftest.nl"
4824
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4825
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4826
as_fn_arith $ac_count + 1 && ac_count=$as_val
4827
if test $ac_count -gt ${ac_path_SED_max-0}; then
4828
# Best one so far, save it but keep looking for a better one
4829
ac_cv_path_SED="$ac_path_SED"
4830
ac_path_SED_max=$ac_count
4832
# 10*(2^10) chars as input seems more than enough
4833
test $ac_count -gt 10 && break
4835
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4838
$ac_path_SED_found && break 3
4843
if test -z "$ac_cv_path_SED"; then
4844
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4852
$as_echo "$ac_cv_path_SED" >&6; }
4853
SED="$ac_cv_path_SED"
4856
test -z "$SED" && SED=sed
4857
Xsed="$SED -e 1s/^X//"
4869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4870
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4871
if test "${ac_cv_path_GREP+set}" = set; then :
4872
$as_echo_n "(cached) " >&6
4874
if test -z "$GREP"; then
4875
ac_path_GREP_found=false
4876
# Loop through the user's path and test for each of PROGNAME-LIST
4877
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4878
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4881
test -z "$as_dir" && as_dir=.
4882
for ac_prog in grep ggrep; do
4883
for ac_exec_ext in '' $ac_executable_extensions; do
4884
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4885
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4886
# Check for GNU ac_path_GREP and select it if it is found.
4887
# Check for GNU $ac_path_GREP
4888
case `"$ac_path_GREP" --version 2>&1` in
4890
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4893
$as_echo_n 0123456789 >"conftest.in"
4896
cat "conftest.in" "conftest.in" >"conftest.tmp"
4897
mv "conftest.tmp" "conftest.in"
4898
cp "conftest.in" "conftest.nl"
4899
$as_echo 'GREP' >> "conftest.nl"
4900
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4901
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4902
as_fn_arith $ac_count + 1 && ac_count=$as_val
4903
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4904
# Best one so far, save it but keep looking for a better one
4905
ac_cv_path_GREP="$ac_path_GREP"
4906
ac_path_GREP_max=$ac_count
4908
# 10*(2^10) chars as input seems more than enough
4909
test $ac_count -gt 10 && break
4911
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4914
$ac_path_GREP_found && break 3
4919
if test -z "$ac_cv_path_GREP"; then
4920
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4923
ac_cv_path_GREP=$GREP
4927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4928
$as_echo "$ac_cv_path_GREP" >&6; }
4929
GREP="$ac_cv_path_GREP"
4932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4933
$as_echo_n "checking for egrep... " >&6; }
4934
if test "${ac_cv_path_EGREP+set}" = set; then :
4935
$as_echo_n "(cached) " >&6
4937
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4938
then ac_cv_path_EGREP="$GREP -E"
4940
if test -z "$EGREP"; then
4941
ac_path_EGREP_found=false
4942
# Loop through the user's path and test for each of PROGNAME-LIST
4943
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4944
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4947
test -z "$as_dir" && as_dir=.
4948
for ac_prog in egrep; do
4949
for ac_exec_ext in '' $ac_executable_extensions; do
4950
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4951
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4952
# Check for GNU ac_path_EGREP and select it if it is found.
4953
# Check for GNU $ac_path_EGREP
4954
case `"$ac_path_EGREP" --version 2>&1` in
4956
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4959
$as_echo_n 0123456789 >"conftest.in"
4962
cat "conftest.in" "conftest.in" >"conftest.tmp"
4963
mv "conftest.tmp" "conftest.in"
4964
cp "conftest.in" "conftest.nl"
4965
$as_echo 'EGREP' >> "conftest.nl"
4966
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4967
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4968
as_fn_arith $ac_count + 1 && ac_count=$as_val
4969
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4970
# Best one so far, save it but keep looking for a better one
4971
ac_cv_path_EGREP="$ac_path_EGREP"
4972
ac_path_EGREP_max=$ac_count
4974
# 10*(2^10) chars as input seems more than enough
4975
test $ac_count -gt 10 && break
4977
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4980
$ac_path_EGREP_found && break 3
4985
if test -z "$ac_cv_path_EGREP"; then
4986
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4989
ac_cv_path_EGREP=$EGREP
4994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4995
$as_echo "$ac_cv_path_EGREP" >&6; }
4996
EGREP="$ac_cv_path_EGREP"
4999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5000
$as_echo_n "checking for fgrep... " >&6; }
5001
if test "${ac_cv_path_FGREP+set}" = set; then :
5002
$as_echo_n "(cached) " >&6
5004
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5005
then ac_cv_path_FGREP="$GREP -F"
5007
if test -z "$FGREP"; then
5008
ac_path_FGREP_found=false
5009
# Loop through the user's path and test for each of PROGNAME-LIST
5010
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5014
test -z "$as_dir" && as_dir=.
5015
for ac_prog in fgrep; do
5016
for ac_exec_ext in '' $ac_executable_extensions; do
5017
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5018
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5019
# Check for GNU ac_path_FGREP and select it if it is found.
5020
# Check for GNU $ac_path_FGREP
5021
case `"$ac_path_FGREP" --version 2>&1` in
5023
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5026
$as_echo_n 0123456789 >"conftest.in"
5029
cat "conftest.in" "conftest.in" >"conftest.tmp"
5030
mv "conftest.tmp" "conftest.in"
5031
cp "conftest.in" "conftest.nl"
5032
$as_echo 'FGREP' >> "conftest.nl"
5033
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5034
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5035
as_fn_arith $ac_count + 1 && ac_count=$as_val
5036
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5037
# Best one so far, save it but keep looking for a better one
5038
ac_cv_path_FGREP="$ac_path_FGREP"
5039
ac_path_FGREP_max=$ac_count
5041
# 10*(2^10) chars as input seems more than enough
5042
test $ac_count -gt 10 && break
5044
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5047
$ac_path_FGREP_found && break 3
5052
if test -z "$ac_cv_path_FGREP"; then
5053
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5056
ac_cv_path_FGREP=$FGREP
5061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5062
$as_echo "$ac_cv_path_FGREP" >&6; }
5063
FGREP="$ac_cv_path_FGREP"
5066
test -z "$GREP" && GREP=grep
5086
# Check whether --with-gnu-ld was given.
5087
if test "${with_gnu_ld+set}" = set; then :
5088
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5094
if test "$GCC" = yes; then
5095
# Check if gcc -print-prog-name=ld gives a path.
5096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5097
$as_echo_n "checking for ld used by $CC... " >&6; }
5100
# gcc leaves a trailing carriage return which upsets mingw
5101
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5103
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5106
# Accept absolute paths.
5108
re_direlt='/[^/][^/]*/\.\./'
5109
# Canonicalize the pathname of ld
5110
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5111
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5112
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5114
test -z "$LD" && LD="$ac_prog"
5117
# If it fails, then pretend we aren't using GCC.
5121
# If it is relative, then search for the first ld in PATH.
5125
elif test "$with_gnu_ld" = yes; then
5126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5127
$as_echo_n "checking for GNU ld... " >&6; }
5129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5130
$as_echo_n "checking for non-GNU ld... " >&6; }
5132
if test "${lt_cv_path_LD+set}" = set; then :
5133
$as_echo_n "(cached) " >&6
5135
if test -z "$LD"; then
5136
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5137
for ac_dir in $PATH; do
5139
test -z "$ac_dir" && ac_dir=.
5140
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5141
lt_cv_path_LD="$ac_dir/$ac_prog"
5142
# Check to see if the program is GNU ld. I'd rather use --version,
5143
# but apparently some variants of GNU ld only accept -v.
5144
# Break only if it was the GNU/non-GNU ld that we prefer.
5145
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5146
*GNU* | *'with BFD'*)
5147
test "$with_gnu_ld" != no && break
5150
test "$with_gnu_ld" != yes && break
5157
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5162
if test -n "$LD"; then
5163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5164
$as_echo "$LD" >&6; }
5166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5167
$as_echo "no" >&6; }
5169
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5171
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5172
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5173
$as_echo_n "(cached) " >&6
5175
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5176
case `$LD -v 2>&1 </dev/null` in
5177
*GNU* | *'with BFD'*)
5178
lt_cv_prog_gnu_ld=yes
5181
lt_cv_prog_gnu_ld=no
5185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5186
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5187
with_gnu_ld=$lt_cv_prog_gnu_ld
5197
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5198
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5199
if test "${lt_cv_path_NM+set}" = set; then :
5200
$as_echo_n "(cached) " >&6
5202
if test -n "$NM"; then
5203
# Let the user override the test.
5206
lt_nm_to_check="${ac_tool_prefix}nm"
5207
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5208
lt_nm_to_check="$lt_nm_to_check nm"
5210
for lt_tmp_nm in $lt_nm_to_check; do
5211
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5212
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5214
test -z "$ac_dir" && ac_dir=.
5215
tmp_nm="$ac_dir/$lt_tmp_nm"
5216
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5217
# Check to see if the nm accepts a BSD-compat flag.
5218
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5219
# nm: unknown option "B" ignored
5220
# Tru64's nm complains that /dev/null is an invalid object file
5221
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5222
*/dev/null* | *'Invalid file or object type'*)
5223
lt_cv_path_NM="$tmp_nm -B"
5227
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5229
lt_cv_path_NM="$tmp_nm -p"
5233
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5234
continue # so that we can try to find one that supports BSD flags
5243
: ${lt_cv_path_NM=no}
5246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5247
$as_echo "$lt_cv_path_NM" >&6; }
5248
if test "$lt_cv_path_NM" != "no"; then
5251
# Didn't find any BSD compatible name lister, look for dumpbin.
5252
if test -n "$ac_tool_prefix"; then
5253
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5255
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5256
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5258
$as_echo_n "checking for $ac_word... " >&6; }
5259
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5260
$as_echo_n "(cached) " >&6
5262
if test -n "$DUMPBIN"; then
5263
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5265
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269
test -z "$as_dir" && as_dir=.
5270
for ac_exec_ext in '' $ac_executable_extensions; do
5271
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5272
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5273
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282
DUMPBIN=$ac_cv_prog_DUMPBIN
5283
if test -n "$DUMPBIN"; then
5284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5285
$as_echo "$DUMPBIN" >&6; }
5287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288
$as_echo "no" >&6; }
5292
test -n "$DUMPBIN" && break
5295
if test -z "$DUMPBIN"; then
5296
ac_ct_DUMPBIN=$DUMPBIN
5297
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5299
# Extract the first word of "$ac_prog", so it can be a program name with args.
5300
set dummy $ac_prog; ac_word=$2
5301
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302
$as_echo_n "checking for $ac_word... " >&6; }
5303
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5304
$as_echo_n "(cached) " >&6
5306
if test -n "$ac_ct_DUMPBIN"; then
5307
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5309
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313
test -z "$as_dir" && as_dir=.
5314
for ac_exec_ext in '' $ac_executable_extensions; do
5315
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5316
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5317
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5326
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5327
if test -n "$ac_ct_DUMPBIN"; then
5328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5329
$as_echo "$ac_ct_DUMPBIN" >&6; }
5331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332
$as_echo "no" >&6; }
5336
test -n "$ac_ct_DUMPBIN" && break
5339
if test "x$ac_ct_DUMPBIN" = x; then
5342
case $cross_compiling:$ac_tool_warned in
5344
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5345
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5346
ac_tool_warned=yes ;;
5348
DUMPBIN=$ac_ct_DUMPBIN
5353
if test "$DUMPBIN" != ":"; then
5357
test -z "$NM" && NM=nm
5364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5365
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5366
if test "${lt_cv_nm_interface+set}" = set; then :
5367
$as_echo_n "(cached) " >&6
5369
lt_cv_nm_interface="BSD nm"
5370
echo "int some_variable = 0;" > conftest.$ac_ext
5371
(eval echo "\"\$as_me:5371: $ac_compile\"" >&5)
5372
(eval "$ac_compile" 2>conftest.err)
5373
cat conftest.err >&5
5374
(eval echo "\"\$as_me:5374: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5375
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5376
cat conftest.err >&5
5377
(eval echo "\"\$as_me:5377: output\"" >&5)
5378
cat conftest.out >&5
5379
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5380
lt_cv_nm_interface="MS dumpbin"
5384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5385
$as_echo "$lt_cv_nm_interface" >&6; }
5387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5388
$as_echo_n "checking whether ln -s works... " >&6; }
5390
if test "$LN_S" = "ln -s"; then
5391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5392
$as_echo "yes" >&6; }
5394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5395
$as_echo "no, using $LN_S" >&6; }
5398
# find the maximum length of command line arguments
5399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5400
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5401
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5402
$as_echo_n "(cached) " >&6
5409
# On DJGPP, this test can blow up pretty badly due to problems in libc
5410
# (any single argument exceeding 2000 bytes causes a buffer overrun
5411
# during glob expansion). Even if it were fixed, the result of this
5412
# check would be larger than it should be.
5413
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5417
# Under GNU Hurd, this test is not required because there is
5418
# no limit to the length of command line arguments.
5419
# Libtool will interpret -1 as no limit whatsoever
5420
lt_cv_sys_max_cmd_len=-1;
5423
cygwin* | mingw* | cegcc*)
5424
# On Win9x/ME, this test blows up -- it succeeds, but takes
5425
# about 5 minutes as the teststring grows exponentially.
5426
# Worse, since 9x/ME are not pre-emptively multitasking,
5427
# you end up with a "frozen" computer, even though with patience
5428
# the test eventually succeeds (with a max line length of 256k).
5429
# Instead, let's just punt: use the minimum linelength reported by
5430
# all of the supported platforms: 8192 (on NT/2K/XP).
5431
lt_cv_sys_max_cmd_len=8192;
5435
# On AmigaOS with pdksh, this test takes hours, literally.
5436
# So we just punt and use a minimum line length of 8192.
5437
lt_cv_sys_max_cmd_len=8192;
5440
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5441
# This has been around since 386BSD, at least. Likely further.
5442
if test -x /sbin/sysctl; then
5443
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5444
elif test -x /usr/sbin/sysctl; then
5445
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5447
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5449
# And add a safety zone
5450
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5451
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5455
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5456
lt_cv_sys_max_cmd_len=196608
5460
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5461
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5462
# nice to cause kernel panics so lets avoid the loop below.
5463
# First set a reasonable default.
5464
lt_cv_sys_max_cmd_len=16384
5466
if test -x /sbin/sysconfig; then
5467
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5468
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5473
lt_cv_sys_max_cmd_len=102400
5475
sysv5* | sco5v6* | sysv4.2uw2*)
5476
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5477
if test -n "$kargmax"; then
5478
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5480
lt_cv_sys_max_cmd_len=32768
5484
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5485
if test -n "$lt_cv_sys_max_cmd_len"; then
5486
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5487
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5489
# Make teststring a little bigger before we do anything with it.
5490
# a 1K string should be a reasonable start.
5491
for i in 1 2 3 4 5 6 7 8 ; do
5492
teststring=$teststring$teststring
5494
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5495
# If test is not a shell built-in, we'll probably end up computing a
5496
# maximum length that is only half of the actual maximum length, but
5498
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5499
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5500
test $i != 17 # 1/2 MB should be enough
5503
teststring=$teststring$teststring
5505
# Only check the string length outside the loop.
5506
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5508
# Add a significant safety factor because C++ compilers can tack on
5509
# massive amounts of additional arguments before passing them to the
5510
# linker. It appears as though 1/2 is a usable value.
5511
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5518
if test -n $lt_cv_sys_max_cmd_len ; then
5519
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5520
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5523
$as_echo "none" >&6; }
5525
max_cmd_len=$lt_cv_sys_max_cmd_len
5536
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5537
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5538
# Try some XSI features
5541
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5543
&& eval 'test $(( 1 + 1 )) -eq 2 \
5544
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5547
$as_echo "$xsi_shell" >&6; }
5550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5551
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5553
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5555
&& lt_shell_append=yes
5556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5557
$as_echo "$lt_shell_append" >&6; }
5560
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5570
# test EBCDIC or ASCII
5571
case `echo X|tr X '\101'` in
5572
A) # ASCII based system
5573
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5574
lt_SP2NL='tr \040 \012'
5575
lt_NL2SP='tr \015\012 \040\040'
5577
*) # EBCDIC based system
5578
lt_SP2NL='tr \100 \n'
5579
lt_NL2SP='tr \r\n \100\100'
5591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5592
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5593
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5594
$as_echo_n "(cached) " >&6
5596
lt_cv_ld_reload_flag='-r'
5598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5599
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5600
reload_flag=$lt_cv_ld_reload_flag
5601
case $reload_flag in
5603
*) reload_flag=" $reload_flag" ;;
5605
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5608
if test "$GCC" = yes; then
5609
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5611
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5624
if test -n "$ac_tool_prefix"; then
5625
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5626
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5628
$as_echo_n "checking for $ac_word... " >&6; }
5629
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5630
$as_echo_n "(cached) " >&6
5632
if test -n "$OBJDUMP"; then
5633
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5635
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5639
test -z "$as_dir" && as_dir=.
5640
for ac_exec_ext in '' $ac_executable_extensions; do
5641
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5642
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5643
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5652
OBJDUMP=$ac_cv_prog_OBJDUMP
5653
if test -n "$OBJDUMP"; then
5654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5655
$as_echo "$OBJDUMP" >&6; }
5657
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658
$as_echo "no" >&6; }
5663
if test -z "$ac_cv_prog_OBJDUMP"; then
5664
ac_ct_OBJDUMP=$OBJDUMP
5665
# Extract the first word of "objdump", so it can be a program name with args.
5666
set dummy objdump; ac_word=$2
5667
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5668
$as_echo_n "checking for $ac_word... " >&6; }
5669
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5670
$as_echo_n "(cached) " >&6
5672
if test -n "$ac_ct_OBJDUMP"; then
5673
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5675
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5679
test -z "$as_dir" && as_dir=.
5680
for ac_exec_ext in '' $ac_executable_extensions; do
5681
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5682
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5683
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5692
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5693
if test -n "$ac_ct_OBJDUMP"; then
5694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5695
$as_echo "$ac_ct_OBJDUMP" >&6; }
5697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5698
$as_echo "no" >&6; }
5701
if test "x$ac_ct_OBJDUMP" = x; then
5704
case $cross_compiling:$ac_tool_warned in
5706
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5707
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5708
ac_tool_warned=yes ;;
5710
OBJDUMP=$ac_ct_OBJDUMP
5713
OBJDUMP="$ac_cv_prog_OBJDUMP"
5716
test -z "$OBJDUMP" && OBJDUMP=objdump
5723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5724
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5725
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5726
$as_echo_n "(cached) " >&6
5728
lt_cv_file_magic_cmd='$MAGIC_CMD'
5729
lt_cv_file_magic_test_file=
5730
lt_cv_deplibs_check_method='unknown'
5731
# Need to set the preceding variable on all platforms that support
5732
# interlibrary dependencies.
5733
# 'none' -- dependencies not supported.
5734
# `unknown' -- same as none, but documents that we really don't know.
5735
# 'pass_all' -- all dependencies passed with no checks.
5736
# 'test_compile' -- check by making test program.
5737
# 'file_magic [[regex]]' -- check by looking for files in library path
5738
# which responds to the $file_magic_cmd with a given extended regex.
5739
# If you have `file' or equivalent on your system and you're not sure
5740
# whether `pass_all' will *always* work, you probably want this one.
5744
lt_cv_deplibs_check_method=pass_all
5748
lt_cv_deplibs_check_method=pass_all
5752
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5753
lt_cv_file_magic_cmd='/usr/bin/file -L'
5754
lt_cv_file_magic_test_file=/shlib/libc.so
5758
# func_win32_libid is a shell function defined in ltmain.sh
5759
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5760
lt_cv_file_magic_cmd='func_win32_libid'
5764
# Base MSYS/MinGW do not provide the 'file' command needed by
5765
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5766
# unless we find 'file', for example because we are cross-compiling.
5767
if ( file / ) >/dev/null 2>&1; then
5768
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5769
lt_cv_file_magic_cmd='func_win32_libid'
5771
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5772
lt_cv_file_magic_cmd='$OBJDUMP -f'
5777
# use the weaker test based on 'objdump'. See mingw*.
5778
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5779
lt_cv_file_magic_cmd='$OBJDUMP -f'
5782
darwin* | rhapsody*)
5783
lt_cv_deplibs_check_method=pass_all
5786
freebsd* | dragonfly*)
5787
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5790
# Not sure whether the presence of OpenBSD here was a mistake.
5791
# Let's accept both of them until this is cleared up.
5792
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5793
lt_cv_file_magic_cmd=/usr/bin/file
5794
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5798
lt_cv_deplibs_check_method=pass_all
5803
lt_cv_deplibs_check_method=pass_all
5806
hpux10.20* | hpux11*)
5807
lt_cv_file_magic_cmd=/usr/bin/file
5810
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5811
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5814
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]'
5815
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5818
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5819
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5825
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5826
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5829
irix5* | irix6* | nonstopux*)
5831
*-32|*"-32 ") libmagic=32-bit;;
5832
*-n32|*"-n32 ") libmagic=N32;;
5833
*-64|*"-64 ") libmagic=64-bit;;
5834
*) libmagic=never-match;;
5836
lt_cv_deplibs_check_method=pass_all
5839
# This must be Linux ELF.
5840
linux* | k*bsd*-gnu)
5841
lt_cv_deplibs_check_method=pass_all
5844
netbsd* | netbsdelf*-gnu)
5845
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5846
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5848
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5853
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5854
lt_cv_file_magic_cmd=/usr/bin/file
5855
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5859
lt_cv_deplibs_check_method=pass_all
5863
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5864
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5866
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5870
osf3* | osf4* | osf5*)
5871
lt_cv_deplibs_check_method=pass_all
5875
lt_cv_deplibs_check_method=pass_all
5879
lt_cv_deplibs_check_method=pass_all
5882
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5883
lt_cv_deplibs_check_method=pass_all
5887
case $host_vendor in
5889
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]'
5890
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5893
lt_cv_deplibs_check_method=pass_all
5896
lt_cv_file_magic_cmd='/bin/file'
5897
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5900
lt_cv_file_magic_cmd='/bin/file'
5901
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5902
lt_cv_file_magic_test_file=/lib/libc.so
5905
lt_cv_deplibs_check_method=pass_all
5908
lt_cv_deplibs_check_method=pass_all
5914
lt_cv_deplibs_check_method=pass_all
5919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5920
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5921
file_magic_cmd=$lt_cv_file_magic_cmd
5922
deplibs_check_method=$lt_cv_deplibs_check_method
5923
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5936
if test -n "$ac_tool_prefix"; then
5937
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5938
set dummy ${ac_tool_prefix}ar; ac_word=$2
5939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5940
$as_echo_n "checking for $ac_word... " >&6; }
5941
if test "${ac_cv_prog_AR+set}" = set; then :
5942
$as_echo_n "(cached) " >&6
5944
if test -n "$AR"; then
5945
ac_cv_prog_AR="$AR" # Let the user override the test.
5947
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5951
test -z "$as_dir" && as_dir=.
5952
for ac_exec_ext in '' $ac_executable_extensions; do
5953
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5954
ac_cv_prog_AR="${ac_tool_prefix}ar"
5955
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5965
if test -n "$AR"; then
5966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5967
$as_echo "$AR" >&6; }
5969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5970
$as_echo "no" >&6; }
5975
if test -z "$ac_cv_prog_AR"; then
5977
# Extract the first word of "ar", so it can be a program name with args.
5978
set dummy ar; ac_word=$2
5979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5980
$as_echo_n "checking for $ac_word... " >&6; }
5981
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5982
$as_echo_n "(cached) " >&6
5984
if test -n "$ac_ct_AR"; then
5985
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5987
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991
test -z "$as_dir" && as_dir=.
5992
for ac_exec_ext in '' $ac_executable_extensions; do
5993
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5994
ac_cv_prog_ac_ct_AR="ar"
5995
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6004
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6005
if test -n "$ac_ct_AR"; then
6006
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6007
$as_echo "$ac_ct_AR" >&6; }
6009
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010
$as_echo "no" >&6; }
6013
if test "x$ac_ct_AR" = x; then
6016
case $cross_compiling:$ac_tool_warned in
6018
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6019
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6020
ac_tool_warned=yes ;;
6028
test -z "$AR" && AR=ar
6029
test -z "$AR_FLAGS" && AR_FLAGS=cru
6041
if test -n "$ac_tool_prefix"; then
6042
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6043
set dummy ${ac_tool_prefix}strip; ac_word=$2
6044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6045
$as_echo_n "checking for $ac_word... " >&6; }
6046
if test "${ac_cv_prog_STRIP+set}" = set; then :
6047
$as_echo_n "(cached) " >&6
6049
if test -n "$STRIP"; then
6050
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056
test -z "$as_dir" && as_dir=.
6057
for ac_exec_ext in '' $ac_executable_extensions; do
6058
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6059
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6060
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6069
STRIP=$ac_cv_prog_STRIP
6070
if test -n "$STRIP"; then
6071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6072
$as_echo "$STRIP" >&6; }
6074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6075
$as_echo "no" >&6; }
6080
if test -z "$ac_cv_prog_STRIP"; then
6082
# Extract the first word of "strip", so it can be a program name with args.
6083
set dummy strip; ac_word=$2
6084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6085
$as_echo_n "checking for $ac_word... " >&6; }
6086
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6087
$as_echo_n "(cached) " >&6
6089
if test -n "$ac_ct_STRIP"; then
6090
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6092
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096
test -z "$as_dir" && as_dir=.
6097
for ac_exec_ext in '' $ac_executable_extensions; do
6098
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6099
ac_cv_prog_ac_ct_STRIP="strip"
6100
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6109
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6110
if test -n "$ac_ct_STRIP"; then
6111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6112
$as_echo "$ac_ct_STRIP" >&6; }
6114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6115
$as_echo "no" >&6; }
6118
if test "x$ac_ct_STRIP" = x; then
6121
case $cross_compiling:$ac_tool_warned in
6123
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6124
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6125
ac_tool_warned=yes ;;
6130
STRIP="$ac_cv_prog_STRIP"
6133
test -z "$STRIP" && STRIP=:
6140
if test -n "$ac_tool_prefix"; then
6141
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6142
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6144
$as_echo_n "checking for $ac_word... " >&6; }
6145
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6146
$as_echo_n "(cached) " >&6
6148
if test -n "$RANLIB"; then
6149
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6151
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155
test -z "$as_dir" && as_dir=.
6156
for ac_exec_ext in '' $ac_executable_extensions; do
6157
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6158
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6159
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6168
RANLIB=$ac_cv_prog_RANLIB
6169
if test -n "$RANLIB"; then
6170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6171
$as_echo "$RANLIB" >&6; }
6173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6174
$as_echo "no" >&6; }
6179
if test -z "$ac_cv_prog_RANLIB"; then
6180
ac_ct_RANLIB=$RANLIB
6181
# Extract the first word of "ranlib", so it can be a program name with args.
6182
set dummy ranlib; ac_word=$2
6183
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6184
$as_echo_n "checking for $ac_word... " >&6; }
6185
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6186
$as_echo_n "(cached) " >&6
6188
if test -n "$ac_ct_RANLIB"; then
6189
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6191
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6195
test -z "$as_dir" && as_dir=.
6196
for ac_exec_ext in '' $ac_executable_extensions; do
6197
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6198
ac_cv_prog_ac_ct_RANLIB="ranlib"
6199
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6208
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6209
if test -n "$ac_ct_RANLIB"; then
6210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6211
$as_echo "$ac_ct_RANLIB" >&6; }
6213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6214
$as_echo "no" >&6; }
6217
if test "x$ac_ct_RANLIB" = x; then
6220
case $cross_compiling:$ac_tool_warned in
6222
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6223
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6224
ac_tool_warned=yes ;;
6226
RANLIB=$ac_ct_RANLIB
6229
RANLIB="$ac_cv_prog_RANLIB"
6232
test -z "$RANLIB" && RANLIB=:
6239
# Determine commands to create old-style static archives.
6240
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6241
old_postinstall_cmds='chmod 644 $oldlib'
6242
old_postuninstall_cmds=
6244
if test -n "$RANLIB"; then
6247
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6250
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6253
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6289
# If no C compiler was specified, use CC.
6292
# If no C compiler flags were specified, use CFLAGS.
6293
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6295
# Allow CC to be a program name with arguments.
6299
# Check for command to grab the raw symbol name followed by C symbol from nm.
6300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6301
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6302
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6303
$as_echo_n "(cached) " >&6
6306
# These are sane defaults that work on at least a few old systems.
6307
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6309
# Character class describing NM global symbol codes.
6310
symcode='[BCDEGRST]'
6312
# Regexp to match symbols that can be accessed directly from C.
6313
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6315
# Define system-specific variables.
6320
cygwin* | mingw* | pw32* | cegcc*)
6321
symcode='[ABCDGISTW]'
6324
if test "$host_cpu" = ia64; then
6325
symcode='[ABCDEGRST]'
6329
symcode='[BCDEGRST]'
6332
symcode='[BCDEGQRST]'
6343
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6351
# If we're using GNU nm, then use its standard symbol codes.
6352
case `$NM -V 2>&1` in
6353
*GNU* | *'with BFD'*)
6354
symcode='[ABCDGIRSTW]' ;;
6357
# Transform an extracted symbol line into a proper C declaration.
6358
# Some systems (esp. on ia64) link data and code symbols differently,
6359
# so use this general approach.
6360
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6362
# Transform an extracted symbol line into symbol name and symbol address
6363
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6364
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'"
6366
# Handle CRLF in mingw tool chain
6370
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6374
# Try without a prefix underscore, then with it.
6375
for ac_symprfx in "" "_"; do
6377
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6378
symxfrm="\\1 $ac_symprfx\\2 \\2"
6380
# Write the raw and C identifiers.
6381
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6382
# Fake it for dumpbin and say T for any non-static function
6383
# and D for any global variable.
6384
# Also find C++ and __fastcall symbols from MSVC++,
6385
# which start with @ or ?.
6386
lt_cv_sys_global_symbol_pipe="$AWK '"\
6387
" {last_section=section; section=\$ 3};"\
6388
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6389
" \$ 0!~/External *\|/{next};"\
6390
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6391
" {if(hide[section]) next};"\
6392
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6393
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6394
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6395
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6396
" ' prfx=^$ac_symprfx"
6398
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6401
# Check to see that the pipe works correctly.
6405
cat > conftest.$ac_ext <<_LT_EOF
6410
void nm_test_func(void);
6411
void nm_test_func(void){}
6415
int main(){nm_test_var='a';nm_test_func();return(0);}
6418
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6419
(eval $ac_compile) 2>&5
6421
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6422
test $ac_status = 0; }; then
6423
# Now try to grab the symbols.
6425
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6426
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6428
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6429
test $ac_status = 0; } && test -s "$nlist"; then
6430
# Try sorting and uniquifying the output.
6431
if sort "$nlist" | uniq > "$nlist"T; then
6432
mv -f "$nlist"T "$nlist"
6437
# Make sure that we snagged all the symbols we need.
6438
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6439
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6440
cat <<_LT_EOF > conftest.$ac_ext
6446
# Now generate the symbol file.
6447
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6449
cat <<_LT_EOF >> conftest.$ac_ext
6451
/* The mapping between symbol names and symbols. */
6456
lt__PROGRAM__LTX_preloaded_symbols[] =
6458
{ "@PROGRAM@", (void *) 0 },
6460
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6461
cat <<\_LT_EOF >> conftest.$ac_ext
6465
/* This works around a problem in FreeBSD linker */
6466
#ifdef FREEBSD_WORKAROUND
6467
static const void *lt_preloaded_setup() {
6468
return lt__PROGRAM__LTX_preloaded_symbols;
6476
# Now try linking the two files.
6477
mv conftest.$ac_objext conftstm.$ac_objext
6478
lt_save_LIBS="$LIBS"
6479
lt_save_CFLAGS="$CFLAGS"
6480
LIBS="conftstm.$ac_objext"
6481
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6482
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6483
(eval $ac_link) 2>&5
6485
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6486
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6489
LIBS="$lt_save_LIBS"
6490
CFLAGS="$lt_save_CFLAGS"
6492
echo "cannot find nm_test_func in $nlist" >&5
6495
echo "cannot find nm_test_var in $nlist" >&5
6498
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6501
echo "$progname: failed program was:" >&5
6502
cat conftest.$ac_ext >&5
6504
rm -rf conftest* conftst*
6506
# Do not use the global_symbol_pipe unless it works.
6507
if test "$pipe_works" = yes; then
6510
lt_cv_sys_global_symbol_pipe=
6516
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6517
lt_cv_sys_global_symbol_to_cdecl=
6519
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6521
$as_echo "failed" >&6; }
6523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6524
$as_echo "ok" >&6; }
6549
# Check whether --enable-libtool-lock was given.
6550
if test "${enable_libtool_lock+set}" = set; then :
6551
enableval=$enable_libtool_lock;
6554
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6556
# Some flags need to be propagated to the compiler or linker for good
6560
# Find out which ABI we are using.
6561
echo 'int i;' > conftest.$ac_ext
6562
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6563
(eval $ac_compile) 2>&5
6565
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6566
test $ac_status = 0; }; then
6567
case `/usr/bin/file conftest.$ac_objext` in
6579
# Find out which ABI we are using.
6580
echo '#line 6580 "configure"' > conftest.$ac_ext
6581
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6582
(eval $ac_compile) 2>&5
6584
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6585
test $ac_status = 0; }; then
6586
if test "$lt_cv_prog_gnu_ld" = yes; then
6587
case `/usr/bin/file conftest.$ac_objext` in
6589
LD="${LD-ld} -melf32bsmip"
6592
LD="${LD-ld} -melf32bmipn32"
6595
LD="${LD-ld} -melf64bmip"
6599
case `/usr/bin/file conftest.$ac_objext` in
6615
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6616
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6617
# Find out which ABI we are using.
6618
echo 'int i;' > conftest.$ac_ext
6619
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6620
(eval $ac_compile) 2>&5
6622
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6623
test $ac_status = 0; }; then
6624
case `/usr/bin/file conftest.o` in
6627
x86_64-*kfreebsd*-gnu)
6628
LD="${LD-ld} -m elf_i386_fbsd"
6631
LD="${LD-ld} -m elf_i386"
6633
ppc64-*linux*|powerpc64-*linux*)
6634
LD="${LD-ld} -m elf32ppclinux"
6637
LD="${LD-ld} -m elf_s390"
6640
LD="${LD-ld} -m elf32_sparc"
6646
x86_64-*kfreebsd*-gnu)
6647
LD="${LD-ld} -m elf_x86_64_fbsd"
6650
LD="${LD-ld} -m elf_x86_64"
6652
ppc*-*linux*|powerpc*-*linux*)
6653
LD="${LD-ld} -m elf64ppc"
6655
s390*-*linux*|s390*-*tpf*)
6656
LD="${LD-ld} -m elf64_s390"
6659
LD="${LD-ld} -m elf64_sparc"
6669
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6670
SAVE_CFLAGS="$CFLAGS"
6671
CFLAGS="$CFLAGS -belf"
6672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6673
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6674
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6675
$as_echo_n "(cached) " >&6
6678
ac_cpp='$CPP $CPPFLAGS'
6679
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6680
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6681
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6683
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6684
/* end confdefs.h. */
6694
if ac_fn_c_try_link "$LINENO"; then :
6695
lt_cv_cc_needs_belf=yes
6697
lt_cv_cc_needs_belf=no
6699
rm -f core conftest.err conftest.$ac_objext \
6700
conftest$ac_exeext conftest.$ac_ext
6702
ac_cpp='$CPP $CPPFLAGS'
6703
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6704
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6705
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6709
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6710
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6711
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6712
CFLAGS="$SAVE_CFLAGS"
6716
# Find out which ABI we are using.
6717
echo 'int i;' > conftest.$ac_ext
6718
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6719
(eval $ac_compile) 2>&5
6721
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6722
test $ac_status = 0; }; then
6723
case `/usr/bin/file conftest.o` in
6725
case $lt_cv_prog_gnu_ld in
6726
yes*) LD="${LD-ld} -m elf64_sparc" ;;
6728
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6740
need_locks="$enable_libtool_lock"
6744
rhapsody* | darwin*)
6745
if test -n "$ac_tool_prefix"; then
6746
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6747
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749
$as_echo_n "checking for $ac_word... " >&6; }
6750
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6751
$as_echo_n "(cached) " >&6
6753
if test -n "$DSYMUTIL"; then
6754
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6756
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760
test -z "$as_dir" && as_dir=.
6761
for ac_exec_ext in '' $ac_executable_extensions; do
6762
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6764
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6773
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6774
if test -n "$DSYMUTIL"; then
6775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6776
$as_echo "$DSYMUTIL" >&6; }
6778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779
$as_echo "no" >&6; }
6784
if test -z "$ac_cv_prog_DSYMUTIL"; then
6785
ac_ct_DSYMUTIL=$DSYMUTIL
6786
# Extract the first word of "dsymutil", so it can be a program name with args.
6787
set dummy dsymutil; ac_word=$2
6788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789
$as_echo_n "checking for $ac_word... " >&6; }
6790
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6791
$as_echo_n "(cached) " >&6
6793
if test -n "$ac_ct_DSYMUTIL"; then
6794
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6796
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800
test -z "$as_dir" && as_dir=.
6801
for ac_exec_ext in '' $ac_executable_extensions; do
6802
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6803
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6804
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6813
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6814
if test -n "$ac_ct_DSYMUTIL"; then
6815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6816
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819
$as_echo "no" >&6; }
6822
if test "x$ac_ct_DSYMUTIL" = x; then
6825
case $cross_compiling:$ac_tool_warned in
6827
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6828
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6829
ac_tool_warned=yes ;;
6831
DSYMUTIL=$ac_ct_DSYMUTIL
6834
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6837
if test -n "$ac_tool_prefix"; then
6838
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6839
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6841
$as_echo_n "checking for $ac_word... " >&6; }
6842
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6843
$as_echo_n "(cached) " >&6
6845
if test -n "$NMEDIT"; then
6846
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6848
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6852
test -z "$as_dir" && as_dir=.
6853
for ac_exec_ext in '' $ac_executable_extensions; do
6854
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6855
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6856
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6865
NMEDIT=$ac_cv_prog_NMEDIT
6866
if test -n "$NMEDIT"; then
6867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6868
$as_echo "$NMEDIT" >&6; }
6870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6871
$as_echo "no" >&6; }
6876
if test -z "$ac_cv_prog_NMEDIT"; then
6877
ac_ct_NMEDIT=$NMEDIT
6878
# Extract the first word of "nmedit", so it can be a program name with args.
6879
set dummy nmedit; ac_word=$2
6880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881
$as_echo_n "checking for $ac_word... " >&6; }
6882
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6883
$as_echo_n "(cached) " >&6
6885
if test -n "$ac_ct_NMEDIT"; then
6886
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6888
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892
test -z "$as_dir" && as_dir=.
6893
for ac_exec_ext in '' $ac_executable_extensions; do
6894
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6895
ac_cv_prog_ac_ct_NMEDIT="nmedit"
6896
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6905
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6906
if test -n "$ac_ct_NMEDIT"; then
6907
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6908
$as_echo "$ac_ct_NMEDIT" >&6; }
6910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911
$as_echo "no" >&6; }
6914
if test "x$ac_ct_NMEDIT" = x; then
6917
case $cross_compiling:$ac_tool_warned in
6919
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6920
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6921
ac_tool_warned=yes ;;
6923
NMEDIT=$ac_ct_NMEDIT
6926
NMEDIT="$ac_cv_prog_NMEDIT"
6929
if test -n "$ac_tool_prefix"; then
6930
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6931
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6933
$as_echo_n "checking for $ac_word... " >&6; }
6934
if test "${ac_cv_prog_LIPO+set}" = set; then :
6935
$as_echo_n "(cached) " >&6
6937
if test -n "$LIPO"; then
6938
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6940
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6944
test -z "$as_dir" && as_dir=.
6945
for ac_exec_ext in '' $ac_executable_extensions; do
6946
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6947
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6948
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6957
LIPO=$ac_cv_prog_LIPO
6958
if test -n "$LIPO"; then
6959
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6960
$as_echo "$LIPO" >&6; }
6962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6963
$as_echo "no" >&6; }
6968
if test -z "$ac_cv_prog_LIPO"; then
6970
# Extract the first word of "lipo", so it can be a program name with args.
6971
set dummy lipo; ac_word=$2
6972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6973
$as_echo_n "checking for $ac_word... " >&6; }
6974
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6975
$as_echo_n "(cached) " >&6
6977
if test -n "$ac_ct_LIPO"; then
6978
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6980
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6984
test -z "$as_dir" && as_dir=.
6985
for ac_exec_ext in '' $ac_executable_extensions; do
6986
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6987
ac_cv_prog_ac_ct_LIPO="lipo"
6988
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6997
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6998
if test -n "$ac_ct_LIPO"; then
6999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7000
$as_echo "$ac_ct_LIPO" >&6; }
7002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7003
$as_echo "no" >&6; }
7006
if test "x$ac_ct_LIPO" = x; then
7009
case $cross_compiling:$ac_tool_warned in
7011
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7012
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7013
ac_tool_warned=yes ;;
7018
LIPO="$ac_cv_prog_LIPO"
7021
if test -n "$ac_tool_prefix"; then
7022
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7023
set dummy ${ac_tool_prefix}otool; ac_word=$2
7024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7025
$as_echo_n "checking for $ac_word... " >&6; }
7026
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7027
$as_echo_n "(cached) " >&6
7029
if test -n "$OTOOL"; then
7030
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7032
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7036
test -z "$as_dir" && as_dir=.
7037
for ac_exec_ext in '' $ac_executable_extensions; do
7038
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7039
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7040
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7049
OTOOL=$ac_cv_prog_OTOOL
7050
if test -n "$OTOOL"; then
7051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7052
$as_echo "$OTOOL" >&6; }
7054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7055
$as_echo "no" >&6; }
7060
if test -z "$ac_cv_prog_OTOOL"; then
7062
# Extract the first word of "otool", so it can be a program name with args.
7063
set dummy otool; ac_word=$2
7064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7065
$as_echo_n "checking for $ac_word... " >&6; }
7066
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7067
$as_echo_n "(cached) " >&6
7069
if test -n "$ac_ct_OTOOL"; then
7070
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7072
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7076
test -z "$as_dir" && as_dir=.
7077
for ac_exec_ext in '' $ac_executable_extensions; do
7078
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7079
ac_cv_prog_ac_ct_OTOOL="otool"
7080
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7089
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7090
if test -n "$ac_ct_OTOOL"; then
7091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7092
$as_echo "$ac_ct_OTOOL" >&6; }
7094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7095
$as_echo "no" >&6; }
7098
if test "x$ac_ct_OTOOL" = x; then
7101
case $cross_compiling:$ac_tool_warned in
7103
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7104
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7105
ac_tool_warned=yes ;;
7110
OTOOL="$ac_cv_prog_OTOOL"
7113
if test -n "$ac_tool_prefix"; then
7114
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7115
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7117
$as_echo_n "checking for $ac_word... " >&6; }
7118
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7119
$as_echo_n "(cached) " >&6
7121
if test -n "$OTOOL64"; then
7122
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7124
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7128
test -z "$as_dir" && as_dir=.
7129
for ac_exec_ext in '' $ac_executable_extensions; do
7130
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7131
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7132
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7141
OTOOL64=$ac_cv_prog_OTOOL64
7142
if test -n "$OTOOL64"; then
7143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7144
$as_echo "$OTOOL64" >&6; }
7146
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7147
$as_echo "no" >&6; }
7152
if test -z "$ac_cv_prog_OTOOL64"; then
7153
ac_ct_OTOOL64=$OTOOL64
7154
# Extract the first word of "otool64", so it can be a program name with args.
7155
set dummy otool64; ac_word=$2
7156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7157
$as_echo_n "checking for $ac_word... " >&6; }
7158
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7159
$as_echo_n "(cached) " >&6
7161
if test -n "$ac_ct_OTOOL64"; then
7162
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7164
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7168
test -z "$as_dir" && as_dir=.
7169
for ac_exec_ext in '' $ac_executable_extensions; do
7170
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7171
ac_cv_prog_ac_ct_OTOOL64="otool64"
7172
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7181
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7182
if test -n "$ac_ct_OTOOL64"; then
7183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7184
$as_echo "$ac_ct_OTOOL64" >&6; }
7186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7187
$as_echo "no" >&6; }
7190
if test "x$ac_ct_OTOOL64" = x; then
7193
case $cross_compiling:$ac_tool_warned in
7195
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7196
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7197
ac_tool_warned=yes ;;
7199
OTOOL64=$ac_ct_OTOOL64
7202
OTOOL64="$ac_cv_prog_OTOOL64"
7231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7232
$as_echo_n "checking for -single_module linker flag... " >&6; }
7233
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7234
$as_echo_n "(cached) " >&6
7236
lt_cv_apple_cc_single_mod=no
7237
if test -z "${LT_MULTI_MODULE}"; then
7238
# By default we will add the -single_module flag. You can override
7239
# by either setting the environment variable LT_MULTI_MODULE
7240
# non-empty at configure time, or by adding -multi_module to the
7242
rm -rf libconftest.dylib*
7243
echo "int foo(void){return 1;}" > conftest.c
7244
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7245
-dynamiclib -Wl,-single_module conftest.c" >&5
7246
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7247
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7249
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7250
lt_cv_apple_cc_single_mod=yes
7252
cat conftest.err >&5
7254
rm -rf libconftest.dylib*
7258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7259
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7261
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7262
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7263
$as_echo_n "(cached) " >&6
7265
lt_cv_ld_exported_symbols_list=no
7266
save_LDFLAGS=$LDFLAGS
7267
echo "_main" > conftest.sym
7268
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7269
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7270
/* end confdefs.h. */
7280
if ac_fn_c_try_link "$LINENO"; then :
7281
lt_cv_ld_exported_symbols_list=yes
7283
lt_cv_ld_exported_symbols_list=no
7285
rm -f core conftest.err conftest.$ac_objext \
7286
conftest$ac_exeext conftest.$ac_ext
7287
LDFLAGS="$save_LDFLAGS"
7290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7291
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7293
rhapsody* | darwin1.[012])
7294
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7296
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7297
darwin*) # darwin 5.x on
7298
# if running on 10.5 or later, the deployment target defaults
7299
# to the OS version, if on x86, and 10.4, the deployment
7300
# target defaults to 10.4. Don't you love it?
7301
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7302
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7303
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7305
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7307
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7311
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7312
_lt_dar_single_mod='$single_module'
7314
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7315
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7317
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7319
if test "$DSYMUTIL" != ":"; then
7320
_lt_dsymutil='~$DSYMUTIL $lib || :'
7328
ac_cpp='$CPP $CPPFLAGS'
7329
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7330
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7331
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7333
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7334
# On Suns, sometimes $CPP names a directory.
7335
if test -n "$CPP" && test -d "$CPP"; then
7338
if test -z "$CPP"; then
7339
if test "${ac_cv_prog_CPP+set}" = set; then :
7340
$as_echo_n "(cached) " >&6
7342
# Double quotes because CPP needs to be expanded
7343
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7346
for ac_c_preproc_warn_flag in '' yes
7348
# Use a header file that comes with gcc, so configuring glibc
7349
# with a fresh cross-compiler works.
7350
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7351
# <limits.h> exists even on freestanding compilers.
7352
# On the NeXT, cc -E runs the code through the compiler's parser,
7353
# not just through cpp. "Syntax error" is here to catch this case.
7354
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7355
/* end confdefs.h. */
7357
# include <limits.h>
7359
# include <assert.h>
7363
if ac_fn_c_try_cpp "$LINENO"; then :
7366
# Broken: fails on valid input.
7369
rm -f conftest.err conftest.$ac_ext
7371
# OK, works on sane cases. Now check whether nonexistent headers
7372
# can be detected and how.
7373
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7374
/* end confdefs.h. */
7375
#include <ac_nonexistent.h>
7377
if ac_fn_c_try_cpp "$LINENO"; then :
7378
# Broken: success on invalid input.
7381
# Passes both tests.
7385
rm -f conftest.err conftest.$ac_ext
7388
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7389
rm -f conftest.err conftest.$ac_ext
7390
if $ac_preproc_ok; then :
7402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7403
$as_echo "$CPP" >&6; }
7405
for ac_c_preproc_warn_flag in '' yes
7407
# Use a header file that comes with gcc, so configuring glibc
7408
# with a fresh cross-compiler works.
7409
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7410
# <limits.h> exists even on freestanding compilers.
7411
# On the NeXT, cc -E runs the code through the compiler's parser,
7412
# not just through cpp. "Syntax error" is here to catch this case.
7413
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7414
/* end confdefs.h. */
7416
# include <limits.h>
7418
# include <assert.h>
7422
if ac_fn_c_try_cpp "$LINENO"; then :
7425
# Broken: fails on valid input.
7428
rm -f conftest.err conftest.$ac_ext
7430
# OK, works on sane cases. Now check whether nonexistent headers
7431
# can be detected and how.
7432
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7433
/* end confdefs.h. */
7434
#include <ac_nonexistent.h>
7436
if ac_fn_c_try_cpp "$LINENO"; then :
7437
# Broken: success on invalid input.
7440
# Passes both tests.
7444
rm -f conftest.err conftest.$ac_ext
7447
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7448
rm -f conftest.err conftest.$ac_ext
7449
if $ac_preproc_ok; then :
7452
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7453
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7454
as_fn_error "C preprocessor \"$CPP\" fails sanity check
7455
See \`config.log' for more details." "$LINENO" 5; }
7459
ac_cpp='$CPP $CPPFLAGS'
7460
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7461
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7462
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7465
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7466
$as_echo_n "checking for ANSI C header files... " >&6; }
7467
if test "${ac_cv_header_stdc+set}" = set; then :
7468
$as_echo_n "(cached) " >&6
7470
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7471
/* end confdefs.h. */
7485
if ac_fn_c_try_compile "$LINENO"; then :
7486
ac_cv_header_stdc=yes
7488
ac_cv_header_stdc=no
7490
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7492
if test $ac_cv_header_stdc = yes; then
7493
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7494
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7495
/* end confdefs.h. */
7499
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7500
$EGREP "memchr" >/dev/null 2>&1; then :
7503
ac_cv_header_stdc=no
7509
if test $ac_cv_header_stdc = yes; then
7510
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7511
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7512
/* end confdefs.h. */
7516
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7517
$EGREP "free" >/dev/null 2>&1; then :
7520
ac_cv_header_stdc=no
7526
if test $ac_cv_header_stdc = yes; then
7527
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7528
if test "$cross_compiling" = yes; then :
7531
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7532
/* end confdefs.h. */
7535
#if ((' ' & 0x0FF) == 0x020)
7536
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7537
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7539
# define ISLOWER(c) \
7540
(('a' <= (c) && (c) <= 'i') \
7541
|| ('j' <= (c) && (c) <= 'r') \
7542
|| ('s' <= (c) && (c) <= 'z'))
7543
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7546
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7551
for (i = 0; i < 256; i++)
7552
if (XOR (islower (i), ISLOWER (i))
7553
|| toupper (i) != TOUPPER (i))
7558
if ac_fn_c_try_run "$LINENO"; then :
7561
ac_cv_header_stdc=no
7563
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7564
conftest.$ac_objext conftest.beam conftest.$ac_ext
7569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7570
$as_echo "$ac_cv_header_stdc" >&6; }
7571
if test $ac_cv_header_stdc = yes; then
7573
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7577
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7578
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7579
inttypes.h stdint.h unistd.h
7581
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7582
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7584
eval as_val=\$$as_ac_Header
7585
if test "x$as_val" = x""yes; then :
7586
cat >>confdefs.h <<_ACEOF
7587
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7595
for ac_header in dlfcn.h
7597
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7599
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7600
cat >>confdefs.h <<_ACEOF
7601
#define HAVE_DLFCN_H 1
7611
ac_cpp='$CXXCPP $CPPFLAGS'
7612
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7613
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7614
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7615
if test -z "$CXX"; then
7616
if test -n "$CCC"; then
7619
if test -n "$ac_tool_prefix"; then
7620
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7622
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7623
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625
$as_echo_n "checking for $ac_word... " >&6; }
7626
if test "${ac_cv_prog_CXX+set}" = set; then :
7627
$as_echo_n "(cached) " >&6
7629
if test -n "$CXX"; then
7630
ac_cv_prog_CXX="$CXX" # Let the user override the test.
7632
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636
test -z "$as_dir" && as_dir=.
7637
for ac_exec_ext in '' $ac_executable_extensions; do
7638
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7639
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7640
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7650
if test -n "$CXX"; then
7651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7652
$as_echo "$CXX" >&6; }
7654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655
$as_echo "no" >&6; }
7659
test -n "$CXX" && break
7662
if test -z "$CXX"; then
7664
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7666
# Extract the first word of "$ac_prog", so it can be a program name with args.
7667
set dummy $ac_prog; ac_word=$2
7668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7669
$as_echo_n "checking for $ac_word... " >&6; }
7670
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7671
$as_echo_n "(cached) " >&6
7673
if test -n "$ac_ct_CXX"; then
7674
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7676
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7680
test -z "$as_dir" && as_dir=.
7681
for ac_exec_ext in '' $ac_executable_extensions; do
7682
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7683
ac_cv_prog_ac_ct_CXX="$ac_prog"
7684
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7693
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7694
if test -n "$ac_ct_CXX"; then
7695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7696
$as_echo "$ac_ct_CXX" >&6; }
7698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7699
$as_echo "no" >&6; }
7703
test -n "$ac_ct_CXX" && break
7706
if test "x$ac_ct_CXX" = x; then
7709
case $cross_compiling:$ac_tool_warned in
7711
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7712
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7713
ac_tool_warned=yes ;;
7721
# Provide some information about the compiler.
7722
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7725
for ac_option in --version -v -V -qversion; do
7726
{ { ac_try="$ac_compiler $ac_option >&5"
7728
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7729
*) ac_try_echo=$ac_try;;
7731
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7732
$as_echo "$ac_try_echo"; } >&5
7733
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
7735
if test -s conftest.err; then
7737
... rest of stderr output deleted ...
7738
10q' conftest.err >conftest.er1
7739
cat conftest.er1 >&5
7740
rm -f conftest.er1 conftest.err
7742
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7743
test $ac_status = 0; }
7746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7747
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7748
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
7749
$as_echo_n "(cached) " >&6
7751
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7752
/* end confdefs.h. */
7765
if ac_fn_cxx_try_compile "$LINENO"; then :
7770
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7771
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7775
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7776
if test $ac_compiler_gnu = yes; then
7781
ac_test_CXXFLAGS=${CXXFLAGS+set}
7782
ac_save_CXXFLAGS=$CXXFLAGS
7783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7784
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
7785
if test "${ac_cv_prog_cxx_g+set}" = set; then :
7786
$as_echo_n "(cached) " >&6
7788
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7789
ac_cxx_werror_flag=yes
7792
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7793
/* end confdefs.h. */
7803
if ac_fn_cxx_try_compile "$LINENO"; then :
7804
ac_cv_prog_cxx_g=yes
7807
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7808
/* end confdefs.h. */
7818
if ac_fn_cxx_try_compile "$LINENO"; then :
7821
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7823
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7824
/* end confdefs.h. */
7834
if ac_fn_cxx_try_compile "$LINENO"; then :
7835
ac_cv_prog_cxx_g=yes
7837
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7839
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7841
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7842
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7845
$as_echo "$ac_cv_prog_cxx_g" >&6; }
7846
if test "$ac_test_CXXFLAGS" = set; then
7847
CXXFLAGS=$ac_save_CXXFLAGS
7848
elif test $ac_cv_prog_cxx_g = yes; then
7849
if test "$GXX" = yes; then
7855
if test "$GXX" = yes; then
7862
ac_cpp='$CPP $CPPFLAGS'
7863
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7864
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7865
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7867
depcc="$CXX" am_compiler_list=
7869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7870
$as_echo_n "checking dependency style of $depcc... " >&6; }
7871
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
7872
$as_echo_n "(cached) " >&6
7874
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7875
# We make a subdir and do the tests there. Otherwise we can end up
7876
# making bogus files that we don't know about and never remove. For
7877
# instance it was reported that on HP-UX the gcc test will end up
7878
# making a dummy file named `D' -- because `-MD' means `put the output
7881
# Copy depcomp to subdir because otherwise we won't find it if we're
7882
# using a relative directory.
7883
cp "$am_depcomp" conftest.dir
7885
# We will build objects and dependencies in a subdirectory because
7886
# it helps to detect inapplicable dependency modes. For instance
7887
# both Tru64's cc and ICC support -MD to output dependencies as a
7888
# side effect of compilation, but ICC will put the dependencies in
7889
# the current directory while Tru64 will put them in the object
7893
am_cv_CXX_dependencies_compiler_type=none
7894
if test "$am_compiler_list" = ""; then
7895
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7898
case " $depcc " in #(
7899
*\ -arch\ *\ -arch\ *) am__universal=true ;;
7902
for depmode in $am_compiler_list; do
7903
# Setup a source with many dependencies, because some compilers
7904
# like to wrap large dependency lists on column 80 (with \), and
7905
# we should not choose a depcomp mode which is confused by this.
7907
# We need to recreate these files for each test, as the compiler may
7908
# overwrite some of them when testing with obscure command lines.
7909
# This happens at least with the AIX C compiler.
7911
for i in 1 2 3 4 5 6; do
7912
echo '#include "conftst'$i'.h"' >> sub/conftest.c
7913
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7914
# Solaris 8's {/usr,}/bin/sh.
7915
touch sub/conftst$i.h
7917
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7919
# We check with `-c' and `-o' for the sake of the "dashmstdout"
7920
# mode. It turns out that the SunPro C++ compiler does not properly
7921
# handle `-M -o', and we need to detect this. Also, some Intel
7922
# versions had trouble with output in subdirs
7923
am__obj=sub/conftest.${OBJEXT-o}
7924
am__minus_obj="-o $am__obj"
7927
# This depmode causes a compiler race in universal mode.
7928
test "$am__universal" = false || continue
7931
# after this tag, mechanisms are not by side-effect, so they'll
7932
# only be used when explicitly requested
7933
if test "x$enable_dependency_tracking" = xyes; then
7939
msvisualcpp | msvcmsys)
7940
# This compiler won't grok `-c -o', but also, the minuso test has
7941
# not run yet. These depmodes are late enough in the game, and
7942
# so weak that their functioning should not be impacted.
7943
am__obj=conftest.${OBJEXT-o}
7948
if depmode=$depmode \
7949
source=sub/conftest.c object=$am__obj \
7950
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7951
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7952
>/dev/null 2>conftest.err &&
7953
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7954
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7955
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7956
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7957
# icc doesn't choke on unknown options, it will just issue warnings
7958
# or remarks (even with -Werror). So we grep stderr for any message
7959
# that says an option was ignored or not supported.
7960
# When given -MP, icc 7.0 and 7.1 complain thusly:
7961
# icc: Command line warning: ignoring option '-M'; no argument required
7962
# The diagnosis changed in icc 8.0:
7963
# icc: Command line remark: option '-MP' not supported
7964
if (grep 'ignoring option' conftest.err ||
7965
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7966
am_cv_CXX_dependencies_compiler_type=$depmode
7975
am_cv_CXX_dependencies_compiler_type=none
7979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7980
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7981
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7984
test "x$enable_dependency_tracking" != xno \
7985
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7986
am__fastdepCXX_TRUE=
7987
am__fastdepCXX_FALSE='#'
7989
am__fastdepCXX_TRUE='#'
7990
am__fastdepCXX_FALSE=
7994
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7995
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7996
(test "X$CXX" != "Xg++"))) ; then
7998
ac_cpp='$CXXCPP $CPPFLAGS'
7999
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8000
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8001
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8003
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8004
if test -z "$CXXCPP"; then
8005
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
8006
$as_echo_n "(cached) " >&6
8008
# Double quotes because CXXCPP needs to be expanded
8009
for CXXCPP in "$CXX -E" "/lib/cpp"
8012
for ac_cxx_preproc_warn_flag in '' yes
8014
# Use a header file that comes with gcc, so configuring glibc
8015
# with a fresh cross-compiler works.
8016
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8017
# <limits.h> exists even on freestanding compilers.
8018
# On the NeXT, cc -E runs the code through the compiler's parser,
8019
# not just through cpp. "Syntax error" is here to catch this case.
8020
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8021
/* end confdefs.h. */
8023
# include <limits.h>
8025
# include <assert.h>
8029
if ac_fn_cxx_try_cpp "$LINENO"; then :
8032
# Broken: fails on valid input.
8035
rm -f conftest.err conftest.$ac_ext
8037
# OK, works on sane cases. Now check whether nonexistent headers
8038
# can be detected and how.
8039
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8040
/* end confdefs.h. */
8041
#include <ac_nonexistent.h>
8043
if ac_fn_cxx_try_cpp "$LINENO"; then :
8044
# Broken: success on invalid input.
8047
# Passes both tests.
8051
rm -f conftest.err conftest.$ac_ext
8054
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8055
rm -f conftest.err conftest.$ac_ext
8056
if $ac_preproc_ok; then :
8061
ac_cv_prog_CXXCPP=$CXXCPP
8064
CXXCPP=$ac_cv_prog_CXXCPP
8066
ac_cv_prog_CXXCPP=$CXXCPP
8068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8069
$as_echo "$CXXCPP" >&6; }
8071
for ac_cxx_preproc_warn_flag in '' yes
8073
# Use a header file that comes with gcc, so configuring glibc
8074
# with a fresh cross-compiler works.
8075
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8076
# <limits.h> exists even on freestanding compilers.
8077
# On the NeXT, cc -E runs the code through the compiler's parser,
8078
# not just through cpp. "Syntax error" is here to catch this case.
8079
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8080
/* end confdefs.h. */
8082
# include <limits.h>
8084
# include <assert.h>
8088
if ac_fn_cxx_try_cpp "$LINENO"; then :
8091
# Broken: fails on valid input.
8094
rm -f conftest.err conftest.$ac_ext
8096
# OK, works on sane cases. Now check whether nonexistent headers
8097
# can be detected and how.
8098
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8099
/* end confdefs.h. */
8100
#include <ac_nonexistent.h>
8102
if ac_fn_cxx_try_cpp "$LINENO"; then :
8103
# Broken: success on invalid input.
8106
# Passes both tests.
8110
rm -f conftest.err conftest.$ac_ext
8113
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8114
rm -f conftest.err conftest.$ac_ext
8115
if $ac_preproc_ok; then :
8118
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8119
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8120
_lt_caught_CXX_error=yes; }
8124
ac_cpp='$CPP $CPPFLAGS'
8125
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8126
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8127
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8130
_lt_caught_CXX_error=yes
8145
# Check whether --enable-shared was given.
8146
if test "${enable_shared+set}" = set; then :
8147
enableval=$enable_shared; p=${PACKAGE-default}
8149
yes) enable_shared=yes ;;
8150
no) enable_shared=no ;;
8153
# Look at the argument we got. We use all the common list separators.
8154
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8155
for pkg in $enableval; do
8157
if test "X$pkg" = "X$p"; then
8178
# Check whether --with-pic was given.
8179
if test "${with_pic+set}" = set; then :
8180
withval=$with_pic; pic_mode="$withval"
8186
test -z "$pic_mode" && pic_mode=default
8194
# Check whether --enable-fast-install was given.
8195
if test "${enable_fast_install+set}" = set; then :
8196
enableval=$enable_fast_install; p=${PACKAGE-default}
8198
yes) enable_fast_install=yes ;;
8199
no) enable_fast_install=no ;;
8201
enable_fast_install=no
8202
# Look at the argument we got. We use all the common list separators.
8203
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8204
for pkg in $enableval; do
8206
if test "X$pkg" = "X$p"; then
8207
enable_fast_install=yes
8214
enable_fast_install=yes
8227
# This can be used to rebuild libtool when needed
8228
LIBTOOL_DEPS="$ltmain"
8230
# Always use our own libtool.
8231
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8257
test -z "$LN_S" && LN_S="ln -s"
8272
if test -n "${ZSH_VERSION+set}" ; then
8273
setopt NO_GLOB_SUBST
8276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8277
$as_echo_n "checking for objdir... " >&6; }
8278
if test "${lt_cv_objdir+set}" = set; then :
8279
$as_echo_n "(cached) " >&6
8281
rm -f .libs 2>/dev/null
8282
mkdir .libs 2>/dev/null
8283
if test -d .libs; then
8286
# MS-DOS does not allow filenames that begin with a dot.
8289
rmdir .libs 2>/dev/null
8291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8292
$as_echo "$lt_cv_objdir" >&6; }
8293
objdir=$lt_cv_objdir
8299
cat >>confdefs.h <<_ACEOF
8300
#define LT_OBJDIR "$lt_cv_objdir/"
8321
# AIX sometimes has problems with the GCC collect2 program. For some
8322
# reason, if we set the COLLECT_NAMES environment variable, the problems
8323
# vanish in a puff of smoke.
8324
if test "X${COLLECT_NAMES+set}" != Xset; then
8326
export COLLECT_NAMES
8331
# Sed substitution that helps us do robust quoting. It backslashifies
8332
# metacharacters that are still active within double-quoted strings.
8333
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8335
# Same as above, but do not quote variable references.
8336
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8338
# Sed substitution to delay expansion of an escaped shell variable in a
8339
# double_quote_subst'ed string.
8340
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8342
# Sed substitution to delay expansion of an escaped single quote.
8343
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8345
# Sed substitution to avoid accidental globbing in evaled expressions
8346
no_glob_subst='s/\*/\\\*/g'
8350
can_build_shared=yes
8352
# All known linkers require a `.a' archive for static linking (except MSVC,
8353
# which needs '.lib').
8356
with_gnu_ld="$lt_cv_prog_gnu_ld"
8359
old_CFLAGS="$CFLAGS"
8361
# Set sane defaults for various variables
8362
test -z "$CC" && CC=cc
8363
test -z "$LTCC" && LTCC=$CC
8364
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8365
test -z "$LD" && LD=ld
8366
test -z "$ac_objext" && ac_objext=o
8368
for cc_temp in $compiler""; do
8370
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8371
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8376
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8379
# Only perform the check for file, if the check method requires it
8380
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8381
case $deplibs_check_method in
8383
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8385
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8386
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8387
$as_echo_n "(cached) " >&6
8391
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8394
lt_save_MAGIC_CMD="$MAGIC_CMD"
8395
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8396
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8397
for ac_dir in $ac_dummy; do
8399
test -z "$ac_dir" && ac_dir=.
8400
if test -f $ac_dir/${ac_tool_prefix}file; then
8401
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8402
if test -n "$file_magic_test_file"; then
8403
case $deplibs_check_method in
8405
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8406
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8407
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8408
$EGREP "$file_magic_regex" > /dev/null; then
8413
*** Warning: the command libtool uses to detect shared libraries,
8414
*** $file_magic_cmd, produces output that libtool cannot recognize.
8415
*** The result is that libtool may fail to recognize shared libraries
8416
*** as such. This will affect the creation of libtool libraries that
8417
*** depend on shared libraries, but programs linked with such libtool
8418
*** libraries will work regardless of this problem. Nevertheless, you
8419
*** may want to report the problem to your system manager and/or to
8420
*** bug-libtool@gnu.org
8430
MAGIC_CMD="$lt_save_MAGIC_CMD"
8435
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8436
if test -n "$MAGIC_CMD"; then
8437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8438
$as_echo "$MAGIC_CMD" >&6; }
8440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8441
$as_echo "no" >&6; }
8448
if test -z "$lt_cv_path_MAGIC_CMD"; then
8449
if test -n "$ac_tool_prefix"; then
8450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8451
$as_echo_n "checking for file... " >&6; }
8452
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8453
$as_echo_n "(cached) " >&6
8457
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8460
lt_save_MAGIC_CMD="$MAGIC_CMD"
8461
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8462
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8463
for ac_dir in $ac_dummy; do
8465
test -z "$ac_dir" && ac_dir=.
8466
if test -f $ac_dir/file; then
8467
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8468
if test -n "$file_magic_test_file"; then
8469
case $deplibs_check_method in
8471
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8472
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8473
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8474
$EGREP "$file_magic_regex" > /dev/null; then
8479
*** Warning: the command libtool uses to detect shared libraries,
8480
*** $file_magic_cmd, produces output that libtool cannot recognize.
8481
*** The result is that libtool may fail to recognize shared libraries
8482
*** as such. This will affect the creation of libtool libraries that
8483
*** depend on shared libraries, but programs linked with such libtool
8484
*** libraries will work regardless of this problem. Nevertheless, you
8485
*** may want to report the problem to your system manager and/or to
8486
*** bug-libtool@gnu.org
8496
MAGIC_CMD="$lt_save_MAGIC_CMD"
8501
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8502
if test -n "$MAGIC_CMD"; then
8503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8504
$as_echo "$MAGIC_CMD" >&6; }
8506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8507
$as_echo "no" >&6; }
8520
# Use C for the default configuration in the libtool script
8524
ac_cpp='$CPP $CPPFLAGS'
8525
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8526
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8527
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8530
# Source file extension for C test sources.
8533
# Object file extension for compiled C test sources.
8537
# Code to be used in simple compile tests
8538
lt_simple_compile_test_code="int some_variable = 0;"
8540
# Code to be used in simple link tests
8541
lt_simple_link_test_code='int main(){return(0);}'
8549
# If no C compiler was specified, use CC.
8552
# If no C compiler flags were specified, use CFLAGS.
8553
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8555
# Allow CC to be a program name with arguments.
8558
# Save the default compiler, since it gets overwritten when the other
8559
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8560
compiler_DEFAULT=$CC
8562
# save warnings/boilerplate of simple test code
8563
ac_outfile=conftest.$ac_objext
8564
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8565
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8566
_lt_compiler_boilerplate=`cat conftest.err`
8569
ac_outfile=conftest.$ac_objext
8570
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8571
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8572
_lt_linker_boilerplate=`cat conftest.err`
8576
if test -n "$compiler"; then
8578
lt_prog_compiler_no_builtin_flag=
8580
if test "$GCC" = yes; then
8581
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8584
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8585
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8586
$as_echo_n "(cached) " >&6
8588
lt_cv_prog_compiler_rtti_exceptions=no
8589
ac_outfile=conftest.$ac_objext
8590
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8591
lt_compiler_flag="-fno-rtti -fno-exceptions"
8592
# Insert the option either (1) after the last *FLAGS variable, or
8593
# (2) before a word containing "conftest.", or (3) at the end.
8594
# Note that $ac_compile itself does not contain backslashes and begins
8595
# with a dollar sign (not a hyphen), so the echo should work correctly.
8596
# The option is referenced via a variable to avoid confusing sed.
8597
lt_compile=`echo "$ac_compile" | $SED \
8598
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8599
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8600
-e 's:$: $lt_compiler_flag:'`
8601
(eval echo "\"\$as_me:8601: $lt_compile\"" >&5)
8602
(eval "$lt_compile" 2>conftest.err)
8604
cat conftest.err >&5
8605
echo "$as_me:8605: \$? = $ac_status" >&5
8606
if (exit $ac_status) && test -s "$ac_outfile"; then
8607
# The compiler can only warn and ignore the option if not recognized
8608
# So say no if there are warnings other than the usual output.
8609
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8610
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8611
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8612
lt_cv_prog_compiler_rtti_exceptions=yes
8618
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8619
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8621
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8622
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8634
lt_prog_compiler_wl=
8635
lt_prog_compiler_pic=
8636
lt_prog_compiler_static=
8638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8639
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8641
if test "$GCC" = yes; then
8642
lt_prog_compiler_wl='-Wl,'
8643
lt_prog_compiler_static='-static'
8647
# All AIX code is PIC.
8648
if test "$host_cpu" = ia64; then
8649
# AIX 5 now supports IA64 processor
8650
lt_prog_compiler_static='-Bstatic'
8657
# see comment about AmigaOS4 .so support
8658
lt_prog_compiler_pic='-fPIC'
8661
# FIXME: we need at least 68020 code to build shared libraries, but
8662
# adding the `-m68020' flag to GCC prevents building anything better,
8664
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8669
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8670
# PIC is the default for these OSes.
8673
mingw* | cygwin* | pw32* | os2* | cegcc*)
8674
# This hack is so that the source file can tell whether it is being
8675
# built for inclusion in a dll (and should export symbols for example).
8676
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8677
# (--disable-auto-import) libraries
8678
lt_prog_compiler_pic='-DDLL_EXPORT'
8681
darwin* | rhapsody*)
8682
# PIC is the default on this platform
8683
# Common symbols not allowed in MH_DYLIB files
8684
lt_prog_compiler_pic='-fno-common'
8688
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8689
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8690
# sets the default TLS model and affects inlining.
8696
lt_prog_compiler_pic='-fPIC'
8702
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8703
# Instead, we relocate shared libraries at runtime.
8707
# Just because we use GCC doesn't mean we suddenly get shared libraries
8708
# on systems that don't support them.
8709
lt_prog_compiler_can_build_shared=no
8714
# QNX uses GNU C++, but need to define -shared option too, otherwise
8716
lt_prog_compiler_pic='-fPIC -shared'
8720
if test -d /usr/nec; then
8721
lt_prog_compiler_pic=-Kconform_pic
8726
lt_prog_compiler_pic='-fPIC'
8730
# PORTME Check for flag to pass linker flags through the system compiler.
8733
lt_prog_compiler_wl='-Wl,'
8734
if test "$host_cpu" = ia64; then
8735
# AIX 5 now supports IA64 processor
8736
lt_prog_compiler_static='-Bstatic'
8738
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8742
mingw* | cygwin* | pw32* | os2* | cegcc*)
8743
# This hack is so that the source file can tell whether it is being
8744
# built for inclusion in a dll (and should export symbols for example).
8745
lt_prog_compiler_pic='-DDLL_EXPORT'
8748
hpux9* | hpux10* | hpux11*)
8749
lt_prog_compiler_wl='-Wl,'
8750
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8757
lt_prog_compiler_pic='+Z'
8760
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8761
lt_prog_compiler_static='${wl}-a ${wl}archive'
8764
irix5* | irix6* | nonstopux*)
8765
lt_prog_compiler_wl='-Wl,'
8766
# PIC (with -KPIC) is the default.
8767
lt_prog_compiler_static='-non_shared'
8770
linux* | k*bsd*-gnu)
8771
case $cc_basename in
8772
# old Intel for x86_64 which still supported -KPIC.
8774
lt_prog_compiler_wl='-Wl,'
8775
lt_prog_compiler_pic='-KPIC'
8776
lt_prog_compiler_static='-static'
8778
# icc used to be incompatible with GCC.
8779
# ICC 10 doesn't accept -KPIC any more.
8781
lt_prog_compiler_wl='-Wl,'
8782
lt_prog_compiler_pic='-fPIC'
8783
lt_prog_compiler_static='-static'
8785
# Lahey Fortran 8.1.
8787
lt_prog_compiler_wl='-Wl,'
8788
lt_prog_compiler_pic='--shared'
8789
lt_prog_compiler_static='--static'
8791
pgcc* | pgf77* | pgf90* | pgf95*)
8792
# Portland Group compilers (*not* the Pentium gcc compiler,
8793
# which looks to be a dead project)
8794
lt_prog_compiler_wl='-Wl,'
8795
lt_prog_compiler_pic='-fpic'
8796
lt_prog_compiler_static='-Bstatic'
8799
lt_prog_compiler_wl='-Wl,'
8800
# All Alpha code is PIC.
8801
lt_prog_compiler_static='-non_shared'
8804
# IBM XL C 8.0/Fortran 10.1 on PPC
8805
lt_prog_compiler_wl='-Wl,'
8806
lt_prog_compiler_pic='-qpic'
8807
lt_prog_compiler_static='-qstaticlink'
8810
case `$CC -V 2>&1 | sed 5q` in
8813
lt_prog_compiler_pic='-KPIC'
8814
lt_prog_compiler_static='-Bstatic'
8815
lt_prog_compiler_wl='-Wl,'
8818
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8819
lt_prog_compiler_pic='-KPIC'
8820
lt_prog_compiler_static='-Bstatic'
8821
lt_prog_compiler_wl=''
8829
lt_prog_compiler_pic='-KPIC'
8830
lt_prog_compiler_static='-Bstatic'
8834
# QNX uses GNU C++, but need to define -shared option too, otherwise
8836
lt_prog_compiler_pic='-fPIC -shared'
8839
osf3* | osf4* | osf5*)
8840
lt_prog_compiler_wl='-Wl,'
8841
# All OSF/1 code is PIC.
8842
lt_prog_compiler_static='-non_shared'
8846
lt_prog_compiler_static='-non_shared'
8850
lt_prog_compiler_pic='-KPIC'
8851
lt_prog_compiler_static='-Bstatic'
8852
case $cc_basename in
8854
lt_prog_compiler_wl='-Qoption ld ';;
8856
lt_prog_compiler_wl='-Wl,';;
8861
lt_prog_compiler_wl='-Qoption ld '
8862
lt_prog_compiler_pic='-PIC'
8863
lt_prog_compiler_static='-Bstatic'
8866
sysv4 | sysv4.2uw2* | sysv4.3*)
8867
lt_prog_compiler_wl='-Wl,'
8868
lt_prog_compiler_pic='-KPIC'
8869
lt_prog_compiler_static='-Bstatic'
8873
if test -d /usr/nec ;then
8874
lt_prog_compiler_pic='-Kconform_pic'
8875
lt_prog_compiler_static='-Bstatic'
8879
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8880
lt_prog_compiler_wl='-Wl,'
8881
lt_prog_compiler_pic='-KPIC'
8882
lt_prog_compiler_static='-Bstatic'
8886
lt_prog_compiler_wl='-Wl,'
8887
lt_prog_compiler_can_build_shared=no
8891
lt_prog_compiler_pic='-pic'
8892
lt_prog_compiler_static='-Bstatic'
8896
lt_prog_compiler_can_build_shared=no
8902
# For platforms which do not support PIC, -DPIC is meaningless:
8904
lt_prog_compiler_pic=
8907
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8911
$as_echo "$lt_prog_compiler_pic" >&6; }
8919
# Check to make sure the PIC flag actually works.
8921
if test -n "$lt_prog_compiler_pic"; then
8922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8923
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8924
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8925
$as_echo_n "(cached) " >&6
8927
lt_cv_prog_compiler_pic_works=no
8928
ac_outfile=conftest.$ac_objext
8929
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8930
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8931
# Insert the option either (1) after the last *FLAGS variable, or
8932
# (2) before a word containing "conftest.", or (3) at the end.
8933
# Note that $ac_compile itself does not contain backslashes and begins
8934
# with a dollar sign (not a hyphen), so the echo should work correctly.
8935
# The option is referenced via a variable to avoid confusing sed.
8936
lt_compile=`echo "$ac_compile" | $SED \
8937
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8938
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8939
-e 's:$: $lt_compiler_flag:'`
8940
(eval echo "\"\$as_me:8940: $lt_compile\"" >&5)
8941
(eval "$lt_compile" 2>conftest.err)
8943
cat conftest.err >&5
8944
echo "$as_me:8944: \$? = $ac_status" >&5
8945
if (exit $ac_status) && test -s "$ac_outfile"; then
8946
# The compiler can only warn and ignore the option if not recognized
8947
# So say no if there are warnings other than the usual output.
8948
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8949
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8950
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8951
lt_cv_prog_compiler_pic_works=yes
8957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8958
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8960
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8961
case $lt_prog_compiler_pic in
8963
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8966
lt_prog_compiler_pic=
8967
lt_prog_compiler_can_build_shared=no
8978
# Check to make sure the static flag actually works.
8980
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8982
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8983
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8984
$as_echo_n "(cached) " >&6
8986
lt_cv_prog_compiler_static_works=no
8987
save_LDFLAGS="$LDFLAGS"
8988
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8989
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8990
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8991
# The linker can only warn and ignore the option if not recognized
8992
# So say no if there are warnings
8993
if test -s conftest.err; then
8994
# Append any errors to the config.log.
8995
cat conftest.err 1>&5
8996
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8997
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8998
if diff conftest.exp conftest.er2 >/dev/null; then
8999
lt_cv_prog_compiler_static_works=yes
9002
lt_cv_prog_compiler_static_works=yes
9006
LDFLAGS="$save_LDFLAGS"
9009
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9010
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9012
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9015
lt_prog_compiler_static=
9024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9025
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9026
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9027
$as_echo_n "(cached) " >&6
9029
lt_cv_prog_compiler_c_o=no
9030
$RM -r conftest 2>/dev/null
9034
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9036
lt_compiler_flag="-o out/conftest2.$ac_objext"
9037
# Insert the option either (1) after the last *FLAGS variable, or
9038
# (2) before a word containing "conftest.", or (3) at the end.
9039
# Note that $ac_compile itself does not contain backslashes and begins
9040
# with a dollar sign (not a hyphen), so the echo should work correctly.
9041
lt_compile=`echo "$ac_compile" | $SED \
9042
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9043
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9044
-e 's:$: $lt_compiler_flag:'`
9045
(eval echo "\"\$as_me:9045: $lt_compile\"" >&5)
9046
(eval "$lt_compile" 2>out/conftest.err)
9048
cat out/conftest.err >&5
9049
echo "$as_me:9049: \$? = $ac_status" >&5
9050
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9052
# The compiler can only warn and ignore the option if not recognized
9053
# So say no if there are warnings
9054
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9055
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9056
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9057
lt_cv_prog_compiler_c_o=yes
9062
# SGI C++ compiler will create directory out/ii_files/ for
9063
# template instantiation
9064
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9065
$RM out/* && rmdir out
9071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9072
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9080
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9081
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9082
$as_echo_n "(cached) " >&6
9084
lt_cv_prog_compiler_c_o=no
9085
$RM -r conftest 2>/dev/null
9089
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9091
lt_compiler_flag="-o out/conftest2.$ac_objext"
9092
# Insert the option either (1) after the last *FLAGS variable, or
9093
# (2) before a word containing "conftest.", or (3) at the end.
9094
# Note that $ac_compile itself does not contain backslashes and begins
9095
# with a dollar sign (not a hyphen), so the echo should work correctly.
9096
lt_compile=`echo "$ac_compile" | $SED \
9097
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9098
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9099
-e 's:$: $lt_compiler_flag:'`
9100
(eval echo "\"\$as_me:9100: $lt_compile\"" >&5)
9101
(eval "$lt_compile" 2>out/conftest.err)
9103
cat out/conftest.err >&5
9104
echo "$as_me:9104: \$? = $ac_status" >&5
9105
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9107
# The compiler can only warn and ignore the option if not recognized
9108
# So say no if there are warnings
9109
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9110
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9111
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9112
lt_cv_prog_compiler_c_o=yes
9117
# SGI C++ compiler will create directory out/ii_files/ for
9118
# template instantiation
9119
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9120
$RM out/* && rmdir out
9126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9127
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9132
hard_links="nottested"
9133
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9134
# do not overwrite the value of need_locks provided by the user
9135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9136
$as_echo_n "checking if we can lock with hard links... " >&6; }
9139
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9141
ln conftest.a conftest.b 2>&5 || hard_links=no
9142
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9144
$as_echo "$hard_links" >&6; }
9145
if test "$hard_links" = no; then
9146
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9147
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9160
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9163
allow_undefined_flag=
9164
always_export_symbols=no
9166
archive_expsym_cmds=
9167
compiler_needs_object=no
9168
enable_shared_with_static_runtimes=no
9169
export_dynamic_flag_spec=
9170
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9171
hardcode_automatic=no
9173
hardcode_direct_absolute=no
9174
hardcode_libdir_flag_spec=
9175
hardcode_libdir_flag_spec_ld=
9176
hardcode_libdir_separator=
9178
hardcode_shlibpath_var=unsupported
9180
link_all_deplibs=unknown
9183
old_archive_from_new_cmds=
9184
old_archive_from_expsyms_cmds=
9185
thread_safe_flag_spec=
9186
whole_archive_flag_spec=
9187
# include_expsyms should be a list of space-separated symbols to be *always*
9188
# included in the symbol list
9190
# exclude_expsyms can be an extended regexp of symbols to exclude
9191
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9192
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9193
# as well as any symbol that contains `d'.
9194
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9195
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9196
# platforms (ab)use it in PIC code, but their linkers get confused if
9197
# the symbol is explicitly referenced. Since portable code cannot
9198
# rely on this symbol name, it's probably fine to never include it in
9199
# preloaded symbol tables.
9200
# Exclude shared library initialization/finalization symbols.
9201
extract_expsyms_cmds=
9204
cygwin* | mingw* | pw32* | cegcc*)
9205
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9206
# When not using gcc, we currently assume that we are using
9207
# Microsoft Visual C++.
9208
if test "$GCC" != yes; then
9213
# we just hope/assume this is gcc and not c89 (= MSVC++)
9219
linux* | k*bsd*-gnu)
9225
if test "$with_gnu_ld" = yes; then
9226
# If archive_cmds runs LD, not CC, wlarc should be empty
9229
# Set some defaults for GNU ld with shared library support. These
9230
# are reset later if shared libraries are not supported. Putting them
9231
# here allows them to be overridden if necessary.
9232
runpath_var=LD_RUN_PATH
9233
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9234
export_dynamic_flag_spec='${wl}--export-dynamic'
9235
# ancient GNU ld didn't support --whole-archive et. al.
9236
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9237
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9239
whole_archive_flag_spec=
9241
supports_anon_versioning=no
9242
case `$LD -v 2>&1` in
9243
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9244
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9245
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9246
*\ 2.11.*) ;; # other 2.11 versions
9247
*) supports_anon_versioning=yes ;;
9250
# See if GNU ld supports shared libraries.
9253
# On AIX/PPC, the GNU linker is very broken
9254
if test "$host_cpu" != ia64; then
9258
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9259
*** to be unable to reliably create shared libraries on AIX.
9260
*** Therefore, libtool is disabling shared libraries support. If you
9261
*** really care for shared libraries, you may want to modify your PATH
9262
*** so that a non-GNU linker is found, and then restart.
9271
# see comment about AmigaOS4 .so support
9272
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9273
archive_expsym_cmds=''
9276
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)'
9277
hardcode_libdir_flag_spec='-L$libdir'
9278
hardcode_minus_L=yes
9284
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9285
allow_undefined_flag=unsupported
9286
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9287
# support --undefined. This deserves some investigation. FIXME
9288
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9294
cygwin* | mingw* | pw32* | cegcc*)
9295
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9296
# as there is no search path for DLLs.
9297
hardcode_libdir_flag_spec='-L$libdir'
9298
allow_undefined_flag=unsupported
9299
always_export_symbols=no
9300
enable_shared_with_static_runtimes=yes
9301
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9303
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9304
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9305
# If the export-symbols file already is a .def file (1st line
9306
# is EXPORTS), use it as is; otherwise, prepend...
9307
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9308
cp $export_symbols $output_objdir/$soname.def;
9310
echo EXPORTS > $output_objdir/$soname.def;
9311
cat $export_symbols >> $output_objdir/$soname.def;
9313
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9321
hardcode_shlibpath_var=no
9322
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9323
export_dynamic_flag_spec='${wl}-E'
9324
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9325
# Instead, shared libraries are loaded at an image base (0x10000000 by
9326
# default) and relocated if they conflict, which is a slow very memory
9327
# consuming and fragmenting process. To avoid this, we pick a random,
9328
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9329
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9330
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9331
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'
9334
gnu* | linux* | tpf* | k*bsd*-gnu)
9336
if test "$host_os" = linux-dietlibc; then
9337
case $cc_basename in
9338
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9341
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9342
&& test "$tmp_diet" = no
9345
tmp_sharedflag='-shared'
9346
case $cc_basename,$host_cpu in
9347
pgcc*) # Portland Group C compiler
9348
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'
9349
tmp_addflag=' $pic_flag'
9351
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9352
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'
9353
tmp_addflag=' $pic_flag -Mnomain' ;;
9354
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9355
tmp_addflag=' -i_dynamic' ;;
9356
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9357
tmp_addflag=' -i_dynamic -nofor_main' ;;
9358
ifc* | ifort*) # Intel Fortran compiler
9359
tmp_addflag=' -nofor_main' ;;
9360
lf95*) # Lahey Fortran 8.1
9361
whole_archive_flag_spec=
9362
tmp_sharedflag='--shared' ;;
9363
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9364
tmp_sharedflag='-qmkshrobj'
9367
case `$CC -V 2>&1 | sed 5q` in
9368
*Sun\ C*) # Sun C 5.9
9369
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'
9370
compiler_needs_object=yes
9371
tmp_sharedflag='-G' ;;
9372
*Sun\ F*) # Sun Fortran 8.3
9373
tmp_sharedflag='-G' ;;
9375
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9377
if test "x$supports_anon_versioning" = xyes; then
9378
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9379
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9380
echo "local: *; };" >> $output_objdir/$libname.ver~
9381
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9384
case $cc_basename in
9386
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9387
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9388
hardcode_libdir_flag_spec=
9389
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9390
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9391
if test "x$supports_anon_versioning" = xyes; then
9392
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9393
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9394
echo "local: *; };" >> $output_objdir/$libname.ver~
9395
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9404
netbsd* | netbsdelf*-gnu)
9405
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9406
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9409
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9410
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9415
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9419
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9420
*** create shared libraries on Solaris systems. Therefore, libtool
9421
*** is disabling shared libraries support. We urge you to upgrade GNU
9422
*** binutils to release 2.9.1 or newer. Another option is to modify
9423
*** your PATH or compiler configuration so that the native linker is
9424
*** used, and then restart.
9427
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9428
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9429
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9435
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9436
case `$LD -v 2>&1` in
9437
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9441
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9442
*** reliably create shared libraries on SCO systems. Therefore, libtool
9443
*** is disabling shared libraries support. We urge you to upgrade GNU
9444
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9445
*** your PATH or compiler configuration so that the native linker is
9446
*** used, and then restart.
9451
# For security reasons, it is highly recommended that you always
9452
# use absolute paths for naming shared libraries, and exclude the
9453
# DT_RUNPATH tag from executables and libraries. But doing so
9454
# requires that you compile everything twice, which is a pain.
9455
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9456
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9457
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9458
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9467
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9470
hardcode_shlibpath_var=no
9474
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9475
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9476
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9483
if test "$ld_shlibs" = no; then
9485
hardcode_libdir_flag_spec=
9486
export_dynamic_flag_spec=
9487
whole_archive_flag_spec=
9490
# PORTME fill in a description of your system's linker (not GNU ld)
9493
allow_undefined_flag=unsupported
9494
always_export_symbols=yes
9495
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'
9496
# Note: this linker hardcodes the directories in LIBPATH if there
9497
# are no directories specified by -L.
9498
hardcode_minus_L=yes
9499
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9500
# Neither direct hardcoding nor static linking is supported with a
9502
hardcode_direct=unsupported
9507
if test "$host_cpu" = ia64; then
9508
# On IA64, the linker does run time linking by default, so we don't
9509
# have to do anything special.
9510
aix_use_runtimelinking=no
9511
exp_sym_flag='-Bexport'
9514
# If we're using GNU nm, then we don't want the "-C" option.
9515
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9516
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9517
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'
9519
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'
9521
aix_use_runtimelinking=no
9523
# Test if we are trying to use run time linking or normal
9524
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9525
# need to do runtime linking.
9526
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9527
for ld_flag in $LDFLAGS; do
9528
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9529
aix_use_runtimelinking=yes
9536
exp_sym_flag='-bexport'
9537
no_entry_flag='-bnoentry'
9540
# When large executables or shared objects are built, AIX ld can
9541
# have problems creating the table of contents. If linking a library
9542
# or program results in "error TOC overflow" add -mminimal-toc to
9543
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9544
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9548
hardcode_direct_absolute=yes
9549
hardcode_libdir_separator=':'
9550
link_all_deplibs=yes
9551
file_list_spec='${wl}-f,'
9553
if test "$GCC" = yes; then
9554
case $host_os in aix4.[012]|aix4.[012].*)
9555
# We only want to do this on AIX 4.2 and lower, the check
9556
# below for broken collect2 doesn't work under 4.3+
9557
collect2name=`${CC} -print-prog-name=collect2`
9558
if test -f "$collect2name" &&
9559
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9561
# We have reworked collect2
9564
# We have old collect2
9565
hardcode_direct=unsupported
9566
# It fails to find uninstalled libraries when the uninstalled
9567
# path is not listed in the libpath. Setting hardcode_minus_L
9568
# to unsupported forces relinking
9569
hardcode_minus_L=yes
9570
hardcode_libdir_flag_spec='-L$libdir'
9571
hardcode_libdir_separator=
9575
shared_flag='-shared'
9576
if test "$aix_use_runtimelinking" = yes; then
9577
shared_flag="$shared_flag "'${wl}-G'
9582
if test "$host_cpu" = ia64; then
9583
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9584
# chokes on -Wl,-G. The following line is correct:
9587
if test "$aix_use_runtimelinking" = yes; then
9588
shared_flag='${wl}-G'
9590
shared_flag='${wl}-bM:SRE'
9595
export_dynamic_flag_spec='${wl}-bexpall'
9596
# It seems that -bexpall does not export symbols beginning with
9597
# underscore (_), so it is better to generate a list of symbols to export.
9598
always_export_symbols=yes
9599
if test "$aix_use_runtimelinking" = yes; then
9600
# Warning - without using the other runtime loading flags (-brtl),
9601
# -berok will link without error, but may produce a broken library.
9602
allow_undefined_flag='-berok'
9603
# Determine the default libpath from the value encoded in an
9605
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606
/* end confdefs.h. */
9616
if ac_fn_c_try_link "$LINENO"; then :
9618
lt_aix_libpath_sed='
9619
/Import File Strings/,/^$/ {
9625
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9626
# Check for a 64-bit object if we didn't find anything.
9627
if test -z "$aix_libpath"; then
9628
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9631
rm -f core conftest.err conftest.$ac_objext \
9632
conftest$ac_exeext conftest.$ac_ext
9633
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9635
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9636
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"
9638
if test "$host_cpu" = ia64; then
9639
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9640
allow_undefined_flag="-z nodefs"
9641
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"
9643
# Determine the default libpath from the value encoded in an
9645
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9646
/* end confdefs.h. */
9656
if ac_fn_c_try_link "$LINENO"; then :
9658
lt_aix_libpath_sed='
9659
/Import File Strings/,/^$/ {
9665
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9666
# Check for a 64-bit object if we didn't find anything.
9667
if test -z "$aix_libpath"; then
9668
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9671
rm -f core conftest.err conftest.$ac_objext \
9672
conftest$ac_exeext conftest.$ac_ext
9673
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9675
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9676
# Warning - without using the other run time loading flags,
9677
# -berok will link without error, but may produce a broken library.
9678
no_undefined_flag=' ${wl}-bernotok'
9679
allow_undefined_flag=' ${wl}-berok'
9680
# Exported symbols can be pulled into shared objects from archives
9681
whole_archive_flag_spec='$convenience'
9682
archive_cmds_need_lc=yes
9683
# This is similar to how AIX traditionally builds its shared libraries.
9684
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'
9692
# see comment about AmigaOS4 .so support
9693
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9694
archive_expsym_cmds=''
9697
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)'
9698
hardcode_libdir_flag_spec='-L$libdir'
9699
hardcode_minus_L=yes
9705
export_dynamic_flag_spec=-rdynamic
9708
cygwin* | mingw* | pw32* | cegcc*)
9709
# When not using gcc, we currently assume that we are using
9710
# Microsoft Visual C++.
9711
# hardcode_libdir_flag_spec is actually meaningless, as there is
9712
# no search path for DLLs.
9713
hardcode_libdir_flag_spec=' '
9714
allow_undefined_flag=unsupported
9715
# Tell ltmain to make .lib files, not .a files.
9717
# Tell ltmain to make .dll files, not .so files.
9719
# FIXME: Setting linknames here is a bad hack.
9720
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9721
# The linker will automatically build a .lib file if we build a DLL.
9722
old_archive_from_new_cmds='true'
9723
# FIXME: Should let the user specify the lib program.
9724
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9725
fix_srcfile_path='`cygpath -w "$srcfile"`'
9726
enable_shared_with_static_runtimes=yes
9729
darwin* | rhapsody*)
9732
archive_cmds_need_lc=no
9734
hardcode_automatic=yes
9735
hardcode_shlibpath_var=unsupported
9736
whole_archive_flag_spec=''
9737
link_all_deplibs=yes
9738
allow_undefined_flag="$_lt_dar_allow_undefined"
9739
case $cc_basename in
9740
ifort*) _lt_dar_can_shared=yes ;;
9741
*) _lt_dar_can_shared=$GCC ;;
9743
if test "$_lt_dar_can_shared" = "yes"; then
9744
output_verbose_link_cmd=echo
9745
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9746
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9747
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}"
9748
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}"
9757
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9758
hardcode_libdir_flag_spec='-L$libdir'
9759
hardcode_shlibpath_var=no
9766
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9767
# support. Future versions do this automatically, but an explicit c++rt0.o
9768
# does not break anything, and helps significantly (at the cost of a little
9771
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9772
hardcode_libdir_flag_spec='-R$libdir'
9774
hardcode_shlibpath_var=no
9777
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9779
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9781
hardcode_minus_L=yes
9782
hardcode_shlibpath_var=no
9785
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9786
freebsd* | dragonfly*)
9787
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9788
hardcode_libdir_flag_spec='-R$libdir'
9790
hardcode_shlibpath_var=no
9794
if test "$GCC" = yes; then
9795
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'
9797
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'
9799
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9800
hardcode_libdir_separator=:
9803
# hardcode_minus_L: Not really in the search PATH,
9804
# but as the default location of the library.
9805
hardcode_minus_L=yes
9806
export_dynamic_flag_spec='${wl}-E'
9810
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9811
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9813
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9815
if test "$with_gnu_ld" = no; then
9816
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9817
hardcode_libdir_flag_spec_ld='+b $libdir'
9818
hardcode_libdir_separator=:
9820
hardcode_direct_absolute=yes
9821
export_dynamic_flag_spec='${wl}-E'
9822
# hardcode_minus_L: Not really in the search PATH,
9823
# but as the default location of the library.
9824
hardcode_minus_L=yes
9829
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9832
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9835
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9838
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9844
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9847
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9850
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9854
if test "$with_gnu_ld" = no; then
9855
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9856
hardcode_libdir_separator=:
9861
hardcode_shlibpath_var=no
9865
hardcode_direct_absolute=yes
9866
export_dynamic_flag_spec='${wl}-E'
9868
# hardcode_minus_L: Not really in the search PATH,
9869
# but as the default location of the library.
9870
hardcode_minus_L=yes
9876
irix5* | irix6* | nonstopux*)
9877
if test "$GCC" = yes; then
9878
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'
9879
# Try to use the -exported_symbol ld option, if it does not
9880
# work, assume that -exports_file does not work either and
9881
# implicitly export all symbols.
9882
save_LDFLAGS="$LDFLAGS"
9883
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9884
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9885
/* end confdefs.h. */
9888
if ac_fn_c_try_link "$LINENO"; then :
9889
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'
9892
rm -f core conftest.err conftest.$ac_objext \
9893
conftest$ac_exeext conftest.$ac_ext
9894
LDFLAGS="$save_LDFLAGS"
9896
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'
9897
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'
9899
archive_cmds_need_lc='no'
9900
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9901
hardcode_libdir_separator=:
9903
link_all_deplibs=yes
9906
netbsd* | netbsdelf*-gnu)
9907
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9908
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9910
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9912
hardcode_libdir_flag_spec='-R$libdir'
9914
hardcode_shlibpath_var=no
9918
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9920
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9921
hardcode_libdir_separator=:
9922
hardcode_shlibpath_var=no
9929
if test -f /usr/libexec/ld.so; then
9931
hardcode_shlibpath_var=no
9932
hardcode_direct_absolute=yes
9933
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9934
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9935
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9936
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9937
export_dynamic_flag_spec='${wl}-E'
9940
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9941
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9942
hardcode_libdir_flag_spec='-R$libdir'
9945
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9946
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9956
hardcode_libdir_flag_spec='-L$libdir'
9957
hardcode_minus_L=yes
9958
allow_undefined_flag=unsupported
9959
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'
9960
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9964
if test "$GCC" = yes; then
9965
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9966
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'
9968
allow_undefined_flag=' -expect_unresolved \*'
9969
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'
9971
archive_cmds_need_lc='no'
9972
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9973
hardcode_libdir_separator=:
9976
osf4* | osf5*) # as osf3* with the addition of -msym flag
9977
if test "$GCC" = yes; then
9978
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9979
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'
9980
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9982
allow_undefined_flag=' -expect_unresolved \*'
9983
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'
9984
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~
9985
$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'
9987
# Both c and cxx compiler support -rpath directly
9988
hardcode_libdir_flag_spec='-rpath $libdir'
9990
archive_cmds_need_lc='no'
9991
hardcode_libdir_separator=:
9995
no_undefined_flag=' -z defs'
9996
if test "$GCC" = yes; then
9998
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9999
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10000
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10002
case `$CC -V 2>&1` in
10005
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10006
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10011
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10012
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10013
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10017
hardcode_libdir_flag_spec='-R$libdir'
10018
hardcode_shlibpath_var=no
10020
solaris2.[0-5] | solaris2.[0-5].*) ;;
10022
# The compiler driver will combine and reorder linker options,
10023
# but understands `-z linker_flag'. GCC discards it without `$wl',
10024
# but is careful enough not to reorder.
10025
# Supported since Solaris 2.6 (maybe 2.5.1?)
10026
if test "$GCC" = yes; then
10027
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10029
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10033
link_all_deplibs=yes
10037
if test "x$host_vendor" = xsequent; then
10038
# Use $CC to link under sequent, because it throws in some extra .o
10039
# files that make .init and .fini sections work.
10040
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10042
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10044
hardcode_libdir_flag_spec='-L$libdir'
10045
hardcode_direct=yes
10046
hardcode_minus_L=yes
10047
hardcode_shlibpath_var=no
10051
case $host_vendor in
10053
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10054
hardcode_direct=yes # is this really true???
10057
## LD is ld it makes a PLAMLIB
10058
## CC just makes a GrossModule.
10059
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10060
reload_cmds='$CC -r -o $output$reload_objs'
10064
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10065
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10068
runpath_var='LD_RUN_PATH'
10069
hardcode_shlibpath_var=no
10073
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10074
hardcode_shlibpath_var=no
10075
export_dynamic_flag_spec='-Bexport'
10079
if test -d /usr/nec; then
10080
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081
hardcode_shlibpath_var=no
10082
runpath_var=LD_RUN_PATH
10083
hardcode_runpath_var=yes
10088
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10089
no_undefined_flag='${wl}-z,text'
10090
archive_cmds_need_lc=no
10091
hardcode_shlibpath_var=no
10092
runpath_var='LD_RUN_PATH'
10094
if test "$GCC" = yes; then
10095
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10096
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10099
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103
sysv5* | sco3.2v5* | sco5v6*)
10104
# Note: We can NOT use -z defs as we might desire, because we do not
10105
# link with -lc, and that would cause any symbols used from libc to
10106
# always be unresolved, which means just about no library would
10107
# ever link correctly. If we're not using GNU ld we use -z text
10108
# though, which does catch some bad symbols but isn't as heavy-handed
10110
no_undefined_flag='${wl}-z,text'
10111
allow_undefined_flag='${wl}-z,nodefs'
10112
archive_cmds_need_lc=no
10113
hardcode_shlibpath_var=no
10114
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10115
hardcode_libdir_separator=':'
10116
link_all_deplibs=yes
10117
export_dynamic_flag_spec='${wl}-Bexport'
10118
runpath_var='LD_RUN_PATH'
10120
if test "$GCC" = yes; then
10121
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10122
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10124
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10125
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10130
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10131
hardcode_libdir_flag_spec='-L$libdir'
10132
hardcode_shlibpath_var=no
10140
if test x$host_vendor = xsni; then
10142
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10143
export_dynamic_flag_spec='${wl}-Blargedynsym'
10149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10150
$as_echo "$ld_shlibs" >&6; }
10151
test "$ld_shlibs" = no && can_build_shared=no
10153
with_gnu_ld=$with_gnu_ld
10170
# Do we need to explicitly link libc?
10172
case "x$archive_cmds_need_lc" in
10174
# Assume -lc should be added
10175
archive_cmds_need_lc=yes
10177
if test "$enable_shared" = yes && test "$GCC" = yes; then
10178
case $archive_cmds in
10180
# FIXME: we may have to deal with multi-command sequences.
10183
# Test whether the compiler implicitly links with -lc since on some
10184
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10185
# to ld, don't add -lc before -lgcc.
10186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10187
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10189
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10191
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10192
(eval $ac_compile) 2>&5
10194
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10195
test $ac_status = 0; } 2>conftest.err; then
10198
libobjs=conftest.$ac_objext
10200
wl=$lt_prog_compiler_wl
10201
pic_flag=$lt_prog_compiler_pic
10207
lt_save_allow_undefined_flag=$allow_undefined_flag
10208
allow_undefined_flag=
10209
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10210
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10212
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10213
test $ac_status = 0; }
10215
archive_cmds_need_lc=no
10217
archive_cmds_need_lc=yes
10219
allow_undefined_flag=$lt_save_allow_undefined_flag
10221
cat conftest.err 1>&5
10224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10225
$as_echo "$archive_cmds_need_lc" >&6; }
10388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10391
if test "$GCC" = yes; then
10393
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10394
*) lt_awk_arg="/^libraries:/" ;;
10396
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10397
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10398
# if the path contains ";" then we assume it to be the separator
10399
# otherwise default to the standard path separator (i.e. ":") - it is
10400
# assumed that no part of a normal pathname contains ";" but that should
10401
# okay in the real world where ";" in dirpaths is itself problematic.
10402
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10404
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10406
# Ok, now we have the path, separated by spaces, we can step through it
10407
# and add multilib dir if necessary.
10408
lt_tmp_lt_search_path_spec=
10409
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10410
for lt_sys_path in $lt_search_path_spec; do
10411
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10412
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10414
test -d "$lt_sys_path" && \
10415
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10418
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10419
BEGIN {RS=" "; FS="/|\n";} {
10422
for (lt_i = NF; lt_i > 0; lt_i--) {
10423
if ($lt_i != "" && $lt_i != ".") {
10424
if ($lt_i == "..") {
10427
if (lt_count == 0) {
10428
lt_foo="/" $lt_i lt_foo;
10435
if (lt_foo != "") { lt_freq[lt_foo]++; }
10436
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10438
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10440
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10442
library_names_spec=
10443
libname_spec='lib$name'
10447
postuninstall_cmds=
10451
shlibpath_overrides_runpath=unknown
10453
dynamic_linker="$host_os ld.so"
10454
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10455
need_lib_prefix=unknown
10456
hardcode_into_libs=no
10458
# when you set need_version to no, make sure it does not cause -set_version
10459
# flags to be left without arguments
10460
need_version=unknown
10465
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10466
shlibpath_var=LIBPATH
10468
# AIX 3 has no versioning support, so we append a major version to the name.
10469
soname_spec='${libname}${release}${shared_ext}$major'
10476
hardcode_into_libs=yes
10477
if test "$host_cpu" = ia64; then
10478
# AIX 5 supports IA64
10479
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10480
shlibpath_var=LD_LIBRARY_PATH
10482
# With GCC up to 2.95.x, collect2 would create an import file
10483
# for dependence libraries. The import file would start with
10484
# the line `#! .'. This would cause the generated library to
10485
# depend on `.', always an invalid library. This was fixed in
10486
# development snapshots of GCC prior to 3.0.
10488
aix4 | aix4.[01] | aix4.[01].*)
10489
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10491
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10494
can_build_shared=no
10498
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10499
# soname into executable. Probably we can add versioning support to
10500
# collect2, so additional links can be useful in future.
10501
if test "$aix_use_runtimelinking" = yes; then
10502
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10503
# instead of lib<name>.a to let people know that these are not
10504
# typical AIX shared libraries.
10505
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10507
# We preserve .a as extension for shared libraries through AIX4.2
10508
# and later when we are not doing run time linking.
10509
library_names_spec='${libname}${release}.a $libname.a'
10510
soname_spec='${libname}${release}${shared_ext}$major'
10512
shlibpath_var=LIBPATH
10519
# Since July 2007 AmigaOS4 officially supports .so libraries.
10520
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10521
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10524
library_names_spec='$libname.ixlibrary $libname.a'
10525
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10526
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'
10532
library_names_spec='${libname}${shared_ext}'
10533
dynamic_linker="$host_os ld.so"
10534
shlibpath_var=LIBRARY_PATH
10540
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10541
soname_spec='${libname}${release}${shared_ext}$major'
10542
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10543
shlibpath_var=LD_LIBRARY_PATH
10544
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10545
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10546
# the default ld.so.conf also contains /usr/contrib/lib and
10547
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10548
# libtool to hard-code these into programs
10551
cygwin* | mingw* | pw32* | cegcc*)
10552
version_type=windows
10557
case $GCC,$host_os in
10558
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10559
library_names_spec='$libname.dll.a'
10560
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10561
postinstall_cmds='base_file=`basename \${file}`~
10562
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10563
dldir=$destdir/`dirname \$dlpath`~
10564
test -d \$dldir || mkdir -p \$dldir~
10565
$install_prog $dir/$dlname \$dldir/$dlname~
10566
chmod a+x \$dldir/$dlname~
10567
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10568
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10570
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10571
dlpath=$dir/\$dldll~
10573
shlibpath_overrides_runpath=yes
10577
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10578
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10579
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10582
# MinGW DLLs use traditional 'lib' prefix
10583
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10584
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10585
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10586
# It is most probably a Windows format PATH printed by
10587
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10588
# path with ; separators, and with drive letters. We can handle the
10589
# drive letters (cygwin fileutils understands them), so leave them,
10590
# especially as we might pass files found there to a mingw objdump,
10591
# which wouldn't understand a cygwinified path. Ahh.
10592
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10594
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10598
# pw32 DLLs use 'pw' prefix rather than 'lib'
10599
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10605
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10608
dynamic_linker='Win32 ld.exe'
10609
# FIXME: first we should search . and the directory the executable is in
10613
darwin* | rhapsody*)
10614
dynamic_linker="$host_os dyld"
10615
version_type=darwin
10618
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10619
soname_spec='${libname}${release}${major}$shared_ext'
10620
shlibpath_overrides_runpath=yes
10621
shlibpath_var=DYLD_LIBRARY_PATH
10622
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10624
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10625
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10632
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10633
soname_spec='${libname}${release}${shared_ext}$major'
10634
shlibpath_var=LD_LIBRARY_PATH
10641
freebsd* | dragonfly*)
10642
# DragonFly does not have aout. When/if they implement a new
10643
# versioning mechanism, adjust this.
10644
if test -x /usr/bin/objformat; then
10645
objformat=`/usr/bin/objformat`
10648
freebsd[123]*) objformat=aout ;;
10649
*) objformat=elf ;;
10652
version_type=freebsd-$objformat
10653
case $version_type in
10655
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10660
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10664
shlibpath_var=LD_LIBRARY_PATH
10667
shlibpath_overrides_runpath=yes
10669
freebsd3.[01]* | freebsdelf3.[01]*)
10670
shlibpath_overrides_runpath=yes
10671
hardcode_into_libs=yes
10673
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10674
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10675
shlibpath_overrides_runpath=no
10676
hardcode_into_libs=yes
10678
*) # from 4.6 on, and DragonFly
10679
shlibpath_overrides_runpath=yes
10680
hardcode_into_libs=yes
10689
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10690
soname_spec='${libname}${release}${shared_ext}$major'
10691
shlibpath_var=LD_LIBRARY_PATH
10692
hardcode_into_libs=yes
10695
hpux9* | hpux10* | hpux11*)
10696
# Give a soname corresponding to the major version so that dld.sl refuses to
10697
# link against other versions.
10704
hardcode_into_libs=yes
10705
dynamic_linker="$host_os dld.so"
10706
shlibpath_var=LD_LIBRARY_PATH
10707
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10708
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10709
soname_spec='${libname}${release}${shared_ext}$major'
10710
if test "X$HPUX_IA64_MODE" = X32; then
10711
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10713
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10715
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10719
hardcode_into_libs=yes
10720
dynamic_linker="$host_os dld.sl"
10721
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10722
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10723
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10724
soname_spec='${libname}${release}${shared_ext}$major'
10725
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10726
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10730
dynamic_linker="$host_os dld.sl"
10731
shlibpath_var=SHLIB_PATH
10732
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10733
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10734
soname_spec='${libname}${release}${shared_ext}$major'
10737
# HP-UX runs *really* slowly unless shared libraries are mode 555.
10738
postinstall_cmds='chmod 555 $lib'
10745
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10746
soname_spec='${libname}${release}${shared_ext}$major'
10747
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10748
shlibpath_var=LD_LIBRARY_PATH
10749
shlibpath_overrides_runpath=no
10750
hardcode_into_libs=yes
10753
irix5* | irix6* | nonstopux*)
10755
nonstopux*) version_type=nonstopux ;;
10757
if test "$lt_cv_prog_gnu_ld" = yes; then
10765
soname_spec='${libname}${release}${shared_ext}$major'
10766
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10768
irix5* | nonstopux*)
10769
libsuff= shlibsuff=
10772
case $LD in # libtool.m4 will add one of these switches to LD
10773
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10774
libsuff= shlibsuff= libmagic=32-bit;;
10775
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10776
libsuff=32 shlibsuff=N32 libmagic=N32;;
10777
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10778
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10779
*) libsuff= shlibsuff= libmagic=never-match;;
10783
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10784
shlibpath_overrides_runpath=no
10785
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10786
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10787
hardcode_into_libs=yes
10790
# No shared lib support for Linux oldld, aout, or coff.
10791
linux*oldld* | linux*aout* | linux*coff*)
10795
# This must be Linux ELF.
10796
linux* | k*bsd*-gnu)
10800
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10801
soname_spec='${libname}${release}${shared_ext}$major'
10802
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10803
shlibpath_var=LD_LIBRARY_PATH
10804
shlibpath_overrides_runpath=no
10805
# Some binutils ld are patched to set DT_RUNPATH
10806
save_LDFLAGS=$LDFLAGS
10807
save_libdir=$libdir
10808
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10809
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10810
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811
/* end confdefs.h. */
10821
if ac_fn_c_try_link "$LINENO"; then :
10822
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10823
shlibpath_overrides_runpath=yes
10826
rm -f core conftest.err conftest.$ac_objext \
10827
conftest$ac_exeext conftest.$ac_ext
10828
LDFLAGS=$save_LDFLAGS
10829
libdir=$save_libdir
10831
# This implies no fast_install, which is unacceptable.
10832
# Some rework will be needed to allow for fast_install
10833
# before this can be enabled.
10834
hardcode_into_libs=yes
10836
# Append ld.so.conf contents to the search path
10837
if test -f /etc/ld.so.conf; then
10838
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' ' '`
10839
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10842
# We used to test for /lib/ld.so.1 and disable shared libraries on
10843
# powerpc, because MkLinux only supported shared libraries with the
10844
# GNU dynamic linker. Since this was broken with cross compilers,
10845
# most powerpc-linux boxes support dynamic linking these days and
10846
# people can always --disable-shared, the test was removed, and we
10847
# assume the GNU/Linux dynamic linker is in use.
10848
dynamic_linker='GNU/Linux ld.so'
10855
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10856
soname_spec='${libname}${release}${shared_ext}$major'
10857
shlibpath_var=LD_LIBRARY_PATH
10858
shlibpath_overrides_runpath=no
10859
hardcode_into_libs=yes
10860
dynamic_linker='NetBSD ld.elf_so'
10867
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10868
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10869
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10870
dynamic_linker='NetBSD (a.out) ld.so'
10872
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10873
soname_spec='${libname}${release}${shared_ext}$major'
10874
dynamic_linker='NetBSD ld.elf_so'
10876
shlibpath_var=LD_LIBRARY_PATH
10877
shlibpath_overrides_runpath=yes
10878
hardcode_into_libs=yes
10883
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10884
shlibpath_var=LD_LIBRARY_PATH
10885
shlibpath_overrides_runpath=yes
10892
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10893
soname_spec='${libname}${release}${shared_ext}$major'
10894
shlibpath_var=LD_LIBRARY_PATH
10895
shlibpath_overrides_runpath=no
10896
hardcode_into_libs=yes
10897
dynamic_linker='ldqnx.so'
10902
sys_lib_dlsearch_path_spec="/usr/lib"
10904
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10906
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10907
*) need_version=no ;;
10909
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10910
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10911
shlibpath_var=LD_LIBRARY_PATH
10912
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10914
openbsd2.[89] | openbsd2.[89].*)
10915
shlibpath_overrides_runpath=no
10918
shlibpath_overrides_runpath=yes
10922
shlibpath_overrides_runpath=yes
10927
libname_spec='$name'
10930
library_names_spec='$libname${shared_ext} $libname.a'
10931
dynamic_linker='OS/2 ld.exe'
10932
shlibpath_var=LIBPATH
10935
osf3* | osf4* | osf5*)
10939
soname_spec='${libname}${release}${shared_ext}$major'
10940
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10941
shlibpath_var=LD_LIBRARY_PATH
10942
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10943
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10954
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10955
soname_spec='${libname}${release}${shared_ext}$major'
10956
shlibpath_var=LD_LIBRARY_PATH
10957
shlibpath_overrides_runpath=yes
10958
hardcode_into_libs=yes
10959
# ldd complains unless libraries are executable
10960
postinstall_cmds='chmod +x $lib'
10965
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10966
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10967
shlibpath_var=LD_LIBRARY_PATH
10968
shlibpath_overrides_runpath=yes
10969
if test "$with_gnu_ld" = yes; then
10977
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978
soname_spec='${libname}${release}${shared_ext}$major'
10979
shlibpath_var=LD_LIBRARY_PATH
10980
case $host_vendor in
10982
shlibpath_overrides_runpath=no
10984
runpath_var=LD_RUN_PATH
10992
shlibpath_overrides_runpath=no
10993
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10999
if test -d /usr/nec ;then
11001
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11002
soname_spec='$libname${shared_ext}.$major'
11003
shlibpath_var=LD_LIBRARY_PATH
11007
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11008
version_type=freebsd-elf
11011
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11012
soname_spec='${libname}${release}${shared_ext}$major'
11013
shlibpath_var=LD_LIBRARY_PATH
11014
shlibpath_overrides_runpath=yes
11015
hardcode_into_libs=yes
11016
if test "$with_gnu_ld" = yes; then
11017
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11019
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11022
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11026
sys_lib_dlsearch_path_spec='/usr/lib'
11030
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11034
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035
shlibpath_var=LD_LIBRARY_PATH
11036
shlibpath_overrides_runpath=no
11037
hardcode_into_libs=yes
11042
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11043
soname_spec='${libname}${release}${shared_ext}$major'
11044
shlibpath_var=LD_LIBRARY_PATH
11051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11052
$as_echo "$dynamic_linker" >&6; }
11053
test "$dynamic_linker" = no && can_build_shared=no
11055
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11056
if test "$GCC" = yes; then
11057
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11060
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11061
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11063
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11064
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11154
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11156
if test -n "$hardcode_libdir_flag_spec" ||
11157
test -n "$runpath_var" ||
11158
test "X$hardcode_automatic" = "Xyes" ; then
11160
# We can hardcode non-existent directories.
11161
if test "$hardcode_direct" != no &&
11162
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11163
# have to relink, otherwise we might link with an installed library
11164
# when we should be linking with a yet-to-be-installed one
11165
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11166
test "$hardcode_minus_L" != no; then
11167
# Linking always hardcodes the temporary library directory.
11168
hardcode_action=relink
11170
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11171
hardcode_action=immediate
11174
# We cannot hardcode anything, or else we can only hardcode existing
11176
hardcode_action=unsupported
11178
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11179
$as_echo "$hardcode_action" >&6; }
11181
if test "$hardcode_action" = relink ||
11182
test "$inherit_rpath" = yes; then
11183
# Fast installation is not supported
11184
enable_fast_install=no
11185
elif test "$shlibpath_overrides_runpath" = yes ||
11186
test "$enable_shared" = no; then
11187
# Fast installation is not necessary
11188
enable_fast_install=needless
11196
if test "x$enable_dlopen" != xyes; then
11197
enable_dlopen=unknown
11198
enable_dlopen_self=unknown
11199
enable_dlopen_self_static=unknown
11206
lt_cv_dlopen="load_add_on"
11208
lt_cv_dlopen_self=yes
11211
mingw* | pw32* | cegcc*)
11212
lt_cv_dlopen="LoadLibrary"
11217
lt_cv_dlopen="dlopen"
11222
# if libdl is installed we need to link against it
11223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11224
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11225
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11226
$as_echo_n "(cached) " >&6
11228
ac_check_lib_save_LIBS=$LIBS
11230
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231
/* end confdefs.h. */
11233
/* Override any GCC internal prototype to avoid an error.
11234
Use char because int might match the return type of a GCC
11235
builtin and then its argument prototype would still apply. */
11248
if ac_fn_c_try_link "$LINENO"; then :
11249
ac_cv_lib_dl_dlopen=yes
11251
ac_cv_lib_dl_dlopen=no
11253
rm -f core conftest.err conftest.$ac_objext \
11254
conftest$ac_exeext conftest.$ac_ext
11255
LIBS=$ac_check_lib_save_LIBS
11257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11258
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11259
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11260
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11263
lt_cv_dlopen="dyld"
11265
lt_cv_dlopen_self=yes
11272
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11273
if test "x$ac_cv_func_shl_load" = x""yes; then :
11274
lt_cv_dlopen="shl_load"
11276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11277
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11278
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11279
$as_echo_n "(cached) " >&6
11281
ac_check_lib_save_LIBS=$LIBS
11283
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11284
/* end confdefs.h. */
11286
/* Override any GCC internal prototype to avoid an error.
11287
Use char because int might match the return type of a GCC
11288
builtin and then its argument prototype would still apply. */
11296
return shl_load ();
11301
if ac_fn_c_try_link "$LINENO"; then :
11302
ac_cv_lib_dld_shl_load=yes
11304
ac_cv_lib_dld_shl_load=no
11306
rm -f core conftest.err conftest.$ac_objext \
11307
conftest$ac_exeext conftest.$ac_ext
11308
LIBS=$ac_check_lib_save_LIBS
11310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11311
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11312
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11313
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11315
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11316
if test "x$ac_cv_func_dlopen" = x""yes; then :
11317
lt_cv_dlopen="dlopen"
11319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11320
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11321
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11322
$as_echo_n "(cached) " >&6
11324
ac_check_lib_save_LIBS=$LIBS
11326
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11327
/* end confdefs.h. */
11329
/* Override any GCC internal prototype to avoid an error.
11330
Use char because int might match the return type of a GCC
11331
builtin and then its argument prototype would still apply. */
11344
if ac_fn_c_try_link "$LINENO"; then :
11345
ac_cv_lib_dl_dlopen=yes
11347
ac_cv_lib_dl_dlopen=no
11349
rm -f core conftest.err conftest.$ac_objext \
11350
conftest$ac_exeext conftest.$ac_ext
11351
LIBS=$ac_check_lib_save_LIBS
11353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11354
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11355
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11356
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11358
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11359
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11360
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11361
$as_echo_n "(cached) " >&6
11363
ac_check_lib_save_LIBS=$LIBS
11364
LIBS="-lsvld $LIBS"
11365
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11366
/* end confdefs.h. */
11368
/* Override any GCC internal prototype to avoid an error.
11369
Use char because int might match the return type of a GCC
11370
builtin and then its argument prototype would still apply. */
11383
if ac_fn_c_try_link "$LINENO"; then :
11384
ac_cv_lib_svld_dlopen=yes
11386
ac_cv_lib_svld_dlopen=no
11388
rm -f core conftest.err conftest.$ac_objext \
11389
conftest$ac_exeext conftest.$ac_ext
11390
LIBS=$ac_check_lib_save_LIBS
11392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11393
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11394
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11395
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11397
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11398
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11399
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11400
$as_echo_n "(cached) " >&6
11402
ac_check_lib_save_LIBS=$LIBS
11404
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11405
/* end confdefs.h. */
11407
/* Override any GCC internal prototype to avoid an error.
11408
Use char because int might match the return type of a GCC
11409
builtin and then its argument prototype would still apply. */
11417
return dld_link ();
11422
if ac_fn_c_try_link "$LINENO"; then :
11423
ac_cv_lib_dld_dld_link=yes
11425
ac_cv_lib_dld_dld_link=no
11427
rm -f core conftest.err conftest.$ac_objext \
11428
conftest$ac_exeext conftest.$ac_ext
11429
LIBS=$ac_check_lib_save_LIBS
11431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11432
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11433
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11434
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11455
if test "x$lt_cv_dlopen" != xno; then
11461
case $lt_cv_dlopen in
11463
save_CPPFLAGS="$CPPFLAGS"
11464
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11466
save_LDFLAGS="$LDFLAGS"
11467
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11470
LIBS="$lt_cv_dlopen_libs $LIBS"
11472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11473
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11474
if test "${lt_cv_dlopen_self+set}" = set; then :
11475
$as_echo_n "(cached) " >&6
11477
if test "$cross_compiling" = yes; then :
11478
lt_cv_dlopen_self=cross
11480
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11481
lt_status=$lt_dlunknown
11482
cat > conftest.$ac_ext <<_LT_EOF
11483
#line 11483 "configure"
11484
#include "confdefs.h"
11493
# define LT_DLGLOBAL RTLD_GLOBAL
11496
# define LT_DLGLOBAL DL_GLOBAL
11498
# define LT_DLGLOBAL 0
11502
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11503
find out it does not work in some platform. */
11504
#ifndef LT_DLLAZY_OR_NOW
11506
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11509
# define LT_DLLAZY_OR_NOW DL_LAZY
11512
# define LT_DLLAZY_OR_NOW RTLD_NOW
11515
# define LT_DLLAZY_OR_NOW DL_NOW
11517
# define LT_DLLAZY_OR_NOW 0
11524
void fnord() { int i=42;}
11527
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11528
int status = $lt_dlunknown;
11532
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11533
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11534
/* dlclose (self); */
11542
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11543
(eval $ac_link) 2>&5
11545
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11546
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11547
(./conftest; exit; ) >&5 2>/dev/null
11549
case x$lt_status in
11550
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11551
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11552
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11555
# compilation failed
11556
lt_cv_dlopen_self=no
11563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11564
$as_echo "$lt_cv_dlopen_self" >&6; }
11566
if test "x$lt_cv_dlopen_self" = xyes; then
11567
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11569
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11570
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11571
$as_echo_n "(cached) " >&6
11573
if test "$cross_compiling" = yes; then :
11574
lt_cv_dlopen_self_static=cross
11576
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11577
lt_status=$lt_dlunknown
11578
cat > conftest.$ac_ext <<_LT_EOF
11579
#line 11579 "configure"
11580
#include "confdefs.h"
11589
# define LT_DLGLOBAL RTLD_GLOBAL
11592
# define LT_DLGLOBAL DL_GLOBAL
11594
# define LT_DLGLOBAL 0
11598
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11599
find out it does not work in some platform. */
11600
#ifndef LT_DLLAZY_OR_NOW
11602
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11605
# define LT_DLLAZY_OR_NOW DL_LAZY
11608
# define LT_DLLAZY_OR_NOW RTLD_NOW
11611
# define LT_DLLAZY_OR_NOW DL_NOW
11613
# define LT_DLLAZY_OR_NOW 0
11620
void fnord() { int i=42;}
11623
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11624
int status = $lt_dlunknown;
11628
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11629
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11630
/* dlclose (self); */
11638
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11639
(eval $ac_link) 2>&5
11641
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11642
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11643
(./conftest; exit; ) >&5 2>/dev/null
11645
case x$lt_status in
11646
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11647
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11648
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11651
# compilation failed
11652
lt_cv_dlopen_self_static=no
11659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11660
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11663
CPPFLAGS="$save_CPPFLAGS"
11664
LDFLAGS="$save_LDFLAGS"
11669
case $lt_cv_dlopen_self in
11670
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11671
*) enable_dlopen_self=unknown ;;
11674
case $lt_cv_dlopen_self_static in
11675
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11676
*) enable_dlopen_self_static=unknown ;;
11698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11699
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11700
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11701
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11702
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11704
$as_echo "yes" >&6; }
11706
# FIXME - insert some real tests, host_os isn't really good enough
11709
if test -n "$STRIP" ; then
11710
striplib="$STRIP -x"
11711
old_striplib="$STRIP -S"
11712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11713
$as_echo "yes" >&6; }
11715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11716
$as_echo "no" >&6; }
11720
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11721
$as_echo "no" >&6; }
11737
# Report which library types will actually be built
11738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11739
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11740
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11741
$as_echo "$can_build_shared" >&6; }
11743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11744
$as_echo_n "checking whether to build shared libraries... " >&6; }
11745
test "$can_build_shared" = "no" && enable_shared=no
11747
# On AIX, shared libraries and static libraries use the same namespace, and
11748
# are all built from PIC.
11751
test "$enable_shared" = yes && enable_static=no
11752
if test -n "$RANLIB"; then
11753
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11754
postinstall_cmds='$RANLIB $lib'
11759
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11760
test "$enable_shared" = yes && enable_static=no
11764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11765
$as_echo "$enable_shared" >&6; }
11767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11768
$as_echo_n "checking whether to build static libraries... " >&6; }
11769
# Make sure either enable_shared or enable_static is yes.
11770
test "$enable_shared" = yes || enable_static=yes
11771
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11772
$as_echo "$enable_static" >&6; }
11779
ac_cpp='$CPP $CPPFLAGS'
11780
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11781
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11782
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11788
ac_cpp='$CXXCPP $CPPFLAGS'
11789
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11790
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11791
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11793
archive_cmds_need_lc_CXX=no
11794
allow_undefined_flag_CXX=
11795
always_export_symbols_CXX=no
11796
archive_expsym_cmds_CXX=
11797
compiler_needs_object_CXX=no
11798
export_dynamic_flag_spec_CXX=
11799
hardcode_direct_CXX=no
11800
hardcode_direct_absolute_CXX=no
11801
hardcode_libdir_flag_spec_CXX=
11802
hardcode_libdir_flag_spec_ld_CXX=
11803
hardcode_libdir_separator_CXX=
11804
hardcode_minus_L_CXX=no
11805
hardcode_shlibpath_var_CXX=unsupported
11806
hardcode_automatic_CXX=no
11807
inherit_rpath_CXX=no
11809
module_expsym_cmds_CXX=
11810
link_all_deplibs_CXX=unknown
11811
old_archive_cmds_CXX=$old_archive_cmds
11812
no_undefined_flag_CXX=
11813
whole_archive_flag_spec_CXX=
11814
enable_shared_with_static_runtimes_CXX=no
11816
# Source file extension for C++ test sources.
11819
# Object file extension for compiled C++ test sources.
11823
# No sense in running all these tests if we already determined that
11824
# the CXX compiler isn't working. Some variables (like enable_shared)
11825
# are currently assumed to apply to all compilers on this platform,
11826
# and will be corrupted by setting them based on a non-working compiler.
11827
if test "$_lt_caught_CXX_error" != yes; then
11828
# Code to be used in simple compile tests
11829
lt_simple_compile_test_code="int some_variable = 0;"
11831
# Code to be used in simple link tests
11832
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11834
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11841
# If no C compiler was specified, use CC.
11844
# If no C compiler flags were specified, use CFLAGS.
11845
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11847
# Allow CC to be a program name with arguments.
11851
# save warnings/boilerplate of simple test code
11852
ac_outfile=conftest.$ac_objext
11853
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11854
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11855
_lt_compiler_boilerplate=`cat conftest.err`
11858
ac_outfile=conftest.$ac_objext
11859
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11860
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11861
_lt_linker_boilerplate=`cat conftest.err`
11865
# Allow CC to be a program name with arguments.
11870
lt_save_with_gnu_ld=$with_gnu_ld
11871
lt_save_path_LD=$lt_cv_path_LD
11872
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11873
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11875
$as_unset lt_cv_prog_gnu_ld
11877
if test -n "${lt_cv_path_LDCXX+set}"; then
11878
lt_cv_path_LD=$lt_cv_path_LDCXX
11880
$as_unset lt_cv_path_LD
11882
test -z "${LDCXX+set}" || LD=$LDCXX
11886
for cc_temp in $compiler""; do
11888
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11889
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11894
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11897
if test -n "$compiler"; then
11898
# We don't want -fno-exception when compiling C++ code, so set the
11899
# no_builtin_flag separately
11900
if test "$GXX" = yes; then
11901
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11903
lt_prog_compiler_no_builtin_flag_CXX=
11906
if test "$GXX" = yes; then
11907
# Set up default GNU C++ configuration
11911
# Check whether --with-gnu-ld was given.
11912
if test "${with_gnu_ld+set}" = set; then :
11913
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11919
if test "$GCC" = yes; then
11920
# Check if gcc -print-prog-name=ld gives a path.
11921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11922
$as_echo_n "checking for ld used by $CC... " >&6; }
11925
# gcc leaves a trailing carriage return which upsets mingw
11926
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11928
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11931
# Accept absolute paths.
11933
re_direlt='/[^/][^/]*/\.\./'
11934
# Canonicalize the pathname of ld
11935
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11936
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11937
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11939
test -z "$LD" && LD="$ac_prog"
11942
# If it fails, then pretend we aren't using GCC.
11946
# If it is relative, then search for the first ld in PATH.
11947
with_gnu_ld=unknown
11950
elif test "$with_gnu_ld" = yes; then
11951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11952
$as_echo_n "checking for GNU ld... " >&6; }
11954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11955
$as_echo_n "checking for non-GNU ld... " >&6; }
11957
if test "${lt_cv_path_LD+set}" = set; then :
11958
$as_echo_n "(cached) " >&6
11960
if test -z "$LD"; then
11961
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11962
for ac_dir in $PATH; do
11964
test -z "$ac_dir" && ac_dir=.
11965
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11966
lt_cv_path_LD="$ac_dir/$ac_prog"
11967
# Check to see if the program is GNU ld. I'd rather use --version,
11968
# but apparently some variants of GNU ld only accept -v.
11969
# Break only if it was the GNU/non-GNU ld that we prefer.
11970
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11971
*GNU* | *'with BFD'*)
11972
test "$with_gnu_ld" != no && break
11975
test "$with_gnu_ld" != yes && break
11982
lt_cv_path_LD="$LD" # Let the user override the test with a path.
11986
LD="$lt_cv_path_LD"
11987
if test -n "$LD"; then
11988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11989
$as_echo "$LD" >&6; }
11991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11992
$as_echo "no" >&6; }
11994
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
11995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11996
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11997
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11998
$as_echo_n "(cached) " >&6
12000
# I'd rather use --version here, but apparently some GNU lds only accept -v.
12001
case `$LD -v 2>&1 </dev/null` in
12002
*GNU* | *'with BFD'*)
12003
lt_cv_prog_gnu_ld=yes
12006
lt_cv_prog_gnu_ld=no
12010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12011
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12012
with_gnu_ld=$lt_cv_prog_gnu_ld
12020
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12021
# archiving commands below assume that GNU ld is being used.
12022
if test "$with_gnu_ld" = yes; then
12023
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12024
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'
12026
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12027
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12029
# If archive_cmds runs LD, not CC, wlarc should be empty
12030
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12031
# investigate it a little bit more. (MM)
12034
# ancient GNU ld didn't support --whole-archive et. al.
12035
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12036
$GREP 'no-whole-archive' > /dev/null; then
12037
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12039
whole_archive_flag_spec_CXX=
12045
# A generic and very simple default shared library creation
12046
# command for GNU C++ for the case where it uses the native
12047
# linker, instead of GNU ld. If possible, this setting should
12048
# overridden to take advantage of the native linker features on
12049
# the platform it is being used on.
12050
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12053
# Commands to make compiler produce verbose output that lists
12054
# what "hidden" libraries, object files and flags are used when
12055
# linking a shared library.
12056
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12064
# PORTME: fill in a description of your system's C++ link characteristics
12065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12066
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12070
# FIXME: insert proper C++ library support
12074
if test "$host_cpu" = ia64; then
12075
# On IA64, the linker does run time linking by default, so we don't
12076
# have to do anything special.
12077
aix_use_runtimelinking=no
12078
exp_sym_flag='-Bexport'
12081
aix_use_runtimelinking=no
12083
# Test if we are trying to use run time linking or normal
12084
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12085
# need to do runtime linking.
12086
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12087
for ld_flag in $LDFLAGS; do
12090
aix_use_runtimelinking=yes
12098
exp_sym_flag='-bexport'
12099
no_entry_flag='-bnoentry'
12102
# When large executables or shared objects are built, AIX ld can
12103
# have problems creating the table of contents. If linking a library
12104
# or program results in "error TOC overflow" add -mminimal-toc to
12105
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12106
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12108
archive_cmds_CXX=''
12109
hardcode_direct_CXX=yes
12110
hardcode_direct_absolute_CXX=yes
12111
hardcode_libdir_separator_CXX=':'
12112
link_all_deplibs_CXX=yes
12113
file_list_spec_CXX='${wl}-f,'
12115
if test "$GXX" = yes; then
12116
case $host_os in aix4.[012]|aix4.[012].*)
12117
# We only want to do this on AIX 4.2 and lower, the check
12118
# below for broken collect2 doesn't work under 4.3+
12119
collect2name=`${CC} -print-prog-name=collect2`
12120
if test -f "$collect2name" &&
12121
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12123
# We have reworked collect2
12126
# We have old collect2
12127
hardcode_direct_CXX=unsupported
12128
# It fails to find uninstalled libraries when the uninstalled
12129
# path is not listed in the libpath. Setting hardcode_minus_L
12130
# to unsupported forces relinking
12131
hardcode_minus_L_CXX=yes
12132
hardcode_libdir_flag_spec_CXX='-L$libdir'
12133
hardcode_libdir_separator_CXX=
12136
shared_flag='-shared'
12137
if test "$aix_use_runtimelinking" = yes; then
12138
shared_flag="$shared_flag "'${wl}-G'
12142
if test "$host_cpu" = ia64; then
12143
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12144
# chokes on -Wl,-G. The following line is correct:
12147
if test "$aix_use_runtimelinking" = yes; then
12148
shared_flag='${wl}-G'
12150
shared_flag='${wl}-bM:SRE'
12155
export_dynamic_flag_spec_CXX='${wl}-bexpall'
12156
# It seems that -bexpall does not export symbols beginning with
12157
# underscore (_), so it is better to generate a list of symbols to
12159
always_export_symbols_CXX=yes
12160
if test "$aix_use_runtimelinking" = yes; then
12161
# Warning - without using the other runtime loading flags (-brtl),
12162
# -berok will link without error, but may produce a broken library.
12163
allow_undefined_flag_CXX='-berok'
12164
# Determine the default libpath from the value encoded in an empty
12166
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167
/* end confdefs.h. */
12177
if ac_fn_cxx_try_link "$LINENO"; then :
12179
lt_aix_libpath_sed='
12180
/Import File Strings/,/^$/ {
12186
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12187
# Check for a 64-bit object if we didn't find anything.
12188
if test -z "$aix_libpath"; then
12189
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12192
rm -f core conftest.err conftest.$ac_objext \
12193
conftest$ac_exeext conftest.$ac_ext
12194
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12196
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12198
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"
12200
if test "$host_cpu" = ia64; then
12201
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12202
allow_undefined_flag_CXX="-z nodefs"
12203
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"
12205
# Determine the default libpath from the value encoded in an
12206
# empty executable.
12207
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208
/* end confdefs.h. */
12218
if ac_fn_cxx_try_link "$LINENO"; then :
12220
lt_aix_libpath_sed='
12221
/Import File Strings/,/^$/ {
12227
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12228
# Check for a 64-bit object if we didn't find anything.
12229
if test -z "$aix_libpath"; then
12230
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12233
rm -f core conftest.err conftest.$ac_objext \
12234
conftest$ac_exeext conftest.$ac_ext
12235
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12237
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12238
# Warning - without using the other run time loading flags,
12239
# -berok will link without error, but may produce a broken library.
12240
no_undefined_flag_CXX=' ${wl}-bernotok'
12241
allow_undefined_flag_CXX=' ${wl}-berok'
12242
# Exported symbols can be pulled into shared objects from archives
12243
whole_archive_flag_spec_CXX='$convenience'
12244
archive_cmds_need_lc_CXX=yes
12245
# This is similar to how AIX traditionally builds its shared
12247
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'
12253
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12254
allow_undefined_flag_CXX=unsupported
12255
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12256
# support --undefined. This deserves some investigation. FIXME
12257
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12264
case $cc_basename in
12266
# FIXME: insert proper C++ library support
12272
cygwin* | mingw* | pw32* | cegcc*)
12273
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12274
# as there is no search path for DLLs.
12275
hardcode_libdir_flag_spec_CXX='-L$libdir'
12276
allow_undefined_flag_CXX=unsupported
12277
always_export_symbols_CXX=no
12278
enable_shared_with_static_runtimes_CXX=yes
12280
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12281
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'
12282
# If the export-symbols file already is a .def file (1st line
12283
# is EXPORTS), use it as is; otherwise, prepend...
12284
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12285
cp $export_symbols $output_objdir/$soname.def;
12287
echo EXPORTS > $output_objdir/$soname.def;
12288
cat $export_symbols >> $output_objdir/$soname.def;
12290
$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'
12295
darwin* | rhapsody*)
12298
archive_cmds_need_lc_CXX=no
12299
hardcode_direct_CXX=no
12300
hardcode_automatic_CXX=yes
12301
hardcode_shlibpath_var_CXX=unsupported
12302
whole_archive_flag_spec_CXX=''
12303
link_all_deplibs_CXX=yes
12304
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12305
case $cc_basename in
12306
ifort*) _lt_dar_can_shared=yes ;;
12307
*) _lt_dar_can_shared=$GCC ;;
12309
if test "$_lt_dar_can_shared" = "yes"; then
12310
output_verbose_link_cmd=echo
12311
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}"
12312
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12313
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}"
12314
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}"
12315
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12316
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}"
12317
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}"
12327
case $cc_basename in
12329
# FIXME: insert proper C++ library support
12333
# Green Hills C++ Compiler
12334
# FIXME: insert proper C++ library support
12338
# FIXME: insert proper C++ library support
12345
# C++ shared libraries reported to be fairly broken before
12351
archive_cmds_need_lc_CXX=no
12354
freebsd* | dragonfly*)
12355
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12364
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12365
hardcode_libdir_separator_CXX=:
12366
export_dynamic_flag_spec_CXX='${wl}-E'
12367
hardcode_direct_CXX=yes
12368
hardcode_minus_L_CXX=yes # Not in the search PATH,
12369
# but as the default
12370
# location of the library.
12372
case $cc_basename in
12374
# FIXME: insert proper C++ library support
12378
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'
12379
# Commands to make compiler produce verbose output that lists
12380
# what "hidden" libraries, object files and flags are used when
12381
# linking a shared library.
12383
# There doesn't appear to be a way to prevent this compiler from
12384
# explicitly linking system object files so we need to strip them
12385
# from the output so that they don't get included in the library
12387
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'
12390
if test "$GXX" = yes; then
12391
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'
12393
# FIXME: insert proper C++ library support
12401
if test $with_gnu_ld = no; then
12402
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12403
hardcode_libdir_separator_CXX=:
12409
export_dynamic_flag_spec_CXX='${wl}-E'
12415
hardcode_direct_CXX=no
12416
hardcode_shlibpath_var_CXX=no
12419
hardcode_direct_CXX=yes
12420
hardcode_direct_absolute_CXX=yes
12421
hardcode_minus_L_CXX=yes # Not in the search PATH,
12422
# but as the default
12423
# location of the library.
12427
case $cc_basename in
12429
# FIXME: insert proper C++ library support
12435
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12438
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12441
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12444
# Commands to make compiler produce verbose output that lists
12445
# what "hidden" libraries, object files and flags are used when
12446
# linking a shared library.
12448
# There doesn't appear to be a way to prevent this compiler from
12449
# explicitly linking system object files so we need to strip them
12450
# from the output so that they don't get included in the library
12452
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'
12455
if test "$GXX" = yes; then
12456
if test $with_gnu_ld = no; then
12459
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12462
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12465
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'
12470
# FIXME: insert proper C++ library support
12478
hardcode_direct_CXX=no
12479
hardcode_shlibpath_var_CXX=no
12480
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12481
export_dynamic_flag_spec_CXX='${wl}-E'
12482
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12483
# Instead, shared libraries are loaded at an image base (0x10000000 by
12484
# default) and relocated if they conflict, which is a slow very memory
12485
# consuming and fragmenting process. To avoid this, we pick a random,
12486
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12487
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
12488
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'
12489
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'
12492
case $cc_basename in
12495
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'
12497
# Archives containing C++ object files must be created using
12498
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
12499
# necessary to make sure instantiated templates are included
12501
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12504
if test "$GXX" = yes; then
12505
if test "$with_gnu_ld" = no; then
12506
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'
12508
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'
12511
link_all_deplibs_CXX=yes
12514
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12515
hardcode_libdir_separator_CXX=:
12516
inherit_rpath_CXX=yes
12519
linux* | k*bsd*-gnu)
12520
case $cc_basename in
12522
# Kuck and Associates, Inc. (KAI) C++ Compiler
12524
# KCC will only create a shared library if the output file
12525
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12526
# to its proper name (with version) after linking.
12527
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'
12528
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'
12529
# Commands to make compiler produce verbose output that lists
12530
# what "hidden" libraries, object files and flags are used when
12531
# linking a shared library.
12533
# There doesn't appear to be a way to prevent this compiler from
12534
# explicitly linking system object files so we need to strip them
12535
# from the output so that they don't get included in the library
12537
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'
12539
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12540
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12542
# Archives containing C++ object files must be created using
12543
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12544
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12549
# version 8.0 and above of icpc choke on multiply defined symbols
12550
# if we add $predep_objects and $postdep_objects, however 7.1 and
12551
# earlier do not add the objects themselves.
12552
case `$CC -V 2>&1` in
12554
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12555
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'
12557
*) # Version 8.0 or newer
12560
ia64*) tmp_idyn=' -i_dynamic';;
12562
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12563
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'
12566
archive_cmds_need_lc_CXX=no
12567
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12568
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12569
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12572
# Portland Group C++ compiler
12574
*pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12575
prelink_cmds_CXX='tpldir=Template.dir~
12577
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12578
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12579
old_archive_cmds_CXX='tpldir=Template.dir~
12581
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12582
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12584
archive_cmds_CXX='tpldir=Template.dir~
12586
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12587
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12588
archive_expsym_cmds_CXX='tpldir=Template.dir~
12590
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12591
$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'
12593
*) # Version 6 will use weak symbols
12594
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12595
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'
12599
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12600
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12601
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'
12605
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12606
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'
12608
runpath_var=LD_RUN_PATH
12609
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12610
hardcode_libdir_separator_CXX=:
12612
# Commands to make compiler produce verbose output that lists
12613
# what "hidden" libraries, object files and flags are used when
12614
# linking a shared library.
12616
# There doesn't appear to be a way to prevent this compiler from
12617
# explicitly linking system object files so we need to strip them
12618
# from the output so that they don't get included in the library
12620
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'
12623
# IBM XL 8.0 on PPC, with GNU ld
12624
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12625
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12626
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12627
if test "x$supports_anon_versioning" = xyes; then
12628
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12629
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12630
echo "local: *; };" >> $output_objdir/$libname.ver~
12631
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12635
case `$CC -V 2>&1 | sed 5q` in
12638
no_undefined_flag_CXX=' -zdefs'
12639
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12640
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'
12641
hardcode_libdir_flag_spec_CXX='-R$libdir'
12642
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'
12643
compiler_needs_object_CXX=yes
12645
# Not sure whether something based on
12646
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12648
output_verbose_link_cmd='echo'
12650
# Archives containing C++ object files must be created using
12651
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12652
# necessary to make sure instantiated templates are included
12654
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12662
# FIXME: insert proper C++ library support
12667
# FIXME: insert proper C++ library support
12672
case $cc_basename in
12674
# FIXME: insert proper C++ library support
12678
# FIXME: insert proper C++ library support
12685
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12686
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12688
hardcode_libdir_flag_spec_CXX='-R$libdir'
12689
hardcode_direct_CXX=yes
12690
hardcode_shlibpath_var_CXX=no
12692
# Workaround some broken pre-1.5 toolchains
12693
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12701
# C++ shared libraries are fairly broken
12706
if test -f /usr/libexec/ld.so; then
12707
hardcode_direct_CXX=yes
12708
hardcode_shlibpath_var_CXX=no
12709
hardcode_direct_absolute_CXX=yes
12710
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12711
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12712
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12713
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12714
export_dynamic_flag_spec_CXX='${wl}-E'
12715
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12717
output_verbose_link_cmd=echo
12723
osf3* | osf4* | osf5*)
12724
case $cc_basename in
12726
# Kuck and Associates, Inc. (KAI) C++ Compiler
12728
# KCC will only create a shared library if the output file
12729
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12730
# to its proper name (with version) after linking.
12731
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'
12733
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12734
hardcode_libdir_separator_CXX=:
12736
# Archives containing C++ object files must be created using
12737
# the KAI C++ compiler.
12739
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12740
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12744
# Rational C++ 2.4.1
12745
# FIXME: insert proper C++ library support
12751
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12752
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'
12753
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12756
allow_undefined_flag_CXX=' -expect_unresolved \*'
12757
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'
12758
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12759
echo "-hidden">> $lib.exp~
12760
$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~
12762
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12766
hardcode_libdir_separator_CXX=:
12768
# Commands to make compiler produce verbose output that lists
12769
# what "hidden" libraries, object files and flags are used when
12770
# linking a shared library.
12772
# There doesn't appear to be a way to prevent this compiler from
12773
# explicitly linking system object files so we need to strip them
12774
# from the output so that they don't get included in the library
12776
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'
12779
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12780
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12783
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'
12786
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'
12790
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12791
hardcode_libdir_separator_CXX=:
12793
# Commands to make compiler produce verbose output that lists
12794
# what "hidden" libraries, object files and flags are used when
12795
# linking a shared library.
12796
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12799
# FIXME: insert proper C++ library support
12807
# FIXME: insert proper C++ library support
12812
case $cc_basename in
12815
# FIXME: insert proper C++ library support
12820
# FIXME: insert proper C++ library support
12824
# FIXME: insert proper C++ library support
12831
case $cc_basename in
12833
# Sun C++ 4.2, 5.x and Centerline C++
12834
archive_cmds_need_lc_CXX=yes
12835
no_undefined_flag_CXX=' -zdefs'
12836
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12837
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12838
$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'
12840
hardcode_libdir_flag_spec_CXX='-R$libdir'
12841
hardcode_shlibpath_var_CXX=no
12843
solaris2.[0-5] | solaris2.[0-5].*) ;;
12845
# The compiler driver will combine and reorder linker options,
12846
# but understands `-z linker_flag'.
12847
# Supported since Solaris 2.6 (maybe 2.5.1?)
12848
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12851
link_all_deplibs_CXX=yes
12853
output_verbose_link_cmd='echo'
12855
# Archives containing C++ object files must be created using
12856
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12857
# necessary to make sure instantiated templates are included
12859
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12862
# Green Hills C++ Compiler
12863
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12865
# The C++ compiler must be used to create the archive.
12866
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12869
# GNU C++ compiler with Solaris linker
12870
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12871
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12872
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12873
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12874
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12875
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12877
# Commands to make compiler produce verbose output that lists
12878
# what "hidden" libraries, object files and flags are used when
12879
# linking a shared library.
12880
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12882
# g++ 2.7 appears to require `-G' NOT `-shared' on this
12884
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12885
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12886
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12888
# Commands to make compiler produce verbose output that lists
12889
# what "hidden" libraries, object files and flags are used when
12890
# linking a shared library.
12891
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12894
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12896
solaris2.[0-5] | solaris2.[0-5].*) ;;
12898
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12906
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12907
no_undefined_flag_CXX='${wl}-z,text'
12908
archive_cmds_need_lc_CXX=no
12909
hardcode_shlibpath_var_CXX=no
12910
runpath_var='LD_RUN_PATH'
12912
case $cc_basename in
12914
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12915
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12918
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12919
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12924
sysv5* | sco3.2v5* | sco5v6*)
12925
# Note: We can NOT use -z defs as we might desire, because we do not
12926
# link with -lc, and that would cause any symbols used from libc to
12927
# always be unresolved, which means just about no library would
12928
# ever link correctly. If we're not using GNU ld we use -z text
12929
# though, which does catch some bad symbols but isn't as heavy-handed
12931
no_undefined_flag_CXX='${wl}-z,text'
12932
allow_undefined_flag_CXX='${wl}-z,nodefs'
12933
archive_cmds_need_lc_CXX=no
12934
hardcode_shlibpath_var_CXX=no
12935
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12936
hardcode_libdir_separator_CXX=':'
12937
link_all_deplibs_CXX=yes
12938
export_dynamic_flag_spec_CXX='${wl}-Bexport'
12939
runpath_var='LD_RUN_PATH'
12941
case $cc_basename in
12943
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12944
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12947
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12948
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12954
case $cc_basename in
12956
# NonStop-UX NCC 3.20
12957
# FIXME: insert proper C++ library support
12961
# FIXME: insert proper C++ library support
12968
# FIXME: insert proper C++ library support
12973
# FIXME: insert proper C++ library support
12978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12979
$as_echo "$ld_shlibs_CXX" >&6; }
12980
test "$ld_shlibs_CXX" = no && can_build_shared=no
12986
## There is no encapsulation within the following macros, do not change
12987
## the running order or otherwise move them around unless you know exactly
12988
## what you are doing...
12989
# Dependencies to place before and after the object being linked:
12990
predep_objects_CXX=
12991
postdep_objects_CXX=
12994
compiler_lib_search_path_CXX=
12996
cat > conftest.$ac_ext <<_LT_EOF
13000
Foo (void) { a = 0; }
13006
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13007
(eval $ac_compile) 2>&5
13009
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13010
test $ac_status = 0; }; then
13011
# Parse the compiler output and extract the necessary
13012
# objects, libraries and library flags.
13014
# Sentinel used to keep track of whether or not we are before
13015
# the conftest object file.
13016
pre_test_object_deps_done=no
13018
for p in `eval "$output_verbose_link_cmd"`; do
13022
# Some compilers place space between "-{L,R}" and the path.
13023
# Remove the space.
13024
if test $p = "-L" ||
13025
test $p = "-R"; then
13032
if test "$pre_test_object_deps_done" = no; then
13035
# Internal compiler library paths should come after those
13036
# provided the user. The postdeps already come after the
13037
# user supplied libs so there is no need to process them.
13038
if test -z "$compiler_lib_search_path_CXX"; then
13039
compiler_lib_search_path_CXX="${prev}${p}"
13041
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13044
# The "-l" case would never come before the object being
13045
# linked, so don't bother handling this case.
13048
if test -z "$postdeps_CXX"; then
13049
postdeps_CXX="${prev}${p}"
13051
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13057
# This assumes that the test object file only shows up
13058
# once in the compiler output.
13059
if test "$p" = "conftest.$objext"; then
13060
pre_test_object_deps_done=yes
13064
if test "$pre_test_object_deps_done" = no; then
13065
if test -z "$predep_objects_CXX"; then
13066
predep_objects_CXX="$p"
13068
predep_objects_CXX="$predep_objects_CXX $p"
13071
if test -z "$postdep_objects_CXX"; then
13072
postdep_objects_CXX="$p"
13074
postdep_objects_CXX="$postdep_objects_CXX $p"
13079
*) ;; # Ignore the rest.
13087
echo "libtool.m4: error: problem compiling CXX test program"
13090
$RM -f confest.$objext
13092
# PORTME: override above test on systems where it is broken
13095
# Interix 3.5 installs completely hosed .la files for C++, so rather than
13096
# hack all around it, let's just trust "g++" to DTRT.
13097
predep_objects_CXX=
13098
postdep_objects_CXX=
13103
case `$CC -V 2>&1 | sed 5q` in
13107
# The more standards-conforming stlport4 library is
13108
# incompatible with the Cstd library. Avoid specifying
13109
# it if it's in CXXFLAGS. Ignore libCrun as
13110
# -library=stlport4 depends on it.
13111
case " $CXX $CXXFLAGS " in
13112
*" -library=stlport4 "*)
13113
solaris_use_stlport4=yes
13117
if test "$solaris_use_stlport4" != yes; then
13118
postdeps_CXX='-library=Cstd -library=Crun'
13125
case $cc_basename in
13127
# The more standards-conforming stlport4 library is
13128
# incompatible with the Cstd library. Avoid specifying
13129
# it if it's in CXXFLAGS. Ignore libCrun as
13130
# -library=stlport4 depends on it.
13131
case " $CXX $CXXFLAGS " in
13132
*" -library=stlport4 "*)
13133
solaris_use_stlport4=yes
13137
# Adding this requires a known-good setup of shared libraries for
13138
# Sun compiler versions before 5.6, else PIC objects from an old
13139
# archive will be linked into the output, leading to subtle bugs.
13140
if test "$solaris_use_stlport4" != yes; then
13141
postdeps_CXX='-library=Cstd -library=Crun'
13149
case " $postdeps_CXX " in
13150
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13152
compiler_lib_search_dirs_CXX=
13153
if test -n "${compiler_lib_search_path_CXX}"; then
13154
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13187
lt_prog_compiler_wl_CXX=
13188
lt_prog_compiler_pic_CXX=
13189
lt_prog_compiler_static_CXX=
13191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13192
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13194
# C++ specific cases for pic, static, wl, etc.
13195
if test "$GXX" = yes; then
13196
lt_prog_compiler_wl_CXX='-Wl,'
13197
lt_prog_compiler_static_CXX='-static'
13201
# All AIX code is PIC.
13202
if test "$host_cpu" = ia64; then
13203
# AIX 5 now supports IA64 processor
13204
lt_prog_compiler_static_CXX='-Bstatic'
13211
# see comment about AmigaOS4 .so support
13212
lt_prog_compiler_pic_CXX='-fPIC'
13215
# FIXME: we need at least 68020 code to build shared libraries, but
13216
# adding the `-m68020' flag to GCC prevents building anything better,
13218
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13223
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13224
# PIC is the default for these OSes.
13226
mingw* | cygwin* | os2* | pw32* | cegcc*)
13227
# This hack is so that the source file can tell whether it is being
13228
# built for inclusion in a dll (and should export symbols for example).
13229
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13230
# (--disable-auto-import) libraries
13231
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13233
darwin* | rhapsody*)
13234
# PIC is the default on this platform
13235
# Common symbols not allowed in MH_DYLIB files
13236
lt_prog_compiler_pic_CXX='-fno-common'
13239
# DJGPP does not support shared libraries at all
13240
lt_prog_compiler_pic_CXX=
13243
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
13244
# Instead, we relocate shared libraries at runtime.
13247
if test -d /usr/nec; then
13248
lt_prog_compiler_pic_CXX=-Kconform_pic
13252
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13253
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13254
# sets the default TLS model and affects inlining.
13259
lt_prog_compiler_pic_CXX='-fPIC'
13264
# QNX uses GNU C++, but need to define -shared option too, otherwise
13265
# it will coredump.
13266
lt_prog_compiler_pic_CXX='-fPIC -shared'
13269
lt_prog_compiler_pic_CXX='-fPIC'
13275
# All AIX code is PIC.
13276
if test "$host_cpu" = ia64; then
13277
# AIX 5 now supports IA64 processor
13278
lt_prog_compiler_static_CXX='-Bstatic'
13280
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13284
case $cc_basename in
13286
# Green Hills C++ Compiler
13287
# _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"
13292
case $cc_basename in
13294
lt_prog_compiler_pic_CXX='-KPIC'
13297
# Green Hills C++ Compiler
13298
lt_prog_compiler_pic_CXX='-pic'
13304
freebsd* | dragonfly*)
13305
# FreeBSD uses GNU C++
13307
hpux9* | hpux10* | hpux11*)
13308
case $cc_basename in
13310
lt_prog_compiler_wl_CXX='-Wl,'
13311
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13312
if test "$host_cpu" != ia64; then
13313
lt_prog_compiler_pic_CXX='+Z'
13317
lt_prog_compiler_wl_CXX='-Wl,'
13318
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13324
lt_prog_compiler_pic_CXX='+Z'
13333
# This is c89, which is MS Visual C++ (no shared libs)
13334
# Anyone wants to do a port?
13336
irix5* | irix6* | nonstopux*)
13337
case $cc_basename in
13339
lt_prog_compiler_wl_CXX='-Wl,'
13340
lt_prog_compiler_static_CXX='-non_shared'
13341
# CC pic flag -KPIC is the default.
13347
linux* | k*bsd*-gnu)
13348
case $cc_basename in
13351
lt_prog_compiler_wl_CXX='--backend -Wl,'
13352
lt_prog_compiler_pic_CXX='-fPIC'
13355
# old Intel C++ for x86_64 which still supported -KPIC.
13356
lt_prog_compiler_wl_CXX='-Wl,'
13357
lt_prog_compiler_pic_CXX='-KPIC'
13358
lt_prog_compiler_static_CXX='-static'
13361
# Intel C++, used to be incompatible with GCC.
13362
# ICC 10 doesn't accept -KPIC any more.
13363
lt_prog_compiler_wl_CXX='-Wl,'
13364
lt_prog_compiler_pic_CXX='-fPIC'
13365
lt_prog_compiler_static_CXX='-static'
13368
# Portland Group C++ compiler
13369
lt_prog_compiler_wl_CXX='-Wl,'
13370
lt_prog_compiler_pic_CXX='-fpic'
13371
lt_prog_compiler_static_CXX='-Bstatic'
13375
# Make sure the PIC flag is empty. It appears that all Alpha
13376
# Linux and Compaq Tru64 Unix objects are PIC.
13377
lt_prog_compiler_pic_CXX=
13378
lt_prog_compiler_static_CXX='-non_shared'
13381
# IBM XL 8.0 on PPC
13382
lt_prog_compiler_wl_CXX='-Wl,'
13383
lt_prog_compiler_pic_CXX='-qpic'
13384
lt_prog_compiler_static_CXX='-qstaticlink'
13387
case `$CC -V 2>&1 | sed 5q` in
13390
lt_prog_compiler_pic_CXX='-KPIC'
13391
lt_prog_compiler_static_CXX='-Bstatic'
13392
lt_prog_compiler_wl_CXX='-Qoption ld '
13403
case $cc_basename in
13405
lt_prog_compiler_pic_CXX='-W c,exportall'
13411
netbsd* | netbsdelf*-gnu)
13414
# QNX uses GNU C++, but need to define -shared option too, otherwise
13415
# it will coredump.
13416
lt_prog_compiler_pic_CXX='-fPIC -shared'
13418
osf3* | osf4* | osf5*)
13419
case $cc_basename in
13421
lt_prog_compiler_wl_CXX='--backend -Wl,'
13424
# Rational C++ 2.4.1
13425
lt_prog_compiler_pic_CXX='-pic'
13428
# Digital/Compaq C++
13429
lt_prog_compiler_wl_CXX='-Wl,'
13430
# Make sure the PIC flag is empty. It appears that all Alpha
13431
# Linux and Compaq Tru64 Unix objects are PIC.
13432
lt_prog_compiler_pic_CXX=
13433
lt_prog_compiler_static_CXX='-non_shared'
13442
case $cc_basename in
13444
# Sun C++ 4.2, 5.x and Centerline C++
13445
lt_prog_compiler_pic_CXX='-KPIC'
13446
lt_prog_compiler_static_CXX='-Bstatic'
13447
lt_prog_compiler_wl_CXX='-Qoption ld '
13450
# Green Hills C++ Compiler
13451
lt_prog_compiler_pic_CXX='-PIC'
13458
case $cc_basename in
13461
lt_prog_compiler_pic_CXX='-pic'
13462
lt_prog_compiler_static_CXX='-Bstatic'
13466
lt_prog_compiler_pic_CXX='-pic'
13472
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13473
case $cc_basename in
13475
lt_prog_compiler_wl_CXX='-Wl,'
13476
lt_prog_compiler_pic_CXX='-KPIC'
13477
lt_prog_compiler_static_CXX='-Bstatic'
13482
case $cc_basename in
13484
# NonStop-UX NCC 3.20
13485
lt_prog_compiler_pic_CXX='-KPIC'
13494
lt_prog_compiler_can_build_shared_CXX=no
13500
# For platforms which do not support PIC, -DPIC is meaningless:
13502
lt_prog_compiler_pic_CXX=
13505
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13509
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13514
# Check to make sure the PIC flag actually works.
13516
if test -n "$lt_prog_compiler_pic_CXX"; then
13517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13518
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13519
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13520
$as_echo_n "(cached) " >&6
13522
lt_cv_prog_compiler_pic_works_CXX=no
13523
ac_outfile=conftest.$ac_objext
13524
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13525
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13526
# Insert the option either (1) after the last *FLAGS variable, or
13527
# (2) before a word containing "conftest.", or (3) at the end.
13528
# Note that $ac_compile itself does not contain backslashes and begins
13529
# with a dollar sign (not a hyphen), so the echo should work correctly.
13530
# The option is referenced via a variable to avoid confusing sed.
13531
lt_compile=`echo "$ac_compile" | $SED \
13532
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13533
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13534
-e 's:$: $lt_compiler_flag:'`
13535
(eval echo "\"\$as_me:13535: $lt_compile\"" >&5)
13536
(eval "$lt_compile" 2>conftest.err)
13538
cat conftest.err >&5
13539
echo "$as_me:13539: \$? = $ac_status" >&5
13540
if (exit $ac_status) && test -s "$ac_outfile"; then
13541
# The compiler can only warn and ignore the option if not recognized
13542
# So say no if there are warnings other than the usual output.
13543
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13544
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13545
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13546
lt_cv_prog_compiler_pic_works_CXX=yes
13552
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13553
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13555
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13556
case $lt_prog_compiler_pic_CXX in
13558
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13561
lt_prog_compiler_pic_CXX=
13562
lt_prog_compiler_can_build_shared_CXX=no
13570
# Check to make sure the static flag actually works.
13572
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13574
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13575
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13576
$as_echo_n "(cached) " >&6
13578
lt_cv_prog_compiler_static_works_CXX=no
13579
save_LDFLAGS="$LDFLAGS"
13580
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13581
echo "$lt_simple_link_test_code" > conftest.$ac_ext
13582
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13583
# The linker can only warn and ignore the option if not recognized
13584
# So say no if there are warnings
13585
if test -s conftest.err; then
13586
# Append any errors to the config.log.
13587
cat conftest.err 1>&5
13588
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13589
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13590
if diff conftest.exp conftest.er2 >/dev/null; then
13591
lt_cv_prog_compiler_static_works_CXX=yes
13594
lt_cv_prog_compiler_static_works_CXX=yes
13598
LDFLAGS="$save_LDFLAGS"
13601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13602
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13604
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13607
lt_prog_compiler_static_CXX=
13613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13614
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13615
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13616
$as_echo_n "(cached) " >&6
13618
lt_cv_prog_compiler_c_o_CXX=no
13619
$RM -r conftest 2>/dev/null
13623
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13625
lt_compiler_flag="-o out/conftest2.$ac_objext"
13626
# Insert the option either (1) after the last *FLAGS variable, or
13627
# (2) before a word containing "conftest.", or (3) at the end.
13628
# Note that $ac_compile itself does not contain backslashes and begins
13629
# with a dollar sign (not a hyphen), so the echo should work correctly.
13630
lt_compile=`echo "$ac_compile" | $SED \
13631
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13632
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13633
-e 's:$: $lt_compiler_flag:'`
13634
(eval echo "\"\$as_me:13634: $lt_compile\"" >&5)
13635
(eval "$lt_compile" 2>out/conftest.err)
13637
cat out/conftest.err >&5
13638
echo "$as_me:13638: \$? = $ac_status" >&5
13639
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13641
# The compiler can only warn and ignore the option if not recognized
13642
# So say no if there are warnings
13643
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13644
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13645
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13646
lt_cv_prog_compiler_c_o_CXX=yes
13651
# SGI C++ compiler will create directory out/ii_files/ for
13652
# template instantiation
13653
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13654
$RM out/* && rmdir out
13660
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13661
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13665
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13666
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13667
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13668
$as_echo_n "(cached) " >&6
13670
lt_cv_prog_compiler_c_o_CXX=no
13671
$RM -r conftest 2>/dev/null
13675
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13677
lt_compiler_flag="-o out/conftest2.$ac_objext"
13678
# Insert the option either (1) after the last *FLAGS variable, or
13679
# (2) before a word containing "conftest.", or (3) at the end.
13680
# Note that $ac_compile itself does not contain backslashes and begins
13681
# with a dollar sign (not a hyphen), so the echo should work correctly.
13682
lt_compile=`echo "$ac_compile" | $SED \
13683
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13684
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13685
-e 's:$: $lt_compiler_flag:'`
13686
(eval echo "\"\$as_me:13686: $lt_compile\"" >&5)
13687
(eval "$lt_compile" 2>out/conftest.err)
13689
cat out/conftest.err >&5
13690
echo "$as_me:13690: \$? = $ac_status" >&5
13691
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13693
# The compiler can only warn and ignore the option if not recognized
13694
# So say no if there are warnings
13695
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13696
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13697
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13698
lt_cv_prog_compiler_c_o_CXX=yes
13703
# SGI C++ compiler will create directory out/ii_files/ for
13704
# template instantiation
13705
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13706
$RM out/* && rmdir out
13712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13713
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13718
hard_links="nottested"
13719
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13720
# do not overwrite the value of need_locks provided by the user
13721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13722
$as_echo_n "checking if we can lock with hard links... " >&6; }
13725
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13727
ln conftest.a conftest.b 2>&5 || hard_links=no
13728
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13730
$as_echo "$hard_links" >&6; }
13731
if test "$hard_links" = no; then
13732
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13733
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13743
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13745
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13748
# If we're using GNU nm, then we don't want the "-C" option.
13749
# -C means demangle to AIX nm, but means don't demangle with GNU nm
13750
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13751
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'
13753
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'
13757
export_symbols_cmds_CXX="$ltdll_cmds"
13759
cygwin* | mingw* | cegcc*)
13760
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'
13762
linux* | k*bsd*-gnu)
13763
link_all_deplibs_CXX=no
13766
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13769
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13771
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13772
$as_echo "$ld_shlibs_CXX" >&6; }
13773
test "$ld_shlibs_CXX" = no && can_build_shared=no
13775
with_gnu_ld_CXX=$with_gnu_ld
13783
# Do we need to explicitly link libc?
13785
case "x$archive_cmds_need_lc_CXX" in
13787
# Assume -lc should be added
13788
archive_cmds_need_lc_CXX=yes
13790
if test "$enable_shared" = yes && test "$GCC" = yes; then
13791
case $archive_cmds_CXX in
13793
# FIXME: we may have to deal with multi-command sequences.
13796
# Test whether the compiler implicitly links with -lc since on some
13797
# systems, -lgcc has to come before -lc. If gcc already passes -lc
13798
# to ld, don't add -lc before -lgcc.
13799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13800
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13802
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13804
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13805
(eval $ac_compile) 2>&5
13807
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13808
test $ac_status = 0; } 2>conftest.err; then
13811
libobjs=conftest.$ac_objext
13813
wl=$lt_prog_compiler_wl_CXX
13814
pic_flag=$lt_prog_compiler_pic_CXX
13820
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13821
allow_undefined_flag_CXX=
13822
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13823
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13825
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13826
test $ac_status = 0; }
13828
archive_cmds_need_lc_CXX=no
13830
archive_cmds_need_lc_CXX=yes
13832
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13834
cat conftest.err 1>&5
13837
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13838
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
13908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13909
$as_echo_n "checking dynamic linker characteristics... " >&6; }
13911
library_names_spec=
13912
libname_spec='lib$name'
13916
postuninstall_cmds=
13920
shlibpath_overrides_runpath=unknown
13922
dynamic_linker="$host_os ld.so"
13923
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13924
need_lib_prefix=unknown
13925
hardcode_into_libs=no
13927
# when you set need_version to no, make sure it does not cause -set_version
13928
# flags to be left without arguments
13929
need_version=unknown
13934
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13935
shlibpath_var=LIBPATH
13937
# AIX 3 has no versioning support, so we append a major version to the name.
13938
soname_spec='${libname}${release}${shared_ext}$major'
13945
hardcode_into_libs=yes
13946
if test "$host_cpu" = ia64; then
13947
# AIX 5 supports IA64
13948
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13949
shlibpath_var=LD_LIBRARY_PATH
13951
# With GCC up to 2.95.x, collect2 would create an import file
13952
# for dependence libraries. The import file would start with
13953
# the line `#! .'. This would cause the generated library to
13954
# depend on `.', always an invalid library. This was fixed in
13955
# development snapshots of GCC prior to 3.0.
13957
aix4 | aix4.[01] | aix4.[01].*)
13958
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13960
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13963
can_build_shared=no
13967
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13968
# soname into executable. Probably we can add versioning support to
13969
# collect2, so additional links can be useful in future.
13970
if test "$aix_use_runtimelinking" = yes; then
13971
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
13972
# instead of lib<name>.a to let people know that these are not
13973
# typical AIX shared libraries.
13974
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13976
# We preserve .a as extension for shared libraries through AIX4.2
13977
# and later when we are not doing run time linking.
13978
library_names_spec='${libname}${release}.a $libname.a'
13979
soname_spec='${libname}${release}${shared_ext}$major'
13981
shlibpath_var=LIBPATH
13988
# Since July 2007 AmigaOS4 officially supports .so libraries.
13989
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13990
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13993
library_names_spec='$libname.ixlibrary $libname.a'
13994
# Create ${libname}_ixlibrary.a entries in /sys/libs.
13995
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'
14001
library_names_spec='${libname}${shared_ext}'
14002
dynamic_linker="$host_os ld.so"
14003
shlibpath_var=LIBRARY_PATH
14009
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14010
soname_spec='${libname}${release}${shared_ext}$major'
14011
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14012
shlibpath_var=LD_LIBRARY_PATH
14013
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14014
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14015
# the default ld.so.conf also contains /usr/contrib/lib and
14016
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14017
# libtool to hard-code these into programs
14020
cygwin* | mingw* | pw32* | cegcc*)
14021
version_type=windows
14026
case $GCC,$host_os in
14027
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14028
library_names_spec='$libname.dll.a'
14029
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14030
postinstall_cmds='base_file=`basename \${file}`~
14031
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14032
dldir=$destdir/`dirname \$dlpath`~
14033
test -d \$dldir || mkdir -p \$dldir~
14034
$install_prog $dir/$dlname \$dldir/$dlname~
14035
chmod a+x \$dldir/$dlname~
14036
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14037
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14039
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14040
dlpath=$dir/\$dldll~
14042
shlibpath_overrides_runpath=yes
14046
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
14047
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14048
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14051
# MinGW DLLs use traditional 'lib' prefix
14052
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14053
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14054
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14055
# It is most probably a Windows format PATH printed by
14056
# mingw gcc, but we are running on Cygwin. Gcc prints its search
14057
# path with ; separators, and with drive letters. We can handle the
14058
# drive letters (cygwin fileutils understands them), so leave them,
14059
# especially as we might pass files found there to a mingw objdump,
14060
# which wouldn't understand a cygwinified path. Ahh.
14061
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14063
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14067
# pw32 DLLs use 'pw' prefix rather than 'lib'
14068
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14074
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14077
dynamic_linker='Win32 ld.exe'
14078
# FIXME: first we should search . and the directory the executable is in
14082
darwin* | rhapsody*)
14083
dynamic_linker="$host_os dyld"
14084
version_type=darwin
14087
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14088
soname_spec='${libname}${release}${major}$shared_ext'
14089
shlibpath_overrides_runpath=yes
14090
shlibpath_var=DYLD_LIBRARY_PATH
14091
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14093
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14100
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14101
soname_spec='${libname}${release}${shared_ext}$major'
14102
shlibpath_var=LD_LIBRARY_PATH
14109
freebsd* | dragonfly*)
14110
# DragonFly does not have aout. When/if they implement a new
14111
# versioning mechanism, adjust this.
14112
if test -x /usr/bin/objformat; then
14113
objformat=`/usr/bin/objformat`
14116
freebsd[123]*) objformat=aout ;;
14117
*) objformat=elf ;;
14120
version_type=freebsd-$objformat
14121
case $version_type in
14123
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14128
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14132
shlibpath_var=LD_LIBRARY_PATH
14135
shlibpath_overrides_runpath=yes
14137
freebsd3.[01]* | freebsdelf3.[01]*)
14138
shlibpath_overrides_runpath=yes
14139
hardcode_into_libs=yes
14141
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14142
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14143
shlibpath_overrides_runpath=no
14144
hardcode_into_libs=yes
14146
*) # from 4.6 on, and DragonFly
14147
shlibpath_overrides_runpath=yes
14148
hardcode_into_libs=yes
14157
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14158
soname_spec='${libname}${release}${shared_ext}$major'
14159
shlibpath_var=LD_LIBRARY_PATH
14160
hardcode_into_libs=yes
14163
hpux9* | hpux10* | hpux11*)
14164
# Give a soname corresponding to the major version so that dld.sl refuses to
14165
# link against other versions.
14172
hardcode_into_libs=yes
14173
dynamic_linker="$host_os dld.so"
14174
shlibpath_var=LD_LIBRARY_PATH
14175
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14176
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14177
soname_spec='${libname}${release}${shared_ext}$major'
14178
if test "X$HPUX_IA64_MODE" = X32; then
14179
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14181
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14183
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14187
hardcode_into_libs=yes
14188
dynamic_linker="$host_os dld.sl"
14189
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14190
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14191
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14192
soname_spec='${libname}${release}${shared_ext}$major'
14193
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14194
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14198
dynamic_linker="$host_os dld.sl"
14199
shlibpath_var=SHLIB_PATH
14200
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14201
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14202
soname_spec='${libname}${release}${shared_ext}$major'
14205
# HP-UX runs *really* slowly unless shared libraries are mode 555.
14206
postinstall_cmds='chmod 555 $lib'
14213
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14214
soname_spec='${libname}${release}${shared_ext}$major'
14215
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14216
shlibpath_var=LD_LIBRARY_PATH
14217
shlibpath_overrides_runpath=no
14218
hardcode_into_libs=yes
14221
irix5* | irix6* | nonstopux*)
14223
nonstopux*) version_type=nonstopux ;;
14225
if test "$lt_cv_prog_gnu_ld" = yes; then
14233
soname_spec='${libname}${release}${shared_ext}$major'
14234
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14236
irix5* | nonstopux*)
14237
libsuff= shlibsuff=
14240
case $LD in # libtool.m4 will add one of these switches to LD
14241
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14242
libsuff= shlibsuff= libmagic=32-bit;;
14243
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14244
libsuff=32 shlibsuff=N32 libmagic=N32;;
14245
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14246
libsuff=64 shlibsuff=64 libmagic=64-bit;;
14247
*) libsuff= shlibsuff= libmagic=never-match;;
14251
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14252
shlibpath_overrides_runpath=no
14253
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14254
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14255
hardcode_into_libs=yes
14258
# No shared lib support for Linux oldld, aout, or coff.
14259
linux*oldld* | linux*aout* | linux*coff*)
14263
# This must be Linux ELF.
14264
linux* | k*bsd*-gnu)
14268
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14269
soname_spec='${libname}${release}${shared_ext}$major'
14270
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14271
shlibpath_var=LD_LIBRARY_PATH
14272
shlibpath_overrides_runpath=no
14273
# Some binutils ld are patched to set DT_RUNPATH
14274
save_LDFLAGS=$LDFLAGS
14275
save_libdir=$libdir
14276
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14277
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14278
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14279
/* end confdefs.h. */
14289
if ac_fn_cxx_try_link "$LINENO"; then :
14290
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14291
shlibpath_overrides_runpath=yes
14294
rm -f core conftest.err conftest.$ac_objext \
14295
conftest$ac_exeext conftest.$ac_ext
14296
LDFLAGS=$save_LDFLAGS
14297
libdir=$save_libdir
14299
# This implies no fast_install, which is unacceptable.
14300
# Some rework will be needed to allow for fast_install
14301
# before this can be enabled.
14302
hardcode_into_libs=yes
14304
# Append ld.so.conf contents to the search path
14305
if test -f /etc/ld.so.conf; then
14306
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' ' '`
14307
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14310
# We used to test for /lib/ld.so.1 and disable shared libraries on
14311
# powerpc, because MkLinux only supported shared libraries with the
14312
# GNU dynamic linker. Since this was broken with cross compilers,
14313
# most powerpc-linux boxes support dynamic linking these days and
14314
# people can always --disable-shared, the test was removed, and we
14315
# assume the GNU/Linux dynamic linker is in use.
14316
dynamic_linker='GNU/Linux ld.so'
14323
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14324
soname_spec='${libname}${release}${shared_ext}$major'
14325
shlibpath_var=LD_LIBRARY_PATH
14326
shlibpath_overrides_runpath=no
14327
hardcode_into_libs=yes
14328
dynamic_linker='NetBSD ld.elf_so'
14335
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14336
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14337
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14338
dynamic_linker='NetBSD (a.out) ld.so'
14340
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14341
soname_spec='${libname}${release}${shared_ext}$major'
14342
dynamic_linker='NetBSD ld.elf_so'
14344
shlibpath_var=LD_LIBRARY_PATH
14345
shlibpath_overrides_runpath=yes
14346
hardcode_into_libs=yes
14351
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14352
shlibpath_var=LD_LIBRARY_PATH
14353
shlibpath_overrides_runpath=yes
14360
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14361
soname_spec='${libname}${release}${shared_ext}$major'
14362
shlibpath_var=LD_LIBRARY_PATH
14363
shlibpath_overrides_runpath=no
14364
hardcode_into_libs=yes
14365
dynamic_linker='ldqnx.so'
14370
sys_lib_dlsearch_path_spec="/usr/lib"
14372
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14374
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14375
*) need_version=no ;;
14377
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14378
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14379
shlibpath_var=LD_LIBRARY_PATH
14380
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14382
openbsd2.[89] | openbsd2.[89].*)
14383
shlibpath_overrides_runpath=no
14386
shlibpath_overrides_runpath=yes
14390
shlibpath_overrides_runpath=yes
14395
libname_spec='$name'
14398
library_names_spec='$libname${shared_ext} $libname.a'
14399
dynamic_linker='OS/2 ld.exe'
14400
shlibpath_var=LIBPATH
14403
osf3* | osf4* | osf5*)
14407
soname_spec='${libname}${release}${shared_ext}$major'
14408
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14409
shlibpath_var=LD_LIBRARY_PATH
14410
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14411
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14422
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14423
soname_spec='${libname}${release}${shared_ext}$major'
14424
shlibpath_var=LD_LIBRARY_PATH
14425
shlibpath_overrides_runpath=yes
14426
hardcode_into_libs=yes
14427
# ldd complains unless libraries are executable
14428
postinstall_cmds='chmod +x $lib'
14433
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14434
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14435
shlibpath_var=LD_LIBRARY_PATH
14436
shlibpath_overrides_runpath=yes
14437
if test "$with_gnu_ld" = yes; then
14445
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14446
soname_spec='${libname}${release}${shared_ext}$major'
14447
shlibpath_var=LD_LIBRARY_PATH
14448
case $host_vendor in
14450
shlibpath_overrides_runpath=no
14452
runpath_var=LD_RUN_PATH
14460
shlibpath_overrides_runpath=no
14461
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14467
if test -d /usr/nec ;then
14469
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14470
soname_spec='$libname${shared_ext}.$major'
14471
shlibpath_var=LD_LIBRARY_PATH
14475
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14476
version_type=freebsd-elf
14479
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14480
soname_spec='${libname}${release}${shared_ext}$major'
14481
shlibpath_var=LD_LIBRARY_PATH
14482
shlibpath_overrides_runpath=yes
14483
hardcode_into_libs=yes
14484
if test "$with_gnu_ld" = yes; then
14485
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14487
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14490
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14494
sys_lib_dlsearch_path_spec='/usr/lib'
14498
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14502
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14503
shlibpath_var=LD_LIBRARY_PATH
14504
shlibpath_overrides_runpath=no
14505
hardcode_into_libs=yes
14510
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511
soname_spec='${libname}${release}${shared_ext}$major'
14512
shlibpath_var=LD_LIBRARY_PATH
14519
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14520
$as_echo "$dynamic_linker" >&6; }
14521
test "$dynamic_linker" = no && can_build_shared=no
14523
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14524
if test "$GCC" = yes; then
14525
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14528
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14529
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14531
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14532
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14571
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14572
hardcode_action_CXX=
14573
if test -n "$hardcode_libdir_flag_spec_CXX" ||
14574
test -n "$runpath_var_CXX" ||
14575
test "X$hardcode_automatic_CXX" = "Xyes" ; then
14577
# We can hardcode non-existent directories.
14578
if test "$hardcode_direct_CXX" != no &&
14579
# If the only mechanism to avoid hardcoding is shlibpath_var, we
14580
# have to relink, otherwise we might link with an installed library
14581
# when we should be linking with a yet-to-be-installed one
14582
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14583
test "$hardcode_minus_L_CXX" != no; then
14584
# Linking always hardcodes the temporary library directory.
14585
hardcode_action_CXX=relink
14587
# We can link without hardcoding, and we can hardcode nonexisting dirs.
14588
hardcode_action_CXX=immediate
14591
# We cannot hardcode anything, or else we can only hardcode existing
14593
hardcode_action_CXX=unsupported
14595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14596
$as_echo "$hardcode_action_CXX" >&6; }
14598
if test "$hardcode_action_CXX" = relink ||
14599
test "$inherit_rpath_CXX" = yes; then
14600
# Fast installation is not supported
14601
enable_fast_install=no
14602
elif test "$shlibpath_overrides_runpath" = yes ||
14603
test "$enable_shared" = no; then
14604
# Fast installation is not necessary
14605
enable_fast_install=needless
14614
fi # test -n "$compiler"
14620
with_gnu_ld=$lt_save_with_gnu_ld
14621
lt_cv_path_LDCXX=$lt_cv_path_LD
14622
lt_cv_path_LD=$lt_save_path_LD
14623
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14624
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14625
fi # test "$_lt_caught_CXX_error" != yes
14628
ac_cpp='$CPP $CPPFLAGS'
14629
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14630
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14631
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14645
ac_config_commands="$ac_config_commands libtool"
14650
# Only expand once:
14653
for ac_prog in flex lex
14655
# Extract the first word of "$ac_prog", so it can be a program name with args.
14656
set dummy $ac_prog; ac_word=$2
14657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14658
$as_echo_n "checking for $ac_word... " >&6; }
14659
if test "${ac_cv_prog_LEX+set}" = set; then :
14660
$as_echo_n "(cached) " >&6
14662
if test -n "$LEX"; then
14663
ac_cv_prog_LEX="$LEX" # Let the user override the test.
14665
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14666
for as_dir in $PATH
14669
test -z "$as_dir" && as_dir=.
14670
for ac_exec_ext in '' $ac_executable_extensions; do
14671
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14672
ac_cv_prog_LEX="$ac_prog"
14673
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14682
LEX=$ac_cv_prog_LEX
14683
if test -n "$LEX"; then
14684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
14685
$as_echo "$LEX" >&6; }
14687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14688
$as_echo "no" >&6; }
14692
test -n "$LEX" && break
14694
test -n "$LEX" || LEX=":"
14696
if test "x$LEX" != "x:"; then
14697
cat >conftest.l <<_ACEOF
14703
e { yyless (input () != 0); }
14704
f { unput (yytext[0]); }
14705
. { BEGIN INITIAL; }
14707
#ifdef YYTEXT_POINTER
14708
extern char *yytext;
14713
return ! yylex () + ! yywrap ();
14716
{ { ac_try="$LEX conftest.l"
14717
case "(($ac_try" in
14718
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14719
*) ac_try_echo=$ac_try;;
14721
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14722
$as_echo "$ac_try_echo"; } >&5
14723
(eval "$LEX conftest.l") 2>&5
14725
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14726
test $ac_status = 0; }
14727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
14728
$as_echo_n "checking lex output file root... " >&6; }
14729
if test "${ac_cv_prog_lex_root+set}" = set; then :
14730
$as_echo_n "(cached) " >&6
14733
if test -f lex.yy.c; then
14734
ac_cv_prog_lex_root=lex.yy
14735
elif test -f lexyy.c; then
14736
ac_cv_prog_lex_root=lexyy
14738
as_fn_error "cannot find output from $LEX; giving up" "$LINENO" 5
14741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
14742
$as_echo "$ac_cv_prog_lex_root" >&6; }
14743
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
14745
if test -z "${LEXLIB+set}"; then
14746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
14747
$as_echo_n "checking lex library... " >&6; }
14748
if test "${ac_cv_lib_lex+set}" = set; then :
14749
$as_echo_n "(cached) " >&6
14753
ac_cv_lib_lex='none needed'
14754
for ac_lib in '' -lfl -ll; do
14755
LIBS="$ac_lib $ac_save_LIBS"
14756
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757
/* end confdefs.h. */
14758
`cat $LEX_OUTPUT_ROOT.c`
14760
if ac_fn_c_try_link "$LINENO"; then :
14761
ac_cv_lib_lex=$ac_lib
14763
rm -f core conftest.err conftest.$ac_objext \
14764
conftest$ac_exeext conftest.$ac_ext
14765
test "$ac_cv_lib_lex" != 'none needed' && break
14770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
14771
$as_echo "$ac_cv_lib_lex" >&6; }
14772
test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
14776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
14777
$as_echo_n "checking whether yytext is a pointer... " >&6; }
14778
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
14779
$as_echo_n "(cached) " >&6
14781
# POSIX says lex can declare yytext either as a pointer or an array; the
14782
# default is implementation-dependent. Figure out which it is, since
14783
# not all implementations provide the %pointer and %array declarations.
14784
ac_cv_prog_lex_yytext_pointer=no
14786
LIBS="$LEXLIB $ac_save_LIBS"
14787
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788
/* end confdefs.h. */
14789
#define YYTEXT_POINTER 1
14790
`cat $LEX_OUTPUT_ROOT.c`
14792
if ac_fn_c_try_link "$LINENO"; then :
14793
ac_cv_prog_lex_yytext_pointer=yes
14795
rm -f core conftest.err conftest.$ac_objext \
14796
conftest$ac_exeext conftest.$ac_ext
14800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
14801
$as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
14802
if test $ac_cv_prog_lex_yytext_pointer = yes; then
14804
$as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
14807
rm -f conftest.l $LEX_OUTPUT_ROOT.c
14810
if test "$LEX" = :; then
14811
LEX=${am_missing_run}flex
14814
########################################
14816
########################################
14817
# Check whether --enable-new_allocator was given.
14818
if test "${enable_new_allocator+set}" = set; then :
14819
enableval=$enable_new_allocator; use_new_allocator=$enableval
14821
use_new_allocator=no
14826
if test $use_new_allocator = yes
14829
$as_echo "#define ENABLE_NEW_ALLOCATOR 1" >>confdefs.h
14833
########################################
14835
########################################
14837
# Check whether --enable-callstack was given.
14838
if test "${enable_callstack+set}" = set; then :
14839
enableval=$enable_callstack; use_callstack=$enableval
14846
if test $use_callstack = yes
14849
$as_echo "#define ENABLE_CALLSTACK 1" >>confdefs.h
14852
########################################
14854
########################################
14856
########################################
14859
# Check whether --with-boost was given.
14860
if test "${with_boost+set}" = set; then :
14861
withval=$with_boost; if test $withval == "no"
14872
BOOST_PREFIX=$with_boost
14875
if test $has_boost = true
14877
BOOST_CFLAGS="-I${BOOST_PREFIX}"
14880
$as_echo "#define HAVE_BOOST 1" >>confdefs.h
14883
########################################
14885
########################################
14887
########################################
14890
# Check whether --with-mysql was given.
14891
if test "${with_mysql+set}" = set; then :
14892
withval=$with_mysql; if test $withval == "no"
14903
MYSQL_PREFIX=$with_mysql
14906
if test $has_mysql = true
14908
MYSQL_CFLAGS="-I${MYSQL_PREFIX}/include/mysql -I${MYSQL_PREFIX}/mysql/include"
14910
MYSQL_LIBS="-L${MYSQL_PREFIX}/lib/mysql -L${MYSQL_PREFIX}/mysql/lib -lmysqlclient"
14913
$as_echo "#define HAVE_MYSQL 1" >>confdefs.h
14916
########################################
14918
########################################
14920
########################################
14921
has_postgresql=false
14923
# Check whether --with-postgresql was given.
14924
if test "${with_postgresql+set}" = set; then :
14925
withval=$with_postgresql; if test $withval == "no"
14927
has_postgresql=false
14929
has_postgresql=true
14932
has_postgresql=false
14936
POSTGRESQL_PREFIX=$with_postgresql
14939
if test $has_postgresql = true
14941
POSTGRESQL_CFLAGS="-I${POSTGRESQL_PREFIX}/include -I${POSTGRESQL_PREFIX}/include/postgresql"
14943
POSTGRESQL_LIBS="-L${POSTGRESQL_PREFIX}/lib -lpq"
14946
$as_echo "#define HAVE_POSTGRESQL 1" >>confdefs.h
14949
########################################
14951
########################################
14953
########################################
14956
# Check whether --with-python was given.
14957
if test "${with_python+set}" = set; then :
14958
withval=$with_python; if test $withval == "no"
14969
PYTHON_PREFIX=$with_python
14972
if test $has_python = true
14974
PYTHON_CFLAGS="-I${PYTHON_PREFIX}"
14976
PYTHON_SITE_PACKAGES=`python -c 'from distutils import sysconfig; print sysconfig.get_python_lib()'`
14979
$as_echo "#define HAVE_PYTHON 1" >>confdefs.h
14982
if $has_python; then
14984
HAVE_PYTHON_FALSE='#'
14986
HAVE_PYTHON_TRUE='#'
14990
########################################
14992
########################################
14994
########################################
14995
RUBY_PREFIX=`ruby -e 'require "rbconfig"; print Config::CONFIG["archdir"], "\n"'`
15000
# Check whether --with-ruby was given.
15001
if test "${with_ruby+set}" = set; then :
15002
withval=$with_ruby; if test $withval == "no"
15014
if test $has_ruby = true
15016
RUBY_CFLAGS="-I${RUBY_PREFIX}"
15018
RUBY_SITE_PACKAGES=`ruby -e 'require "rbconfig"; print Config::CONFIG["sitedir"], "\n"'`
15021
$as_echo "#define HAVE_RUBY 1" >>confdefs.h
15026
HAVE_RUBY_FALSE='#'
15032
########################################
15034
########################################
15036
########################################
15039
# Check whether --with-java was given.
15040
if test "${with_java+set}" = set; then :
15041
withval=$with_java; if test $withval == "no"
15053
if test $has_java = true
15060
$as_echo "#define HAVE_JAVA 1" >>confdefs.h
15065
HAVE_JAVA_FALSE='#'
15071
########################################
15073
########################################
15075
########################################
15078
# Check whether --with-stlport was given.
15079
if test "${with_stlport+set}" = set; then :
15080
withval=$with_stlport; if test $withval == "no"
15091
STLPORT_PREFIX=$with_stlport
15094
if test $has_stlport = true
15096
as_ac_File=`$as_echo "ac_cv_file_$STLPORT_PREFIX/include/stlport/stdio.h" | $as_tr_sh`
15097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $STLPORT_PREFIX/include/stlport/stdio.h" >&5
15098
$as_echo_n "checking for $STLPORT_PREFIX/include/stlport/stdio.h... " >&6; }
15099
if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then :
15100
$as_echo_n "(cached) " >&6
15102
test "$cross_compiling" = yes &&
15103
as_fn_error "cannot check for file existence when cross compiling" "$LINENO" 5
15104
if test -r "$STLPORT_PREFIX/include/stlport/stdio.h"; then
15105
eval "$as_ac_File=yes"
15107
eval "$as_ac_File=no"
15110
eval ac_res=\$$as_ac_File
15111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15112
$as_echo "$ac_res" >&6; }
15113
eval as_val=\$$as_ac_File
15114
if test "x$as_val" = x""yes; then :
15116
STLPORT_CFLAGS="-I${STLPORT_PREFIX}/include/stlport -pthread"
15117
STLPORT_LIBS="-L${STLPORT_PREFIX}/lib -lstlport -pthread"
15121
STLPORT_CFLAGS="-I${STLPORT_PREFIX}/stlport/include"
15122
STLPORT_LIBS="-L${STLPORT_PREFIX}/lib -lstlport_gcc"
15130
$as_echo "#define HAVE_STLPORT 1" >>confdefs.h
15133
########################################
15135
########################################
15137
########################################
15140
# Check whether --with-xml-prefix was given.
15141
if test "${with_xml_prefix+set}" = set; then :
15142
withval=$with_xml_prefix; xml_config_prefix="$withval"
15144
xml_config_prefix=""
15148
# Check whether --with-xml-exec-prefix was given.
15149
if test "${with_xml_exec_prefix+set}" = set; then :
15150
withval=$with_xml_exec_prefix; xml_config_exec_prefix="$withval"
15152
xml_config_exec_prefix=""
15155
# Check whether --enable-xmltest was given.
15156
if test "${enable_xmltest+set}" = set; then :
15157
enableval=$enable_xmltest;
15163
if test x$xml_config_exec_prefix != x ; then
15164
xml_config_args="$xml_config_args"
15165
if test x${XML2_CONFIG+set} != xset ; then
15166
XML2_CONFIG=$xml_config_exec_prefix/bin/xml2-config
15169
if test x$xml_config_prefix != x ; then
15170
xml_config_args="$xml_config_args --prefix=$xml_config_prefix"
15171
if test x${XML2_CONFIG+set} != xset ; then
15172
XML2_CONFIG=$xml_config_prefix/bin/xml2-config
15176
# Extract the first word of "xml2-config", so it can be a program name with args.
15177
set dummy xml2-config; ac_word=$2
15178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15179
$as_echo_n "checking for $ac_word... " >&6; }
15180
if test "${ac_cv_path_XML2_CONFIG+set}" = set; then :
15181
$as_echo_n "(cached) " >&6
15183
case $XML2_CONFIG in
15185
ac_cv_path_XML2_CONFIG="$XML2_CONFIG" # Let the user override the test with a path.
15188
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15189
for as_dir in $PATH
15192
test -z "$as_dir" && as_dir=.
15193
for ac_exec_ext in '' $ac_executable_extensions; do
15194
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15195
ac_cv_path_XML2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15196
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15203
test -z "$ac_cv_path_XML2_CONFIG" && ac_cv_path_XML2_CONFIG="no"
15207
XML2_CONFIG=$ac_cv_path_XML2_CONFIG
15208
if test -n "$XML2_CONFIG"; then
15209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XML2_CONFIG" >&5
15210
$as_echo "$XML2_CONFIG" >&6; }
15212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15213
$as_echo "no" >&6; }
15217
min_xml_version='2.0.0'
15218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxml - version >= $min_xml_version" >&5
15219
$as_echo_n "checking for libxml - version >= $min_xml_version... " >&6; }
15221
if test "$XML2_CONFIG" = "no" ; then
15224
XML_CPPFLAGS=`$XML2_CONFIG $xml_config_args --cflags`
15225
XML_LIBS=`$XML2_CONFIG $xml_config_args --libs`
15226
xml_config_major_version=`$XML2_CONFIG $xml_config_args --version | \
15227
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15228
xml_config_minor_version=`$XML2_CONFIG $xml_config_args --version | \
15229
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15230
xml_config_micro_version=`$XML2_CONFIG $xml_config_args --version | \
15231
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15232
if test "x$enable_xmltest" = "xyes" ; then
15233
ac_save_CPPFLAGS="$CPPFLAGS"
15234
ac_save_LIBS="$LIBS"
15235
CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
15236
LIBS="$XML_LIBS $LIBS"
15238
if test "$cross_compiling" = yes; then :
15239
echo $ac_n "cross compiling; assumed OK... $ac_c"
15241
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15242
/* end confdefs.h. */
15244
#include <stdlib.h>
15246
#include <string.h>
15247
#include <libxml/xmlversion.h>
15252
int xml_major_version, xml_minor_version, xml_micro_version;
15253
int major, minor, micro;
15256
system("touch conf.xmltest");
15258
/* Capture xml2-config output via autoconf/configure variables */
15259
/* HP/UX 9 (%@#!) writes to sscanf strings */
15260
tmp_version = (char *)strdup("$min_xml_version");
15261
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
15262
printf("%s, bad version string from xml2-config\n", "$min_xml_version");
15267
/* Capture the version information from the header files */
15268
tmp_version = (char *)strdup(LIBXML_DOTTED_VERSION);
15269
if (sscanf(tmp_version, "%d.%d.%d", &xml_major_version, &xml_minor_version, &xml_micro_version) != 3) {
15270
printf("%s, bad version string from libxml includes\n", "LIBXML_DOTTED_VERSION");
15275
/* Compare xml2-config output to the libxml headers */
15276
if ((xml_major_version != $xml_config_major_version) ||
15277
(xml_minor_version != $xml_config_minor_version) ||
15278
(xml_micro_version != $xml_config_micro_version))
15280
printf("*** libxml header files (version %d.%d.%d) do not match\n",
15281
xml_major_version, xml_minor_version, xml_micro_version);
15282
printf("*** xml2-config (version %d.%d.%d)\n",
15283
$xml_config_major_version, $xml_config_minor_version, $xml_config_micro_version);
15286
/* Compare the headers to the library to make sure we match */
15287
/* Less than ideal -- doesn't provide us with return value feedback,
15288
* only exits if there's a serious mismatch between header and library.
15290
LIBXML_TEST_VERSION;
15292
/* Test that the library is greater than our minimum version */
15293
if ((xml_major_version > major) ||
15294
((xml_major_version == major) && (xml_minor_version > minor)) ||
15295
((xml_major_version == major) && (xml_minor_version == minor) &&
15296
(xml_micro_version >= micro)))
15302
printf("\n*** An old version of libxml (%d.%d.%d) was found.\n",
15303
xml_major_version, xml_minor_version, xml_micro_version);
15304
printf("*** You need a version of libxml newer than %d.%d.%d. The latest version of\n",
15305
major, minor, micro);
15306
printf("*** libxml is always available from ftp://ftp.xmlsoft.org.\n");
15308
printf("*** If you have already installed a sufficiently new version, this error\n");
15309
printf("*** probably means that the wrong copy of the xml2-config shell script is\n");
15310
printf("*** being found. The easiest way to fix this is to remove the old version\n");
15311
printf("*** of LIBXML, but you can also set the XML2_CONFIG environment to point to the\n");
15312
printf("*** correct copy of xml2-config. (In this case, you will have to\n");
15313
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
15314
printf("*** so that the correct libraries are found at run-time))\n");
15320
if ac_fn_c_try_run "$LINENO"; then :
15325
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15326
conftest.$ac_objext conftest.beam conftest.$ac_ext
15329
CPPFLAGS="$ac_save_CPPFLAGS"
15330
LIBS="$ac_save_LIBS"
15334
if test "x$no_xml" = x ; then
15335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&5
15336
$as_echo "yes (version $xml_config_major_version.$xml_config_minor_version.$xml_config_micro_version)" >&6; }
15339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15340
$as_echo "no" >&6; }
15341
if test "$XML2_CONFIG" = "no" ; then
15342
echo "*** The xml2-config script installed by LIBXML could not be found"
15343
echo "*** If libxml was installed in PREFIX, make sure PREFIX/bin is in"
15344
echo "*** your path, or set the XML2_CONFIG environment variable to the"
15345
echo "*** full path to xml2-config."
15347
if test -f conf.xmltest ; then
15350
echo "*** Could not run libxml test program, checking why..."
15351
CPPFLAGS="$CPPFLAGS $XML_CPPFLAGS"
15352
LIBS="$LIBS $XML_LIBS"
15353
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15354
/* end confdefs.h. */
15356
#include <libxml/xmlversion.h>
15362
LIBXML_TEST_VERSION; return 0;
15367
if ac_fn_c_try_link "$LINENO"; then :
15368
echo "*** The test program compiled, but did not run. This usually means"
15369
echo "*** that the run-time linker is not finding LIBXML or finding the wrong"
15370
echo "*** version of LIBXML. If it is not finding LIBXML, you'll need to set your"
15371
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15372
echo "*** to the installed location Also, make sure you have run ldconfig if that"
15373
echo "*** is required on your system"
15375
echo "*** If you have an old version installed, it is best to remove it, although"
15376
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15378
echo "*** The test program failed to compile or link. See the file config.log for the"
15379
echo "*** exact error that occured. This usually means LIBXML was incorrectly installed"
15380
echo "*** or that you have moved LIBXML since it was installed. In the latter case, you"
15381
echo "*** may want to edit the xml2-config script: $XML2_CONFIG"
15383
rm -f core conftest.err conftest.$ac_objext \
15384
conftest$ac_exeext conftest.$ac_ext
15385
CPPFLAGS="$ac_save_CPPFLAGS"
15386
LIBS="$ac_save_LIBS"
15392
as_fn_error "libxml2 must be installed." "$LINENO" 5
15398
########################################
15401
LIBS="$STLPORT_LIBS $XML_LIBS $MYSQL_LIBS $POSTGRESQL_LIBS $LIBS"
15403
SHAREDFLAGS="-Wall -ansi -Wpointer-arith -Wwrite-strings $BOOST_CFLAGS $STLPORT_CFLAGS $MYSQL_CFLAGS $POSTGRESQL_CFLAGS $XML_CPPFLAGS $XML_CFLAGS $PYTHON_CFLAGS $RUBY_CFLAGS"
15404
CFLAGS="$CFLAGS $SHAREDFLAGS"
15406
CXXFLAGS="$CXXFLAGS $SHAREDFLAGS"
15409
# Checks for libraries.
15410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shutdown in -lc" >&5
15411
$as_echo_n "checking for shutdown in -lc... " >&6; }
15412
if test "${ac_cv_lib_c_shutdown+set}" = set; then :
15413
$as_echo_n "(cached) " >&6
15415
ac_check_lib_save_LIBS=$LIBS
15417
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15418
/* end confdefs.h. */
15420
/* Override any GCC internal prototype to avoid an error.
15421
Use char because int might match the return type of a GCC
15422
builtin and then its argument prototype would still apply. */
15430
return shutdown ();
15435
if ac_fn_c_try_link "$LINENO"; then :
15436
ac_cv_lib_c_shutdown=yes
15438
ac_cv_lib_c_shutdown=no
15440
rm -f core conftest.err conftest.$ac_objext \
15441
conftest$ac_exeext conftest.$ac_ext
15442
LIBS=$ac_check_lib_save_LIBS
15444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_shutdown" >&5
15445
$as_echo "$ac_cv_lib_c_shutdown" >&6; }
15446
if test "x$ac_cv_lib_c_shutdown" = x""yes; then :
15449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shutdown in -lsocket" >&5
15450
$as_echo_n "checking for shutdown in -lsocket... " >&6; }
15451
if test "${ac_cv_lib_socket_shutdown+set}" = set; then :
15452
$as_echo_n "(cached) " >&6
15454
ac_check_lib_save_LIBS=$LIBS
15455
LIBS="-lsocket $LIBS"
15456
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15457
/* end confdefs.h. */
15459
/* Override any GCC internal prototype to avoid an error.
15460
Use char because int might match the return type of a GCC
15461
builtin and then its argument prototype would still apply. */
15469
return shutdown ();
15474
if ac_fn_c_try_link "$LINENO"; then :
15475
ac_cv_lib_socket_shutdown=yes
15477
ac_cv_lib_socket_shutdown=no
15479
rm -f core conftest.err conftest.$ac_objext \
15480
conftest$ac_exeext conftest.$ac_ext
15481
LIBS=$ac_check_lib_save_LIBS
15483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_shutdown" >&5
15484
$as_echo "$ac_cv_lib_socket_shutdown" >&6; }
15485
if test "x$ac_cv_lib_socket_shutdown" = x""yes; then :
15486
cat >>confdefs.h <<_ACEOF
15487
#define HAVE_LIBSOCKET 1
15490
LIBS="-lsocket $LIBS"
15496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lc" >&5
15497
$as_echo_n "checking for inet_addr in -lc... " >&6; }
15498
if test "${ac_cv_lib_c_inet_addr+set}" = set; then :
15499
$as_echo_n "(cached) " >&6
15501
ac_check_lib_save_LIBS=$LIBS
15503
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15504
/* end confdefs.h. */
15506
/* Override any GCC internal prototype to avoid an error.
15507
Use char because int might match the return type of a GCC
15508
builtin and then its argument prototype would still apply. */
15516
return inet_addr ();
15521
if ac_fn_c_try_link "$LINENO"; then :
15522
ac_cv_lib_c_inet_addr=yes
15524
ac_cv_lib_c_inet_addr=no
15526
rm -f core conftest.err conftest.$ac_objext \
15527
conftest$ac_exeext conftest.$ac_ext
15528
LIBS=$ac_check_lib_save_LIBS
15530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inet_addr" >&5
15531
$as_echo "$ac_cv_lib_c_inet_addr" >&6; }
15532
if test "x$ac_cv_lib_c_inet_addr" = x""yes; then :
15535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
15536
$as_echo_n "checking for inet_addr in -lnsl... " >&6; }
15537
if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then :
15538
$as_echo_n "(cached) " >&6
15540
ac_check_lib_save_LIBS=$LIBS
15542
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15543
/* end confdefs.h. */
15545
/* Override any GCC internal prototype to avoid an error.
15546
Use char because int might match the return type of a GCC
15547
builtin and then its argument prototype would still apply. */
15555
return inet_addr ();
15560
if ac_fn_c_try_link "$LINENO"; then :
15561
ac_cv_lib_nsl_inet_addr=yes
15563
ac_cv_lib_nsl_inet_addr=no
15565
rm -f core conftest.err conftest.$ac_objext \
15566
conftest$ac_exeext conftest.$ac_ext
15567
LIBS=$ac_check_lib_save_LIBS
15569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
15570
$as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
15571
if test "x$ac_cv_lib_nsl_inet_addr" = x""yes; then :
15572
cat >>confdefs.h <<_ACEOF
15573
#define HAVE_LIBNSL 1
15582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lc" >&5
15583
$as_echo_n "checking for nanosleep in -lc... " >&6; }
15584
if test "${ac_cv_lib_c_nanosleep+set}" = set; then :
15585
$as_echo_n "(cached) " >&6
15587
ac_check_lib_save_LIBS=$LIBS
15589
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15590
/* end confdefs.h. */
15592
/* Override any GCC internal prototype to avoid an error.
15593
Use char because int might match the return type of a GCC
15594
builtin and then its argument prototype would still apply. */
15602
return nanosleep ();
15607
if ac_fn_c_try_link "$LINENO"; then :
15608
ac_cv_lib_c_nanosleep=yes
15610
ac_cv_lib_c_nanosleep=no
15612
rm -f core conftest.err conftest.$ac_objext \
15613
conftest$ac_exeext conftest.$ac_ext
15614
LIBS=$ac_check_lib_save_LIBS
15616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_nanosleep" >&5
15617
$as_echo "$ac_cv_lib_c_nanosleep" >&6; }
15618
if test "x$ac_cv_lib_c_nanosleep" = x""yes; then :
15621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lrt" >&5
15622
$as_echo_n "checking for nanosleep in -lrt... " >&6; }
15623
if test "${ac_cv_lib_rt_nanosleep+set}" = set; then :
15624
$as_echo_n "(cached) " >&6
15626
ac_check_lib_save_LIBS=$LIBS
15628
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15629
/* end confdefs.h. */
15631
/* Override any GCC internal prototype to avoid an error.
15632
Use char because int might match the return type of a GCC
15633
builtin and then its argument prototype would still apply. */
15641
return nanosleep ();
15646
if ac_fn_c_try_link "$LINENO"; then :
15647
ac_cv_lib_rt_nanosleep=yes
15649
ac_cv_lib_rt_nanosleep=no
15651
rm -f core conftest.err conftest.$ac_objext \
15652
conftest$ac_exeext conftest.$ac_ext
15653
LIBS=$ac_check_lib_save_LIBS
15655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_nanosleep" >&5
15656
$as_echo "$ac_cv_lib_rt_nanosleep" >&6; }
15657
if test "x$ac_cv_lib_rt_nanosleep" = x""yes; then :
15658
cat >>confdefs.h <<_ACEOF
15659
#define HAVE_LIBRT 1
15668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftime in -lcompat" >&5
15669
$as_echo_n "checking for ftime in -lcompat... " >&6; }
15670
if test "${ac_cv_lib_compat_ftime+set}" = set; then :
15671
$as_echo_n "(cached) " >&6
15673
ac_check_lib_save_LIBS=$LIBS
15674
LIBS="-lcompat $LIBS"
15675
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15676
/* end confdefs.h. */
15678
/* Override any GCC internal prototype to avoid an error.
15679
Use char because int might match the return type of a GCC
15680
builtin and then its argument prototype would still apply. */
15693
if ac_fn_c_try_link "$LINENO"; then :
15694
ac_cv_lib_compat_ftime=yes
15696
ac_cv_lib_compat_ftime=no
15698
rm -f core conftest.err conftest.$ac_objext \
15699
conftest$ac_exeext conftest.$ac_ext
15700
LIBS=$ac_check_lib_save_LIBS
15702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_compat_ftime" >&5
15703
$as_echo "$ac_cv_lib_compat_ftime" >&6; }
15704
if test "x$ac_cv_lib_compat_ftime" = x""yes; then :
15705
cat >>confdefs.h <<_ACEOF
15706
#define HAVE_LIBCOMPAT 1
15709
LIBS="-lcompat $LIBS"
15714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which threading environment to use" >&5
15715
$as_echo_n "checking which threading environment to use... " >&6; }
15716
# each host OS needs special threading flags
15719
LIBS="-pthread $LIBS"
15720
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -pthread" >&5
15721
$as_echo "-pthread" >&6; }
15724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -lpthread" >&5
15725
$as_echo "-lpthread" >&6; }
15726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
15727
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
15728
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
15729
$as_echo_n "(cached) " >&6
15731
ac_check_lib_save_LIBS=$LIBS
15732
LIBS="-lpthread $LIBS"
15733
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15734
/* end confdefs.h. */
15736
/* Override any GCC internal prototype to avoid an error.
15737
Use char because int might match the return type of a GCC
15738
builtin and then its argument prototype would still apply. */
15742
char pthread_create ();
15746
return pthread_create ();
15751
if ac_fn_c_try_link "$LINENO"; then :
15752
ac_cv_lib_pthread_pthread_create=yes
15754
ac_cv_lib_pthread_pthread_create=no
15756
rm -f core conftest.err conftest.$ac_objext \
15757
conftest$ac_exeext conftest.$ac_ext
15758
LIBS=$ac_check_lib_save_LIBS
15760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
15761
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
15762
if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
15763
cat >>confdefs.h <<_ACEOF
15764
#define HAVE_LIBPTHREAD 1
15767
LIBS="-lpthread $LIBS"
15773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -lpthread" >&5
15774
$as_echo "-lpthread" >&6; }
15775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
15776
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
15777
if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
15778
$as_echo_n "(cached) " >&6
15780
ac_check_lib_save_LIBS=$LIBS
15781
LIBS="-lpthread $LIBS"
15782
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15783
/* end confdefs.h. */
15785
/* Override any GCC internal prototype to avoid an error.
15786
Use char because int might match the return type of a GCC
15787
builtin and then its argument prototype would still apply. */
15791
char pthread_create ();
15795
return pthread_create ();
15800
if ac_fn_c_try_link "$LINENO"; then :
15801
ac_cv_lib_pthread_pthread_create=yes
15803
ac_cv_lib_pthread_pthread_create=no
15805
rm -f core conftest.err conftest.$ac_objext \
15806
conftest$ac_exeext conftest.$ac_ext
15807
LIBS=$ac_check_lib_save_LIBS
15809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
15810
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
15811
if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
15812
cat >>confdefs.h <<_ACEOF
15813
#define HAVE_LIBPTHREAD 1
15816
LIBS="-lpthread $LIBS"
15822
# maybe we have a usable libc for other OSes
15823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: -lc_r" >&5
15824
$as_echo "-lc_r" >&6; }
15825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
15826
$as_echo_n "checking for pthread_create in -lc_r... " >&6; }
15827
if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then :
15828
$as_echo_n "(cached) " >&6
15830
ac_check_lib_save_LIBS=$LIBS
15832
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15833
/* end confdefs.h. */
15835
/* Override any GCC internal prototype to avoid an error.
15836
Use char because int might match the return type of a GCC
15837
builtin and then its argument prototype would still apply. */
15841
char pthread_create ();
15845
return pthread_create ();
15850
if ac_fn_c_try_link "$LINENO"; then :
15851
ac_cv_lib_c_r_pthread_create=yes
15853
ac_cv_lib_c_r_pthread_create=no
15855
rm -f core conftest.err conftest.$ac_objext \
15856
conftest$ac_exeext conftest.$ac_ext
15857
LIBS=$ac_check_lib_save_LIBS
15859
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create" >&5
15860
$as_echo "$ac_cv_lib_c_r_pthread_create" >&6; }
15861
if test "x$ac_cv_lib_c_r_pthread_create" = x""yes; then :
15862
cat >>confdefs.h <<_ACEOF
15863
#define HAVE_LIBC_R 1
15873
# Checks for header files.
15874
for ac_header in stdio.h
15876
ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
15877
if test "x$ac_cv_header_stdio_h" = x""yes; then :
15878
cat >>confdefs.h <<_ACEOF
15879
#define HAVE_STDIO_H 1
15887
# Checks for typedefs, structures, and compiler characteristics.
15888
# AC_CHECK_BROKENSOEXCEPT
15892
ac_cpp='$CXXCPP $CPPFLAGS'
15893
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15894
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15895
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for STREAMS ioctl" >&5
15899
$as_echo_n "checking for STREAMS ioctl... " >&6; }
15900
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15901
/* end confdefs.h. */
15902
#include <sys/types.h>
15903
#include <stropts.h>
15904
#include <sys/conf.h>
15913
if ac_fn_cxx_try_compile "$LINENO"; then :
15914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15915
$as_echo "yes" >&6; }
15917
$as_echo "#define USING_STREAMS 1" >>confdefs.h
15920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15921
$as_echo "no" >&6; }
15923
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
15926
$as_echo_n "checking for socklen_t... " >&6; }
15927
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15928
/* end confdefs.h. */
15929
#include <unistd.h>
15930
#include <sys/types.h>
15931
#include <sys/socket.h>
15940
if ac_fn_cxx_try_compile "$LINENO"; then :
15941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15942
$as_echo "yes" >&6; }
15944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15945
$as_echo "no" >&6; }
15947
$as_echo "#define socklen_t int" >>confdefs.h
15950
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftime" >&5
15953
$as_echo_n "checking for ftime... " >&6; }
15954
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15955
/* end confdefs.h. */
15956
#include <sys/timeb.h>
15966
if ac_fn_cxx_try_compile "$LINENO"; then :
15971
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15973
if test $has_ftime = true
15974
then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15975
$as_echo "yes" >&6; }
15977
$as_echo "#define HAVE_FTIME 1" >>confdefs.h
15979
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15980
$as_echo "no" >&6; }
15982
if $has_ftime; then
15984
HAVE_FTIME_FALSE='#'
15986
HAVE_FTIME_TRUE='#'
15991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for set_terminate in the global namespace" >&5
15992
$as_echo_n "checking for set_terminate in the global namespace... " >&6; }
15993
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15994
/* end confdefs.h. */
15995
#include <exception>
16000
set_terminate(term);
16005
if ac_fn_cxx_try_compile "$LINENO"; then :
16006
set_terminate_is_global=true
16008
set_terminate_is_global=false
16010
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16012
if test $set_terminate_is_global = true
16013
then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16014
$as_echo "yes" >&6; }
16015
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16016
$as_echo "no" >&6; }
16017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for set_terminate in the std namespace" >&5
16018
$as_echo_n "checking for set_terminate in the std namespace... " >&6; }
16019
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16020
/* end confdefs.h. */
16021
#include <exception>
16026
std::set_terminate(term);
16031
if ac_fn_cxx_try_compile "$LINENO"; then :
16032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16033
$as_echo "yes" >&6; }
16035
$as_echo "#define TERMINATE_IN_STD 1" >>confdefs.h
16038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16039
$as_echo "no" >&6; }
16040
as_fn_error "unable to find set_terminate in std or global namespace" "$LINENO" 5
16042
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeinfo in the global namespace" >&5
16046
$as_echo_n "checking for typeinfo in the global namespace... " >&6; }
16047
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16048
/* end confdefs.h. */
16049
#include <typeinfo>
16053
const typeinfo& ty = typeid(typeinfo);
16058
if ac_fn_cxx_try_compile "$LINENO"; then :
16059
typeinfo_is_global=true
16061
typeinfo_is_global=false
16063
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16065
if test $typeinfo_is_global = true
16066
then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16067
$as_echo "yes" >&6; }
16068
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16069
$as_echo "no" >&6; }
16070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for typeinfo in the std namespace" >&5
16071
$as_echo_n "checking for typeinfo in the std namespace... " >&6; }
16072
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16073
/* end confdefs.h. */
16074
#include <typeinfo>
16078
const std::type_info& ty = typeid(std::type_info);
16083
if ac_fn_cxx_try_compile "$LINENO"; then :
16084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16085
$as_echo "yes" >&6; }
16087
$as_echo "#define TYPEINFO_IN_STD 1" >>confdefs.h
16090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16091
$as_echo "no" >&6; }
16092
as_fn_error "type_info is required by the test library" "$LINENO" 5
16094
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16097
# check for gethostbyname_r
16098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname_r with input result" >&5
16099
$as_echo_n "checking for gethostbyname_r with input result... " >&6; }
16100
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16101
/* end confdefs.h. */
16106
const char* name = "localhost";
16111
gethostbyname_r( name, &host, buf, sizeof(buf), &host_ptr, &error );
16117
if ac_fn_cxx_try_compile "$LINENO"; then :
16118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16119
$as_echo "yes" >&6; }
16121
$as_echo "#define GETHOSTBYNAME_R_INPUTS_RESULT 1" >>confdefs.h
16124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16125
$as_echo "no" >&6; }
16127
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16129
# check for boost::pool_allocator
16130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for boost::pool_allocator" >&5
16131
$as_echo_n "checking for boost::pool_allocator... " >&6; }
16132
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133
/* end confdefs.h. */
16134
#include <boost/pool/pool_alloc.hpp>
16139
std::vector<int, boost::pool_allocator<int> > x;
16144
if ac_fn_cxx_try_compile "$LINENO"; then :
16145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16146
$as_echo "yes" >&6; }
16148
$as_echo "#define HAVE_BOOST_POOL_ALLOCATOR 1" >>confdefs.h
16151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16152
$as_echo "no" >&6; }
16154
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16156
# check for boost::fast_pool_allocator
16157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for boost::fast_pool_allocator" >&5
16158
$as_echo_n "checking for boost::fast_pool_allocator... " >&6; }
16159
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16160
/* end confdefs.h. */
16161
#include <boost/pool/pool_alloc.hpp>
16166
std::vector<int, boost::fast_pool_allocator<int> > x;
16171
if ac_fn_cxx_try_compile "$LINENO"; then :
16172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16173
$as_echo "yes" >&6; }
16175
$as_echo "#define HAVE_BOOST_FAST_POOL_ALLOCATOR 1" >>confdefs.h
16178
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16179
$as_echo "no" >&6; }
16181
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16183
# check for __gnu_cxx::__pool_alloc
16184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking __gnu_cxx::__pool_alloc" >&5
16185
$as_echo_n "checking __gnu_cxx::__pool_alloc... " >&6; }
16186
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16187
/* end confdefs.h. */
16188
#include <ext/pool_allocator.h>
16193
std::vector<int, __gnu_cxx::__pool_alloc<int> > x;
16198
if ac_fn_cxx_try_compile "$LINENO"; then :
16199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16200
$as_echo "yes" >&6; }
16202
$as_echo "#define HAVE_POOL_ALLOCATOR 1" >>confdefs.h
16205
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16206
$as_echo "no" >&6; }
16208
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16210
# check for __gnu_cxx::__mt_alloc
16211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking __gnu_cxx::__mt_alloc" >&5
16212
$as_echo_n "checking __gnu_cxx::__mt_alloc... " >&6; }
16213
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16214
/* end confdefs.h. */
16215
#include <ext/mt_allocator.h>
16220
std::vector<int, __gnu_cxx::__mt_alloc<int> > x;
16225
if ac_fn_cxx_try_compile "$LINENO"; then :
16226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16227
$as_echo "yes" >&6; }
16229
$as_echo "#define HAVE_MT_ALLOCATOR 1" >>confdefs.h
16232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16233
$as_echo "no" >&6; }
16235
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16237
# check for __gnu_cxx::bitmap_allocator
16238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking __gnu_cxx::bitmap_allocator" >&5
16239
$as_echo_n "checking __gnu_cxx::bitmap_allocator... " >&6; }
16240
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16241
/* end confdefs.h. */
16242
#include <ext/bitmap_allocator.h>
16247
std::vector<int, __gnu_cxx::bitmap_allocator<int> > x;
16252
if ac_fn_cxx_try_compile "$LINENO"; then :
16253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16254
$as_echo "yes" >&6; }
16256
$as_echo "#define HAVE_BITMAP_ALLOCATOR 1" >>confdefs.h
16259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16260
$as_echo "no" >&6; }
16262
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16265
$as_echo "#define _REENTRANT 1" >>confdefs.h
16268
# Checks for library functions.
16270
ac_cpp='$CPP $CPPFLAGS'
16271
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16272
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16273
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cplus_demangle in -liberty" >&5
16277
$as_echo_n "checking for cplus_demangle in -liberty... " >&6; }
16278
if test "${ac_cv_lib_iberty_cplus_demangle+set}" = set; then :
16279
$as_echo_n "(cached) " >&6
16281
ac_check_lib_save_LIBS=$LIBS
16282
LIBS="-liberty $LIBS"
16283
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16284
/* end confdefs.h. */
16286
/* Override any GCC internal prototype to avoid an error.
16287
Use char because int might match the return type of a GCC
16288
builtin and then its argument prototype would still apply. */
16292
char cplus_demangle ();
16296
return cplus_demangle ();
16301
if ac_fn_c_try_link "$LINENO"; then :
16302
ac_cv_lib_iberty_cplus_demangle=yes
16304
ac_cv_lib_iberty_cplus_demangle=no
16306
rm -f core conftest.err conftest.$ac_objext \
16307
conftest$ac_exeext conftest.$ac_ext
16308
LIBS=$ac_check_lib_save_LIBS
16310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iberty_cplus_demangle" >&5
16311
$as_echo "$ac_cv_lib_iberty_cplus_demangle" >&6; }
16312
if test "x$ac_cv_lib_iberty_cplus_demangle" = x""yes; then :
16314
$as_echo "#define HAVE_CPLUS_DEMANGLE 1" >>confdefs.h
16316
LIBS="$LIBS -liberty"
16320
# Checks for runtime behavior
16321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if select modifies timeval parameter" >&5
16322
$as_echo_n "checking if select modifies timeval parameter... " >&6; }
16323
if test "$cross_compiling" = yes; then :
16324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unable to determine" >&5
16325
$as_echo "unable to determine" >&6; }
16327
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16328
/* end confdefs.h. */
16330
#include <unistd.h>
16331
#include <sys/types.h>
16332
#include <sys/time.h>
16333
int main(int argc, char** argv)
16338
select(0,0,0,0,&tv);
16339
return tv.tv_usec != 1 ? 0 : 1;
16343
if ac_fn_c_try_run "$LINENO"; then :
16344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16345
$as_echo "yes" >&6; }
16347
$as_echo "#define SELECT_MODIFIES_TIMEVAL 1" >>confdefs.h
16350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16351
$as_echo "no" >&6; }
16353
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16354
conftest.$ac_objext conftest.beam conftest.$ac_ext
16358
ac_config_files="$ac_config_files quickfix.pc Makefile src/Makefile src/C++/Makefile src/C++/test/Makefile src/python/Makefile src/ruby/Makefile bin/Makefile bin/cfg/Makefile spec/Makefile test/Makefile test/atrun/Makefile test/cfg/Makefile test/definitions/Makefile test/definitions/server/Makefile test/definitions/server/future/Makefile examples/Makefile examples/executor/Makefile examples/executor/C++/Makefile examples/ordermatch/Makefile examples/ordermatch/test/Makefile examples/tradeclient/Makefile examples/tradeclientgui/Makefile examples/tradeclientgui/banzai/Makefile examples/tradeclientgui/banzai/test/Makefile examples/tradeclientgui/banzai/src/Makefile examples/tradeclientgui/banzai/src/quickfix/Makefile examples/tradeclientgui/banzai/src/quickfix/banzai/Makefile examples/tradeclientgui/banzai/src/quickfix/banzai/ui/Makefile doc/Makefile doc/html/Makefile"
16360
cat >confcache <<\_ACEOF
16361
# This file is a shell script that caches the results of configure
16362
# tests run on this system so they can be shared between configure
16363
# scripts and configure runs, see configure's option --config-cache.
16364
# It is not useful on other systems. If it contains results you don't
16365
# want to keep, you may remove or edit it.
16367
# config.status only pays attention to the cache file if you give it
16368
# the --recheck option to rerun configure.
16370
# `ac_cv_env_foo' variables (set or unset) will be overridden when
16371
# loading this file, other *unset* `ac_cv_foo' will be assigned the
16372
# following values.
16376
# The following way of writing the cache mishandles newlines in values,
16377
# but we know of no workaround that is simple, portable, and efficient.
16378
# So, we kill variables containing newlines.
16379
# Ultrix sh set writes to stderr and can't be redirected directly,
16380
# and sets the high bit in the cache file unless we assign to the vars.
16382
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16383
eval ac_val=\$$ac_var
16387
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16388
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16391
_ | IFS | as_nl) ;; #(
16392
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16393
*) { eval $ac_var=; unset $ac_var;} ;;
16399
case $as_nl`(ac_space=' '; set) 2>&1` in #(
16400
*${as_nl}ac_space=\ *)
16401
# `set' does not quote correctly, so add quotes: double-quote
16402
# substitution turns \\\\ into \\, and sed turns \\ into \.
16405
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16408
# `set' quotes correctly as required by POSIX, so do not add quotes.
16409
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16418
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16420
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16422
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16423
if test -w "$cache_file"; then
16424
test "x$cache_file" != "x/dev/null" &&
16425
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16426
$as_echo "$as_me: updating cache $cache_file" >&6;}
16427
cat confcache >$cache_file
16429
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16430
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16435
test "x$prefix" = xNONE && prefix=$ac_default_prefix
16436
# Let make expand exec_prefix.
16437
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16439
DEFS=-DHAVE_CONFIG_H
16443
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16444
# 1. Remove the extension, and $U if already installed.
16445
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16446
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16447
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16448
# will be set to the directory where LIBOBJS objects are built.
16449
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16450
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16452
LIBOBJS=$ac_libobjs
16454
LTLIBOBJS=$ac_ltlibobjs
16457
if test -n "$EXEEXT"; then
16459
am__EXEEXT_FALSE='#'
16461
am__EXEEXT_TRUE='#'
16465
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16466
as_fn_error "conditional \"AMDEP\" was never defined.
16467
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16469
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16470
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
16471
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16473
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16474
as_fn_error "conditional \"am__fastdepCC\" was never defined.
16475
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16477
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16478
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
16479
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16481
if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then
16482
as_fn_error "conditional \"HAVE_PYTHON\" was never defined.
16483
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16485
if test -z "${HAVE_RUBY_TRUE}" && test -z "${HAVE_RUBY_FALSE}"; then
16486
as_fn_error "conditional \"HAVE_RUBY\" was never defined.
16487
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16489
if test -z "${HAVE_JAVA_TRUE}" && test -z "${HAVE_JAVA_FALSE}"; then
16490
as_fn_error "conditional \"HAVE_JAVA\" was never defined.
16491
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16493
if test -z "${HAVE_FTIME_TRUE}" && test -z "${HAVE_FTIME_FALSE}"; then
16494
as_fn_error "conditional \"HAVE_FTIME\" was never defined.
16495
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16498
: ${CONFIG_STATUS=./config.status}
16500
ac_clean_files_save=$ac_clean_files
16501
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16502
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16503
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16505
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16507
# Generated by $as_me.
16508
# Run this file to recreate the current configuration.
16509
# Compiler output produced by configure, useful for debugging
16510
# configure, is in config.log if it exists.
16513
ac_cs_recheck=false
16516
SHELL=\${CONFIG_SHELL-$SHELL}
16519
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16520
## -------------------- ##
16521
## M4sh Initialization. ##
16522
## -------------------- ##
16524
# Be more Bourne compatible
16525
DUALCASE=1; export DUALCASE # for MKS sh
16526
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16529
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16530
# is contrary to our usage. Disable this feature.
16531
alias -g '${1+"$@"}'='"$@"'
16532
setopt NO_GLOB_SUBST
16534
case `(set -o) 2>/dev/null` in #(
16546
# Printing a long string crashes Solaris 7 /usr/bin/printf.
16547
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16548
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16549
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16550
# Prefer a ksh shell builtin over an external printf program on Solaris,
16551
# but without wasting forks for bash or zsh.
16552
if test -z "$BASH_VERSION$ZSH_VERSION" \
16553
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16554
as_echo='print -r --'
16555
as_echo_n='print -rn --'
16556
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16557
as_echo='printf %s\n'
16558
as_echo_n='printf %s'
16560
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16561
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16562
as_echo_n='/usr/ucb/echo -n'
16564
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16565
as_echo_n_body='eval
16569
expr "X$arg" : "X\\(.*\\)$as_nl";
16570
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16572
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16574
export as_echo_n_body
16575
as_echo_n='sh -c $as_echo_n_body as_echo'
16577
export as_echo_body
16578
as_echo='sh -c $as_echo_body as_echo'
16581
# The user is always right.
16582
if test "${PATH_SEPARATOR+set}" != set; then
16584
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16585
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16592
# We need space, tab and new line, in precisely that order. Quoting is
16593
# there to prevent editors from complaining about space-tab.
16594
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16595
# splitting by setting IFS to empty value.)
16598
# Find who we are. Look in the path if we contain no directory separator.
16600
*[\\/]* ) as_myself=$0 ;;
16601
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16602
for as_dir in $PATH
16605
test -z "$as_dir" && as_dir=.
16606
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16612
# We did not find ourselves, most probably we were run as `sh COMMAND'
16613
# in which case we are not to be found in the path.
16614
if test "x$as_myself" = x; then
16617
if test ! -f "$as_myself"; then
16618
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16622
# Unset variables that we do not need and which cause bugs (e.g. in
16623
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16624
# suppresses any "Segmentation fault" message there. '((' could
16625
# trigger a bug in pdksh 5.2.14.
16626
for as_var in BASH_ENV ENV MAIL MAILPATH
16627
do eval test x\${$as_var+set} = xset \
16628
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16641
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16644
# as_fn_error ERROR [LINENO LOG_FD]
16645
# ---------------------------------
16646
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16647
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16648
# script with status $?, using 1 if that was 0.
16651
as_status=$?; test $as_status -eq 0 && as_status=1
16653
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16654
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16656
$as_echo "$as_me: error: $1" >&2
16657
as_fn_exit $as_status
16661
# as_fn_set_status STATUS
16662
# -----------------------
16663
# Set $? to STATUS, without forking.
16664
as_fn_set_status ()
16667
} # as_fn_set_status
16669
# as_fn_exit STATUS
16670
# -----------------
16671
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16675
as_fn_set_status $1
16681
# Portably unset VAR.
16684
{ eval $1=; unset $1;}
16686
as_unset=as_fn_unset
16687
# as_fn_append VAR VALUE
16688
# ----------------------
16689
# Append the text in VALUE to the end of the definition contained in VAR. Take
16690
# advantage of any shell optimizations that allow amortized linear growth over
16691
# repeated appends, instead of the typical quadratic growth present in naive
16693
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16694
eval 'as_fn_append ()
16705
# as_fn_arith ARG...
16706
# ------------------
16707
# Perform arithmetic evaluation on the ARGs, and store the result in the
16708
# global $as_val. Take advantage of shells that can avoid forks. The arguments
16709
# must be portable across $(()) and expr.
16710
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16711
eval 'as_fn_arith ()
16718
as_val=`expr "$@" || test $? -eq 1`
16723
if expr a : '\(a\)' >/dev/null 2>&1 &&
16724
test "X`expr 00001 : '.*\(...\)'`" = X001; then
16730
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16731
as_basename=basename
16736
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16742
as_me=`$as_basename -- "$0" ||
16743
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16744
X"$0" : 'X\(//\)$' \| \
16745
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16747
sed '/^.*\/\([^/][^/]*\)\/*$/{
16761
# Avoid depending upon Character Ranges.
16762
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16763
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16764
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16765
as_cr_digits='0123456789'
16766
as_cr_alnum=$as_cr_Letters$as_cr_digits
16768
ECHO_C= ECHO_N= ECHO_T=
16769
case `echo -n x` in #(((((
16771
case `echo 'xy\c'` in
16772
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
16774
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16781
rm -f conf$$ conf$$.exe conf$$.file
16782
if test -d conf$$.dir; then
16783
rm -f conf$$.dir/conf$$.file
16786
mkdir conf$$.dir 2>/dev/null
16788
if (echo >conf$$.file) 2>/dev/null; then
16789
if ln -s conf$$.file conf$$ 2>/dev/null; then
16791
# ... but there are two gotchas:
16792
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16793
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16794
# In both cases, we have to default to `cp -p'.
16795
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16797
elif ln conf$$.file conf$$ 2>/dev/null; then
16805
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16806
rmdir conf$$.dir 2>/dev/null
16811
# Create "$as_dir" as a directory, including parents if necessary.
16816
-*) as_dir=./$as_dir;;
16818
test -d "$as_dir" || eval $as_mkdir_p || {
16822
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16823
*) as_qdir=$as_dir;;
16825
as_dirs="'$as_qdir' $as_dirs"
16826
as_dir=`$as_dirname -- "$as_dir" ||
16827
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16828
X"$as_dir" : 'X\(//\)[^/]' \| \
16829
X"$as_dir" : 'X\(//\)$' \| \
16830
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16831
$as_echo X"$as_dir" |
16832
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16836
/^X\(\/\/\)[^/].*/{
16849
test -d "$as_dir" && break
16851
test -z "$as_dirs" || eval "mkdir $as_dirs"
16852
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16856
if mkdir -p . 2>/dev/null; then
16857
as_mkdir_p='mkdir -p "$as_dir"'
16859
test -d ./-p && rmdir ./-p
16863
if test -x / >/dev/null 2>&1; then
16864
as_test_x='test -x'
16866
if ls -dL / >/dev/null 2>&1; then
16873
if test -d "$1"; then
16879
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16880
???[sx]*):;;*)false;;esac;fi
16884
as_executable_p=$as_test_x
16886
# Sed expression to map a string onto a valid CPP name.
16887
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16889
# Sed expression to map a string onto a valid variable name.
16890
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16894
## ----------------------------------- ##
16895
## Main body of $CONFIG_STATUS script. ##
16896
## ----------------------------------- ##
16898
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16900
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16901
# Save the log message, to keep $0 and so on meaningful, and to
16902
# report actual input values of CONFIG_FILES etc. instead of their
16903
# values after options handling.
16905
This file was extended by $as_me, which was
16906
generated by GNU Autoconf 2.64. Invocation command line was
16908
CONFIG_FILES = $CONFIG_FILES
16909
CONFIG_HEADERS = $CONFIG_HEADERS
16910
CONFIG_LINKS = $CONFIG_LINKS
16911
CONFIG_COMMANDS = $CONFIG_COMMANDS
16914
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16919
case $ac_config_files in *"
16920
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16923
case $ac_config_headers in *"
16924
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16928
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16929
# Files that config.status was made for.
16930
config_files="$ac_config_files"
16931
config_headers="$ac_config_headers"
16932
config_commands="$ac_config_commands"
16936
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16938
\`$as_me' instantiates files and other configuration actions
16939
from templates according to the current configuration. Unless the files
16940
and actions are specified as TAGs, all are instantiated by default.
16942
Usage: $0 [OPTION]... [TAG]...
16944
-h, --help print this help, then exit
16945
-V, --version print version number and configuration settings, then exit
16946
-q, --quiet, --silent
16947
do not print progress messages
16948
-d, --debug don't remove temporary files
16949
--recheck update $as_me by reconfiguring in the same conditions
16950
--file=FILE[:TEMPLATE]
16951
instantiate the configuration file FILE
16952
--header=FILE[:TEMPLATE]
16953
instantiate the configuration header FILE
16955
Configuration files:
16958
Configuration headers:
16961
Configuration commands:
16964
Report bugs to the package provider."
16967
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16970
configured by $0, generated by GNU Autoconf 2.64,
16971
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16973
Copyright (C) 2009 Free Software Foundation, Inc.
16974
This config.status script is free software; the Free Software Foundation
16975
gives unlimited permission to copy, distribute and modify it."
16982
test -n "\$AWK" || AWK=awk
16985
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16986
# The default lists apply if the user does not specify any file.
16992
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16993
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17004
# Handling of the options.
17005
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17007
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17008
$as_echo "$ac_cs_version"; exit ;;
17009
--debug | --debu | --deb | --de | --d | -d )
17011
--file | --fil | --fi | --f )
17014
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17016
as_fn_append CONFIG_FILES " '$ac_optarg'"
17017
ac_need_defaults=false;;
17018
--header | --heade | --head | --hea )
17021
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17023
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17024
ac_need_defaults=false;;
17026
# Conflict between --help and --header
17027
as_fn_error "ambiguous option: \`$1'
17028
Try \`$0 --help' for more information.";;
17029
--help | --hel | -h )
17030
$as_echo "$ac_cs_usage"; exit ;;
17031
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
17032
| -silent | --silent | --silen | --sile | --sil | --si | --s)
17035
# This is an error.
17036
-*) as_fn_error "unrecognized option: \`$1'
17037
Try \`$0 --help' for more information." ;;
17039
*) as_fn_append ac_config_targets " $1"
17040
ac_need_defaults=false ;;
17046
ac_configure_extra_args=
17048
if $ac_cs_silent; then
17050
ac_configure_extra_args="$ac_configure_extra_args --silent"
17054
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17055
if \$ac_cs_recheck; then
17056
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17058
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17059
CONFIG_SHELL='$SHELL'
17060
export CONFIG_SHELL
17065
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17069
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17070
## Running $as_me. ##
17076
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17080
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17083
# The HP-UX ksh and POSIX shell print the target directory to stdout
17084
# if CDPATH is set.
17085
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17087
sed_quote_subst='$sed_quote_subst'
17088
double_quote_subst='$double_quote_subst'
17089
delay_variable_subst='$delay_variable_subst'
17090
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17091
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
17092
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17093
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17094
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17095
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17096
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17097
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17098
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17099
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17100
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17101
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17102
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17103
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17104
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17105
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17106
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17107
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17108
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17109
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17110
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17111
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17112
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17113
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17114
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17115
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17116
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17117
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17118
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17119
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17120
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17121
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17122
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17123
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17124
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17125
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17126
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17127
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17128
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17129
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17130
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17131
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17132
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17133
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17134
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17135
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17136
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"`'
17137
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"`'
17138
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17139
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17140
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17141
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17142
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17143
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17144
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17145
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17146
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17147
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17148
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17149
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17150
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17151
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17152
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17153
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17154
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17155
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17156
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17157
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17158
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17159
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17160
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17161
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17162
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17163
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17164
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17165
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17166
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17167
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17168
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17169
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17170
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17171
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17172
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17173
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17174
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17175
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17176
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17177
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17178
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17179
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17180
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17181
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17182
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17183
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17184
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17185
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17186
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17187
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17188
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17189
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17190
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17191
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17192
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17193
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17194
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17195
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17196
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17197
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17198
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17199
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17200
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17201
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17202
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17203
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17204
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17205
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17206
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17207
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17208
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17209
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17210
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
17211
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17212
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
17213
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
17214
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
17215
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
17216
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17217
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17218
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17219
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17220
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17221
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17222
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17223
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17224
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17225
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17226
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17227
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17228
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17229
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17230
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17231
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17232
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17233
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17234
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17235
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17236
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17237
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17238
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17239
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17240
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17241
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17242
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17243
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17244
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17245
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17246
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17247
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17248
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17249
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17250
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17251
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17252
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17253
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17254
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17255
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17256
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17257
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17258
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17259
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17260
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17261
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17262
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
17265
LTCFLAGS='$LTCFLAGS'
17266
compiler='$compiler_DEFAULT'
17268
# Quote evaled strings.
17279
deplibs_check_method \
17288
lt_cv_sys_global_symbol_pipe \
17289
lt_cv_sys_global_symbol_to_cdecl \
17290
lt_cv_sys_global_symbol_to_c_name_address \
17291
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17294
lt_prog_compiler_no_builtin_flag \
17295
lt_prog_compiler_wl \
17296
lt_prog_compiler_pic \
17297
lt_prog_compiler_static \
17298
lt_cv_prog_compiler_c_o \
17306
export_dynamic_flag_spec \
17307
whole_archive_flag_spec \
17308
compiler_needs_object \
17310
allow_undefined_flag \
17311
no_undefined_flag \
17312
hardcode_libdir_flag_spec \
17313
hardcode_libdir_flag_spec_ld \
17314
hardcode_libdir_separator \
17319
variables_saved_for_relink \
17321
library_names_spec \
17326
compiler_lib_search_dirs \
17331
compiler_lib_search_path \
17334
lt_prog_compiler_no_builtin_flag_CXX \
17335
lt_prog_compiler_wl_CXX \
17336
lt_prog_compiler_pic_CXX \
17337
lt_prog_compiler_static_CXX \
17338
lt_cv_prog_compiler_c_o_CXX \
17339
export_dynamic_flag_spec_CXX \
17340
whole_archive_flag_spec_CXX \
17341
compiler_needs_object_CXX \
17343
allow_undefined_flag_CXX \
17344
no_undefined_flag_CXX \
17345
hardcode_libdir_flag_spec_CXX \
17346
hardcode_libdir_flag_spec_ld_CXX \
17347
hardcode_libdir_separator_CXX \
17348
fix_srcfile_path_CXX \
17349
exclude_expsyms_CXX \
17350
include_expsyms_CXX \
17351
file_list_spec_CXX \
17352
compiler_lib_search_dirs_CXX \
17353
predep_objects_CXX \
17354
postdep_objects_CXX \
17357
compiler_lib_search_path_CXX; do
17358
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17359
*[\\\\\\\`\\"\\\$]*)
17360
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17363
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17368
# Double-quote double-evaled strings.
17369
for var in reload_cmds \
17370
old_postinstall_cmds \
17371
old_postuninstall_cmds \
17373
extract_expsyms_cmds \
17374
old_archive_from_new_cmds \
17375
old_archive_from_expsyms_cmds \
17377
archive_expsym_cmds \
17379
module_expsym_cmds \
17380
export_symbols_cmds \
17383
postuninstall_cmds \
17385
sys_lib_search_path_spec \
17386
sys_lib_dlsearch_path_spec \
17387
old_archive_cmds_CXX \
17388
old_archive_from_new_cmds_CXX \
17389
old_archive_from_expsyms_cmds_CXX \
17391
archive_expsym_cmds_CXX \
17393
module_expsym_cmds_CXX \
17394
export_symbols_cmds_CXX \
17395
prelink_cmds_CXX; do
17396
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17397
*[\\\\\\\`\\"\\\$]*)
17398
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17401
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17406
# Fix-up fallback echo if it was mangled by the above quoting rules.
17408
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17412
ac_aux_dir='$ac_aux_dir'
17413
xsi_shell='$xsi_shell'
17414
lt_shell_append='$lt_shell_append'
17416
# See if we are running on zsh, and set the options which allow our
17417
# commands through without removal of \ escapes INIT.
17418
if test -n "\${ZSH_VERSION+set}" ; then
17419
setopt NO_GLOB_SUBST
17425
TIMESTAMP='$TIMESTAMP'
17436
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17438
# Handling of arguments.
17439
for ac_config_target in $ac_config_targets
17441
case $ac_config_target in
17442
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17443
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17444
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17445
"quickfix.pc") CONFIG_FILES="$CONFIG_FILES quickfix.pc" ;;
17446
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17447
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17448
"src/C++/Makefile") CONFIG_FILES="$CONFIG_FILES src/C++/Makefile" ;;
17449
"src/C++/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/C++/test/Makefile" ;;
17450
"src/python/Makefile") CONFIG_FILES="$CONFIG_FILES src/python/Makefile" ;;
17451
"src/ruby/Makefile") CONFIG_FILES="$CONFIG_FILES src/ruby/Makefile" ;;
17452
"bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;;
17453
"bin/cfg/Makefile") CONFIG_FILES="$CONFIG_FILES bin/cfg/Makefile" ;;
17454
"spec/Makefile") CONFIG_FILES="$CONFIG_FILES spec/Makefile" ;;
17455
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
17456
"test/atrun/Makefile") CONFIG_FILES="$CONFIG_FILES test/atrun/Makefile" ;;
17457
"test/cfg/Makefile") CONFIG_FILES="$CONFIG_FILES test/cfg/Makefile" ;;
17458
"test/definitions/Makefile") CONFIG_FILES="$CONFIG_FILES test/definitions/Makefile" ;;
17459
"test/definitions/server/Makefile") CONFIG_FILES="$CONFIG_FILES test/definitions/server/Makefile" ;;
17460
"test/definitions/server/future/Makefile") CONFIG_FILES="$CONFIG_FILES test/definitions/server/future/Makefile" ;;
17461
"examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17462
"examples/executor/Makefile") CONFIG_FILES="$CONFIG_FILES examples/executor/Makefile" ;;
17463
"examples/executor/C++/Makefile") CONFIG_FILES="$CONFIG_FILES examples/executor/C++/Makefile" ;;
17464
"examples/ordermatch/Makefile") CONFIG_FILES="$CONFIG_FILES examples/ordermatch/Makefile" ;;
17465
"examples/ordermatch/test/Makefile") CONFIG_FILES="$CONFIG_FILES examples/ordermatch/test/Makefile" ;;
17466
"examples/tradeclient/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclient/Makefile" ;;
17467
"examples/tradeclientgui/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclientgui/Makefile" ;;
17468
"examples/tradeclientgui/banzai/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclientgui/banzai/Makefile" ;;
17469
"examples/tradeclientgui/banzai/test/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclientgui/banzai/test/Makefile" ;;
17470
"examples/tradeclientgui/banzai/src/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclientgui/banzai/src/Makefile" ;;
17471
"examples/tradeclientgui/banzai/src/quickfix/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclientgui/banzai/src/quickfix/Makefile" ;;
17472
"examples/tradeclientgui/banzai/src/quickfix/banzai/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclientgui/banzai/src/quickfix/banzai/Makefile" ;;
17473
"examples/tradeclientgui/banzai/src/quickfix/banzai/ui/Makefile") CONFIG_FILES="$CONFIG_FILES examples/tradeclientgui/banzai/src/quickfix/banzai/ui/Makefile" ;;
17474
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17475
"doc/html/Makefile") CONFIG_FILES="$CONFIG_FILES doc/html/Makefile" ;;
17477
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17482
# If the user did not use the arguments to specify the items to instantiate,
17483
# then the envvar interface is used. Set only those that are not.
17484
# We use the long form for the default assignment because of an extremely
17485
# bizarre bug on SunOS 4.1.3.
17486
if $ac_need_defaults; then
17487
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17488
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17489
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17492
# Have a temporary directory for convenience. Make it in the build tree
17493
# simply because there is no reason against having it here, and in addition,
17494
# creating and moving files from /tmp can sometimes cause problems.
17495
# Hook for its removal unless debugging.
17496
# Note that there is a small window in which the directory will not be cleaned:
17497
# after its creation but before its name has been assigned to `$tmp'.
17501
trap 'exit_status=$?
17502
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17504
trap 'as_fn_exit 1' 1 2 13 15
17506
# Create a (secure) tmp directory for tmp files.
17509
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17510
test -n "$tmp" && test -d "$tmp"
17513
tmp=./conf$$-$RANDOM
17514
(umask 077 && mkdir "$tmp")
17515
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
17517
# Set up the scripts for CONFIG_FILES section.
17518
# No need to generate them if there are no CONFIG_FILES.
17519
# This happens for instance with `./config.status config.h'.
17520
if test -n "$CONFIG_FILES"; then
17523
ac_cr=`echo X | tr X '\015'`
17524
# On cygwin, bash can eat \r inside `` if the user requested igncr.
17525
# But we know of no other shell where ac_cr would be empty at this
17526
# point, so we can use a bashism as a fallback.
17527
if test "x$ac_cr" = x; then
17528
eval ac_cr=\$\'\\r\'
17530
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17531
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17534
ac_cs_awk_cr=$ac_cr
17537
echo 'BEGIN {' >"$tmp/subs1.awk" &&
17542
echo "cat >conf$$subs.awk <<_ACEOF" &&
17543
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17545
} >conf$$subs.sh ||
17546
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17547
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17549
for ac_last_try in false false false false false :; do
17550
. ./conf$$subs.sh ||
17551
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17553
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17554
if test $ac_delim_n = $ac_delim_num; then
17556
elif $ac_last_try; then
17557
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17559
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17562
rm -f conf$$subs.sh
17564
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17565
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17569
s/^/S["/; s/!.*/"]=/
17579
s/\(.\{148\}\).*/\1/
17581
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17586
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17593
s/\(.\{148\}\).*/\1/
17595
s/["\\]/\\&/g; s/^/"/; s/$/"/
17599
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17604
' <conf$$subs.awk | sed '
17609
' >>$CONFIG_STATUS || ac_write_fail=1
17610
rm -f conf$$subs.awk
17611
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17613
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17614
for (key in S) S_is_set[key] = 1
17620
nfields = split(line, field, "@")
17622
len = length(field[1])
17623
for (i = 2; i < nfields; i++) {
17625
keylen = length(key)
17626
if (S_is_set[key]) {
17628
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17629
len += length(value) + length(field[++i])
17640
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17641
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17642
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17645
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17646
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
17649
# VPATH may cause trouble with some makes, so we remove $(srcdir),
17650
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17651
# trailing colons and then remove the whole line if VPATH becomes empty
17652
# (actually we leave an empty line to preserve line numbers).
17653
if test "x$srcdir" = x.; then
17654
ac_vpsub='/^[ ]*VPATH[ ]*=/{
17655
s/:*\$(srcdir):*/:/
17656
s/:*\${srcdir}:*/:/
17658
s/^\([^=]*=[ ]*\):*/\1/
17664
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17665
fi # test -n "$CONFIG_FILES"
17667
# Set up the scripts for CONFIG_HEADERS section.
17668
# No need to generate them if there are no CONFIG_HEADERS.
17669
# This happens for instance with `./config.status Makefile'.
17670
if test -n "$CONFIG_HEADERS"; then
17671
cat >"$tmp/defines.awk" <<\_ACAWK ||
17675
# Transform confdefs.h into an awk script `defines.awk', embedded as
17676
# here-document in config.status, that substitutes the proper values into
17677
# config.h.in to produce config.h.
17679
# Create a delimiter string that does not exist in confdefs.h, to ease
17680
# handling of long lines.
17682
for ac_last_try in false false :; do
17683
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17684
if test -z "$ac_t"; then
17686
elif $ac_last_try; then
17687
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
17689
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17693
# For the awk script, D is an array of macro values keyed by name,
17694
# likewise P contains macro parameters if any. Preserve backslash
17695
# newline sequences.
17697
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17699
s/.\{148\}/&'"$ac_delim"'/g
17702
s/^[ ]*#[ ]*define[ ][ ]*/ /
17709
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17711
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17715
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17716
D["\1"]=" \3\\\\\\n"\\/p
17718
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17723
s/.\{148\}/&'"$ac_delim"'/g
17728
s/["\\]/\\&/g; s/^/"/; s/$/"/p
17731
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17733
' <confdefs.h | sed '
17734
s/'"$ac_delim"'/"\\\
17735
"/g' >>$CONFIG_STATUS || ac_write_fail=1
17737
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17738
for (key in D) D_is_set[key] = 1
17741
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17743
split(line, arg, " ")
17744
if (arg[1] == "#") {
17748
defundef = substr(arg[1], 2)
17751
split(mac1, mac2, "(") #)
17753
prefix = substr(line, 1, index(line, defundef) - 1)
17754
if (D_is_set[macro]) {
17755
# Preserve the white space surrounding the "#".
17756
print prefix "define", macro P[macro] D[macro]
17759
# Replace #undef with comments. This is necessary, for example,
17760
# in the case of _POSIX_SOURCE, which is predefined and required
17761
# on some systems where configure will not decide to define it.
17762
if (defundef == "undef") {
17763
print "/*", prefix defundef, macro, "*/"
17771
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17772
as_fn_error "could not setup config headers machinery" "$LINENO" 5
17773
fi # test -n "$CONFIG_HEADERS"
17776
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17781
:[FHLC]) ac_mode=$ac_tag; continue;;
17783
case $ac_mode$ac_tag in
17785
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
17786
:[FH]-) ac_tag=-:-;;
17787
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17804
-) ac_f="$tmp/stdin";;
17805
*) # Look for the file first in the build tree, then in the source tree
17806
# (if the path is not absolute). The absolute path cannot be DOS-style,
17807
# because $ac_f cannot contain `:'.
17811
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17813
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17815
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17816
as_fn_append ac_file_inputs " '$ac_f'"
17819
# Let's still pretend it is `configure' which instantiates (i.e., don't
17820
# use $as_me), people would be surprised to read:
17821
# /* config.h. Generated by config.status. */
17822
configure_input='Generated from '`
17823
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17825
if test x"$ac_file" != x-; then
17826
configure_input="$ac_file. $configure_input"
17827
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17828
$as_echo "$as_me: creating $ac_file" >&6;}
17830
# Neutralize special characters interpreted by sed in replacement strings.
17831
case $configure_input in #(
17832
*\&* | *\|* | *\\* )
17833
ac_sed_conf_input=`$as_echo "$configure_input" |
17834
sed 's/[\\\\&|]/\\\\&/g'`;; #(
17835
*) ac_sed_conf_input=$configure_input;;
17839
*:-:* | *:-) cat >"$tmp/stdin" \
17840
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
17845
ac_dir=`$as_dirname -- "$ac_file" ||
17846
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17847
X"$ac_file" : 'X\(//\)[^/]' \| \
17848
X"$ac_file" : 'X\(//\)$' \| \
17849
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17850
$as_echo X"$ac_file" |
17851
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17855
/^X\(\/\/\)[^/].*/{
17868
as_dir="$ac_dir"; as_fn_mkdir_p
17872
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17874
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17875
# A ".." for each directory in $ac_dir_suffix.
17876
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17877
case $ac_top_builddir_sub in
17878
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17879
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17882
ac_abs_top_builddir=$ac_pwd
17883
ac_abs_builddir=$ac_pwd$ac_dir_suffix
17884
# for backward compatibility:
17885
ac_top_builddir=$ac_top_build_prefix
17888
.) # We are building in place.
17890
ac_top_srcdir=$ac_top_builddir_sub
17891
ac_abs_top_srcdir=$ac_pwd ;;
17892
[\\/]* | ?:[\\/]* ) # Absolute name.
17893
ac_srcdir=$srcdir$ac_dir_suffix;
17894
ac_top_srcdir=$srcdir
17895
ac_abs_top_srcdir=$srcdir ;;
17896
*) # Relative name.
17897
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17898
ac_top_srcdir=$ac_top_build_prefix$srcdir
17899
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17901
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17911
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17912
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17914
ac_MKDIR_P=$MKDIR_P
17916
[\\/$]* | ?:[\\/]* ) ;;
17917
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17921
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17922
# If the template does not know about datarootdir, expand it.
17923
# FIXME: This hack should be removed a few years after 2.60.
17924
ac_datarootdir_hack=; ac_datarootdir_seen=
17935
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17936
*datarootdir*) ac_datarootdir_seen=yes;;
17937
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17938
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17939
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17941
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17942
ac_datarootdir_hack='
17943
s&@datadir@&$datadir&g
17944
s&@docdir@&$docdir&g
17945
s&@infodir@&$infodir&g
17946
s&@localedir@&$localedir&g
17947
s&@mandir@&$mandir&g
17948
s&\\\${datarootdir}&$datarootdir&g' ;;
17952
# Neutralize VPATH when `$srcdir' = `.'.
17953
# Shell code in configure.ac might set extrasub.
17954
# FIXME: do we really want to maintain this feature?
17955
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17956
ac_sed_extra="$ac_vpsub
17959
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17961
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17962
s|@configure_input@|$ac_sed_conf_input|;t t
17963
s&@top_builddir@&$ac_top_builddir_sub&;t t
17964
s&@top_build_prefix@&$ac_top_build_prefix&;t t
17965
s&@srcdir@&$ac_srcdir&;t t
17966
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17967
s&@top_srcdir@&$ac_top_srcdir&;t t
17968
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17969
s&@builddir@&$ac_builddir&;t t
17970
s&@abs_builddir@&$ac_abs_builddir&;t t
17971
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17972
s&@INSTALL@&$ac_INSTALL&;t t
17973
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17974
$ac_datarootdir_hack
17976
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17977
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17979
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17980
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17981
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17982
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17983
which seems to be undefined. Please make sure it is defined." >&5
17984
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17985
which seems to be undefined. Please make sure it is defined." >&2;}
17989
-) cat "$tmp/out" && rm -f "$tmp/out";;
17990
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17992
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17998
if test x"$ac_file" != x-; then
18000
$as_echo "/* $configure_input */" \
18001
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18002
} >"$tmp/config.h" \
18003
|| as_fn_error "could not create $ac_file" "$LINENO" 5
18004
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18005
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18006
$as_echo "$as_me: $ac_file is unchanged" >&6;}
18009
mv "$tmp/config.h" "$ac_file" \
18010
|| as_fn_error "could not create $ac_file" "$LINENO" 5
18013
$as_echo "/* $configure_input */" \
18014
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18015
|| as_fn_error "could not create -" "$LINENO" 5
18017
# Compute "$ac_file"'s index in $config_headers.
18020
for _am_header in $config_headers :; do
18021
case $_am_header in
18022
$_am_arg | $_am_arg:* )
18025
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
18028
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18029
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18030
X"$_am_arg" : 'X\(//\)[^/]' \| \
18031
X"$_am_arg" : 'X\(//\)$' \| \
18032
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18033
$as_echo X"$_am_arg" |
18034
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18038
/^X\(\/\/\)[^/].*/{
18050
s/.*/./; q'`/stamp-h$_am_stamp_count
18053
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18054
$as_echo "$as_me: executing $ac_file commands" >&6;}
18059
case $ac_file$ac_mode in
18060
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18061
# Autoconf 2.62 quotes --file arguments for eval, but not when files
18062
# are listed without --file. Let's play safe and only enable the eval
18063
# if we detect the quoting.
18064
case $CONFIG_FILES in
18065
*\'*) eval set x "$CONFIG_FILES" ;;
18066
*) set x $CONFIG_FILES ;;
18071
# Strip MF so we end up with the name of the file.
18072
mf=`echo "$mf" | sed -e 's/:.*$//'`
18073
# Check whether this is an Automake generated Makefile or not.
18074
# We used to match only the files named `Makefile.in', but
18075
# some people rename them; so instead we look at the file content.
18076
# Grep'ing the first line is not enough: some people post-process
18077
# each Makefile.in and add a new line on top of each file to say so.
18078
# Grep'ing the whole file is not good either: AIX grep has a line
18079
# limit of 2048, but all sed's we know have understand at least 4000.
18080
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18081
dirpart=`$as_dirname -- "$mf" ||
18082
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18083
X"$mf" : 'X\(//\)[^/]' \| \
18084
X"$mf" : 'X\(//\)$' \| \
18085
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18087
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18091
/^X\(\/\/\)[^/].*/{
18107
# Extract the definition of DEPDIR, am__include, and am__quote
18108
# from the Makefile without running `make'.
18109
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18110
test -z "$DEPDIR" && continue
18111
am__include=`sed -n 's/^am__include = //p' < "$mf"`
18112
test -z "am__include" && continue
18113
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18114
# When using ansi2knr, U may be empty or an underscore; expand it
18115
U=`sed -n 's/^U = //p' < "$mf"`
18116
# Find all dependency output files, they are included files with
18117
# $(DEPDIR) in their names. We invoke sed twice because it is the
18118
# simplest approach to changing $(DEPDIR) to its actual value in the
18120
for file in `sed -n "
18121
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18122
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18123
# Make sure the directory exists.
18124
test -f "$dirpart/$file" && continue
18125
fdir=`$as_dirname -- "$file" ||
18126
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18127
X"$file" : 'X\(//\)[^/]' \| \
18128
X"$file" : 'X\(//\)$' \| \
18129
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18130
$as_echo X"$file" |
18131
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18135
/^X\(\/\/\)[^/].*/{
18148
as_dir=$dirpart/$fdir; as_fn_mkdir_p
18149
# echo "creating $dirpart/$file"
18150
echo '# dummy' > "$dirpart/$file"
18157
# See if we are running on zsh, and set the options which allow our
18158
# commands through without removal of \ escapes.
18159
if test -n "${ZSH_VERSION+set}" ; then
18160
setopt NO_GLOB_SUBST
18163
cfgfile="${ofile}T"
18164
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18167
cat <<_LT_EOF >> "$cfgfile"
18170
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18171
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18172
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18173
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18175
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18176
# 2006, 2007, 2008 Free Software Foundation, Inc.
18177
# Written by Gordon Matzigkeit, 1996
18179
# This file is part of GNU Libtool.
18181
# GNU Libtool is free software; you can redistribute it and/or
18182
# modify it under the terms of the GNU General Public License as
18183
# published by the Free Software Foundation; either version 2 of
18184
# the License, or (at your option) any later version.
18186
# As a special exception to the GNU General Public License,
18187
# if you distribute this file as part of a program or library that
18188
# is built using GNU Libtool, you may include this file under the
18189
# same distribution terms that you use for the rest of that program.
18191
# GNU Libtool is distributed in the hope that it will be useful,
18192
# but WITHOUT ANY WARRANTY; without even the implied warranty of
18193
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18194
# GNU General Public License for more details.
18196
# You should have received a copy of the GNU General Public License
18197
# along with GNU Libtool; see the file COPYING. If not, a copy
18198
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18199
# obtained by writing to the Free Software Foundation, Inc.,
18200
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18203
# The names of the tagged configurations supported by this script.
18204
available_tags="CXX "
18206
# ### BEGIN LIBTOOL CONFIG
18208
# Whether or not to build static libraries.
18209
build_old_libs=$enable_static
18211
# Assembler program.
18214
# DLL creation program.
18217
# Object dumper program.
18220
# Which release of libtool.m4 was used?
18221
macro_version=$macro_version
18222
macro_revision=$macro_revision
18224
# Whether or not to build shared libraries.
18225
build_libtool_libs=$enable_shared
18227
# What type of objects to build.
18230
# Whether or not to optimize for fast installation.
18231
fast_install=$enable_fast_install
18234
host_alias=$host_alias
18238
# The build system.
18239
build_alias=$build_alias
18243
# A sed program that does not truncate output.
18246
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18247
Xsed="\$SED -e 1s/^X//"
18249
# A grep program that handles long lines.
18255
# A literal string matcher.
18258
# A BSD- or MS-compatible name lister.
18261
# Whether we need soft or hard links.
18264
# What is the maximum length of a command?
18265
max_cmd_len=$max_cmd_len
18267
# Object file suffix (normally "o").
18270
# Executable file suffix (normally "").
18273
# whether the shell understands "unset".
18276
# turn spaces into newlines.
18279
# turn newlines into spaces.
18282
# How to create reloadable object files.
18283
reload_flag=$lt_reload_flag
18284
reload_cmds=$lt_reload_cmds
18286
# Method to check whether dependent libraries are shared objects.
18287
deplibs_check_method=$lt_deplibs_check_method
18289
# Command to use when deplibs_check_method == "file_magic".
18290
file_magic_cmd=$lt_file_magic_cmd
18294
AR_FLAGS=$lt_AR_FLAGS
18296
# A symbol stripping program.
18299
# Commands used to install an old-style archive.
18301
old_postinstall_cmds=$lt_old_postinstall_cmds
18302
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18307
# LTCC compiler flags.
18308
LTCFLAGS=$lt_CFLAGS
18310
# Take the output of nm and produce a listing of raw symbols and C names.
18311
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18313
# Transform the output of nm in a proper C declaration.
18314
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18316
# Transform the output of nm in a C name address pair.
18317
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18319
# Transform the output of nm in a C name address pair when lib prefix is needed.
18320
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18322
# The name of the directory that contains temporary libtool files.
18325
# Shell to use when invoking shell scripts.
18328
# An echo program that does not interpret backslashes.
18331
# Used to examine libraries when file_magic_cmd begins with "file".
18332
MAGIC_CMD=$MAGIC_CMD
18334
# Must we lock files when doing compilation?
18335
need_locks=$lt_need_locks
18337
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18338
DSYMUTIL=$lt_DSYMUTIL
18340
# Tool to change global to local symbols on Mac OS X.
18343
# Tool to manipulate fat objects and archives on Mac OS X.
18346
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18349
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18350
OTOOL64=$lt_OTOOL64
18352
# Old archive suffix (normally "a").
18355
# Shared library suffix (normally ".so").
18356
shrext_cmds=$lt_shrext_cmds
18358
# The commands to extract the exported symbol list from a shared archive.
18359
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18361
# Variables whose values should be saved in libtool wrapper scripts and
18362
# restored at link time.
18363
variables_saved_for_relink=$lt_variables_saved_for_relink
18365
# Do we need the "lib" prefix for modules?
18366
need_lib_prefix=$need_lib_prefix
18368
# Do we need a version for libraries?
18369
need_version=$need_version
18371
# Library versioning type.
18372
version_type=$version_type
18374
# Shared library runtime path variable.
18375
runpath_var=$runpath_var
18377
# Shared library path variable.
18378
shlibpath_var=$shlibpath_var
18380
# Is shlibpath searched before the hard-coded library search path?
18381
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18383
# Format of library name prefix.
18384
libname_spec=$lt_libname_spec
18386
# List of archive names. First name is the real one, the rest are links.
18387
# The last name is the one that the linker finds with -lNAME
18388
library_names_spec=$lt_library_names_spec
18390
# The coded name of the library, if different from the real name.
18391
soname_spec=$lt_soname_spec
18393
# Command to use after installation of a shared archive.
18394
postinstall_cmds=$lt_postinstall_cmds
18396
# Command to use after uninstallation of a shared archive.
18397
postuninstall_cmds=$lt_postuninstall_cmds
18399
# Commands used to finish a libtool library installation in a directory.
18400
finish_cmds=$lt_finish_cmds
18402
# As "finish_cmds", except a single script fragment to be evaled but
18404
finish_eval=$lt_finish_eval
18406
# Whether we should hardcode library paths into libraries.
18407
hardcode_into_libs=$hardcode_into_libs
18409
# Compile-time system search path for libraries.
18410
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18412
# Run-time system search path for libraries.
18413
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18415
# Whether dlopen is supported.
18416
dlopen_support=$enable_dlopen
18418
# Whether dlopen of programs is supported.
18419
dlopen_self=$enable_dlopen_self
18421
# Whether dlopen of statically linked programs is supported.
18422
dlopen_self_static=$enable_dlopen_self_static
18424
# Commands to strip libraries.
18425
old_striplib=$lt_old_striplib
18426
striplib=$lt_striplib
18429
# The linker used to build libraries.
18432
# Commands used to build an old-style archive.
18433
old_archive_cmds=$lt_old_archive_cmds
18435
# A language specific compiler.
18438
# Is the compiler the GNU compiler?
18441
# Compiler flag to turn off builtin functions.
18442
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18444
# How to pass a linker flag through the compiler.
18445
wl=$lt_lt_prog_compiler_wl
18447
# Additional compiler flags for building library objects.
18448
pic_flag=$lt_lt_prog_compiler_pic
18450
# Compiler flag to prevent dynamic linking.
18451
link_static_flag=$lt_lt_prog_compiler_static
18453
# Does compiler simultaneously support -c and -o options?
18454
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18456
# Whether or not to add -lc for building shared libraries.
18457
build_libtool_need_lc=$archive_cmds_need_lc
18459
# Whether or not to disallow shared libs when runtime libs are static.
18460
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18462
# Compiler flag to allow reflexive dlopens.
18463
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18465
# Compiler flag to generate shared objects directly from archives.
18466
whole_archive_flag_spec=$lt_whole_archive_flag_spec
18468
# Whether the compiler copes with passing no objects directly.
18469
compiler_needs_object=$lt_compiler_needs_object
18471
# Create an old-style archive from a shared archive.
18472
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18474
# Create a temporary old-style archive to link instead of a shared archive.
18475
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18477
# Commands used to build a shared archive.
18478
archive_cmds=$lt_archive_cmds
18479
archive_expsym_cmds=$lt_archive_expsym_cmds
18481
# Commands used to build a loadable module if different from building
18482
# a shared archive.
18483
module_cmds=$lt_module_cmds
18484
module_expsym_cmds=$lt_module_expsym_cmds
18486
# Whether we are building with GNU ld or not.
18487
with_gnu_ld=$lt_with_gnu_ld
18489
# Flag that allows shared libraries with undefined symbols to be built.
18490
allow_undefined_flag=$lt_allow_undefined_flag
18492
# Flag that enforces no undefined symbols.
18493
no_undefined_flag=$lt_no_undefined_flag
18495
# Flag to hardcode \$libdir into a binary during linking.
18496
# This must work even if \$libdir does not exist
18497
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18499
# If ld is used when linking, flag to hardcode \$libdir into a binary
18500
# during linking. This must work even if \$libdir does not exist.
18501
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18503
# Whether we need a single "-rpath" flag with a separated argument.
18504
hardcode_libdir_separator=$lt_hardcode_libdir_separator
18506
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18507
# DIR into the resulting binary.
18508
hardcode_direct=$hardcode_direct
18510
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18511
# DIR into the resulting binary and the resulting library dependency is
18512
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18513
# library is relocated.
18514
hardcode_direct_absolute=$hardcode_direct_absolute
18516
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18517
# into the resulting binary.
18518
hardcode_minus_L=$hardcode_minus_L
18520
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18521
# into the resulting binary.
18522
hardcode_shlibpath_var=$hardcode_shlibpath_var
18524
# Set to "yes" if building a shared library automatically hardcodes DIR
18525
# into the library and all subsequent libraries and executables linked
18527
hardcode_automatic=$hardcode_automatic
18529
# Set to yes if linker adds runtime paths of dependent libraries
18530
# to runtime path list.
18531
inherit_rpath=$inherit_rpath
18533
# Whether libtool must link a program against all its dependency libraries.
18534
link_all_deplibs=$link_all_deplibs
18536
# Fix the shell variable \$srcfile for the compiler.
18537
fix_srcfile_path=$lt_fix_srcfile_path
18539
# Set to "yes" if exported symbols are required.
18540
always_export_symbols=$always_export_symbols
18542
# The commands to list exported symbols.
18543
export_symbols_cmds=$lt_export_symbols_cmds
18545
# Symbols that should not be listed in the preloaded symbols.
18546
exclude_expsyms=$lt_exclude_expsyms
18548
# Symbols that must always be exported.
18549
include_expsyms=$lt_include_expsyms
18551
# Commands necessary for linking programs (against libraries) with templates.
18552
prelink_cmds=$lt_prelink_cmds
18554
# Specify filename containing input files.
18555
file_list_spec=$lt_file_list_spec
18557
# How to hardcode a shared library path into an executable.
18558
hardcode_action=$hardcode_action
18560
# The directories searched by this compiler when creating a shared library.
18561
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18563
# Dependencies to place before and after the objects being linked to
18564
# create a shared library.
18565
predep_objects=$lt_predep_objects
18566
postdep_objects=$lt_postdep_objects
18567
predeps=$lt_predeps
18568
postdeps=$lt_postdeps
18570
# The library search path used internally by the compiler when linking
18571
# a shared library.
18572
compiler_lib_search_path=$lt_compiler_lib_search_path
18574
# ### END LIBTOOL CONFIG
18580
cat <<\_LT_EOF >> "$cfgfile"
18581
# AIX sometimes has problems with the GCC collect2 program. For some
18582
# reason, if we set the COLLECT_NAMES environment variable, the problems
18583
# vanish in a puff of smoke.
18584
if test "X${COLLECT_NAMES+set}" != Xset; then
18586
export COLLECT_NAMES
18593
ltmain="$ac_aux_dir/ltmain.sh"
18596
# We use sed instead of cat because bash on DJGPP gets confused if
18597
# if finds mixed CR/LF and LF-only lines. Since sed operates in
18598
# text mode, it properly converts lines to CR/LF. This bash problem
18599
# is reportedly fixed, but why not run on old versions too?
18600
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18601
|| (rm -f "$cfgfile"; exit 1)
18605
cat << \_LT_EOF >> "$cfgfile"
18607
# func_dirname file append nondir_replacement
18608
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
18609
# otherwise set result to NONDIR_REPLACEMENT.
18613
*/*) func_dirname_result="${1%/*}${2}" ;;
18614
* ) func_dirname_result="${3}" ;;
18618
# func_basename file
18621
func_basename_result="${1##*/}"
18624
# func_dirname_and_basename file append nondir_replacement
18625
# perform func_basename and func_dirname in a single function
18627
# dirname: Compute the dirname of FILE. If nonempty,
18628
# add APPEND to the result, otherwise set result
18629
# to NONDIR_REPLACEMENT.
18630
# value returned in "$func_dirname_result"
18631
# basename: Compute filename of FILE.
18632
# value retuned in "$func_basename_result"
18633
# Implementation must be kept synchronized with func_dirname
18634
# and func_basename. For efficiency, we do not delegate to
18635
# those functions but instead duplicate the functionality here.
18636
func_dirname_and_basename ()
18639
*/*) func_dirname_result="${1%/*}${2}" ;;
18640
* ) func_dirname_result="${3}" ;;
18642
func_basename_result="${1##*/}"
18645
# func_stripname prefix suffix name
18646
# strip PREFIX and SUFFIX off of NAME.
18647
# PREFIX and SUFFIX must not contain globbing or regex special
18648
# characters, hashes, percent signs, but SUFFIX may contain a leading
18649
# dot (in which case that matches only a dot).
18652
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18653
# positional parameters, so assign one to ordinary parameter first.
18654
func_stripname_result=${3}
18655
func_stripname_result=${func_stripname_result#"${1}"}
18656
func_stripname_result=${func_stripname_result%"${2}"}
18662
func_opt_split_opt=${1%%=*}
18663
func_opt_split_arg=${1#*=}
18670
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18671
*) func_lo2o_result=${1} ;;
18675
# func_xform libobj-or-source
18678
func_xform_result=${1%.*}.lo
18681
# func_arith arithmetic-term...
18684
func_arith_result=$(( $* ))
18688
# STRING may not start with a hyphen.
18691
func_len_result=${#1}
18696
*) # Bourne compatible functions.
18697
cat << \_LT_EOF >> "$cfgfile"
18699
# func_dirname file append nondir_replacement
18700
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
18701
# otherwise set result to NONDIR_REPLACEMENT.
18704
# Extract subdirectory from the argument.
18705
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18706
if test "X$func_dirname_result" = "X${1}"; then
18707
func_dirname_result="${3}"
18709
func_dirname_result="$func_dirname_result${2}"
18713
# func_basename file
18716
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18720
# func_stripname prefix suffix name
18721
# strip PREFIX and SUFFIX off of NAME.
18722
# PREFIX and SUFFIX must not contain globbing or regex special
18723
# characters, hashes, percent signs, but SUFFIX may contain a leading
18724
# dot (in which case that matches only a dot).
18725
# func_strip_suffix prefix name
18729
.*) func_stripname_result=`$ECHO "X${3}" \
18730
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18731
*) func_stripname_result=`$ECHO "X${3}" \
18732
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18737
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18738
my_sed_long_arg='1s/^-[^=]*=//'
18743
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18744
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18750
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18753
# func_xform libobj-or-source
18756
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18759
# func_arith arithmetic-term...
18762
func_arith_result=`expr "$@"`
18766
# STRING may not start with a hyphen.
18769
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18775
case $lt_shell_append in
18777
cat << \_LT_EOF >> "$cfgfile"
18779
# func_append var value
18780
# Append VALUE to the end of shell variable VAR.
18788
cat << \_LT_EOF >> "$cfgfile"
18790
# func_append var value
18791
# Append VALUE to the end of shell variable VAR.
18802
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18803
|| (rm -f "$cfgfile"; exit 1)
18805
mv -f "$cfgfile" "$ofile" ||
18806
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18810
cat <<_LT_EOF >> "$ofile"
18812
# ### BEGIN LIBTOOL TAG CONFIG: CXX
18814
# The linker used to build libraries.
18817
# Commands used to build an old-style archive.
18818
old_archive_cmds=$lt_old_archive_cmds_CXX
18820
# A language specific compiler.
18821
CC=$lt_compiler_CXX
18823
# Is the compiler the GNU compiler?
18826
# Compiler flag to turn off builtin functions.
18827
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18829
# How to pass a linker flag through the compiler.
18830
wl=$lt_lt_prog_compiler_wl_CXX
18832
# Additional compiler flags for building library objects.
18833
pic_flag=$lt_lt_prog_compiler_pic_CXX
18835
# Compiler flag to prevent dynamic linking.
18836
link_static_flag=$lt_lt_prog_compiler_static_CXX
18838
# Does compiler simultaneously support -c and -o options?
18839
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18841
# Whether or not to add -lc for building shared libraries.
18842
build_libtool_need_lc=$archive_cmds_need_lc_CXX
18844
# Whether or not to disallow shared libs when runtime libs are static.
18845
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18847
# Compiler flag to allow reflexive dlopens.
18848
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18850
# Compiler flag to generate shared objects directly from archives.
18851
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18853
# Whether the compiler copes with passing no objects directly.
18854
compiler_needs_object=$lt_compiler_needs_object_CXX
18856
# Create an old-style archive from a shared archive.
18857
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18859
# Create a temporary old-style archive to link instead of a shared archive.
18860
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18862
# Commands used to build a shared archive.
18863
archive_cmds=$lt_archive_cmds_CXX
18864
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18866
# Commands used to build a loadable module if different from building
18867
# a shared archive.
18868
module_cmds=$lt_module_cmds_CXX
18869
module_expsym_cmds=$lt_module_expsym_cmds_CXX
18871
# Whether we are building with GNU ld or not.
18872
with_gnu_ld=$lt_with_gnu_ld_CXX
18874
# Flag that allows shared libraries with undefined symbols to be built.
18875
allow_undefined_flag=$lt_allow_undefined_flag_CXX
18877
# Flag that enforces no undefined symbols.
18878
no_undefined_flag=$lt_no_undefined_flag_CXX
18880
# Flag to hardcode \$libdir into a binary during linking.
18881
# This must work even if \$libdir does not exist
18882
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18884
# If ld is used when linking, flag to hardcode \$libdir into a binary
18885
# during linking. This must work even if \$libdir does not exist.
18886
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18888
# Whether we need a single "-rpath" flag with a separated argument.
18889
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18891
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18892
# DIR into the resulting binary.
18893
hardcode_direct=$hardcode_direct_CXX
18895
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18896
# DIR into the resulting binary and the resulting library dependency is
18897
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18898
# library is relocated.
18899
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18901
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18902
# into the resulting binary.
18903
hardcode_minus_L=$hardcode_minus_L_CXX
18905
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18906
# into the resulting binary.
18907
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18909
# Set to "yes" if building a shared library automatically hardcodes DIR
18910
# into the library and all subsequent libraries and executables linked
18912
hardcode_automatic=$hardcode_automatic_CXX
18914
# Set to yes if linker adds runtime paths of dependent libraries
18915
# to runtime path list.
18916
inherit_rpath=$inherit_rpath_CXX
18918
# Whether libtool must link a program against all its dependency libraries.
18919
link_all_deplibs=$link_all_deplibs_CXX
18921
# Fix the shell variable \$srcfile for the compiler.
18922
fix_srcfile_path=$lt_fix_srcfile_path_CXX
18924
# Set to "yes" if exported symbols are required.
18925
always_export_symbols=$always_export_symbols_CXX
18927
# The commands to list exported symbols.
18928
export_symbols_cmds=$lt_export_symbols_cmds_CXX
18930
# Symbols that should not be listed in the preloaded symbols.
18931
exclude_expsyms=$lt_exclude_expsyms_CXX
18933
# Symbols that must always be exported.
18934
include_expsyms=$lt_include_expsyms_CXX
18936
# Commands necessary for linking programs (against libraries) with templates.
18937
prelink_cmds=$lt_prelink_cmds_CXX
18939
# Specify filename containing input files.
18940
file_list_spec=$lt_file_list_spec_CXX
18942
# How to hardcode a shared library path into an executable.
18943
hardcode_action=$hardcode_action_CXX
18945
# The directories searched by this compiler when creating a shared library.
18946
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18948
# Dependencies to place before and after the objects being linked to
18949
# create a shared library.
18950
predep_objects=$lt_predep_objects_CXX
18951
postdep_objects=$lt_postdep_objects_CXX
18952
predeps=$lt_predeps_CXX
18953
postdeps=$lt_postdeps_CXX
18955
# The library search path used internally by the compiler when linking
18956
# a shared library.
18957
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18959
# ### END LIBTOOL TAG CONFIG: CXX
18970
ac_clean_files=$ac_clean_files_save
18972
test $ac_write_fail = 0 ||
18973
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
18976
# configure is writing to config.log, and then calls config.status.
18977
# config.status does its own redirection, appending to config.log.
18978
# Unfortunately, on DOS this fails, as config.log is still kept open
18979
# by configure, so config.status won't be able to write to it; its
18980
# output is simply discarded. So we exec the FD to /dev/null,
18981
# effectively closing config.log, so it can be properly (re)opened and
18982
# appended to by config.status. When coming back to configure, we
18983
# need to make the FD available again.
18984
if test "$no_create" != yes; then
18986
ac_config_status_args=
18987
test "$silent" = yes &&
18988
ac_config_status_args="$ac_config_status_args --quiet"
18990
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18992
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
18993
# would make configure fail if this is the last instruction.
18994
$ac_cs_success || as_fn_exit $?
18996
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18997
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18998
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}