2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for igraph 0.5.3.
5
# Report bugs to <csardi@rmki.kfki.hu>.
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
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
# Zsh 3.x and 4.x performs 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
26
*posix*) set -o posix ;;
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
42
# The user is always right.
43
if test "${PATH_SEPARATOR+set}" != set; then
44
echo "#! /bin/sh" >conf$$.sh
45
echo "exit 0" >>conf$$.sh
47
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64
# We need space, tab and new line, in precisely that order. Quoting is
65
# there to prevent editors from complaining about space-tab.
66
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67
# splitting by setting IFS to empty value.)
72
# Find who we are. Look in the path if we contain no directory separator.
74
*[\\/]* ) as_myself=$0 ;;
75
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79
test -z "$as_dir" && as_dir=.
80
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86
# We did not find ourselves, most probably we were run as `sh COMMAND'
87
# in which case we are not to be found in the path.
88
if test "x$as_myself" = x; then
91
if test ! -f "$as_myself"; then
92
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96
# Work around bugs in pre-3.0 UWIN ksh.
97
for as_var in ENV MAIL MAILPATH
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
eval $as_var=C; export $as_var
113
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
test "X`expr 00001 : '.*\(...\)'`" = X001; then
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132
# Name of the executable.
133
as_me=`$as_basename -- "$0" ||
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
X"$0" : 'X\(//\)$' \| \
136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
156
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
217
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
") 2> /dev/null; then
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
test -z "$as_dir" && as_dir=.
230
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238
for as_shell in $as_candidate_shells $SHELL; do
239
# Try only shells that exist, to save several forks.
240
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
# is contrary to our usage. Disable this feature.
247
alias -g '${1+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
# is contrary to our usage. Disable this feature.
268
alias -g '${1+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
332
test "x$as_lineno_1" != "x$as_lineno_2" &&
333
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344
if test "x$CONFIG_SHELL" != x; then
345
for as_var in BASH_ENV ENV
346
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353
if test $as_have_required = no; then
354
echo This script requires a shell more modern than all the
355
echo shells that I found on your system. Please install a
356
echo modern shell, or manually run the script under such a
357
echo shell if you do have one.
358
{ (exit 1); exit 1; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
416
test \$exitcode = 0") || {
417
echo No shell found that supports shell functions.
418
echo Please tell autoconf@gnu.org about your system,
419
echo including any error possibly output before this
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
# uniformly replaced by the line number. The first 'sed' inserts a
432
# line-number line after each line using $LINENO; the second 'sed'
433
# does the real work. The second script uses 'N' to pair each
434
# line-number line with the line containing $LINENO, and appends
435
# trailing '-' during substitution so that $LINENO is not a special
437
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
# scripts with optimization help from Paolo Bonzini. Blame Lee
439
# E. McMahon (1931-1989) for sed's syntax. :-)
451
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455
chmod +x "$as_me.lineno" ||
456
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457
{ (exit 1); exit 1; }; }
459
# Don't try to exec as it changes $[0], causing all sort of problems
460
# (the dirname of $[0] is not the place where we might find the
461
# original and so on. Autoconf is especially sensitive to this).
463
# Exit status is that of the last command.
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474
ECHO_C= ECHO_N= ECHO_T=
478
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
test "X`expr 00001 : '.*\(...\)'`" = X001; then
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
rm -f conf$$.dir/conf$$.file
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
502
# ... but there are two gotchas:
503
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
# In both cases, we have to default to `cp -p'.
506
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508
elif ln conf$$.file conf$$ 2>/dev/null; then
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
516
if mkdir -p . 2>/dev/null; then
519
test -d ./-p && rmdir ./-p
523
if test -x / >/dev/null 2>&1; then
526
if ls -dL / >/dev/null 2>&1; then
533
if test -d "$1"; then
539
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540
???[sx]*):;;*)false;;esac;fi
544
as_executable_p=$as_test_x
546
# Sed expression to map a string onto a valid CPP name.
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
# Sed expression to map a string onto a valid variable name.
550
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
# Check that we are running under the correct shell.
556
SHELL=${CONFIG_SHELL-/bin/sh}
560
# Remove one level of quotation (which was required for Make).
561
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
566
if test "X$1" = X--no-reexec; then
567
# Discard the --no-reexec flag, and continue.
569
elif test "X$1" = X--fallback-echo; then
570
# Avoid inline document here, it may be left over
572
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
573
# Yippee, $ECHO works!
576
# Restart under the correct shell.
577
exec $SHELL "$0" --no-reexec ${1+"$@"}
580
if test "X$1" = X--fallback-echo; then
581
# used as fallback echo
589
# The HP-UX ksh and POSIX shell print the target directory to stdout
591
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
593
if test -z "$lt_ECHO"; then
594
if test "X${echo_test_string+set}" != Xset; then
595
# find a string as large as possible, as long as the shell can cope with it
596
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
599
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
606
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
607
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
608
test "X$echo_testing_string" = "X$echo_test_string"; then
611
# The Solaris, AIX, and Digital Unix default echo programs unquote
612
# backslashes. This makes it impossible to quote backslashes using
613
# echo "$something" | sed 's/\\/\\\\/g'
615
# So, first we look for a working echo in the user's PATH.
617
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
618
for dir in $PATH /usr/ucb; do
620
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
621
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
622
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
623
test "X$echo_testing_string" = "X$echo_test_string"; then
630
if test "X$ECHO" = Xecho; then
631
# We didn't find a better echo, so look for alternatives.
632
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
633
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
634
test "X$echo_testing_string" = "X$echo_test_string"; then
635
# This shell has a builtin print -r that does the trick.
637
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
638
test "X$CONFIG_SHELL" != X/bin/ksh; then
639
# If we have ksh, try running configure again with it.
640
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
641
export ORIGINAL_CONFIG_SHELL
642
CONFIG_SHELL=/bin/ksh
644
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
648
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
649
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
650
test "X$echo_testing_string" = "X$echo_test_string"; then
653
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
654
test "X$echo_testing_string" = 'X\t' &&
655
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
656
test "X$echo_testing_string" = "X$echo_test_string"; then
657
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
659
SHELL="$CONFIG_SHELL"
661
ECHO="$CONFIG_SHELL $0 --fallback-echo"
662
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
663
test "X$echo_testing_string" = 'X\t' &&
664
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
665
test "X$echo_testing_string" = "X$echo_test_string"; then
666
ECHO="$CONFIG_SHELL $0 --fallback-echo"
668
# maybe with a smaller string...
671
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
672
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
679
if test "$prev" != 'sed 50q "$0"'; then
680
echo_test_string=`eval $prev`
681
export echo_test_string
682
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
684
# Oops. We lost completely, so just stick with echo.
693
# Copy echo and quote the copy suitably for passing to libtool from
694
# the Makefile, instead of quoting the original, which is used later.
696
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
697
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
703
exec 7<&0 </dev/null 6>&1
706
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
707
# so uname gets run too.
708
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
713
ac_default_prefix=/usr/local
715
ac_config_libobj_dir=.
721
SHELL=${CONFIG_SHELL-/bin/sh}
723
# Identity of this package.
724
PACKAGE_NAME='igraph'
725
PACKAGE_TARNAME='igraph'
726
PACKAGE_VERSION='0.5.3'
727
PACKAGE_STRING='igraph 0.5.3'
728
PACKAGE_BUGREPORT='csardi@rmki.kfki.hu'
730
ac_unique_file="src/games.c"
731
# Factoring default headers for most tests.
732
ac_includes_default="\
734
#ifdef HAVE_SYS_TYPES_H
735
# include <sys/types.h>
737
#ifdef HAVE_SYS_STAT_H
738
# include <sys/stat.h>
744
# ifdef HAVE_STDLIB_H
749
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
754
#ifdef HAVE_STRINGS_H
755
# include <strings.h>
757
#ifdef HAVE_INTTYPES_H
758
# include <inttypes.h>
776
program_transform_name
818
INSTALL_STRIP_PROGRAM
894
INTERNAL_ARPACK_FALSE
896
INTERNAL_LAPACK_FALSE
902
ac_precious_vars='build_alias
919
# Initialize some variables set by options.
921
ac_init_version=false
922
# The variables have the same names as the options, with
923
# dashes changed to underlines.
931
program_transform_name=s,x,x,
939
# Installation directory options.
940
# These are left unexpanded so users can "make install exec_prefix=/foo"
941
# and all the variables that are supposed to be based on exec_prefix
942
# by default will actually change.
943
# Use braces instead of parens because sh, perl, etc. also accept them.
944
# (The list follows the same order as the GNU Coding Standards.)
945
bindir='${exec_prefix}/bin'
946
sbindir='${exec_prefix}/sbin'
947
libexecdir='${exec_prefix}/libexec'
948
datarootdir='${prefix}/share'
949
datadir='${datarootdir}'
950
sysconfdir='${prefix}/etc'
951
sharedstatedir='${prefix}/com'
952
localstatedir='${prefix}/var'
953
includedir='${prefix}/include'
954
oldincludedir='/usr/include'
955
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
956
infodir='${datarootdir}/info'
961
libdir='${exec_prefix}/lib'
962
localedir='${datarootdir}/locale'
963
mandir='${datarootdir}/man'
969
# If the previous option needs an argument, assign it.
970
if test -n "$ac_prev"; then
971
eval $ac_prev=\$ac_option
977
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
981
# Accept the important Cygnus configure options, so we can diagnose typos.
983
case $ac_dashdash$ac_option in
987
-bindir | --bindir | --bindi | --bind | --bin | --bi)
989
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
992
-build | --build | --buil | --bui | --bu)
993
ac_prev=build_alias ;;
994
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
995
build_alias=$ac_optarg ;;
997
-cache-file | --cache-file | --cache-fil | --cache-fi \
998
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
999
ac_prev=cache_file ;;
1000
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1001
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1002
cache_file=$ac_optarg ;;
1004
--config-cache | -C)
1005
cache_file=config.cache ;;
1007
-datadir | --datadir | --datadi | --datad)
1009
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1010
datadir=$ac_optarg ;;
1012
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1013
| --dataroo | --dataro | --datar)
1014
ac_prev=datarootdir ;;
1015
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1016
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1017
datarootdir=$ac_optarg ;;
1019
-disable-* | --disable-*)
1020
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1021
# Reject names that are not valid shell variable names.
1022
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1023
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1024
{ (exit 1); exit 1; }; }
1025
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1026
eval enable_$ac_feature=no ;;
1028
-docdir | --docdir | --docdi | --doc | --do)
1030
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1031
docdir=$ac_optarg ;;
1033
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1035
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1036
dvidir=$ac_optarg ;;
1038
-enable-* | --enable-*)
1039
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1040
# Reject names that are not valid shell variable names.
1041
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1042
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1043
{ (exit 1); exit 1; }; }
1044
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1045
eval enable_$ac_feature=\$ac_optarg ;;
1047
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1048
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1049
| --exec | --exe | --ex)
1050
ac_prev=exec_prefix ;;
1051
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1052
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1053
| --exec=* | --exe=* | --ex=*)
1054
exec_prefix=$ac_optarg ;;
1056
-gas | --gas | --ga | --g)
1057
# Obsolete; use --with-gas.
1060
-help | --help | --hel | --he | -h)
1061
ac_init_help=long ;;
1062
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1063
ac_init_help=recursive ;;
1064
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1065
ac_init_help=short ;;
1067
-host | --host | --hos | --ho)
1068
ac_prev=host_alias ;;
1069
-host=* | --host=* | --hos=* | --ho=*)
1070
host_alias=$ac_optarg ;;
1072
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1074
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1076
htmldir=$ac_optarg ;;
1078
-includedir | --includedir | --includedi | --included | --include \
1079
| --includ | --inclu | --incl | --inc)
1080
ac_prev=includedir ;;
1081
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1082
| --includ=* | --inclu=* | --incl=* | --inc=*)
1083
includedir=$ac_optarg ;;
1085
-infodir | --infodir | --infodi | --infod | --info | --inf)
1087
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1088
infodir=$ac_optarg ;;
1090
-libdir | --libdir | --libdi | --libd)
1092
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1093
libdir=$ac_optarg ;;
1095
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1096
| --libexe | --libex | --libe)
1097
ac_prev=libexecdir ;;
1098
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1099
| --libexe=* | --libex=* | --libe=*)
1100
libexecdir=$ac_optarg ;;
1102
-localedir | --localedir | --localedi | --localed | --locale)
1103
ac_prev=localedir ;;
1104
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1105
localedir=$ac_optarg ;;
1107
-localstatedir | --localstatedir | --localstatedi | --localstated \
1108
| --localstate | --localstat | --localsta | --localst | --locals)
1109
ac_prev=localstatedir ;;
1110
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1111
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1112
localstatedir=$ac_optarg ;;
1114
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1116
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1117
mandir=$ac_optarg ;;
1119
-nfp | --nfp | --nf)
1120
# Obsolete; use --without-fp.
1123
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1124
| --no-cr | --no-c | -n)
1127
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1128
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1131
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1132
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1133
| --oldin | --oldi | --old | --ol | --o)
1134
ac_prev=oldincludedir ;;
1135
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1136
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1137
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1138
oldincludedir=$ac_optarg ;;
1140
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1142
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1143
prefix=$ac_optarg ;;
1145
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1146
| --program-pre | --program-pr | --program-p)
1147
ac_prev=program_prefix ;;
1148
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1149
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1150
program_prefix=$ac_optarg ;;
1152
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1153
| --program-suf | --program-su | --program-s)
1154
ac_prev=program_suffix ;;
1155
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1156
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1157
program_suffix=$ac_optarg ;;
1159
-program-transform-name | --program-transform-name \
1160
| --program-transform-nam | --program-transform-na \
1161
| --program-transform-n | --program-transform- \
1162
| --program-transform | --program-transfor \
1163
| --program-transfo | --program-transf \
1164
| --program-trans | --program-tran \
1165
| --progr-tra | --program-tr | --program-t)
1166
ac_prev=program_transform_name ;;
1167
-program-transform-name=* | --program-transform-name=* \
1168
| --program-transform-nam=* | --program-transform-na=* \
1169
| --program-transform-n=* | --program-transform-=* \
1170
| --program-transform=* | --program-transfor=* \
1171
| --program-transfo=* | --program-transf=* \
1172
| --program-trans=* | --program-tran=* \
1173
| --progr-tra=* | --program-tr=* | --program-t=*)
1174
program_transform_name=$ac_optarg ;;
1176
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1178
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1179
pdfdir=$ac_optarg ;;
1181
-psdir | --psdir | --psdi | --psd | --ps)
1183
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1186
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1187
| -silent | --silent | --silen | --sile | --sil)
1190
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1192
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1194
sbindir=$ac_optarg ;;
1196
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1197
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1198
| --sharedst | --shareds | --shared | --share | --shar \
1200
ac_prev=sharedstatedir ;;
1201
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1202
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1203
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1205
sharedstatedir=$ac_optarg ;;
1207
-site | --site | --sit)
1209
-site=* | --site=* | --sit=*)
1212
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1214
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1215
srcdir=$ac_optarg ;;
1217
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1218
| --syscon | --sysco | --sysc | --sys | --sy)
1219
ac_prev=sysconfdir ;;
1220
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1221
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1222
sysconfdir=$ac_optarg ;;
1224
-target | --target | --targe | --targ | --tar | --ta | --t)
1225
ac_prev=target_alias ;;
1226
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1227
target_alias=$ac_optarg ;;
1229
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1232
-version | --version | --versio | --versi | --vers | -V)
1233
ac_init_version=: ;;
1236
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1237
# Reject names that are not valid shell variable names.
1238
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1239
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1240
{ (exit 1); exit 1; }; }
1241
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1242
eval with_$ac_package=\$ac_optarg ;;
1244
-without-* | --without-*)
1245
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1246
# Reject names that are not valid shell variable names.
1247
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1248
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1249
{ (exit 1); exit 1; }; }
1250
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1251
eval with_$ac_package=no ;;
1254
# Obsolete; use --with-x.
1257
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1258
| --x-incl | --x-inc | --x-in | --x-i)
1259
ac_prev=x_includes ;;
1260
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1261
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1262
x_includes=$ac_optarg ;;
1264
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1265
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1266
ac_prev=x_libraries ;;
1267
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1268
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1269
x_libraries=$ac_optarg ;;
1271
-*) { echo "$as_me: error: unrecognized option: $ac_option
1272
Try \`$0 --help' for more information." >&2
1273
{ (exit 1); exit 1; }; }
1277
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1278
# Reject names that are not valid shell variable names.
1279
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1280
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1281
{ (exit 1); exit 1; }; }
1282
eval $ac_envvar=\$ac_optarg
1283
export $ac_envvar ;;
1286
# FIXME: should be removed in autoconf 3.0.
1287
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1288
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1289
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1290
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1296
if test -n "$ac_prev"; then
1297
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1298
{ echo "$as_me: error: missing argument to $ac_option" >&2
1299
{ (exit 1); exit 1; }; }
1302
# Be sure to have absolute directory names.
1303
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1304
datadir sysconfdir sharedstatedir localstatedir includedir \
1305
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1306
libdir localedir mandir
1308
eval ac_val=\$$ac_var
1310
[\\/$]* | ?:[\\/]* ) continue;;
1311
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1313
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1314
{ (exit 1); exit 1; }; }
1317
# There might be people who depend on the old broken behavior: `$host'
1318
# used to hold the argument of --host etc.
1319
# FIXME: To remove some day.
1322
target=$target_alias
1324
# FIXME: To remove some day.
1325
if test "x$host_alias" != x; then
1326
if test "x$build_alias" = x; then
1327
cross_compiling=maybe
1328
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1329
If a cross compiler is detected then cross compile mode will be used." >&2
1330
elif test "x$build_alias" != "x$host_alias"; then
1336
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1338
test "$silent" = yes && exec 6>/dev/null
1341
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1342
ac_ls_di=`ls -di .` &&
1343
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1344
{ echo "$as_me: error: Working directory cannot be determined" >&2
1345
{ (exit 1); exit 1; }; }
1346
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1347
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1348
{ (exit 1); exit 1; }; }
1351
# Find the source files, if location was not specified.
1352
if test -z "$srcdir"; then
1353
ac_srcdir_defaulted=yes
1354
# Try the directory containing this script, then the parent directory.
1355
ac_confdir=`$as_dirname -- "$0" ||
1356
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1357
X"$0" : 'X\(//\)[^/]' \| \
1358
X"$0" : 'X\(//\)$' \| \
1359
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1361
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1379
if test ! -r "$srcdir/$ac_unique_file"; then
1383
ac_srcdir_defaulted=no
1385
if test ! -r "$srcdir/$ac_unique_file"; then
1386
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1387
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1388
{ (exit 1); exit 1; }; }
1390
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1392
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1393
{ (exit 1); exit 1; }; }
1395
# When building in place, set srcdir=.
1396
if test "$ac_abs_confdir" = "$ac_pwd"; then
1399
# Remove unnecessary trailing slashes from srcdir.
1400
# Double slashes in file names in object file debugging info
1401
# mess up M-x gdb in Emacs.
1403
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1405
for ac_var in $ac_precious_vars; do
1406
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1407
eval ac_env_${ac_var}_value=\$${ac_var}
1408
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1409
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1413
# Report the --help message.
1415
if test "$ac_init_help" = "long"; then
1416
# Omit some internal or obsolete options to make the list less imposing.
1417
# This message is too long to be a string in the A/UX 3.1 sh.
1419
\`configure' configures igraph 0.5.3 to adapt to many kinds of systems.
1421
Usage: $0 [OPTION]... [VAR=VALUE]...
1423
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1424
VAR=VALUE. See below for descriptions of some of the useful variables.
1426
Defaults for the options are specified in brackets.
1429
-h, --help display this help and exit
1430
--help=short display options specific to this package
1431
--help=recursive display the short help of all the included packages
1432
-V, --version display version information and exit
1433
-q, --quiet, --silent do not print \`checking...' messages
1434
--cache-file=FILE cache test results in FILE [disabled]
1435
-C, --config-cache alias for \`--cache-file=config.cache'
1436
-n, --no-create do not create output files
1437
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1439
Installation directories:
1440
--prefix=PREFIX install architecture-independent files in PREFIX
1441
[$ac_default_prefix]
1442
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1445
By default, \`make install' will install all the files in
1446
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1447
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1448
for instance \`--prefix=\$HOME'.
1450
For better control, use the options below.
1452
Fine tuning of the installation directories:
1453
--bindir=DIR user executables [EPREFIX/bin]
1454
--sbindir=DIR system admin executables [EPREFIX/sbin]
1455
--libexecdir=DIR program executables [EPREFIX/libexec]
1456
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1457
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1458
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1459
--libdir=DIR object code libraries [EPREFIX/lib]
1460
--includedir=DIR C header files [PREFIX/include]
1461
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1462
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1463
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1464
--infodir=DIR info documentation [DATAROOTDIR/info]
1465
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1466
--mandir=DIR man documentation [DATAROOTDIR/man]
1467
--docdir=DIR documentation root [DATAROOTDIR/doc/igraph]
1468
--htmldir=DIR html documentation [DOCDIR]
1469
--dvidir=DIR dvi documentation [DOCDIR]
1470
--pdfdir=DIR pdf documentation [DOCDIR]
1471
--psdir=DIR ps documentation [DOCDIR]
1477
--program-prefix=PREFIX prepend PREFIX to installed program names
1478
--program-suffix=SUFFIX append SUFFIX to installed program names
1479
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1482
--build=BUILD configure for building on BUILD [guessed]
1483
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1487
if test -n "$ac_init_help"; then
1488
case $ac_init_help in
1489
short | recursive ) echo "Configuration of igraph 0.5.3:";;
1494
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1495
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1496
--disable-dependency-tracking speeds up one-time build
1497
--enable-dependency-tracking do not reject slow dependency extractors
1498
--enable-shared[=PKGS] build shared libraries [default=yes]
1499
--enable-static[=PKGS] build static libraries [default=yes]
1500
--enable-fast-install[=PKGS]
1501
optimize for fast installation [default=yes]
1502
--disable-libtool-lock avoid locking (might break parallel builds)
1503
--enable-gcc-warnings turn on lots of GCC warnings (not recommended)
1504
--enable-profiling Enable gprof profiling
1505
--enable-debug Enable debug build
1506
--disable-graphml Disable support for GraphML format
1507
--enable-shell Enable shell interface
1508
--disable-gmp Compile without the GMP library
1511
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1512
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1513
--with-pic try to use only PIC/non-PIC objects [default=use
1515
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1516
--with-external-blas Use external BLAS library [default=no]
1517
--with-external-lapack Use external LAPACK library [default=no]
1518
--with-external-arpack Use external ARPACK library [default=no]
1520
Some influential environment variables:
1521
CC C compiler command
1522
CFLAGS C compiler flags
1523
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1524
nonstandard directory <lib dir>
1525
LIBS libraries to pass to the linker, e.g. -l<library>
1526
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1527
you have headers in a nonstandard directory <include dir>
1528
CXX C++ compiler command
1529
CXXFLAGS C++ compiler flags
1530
CXXCPP C++ preprocessor
1531
YACC The `Yet Another C Compiler' implementation to use. Defaults to
1532
the first program found out of: `bison -y', `byacc', `yacc'.
1533
YFLAGS The list of arguments that will be passed by default to $YACC.
1534
This script will default YFLAGS to the empty string to avoid a
1535
default value of `-d' given by some make applications.
1538
Use these variables to override the choices made by `configure' or to help
1539
it to find libraries and programs with nonstandard names/locations.
1541
Report bugs to <csardi@rmki.kfki.hu>.
1546
if test "$ac_init_help" = "recursive"; then
1547
# If there are subdirs, report their specific --help.
1548
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1549
test -d "$ac_dir" || continue
1553
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1556
# A ".." for each directory in $ac_dir_suffix.
1557
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1558
case $ac_top_builddir_sub in
1559
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1560
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1563
ac_abs_top_builddir=$ac_pwd
1564
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1565
# for backward compatibility:
1566
ac_top_builddir=$ac_top_build_prefix
1569
.) # We are building in place.
1571
ac_top_srcdir=$ac_top_builddir_sub
1572
ac_abs_top_srcdir=$ac_pwd ;;
1573
[\\/]* | ?:[\\/]* ) # Absolute name.
1574
ac_srcdir=$srcdir$ac_dir_suffix;
1575
ac_top_srcdir=$srcdir
1576
ac_abs_top_srcdir=$srcdir ;;
1578
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1579
ac_top_srcdir=$ac_top_build_prefix$srcdir
1580
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1582
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1584
cd "$ac_dir" || { ac_status=$?; continue; }
1585
# Check for guested configure.
1586
if test -f "$ac_srcdir/configure.gnu"; then
1588
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1589
elif test -f "$ac_srcdir/configure"; then
1591
$SHELL "$ac_srcdir/configure" --help=recursive
1593
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1595
cd "$ac_pwd" || { ac_status=$?; break; }
1599
test -n "$ac_init_help" && exit $ac_status
1600
if $ac_init_version; then
1602
igraph configure 0.5.3
1603
generated by GNU Autoconf 2.61
1605
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1606
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1607
This configure script is free software; the Free Software Foundation
1608
gives unlimited permission to copy, distribute and modify it.
1612
cat >config.log <<_ACEOF
1613
This file contains any messages produced by compilers while
1614
running configure, to aid debugging if configure makes a mistake.
1616
It was created by igraph $as_me 0.5.3, which was
1617
generated by GNU Autoconf 2.61. Invocation command line was
1629
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1630
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1631
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1632
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1633
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1635
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1636
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1638
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1639
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1640
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1641
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1642
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1643
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1644
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1648
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1652
test -z "$as_dir" && as_dir=.
1653
echo "PATH: $as_dir"
1669
# Keep a trace of the command line.
1670
# Strip out --no-create and --no-recursion so they do not pile up.
1671
# Strip out --silent because we don't want to record it for future runs.
1672
# Also quote any args containing shell meta-characters.
1673
# Make two passes to allow for proper duplicate-argument suppression.
1677
ac_must_keep_next=false
1683
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1684
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1685
| -silent | --silent | --silen | --sile | --sil)
1688
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1691
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1693
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1694
if test $ac_must_keep_next = true; then
1695
ac_must_keep_next=false # Got value, back to normal.
1698
*=* | --config-cache | -C | -disable-* | --disable-* \
1699
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1700
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1701
| -with-* | --with-* | -without-* | --without-* | --x)
1702
case "$ac_configure_args0 " in
1703
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1706
-* ) ac_must_keep_next=true ;;
1709
ac_configure_args="$ac_configure_args '$ac_arg'"
1714
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1715
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1717
# When interrupted or exit'd, cleanup temporary files, and complete
1718
# config.log. We remove comments because anyway the quotes in there
1719
# would cause problems or look ugly.
1720
# WARNING: Use '\'' to represent an apostrophe within the trap.
1721
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1722
trap 'exit_status=$?
1723
# Save into config.log some information that might help in debugging.
1728
## ---------------- ##
1729
## Cache variables. ##
1730
## ---------------- ##
1733
# The following way of writing the cache mishandles newlines in values,
1735
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1736
eval ac_val=\$$ac_var
1740
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1741
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1744
_ | IFS | as_nl) ;; #(
1745
*) $as_unset $ac_var ;;
1750
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1751
*${as_nl}ac_space=\ *)
1753
"s/'\''/'\''\\\\'\'''\''/g;
1754
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1757
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1765
## ----------------- ##
1766
## Output variables. ##
1767
## ----------------- ##
1770
for ac_var in $ac_subst_vars
1772
eval ac_val=\$$ac_var
1774
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1776
echo "$ac_var='\''$ac_val'\''"
1780
if test -n "$ac_subst_files"; then
1782
## ------------------- ##
1783
## File substitutions. ##
1784
## ------------------- ##
1787
for ac_var in $ac_subst_files
1789
eval ac_val=\$$ac_var
1791
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1793
echo "$ac_var='\''$ac_val'\''"
1798
if test -s confdefs.h; then
1808
test "$ac_signal" != 0 &&
1809
echo "$as_me: caught signal $ac_signal"
1810
echo "$as_me: exit $exit_status"
1812
rm -f core *.core core.conftest.* &&
1813
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1816
for ac_signal in 1 2 13 15; do
1817
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1821
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1822
rm -f -r conftest* confdefs.h
1824
# Predefined preprocessor variables.
1826
cat >>confdefs.h <<_ACEOF
1827
#define PACKAGE_NAME "$PACKAGE_NAME"
1831
cat >>confdefs.h <<_ACEOF
1832
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1836
cat >>confdefs.h <<_ACEOF
1837
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1841
cat >>confdefs.h <<_ACEOF
1842
#define PACKAGE_STRING "$PACKAGE_STRING"
1846
cat >>confdefs.h <<_ACEOF
1847
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1851
# Let the site file select an alternate cache file if it wants to.
1852
# Prefer explicitly selected file to automatically selected ones.
1853
if test -n "$CONFIG_SITE"; then
1854
set x "$CONFIG_SITE"
1855
elif test "x$prefix" != xNONE; then
1856
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1858
set x "$ac_default_prefix/share/config.site" \
1859
"$ac_default_prefix/etc/config.site"
1864
if test -r "$ac_site_file"; then
1865
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1866
echo "$as_me: loading site script $ac_site_file" >&6;}
1867
sed 's/^/| /' "$ac_site_file" >&5
1872
if test -r "$cache_file"; then
1873
# Some versions of bash will fail to source /dev/null (special
1874
# files actually), so we avoid doing that.
1875
if test -f "$cache_file"; then
1876
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1877
echo "$as_me: loading cache $cache_file" >&6;}
1879
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1880
*) . "./$cache_file";;
1884
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1885
echo "$as_me: creating cache $cache_file" >&6;}
1889
# Check that the precious variables saved in the cache have kept the same
1891
ac_cache_corrupted=false
1892
for ac_var in $ac_precious_vars; do
1893
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1894
eval ac_new_set=\$ac_env_${ac_var}_set
1895
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1896
eval ac_new_val=\$ac_env_${ac_var}_value
1897
case $ac_old_set,$ac_new_set in
1899
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1900
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1901
ac_cache_corrupted=: ;;
1903
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1904
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1905
ac_cache_corrupted=: ;;
1908
if test "x$ac_old_val" != "x$ac_new_val"; then
1909
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1910
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1911
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1912
echo "$as_me: former value: $ac_old_val" >&2;}
1913
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1914
echo "$as_me: current value: $ac_new_val" >&2;}
1915
ac_cache_corrupted=:
1918
# Pass precious variables to config.status.
1919
if test "$ac_new_set" = set; then
1921
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1922
*) ac_arg=$ac_var=$ac_new_val ;;
1924
case " $ac_configure_args " in
1925
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1926
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1930
if $ac_cache_corrupted; then
1931
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1932
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1933
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1934
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1935
{ (exit 1); exit 1; }; }
1963
ac_cpp='$CPP $CPPFLAGS'
1964
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1965
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1966
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1970
am__api_version='1.10'
1973
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1974
if test -f "$ac_dir/install-sh"; then
1976
ac_install_sh="$ac_aux_dir/install-sh -c"
1978
elif test -f "$ac_dir/install.sh"; then
1980
ac_install_sh="$ac_aux_dir/install.sh -c"
1982
elif test -f "$ac_dir/shtool"; then
1984
ac_install_sh="$ac_aux_dir/shtool install -c"
1988
if test -z "$ac_aux_dir"; then
1989
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1990
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1991
{ (exit 1); exit 1; }; }
1994
# These three variables are undocumented and unsupported,
1995
# and are intended to be withdrawn in a future Autoconf release.
1996
# They can cause serious problems if a builder's source tree is in a directory
1997
# whose full name contains unusual characters.
1998
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1999
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2000
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2003
# Find a good install program. We prefer a C program (faster),
2004
# so one script is as good as another. But avoid the broken or
2005
# incompatible versions:
2006
# SysV /etc/install, /usr/sbin/install
2007
# SunOS /usr/etc/install
2008
# IRIX /sbin/install
2010
# AmigaOS /C/install, which installs bootblocks on floppy discs
2011
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2012
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2013
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2014
# OS/2's system install, which has a completely different semantic
2015
# ./install, which can be erroneously created by make from ./install.sh.
2016
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2017
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2018
if test -z "$INSTALL"; then
2019
if test "${ac_cv_path_install+set}" = set; then
2020
echo $ECHO_N "(cached) $ECHO_C" >&6
2022
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2026
test -z "$as_dir" && as_dir=.
2027
# Account for people who put trailing slashes in PATH elements.
2029
./ | .// | /cC/* | \
2030
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2031
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2034
# OSF1 and SCO ODT 3.0 have their own names for install.
2035
# Don't use installbsd from OSF since it installs stuff as root
2037
for ac_prog in ginstall scoinst install; do
2038
for ac_exec_ext in '' $ac_executable_extensions; do
2039
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2040
if test $ac_prog = install &&
2041
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2042
# AIX install. It has an incompatible calling convention.
2044
elif test $ac_prog = install &&
2045
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2046
# program-specific install script used by HP pwplus--don't use.
2049
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2062
if test "${ac_cv_path_install+set}" = set; then
2063
INSTALL=$ac_cv_path_install
2065
# As a last resort, use the slow shell script. Don't cache a
2066
# value for INSTALL within a source directory, because that will
2067
# break other packages using the cache if that directory is
2068
# removed, or if the value is a relative name.
2069
INSTALL=$ac_install_sh
2072
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2073
echo "${ECHO_T}$INSTALL" >&6; }
2075
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2076
# It thinks the first close brace ends the variable substitution.
2077
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2079
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2081
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2083
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2084
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2087
echo timestamp > conftest.file
2088
# Do `set' in a subshell so we don't clobber the current shell's
2089
# arguments. Must try -L first in case configure is actually a
2090
# symlink; some systems play weird games with the mod time of symlinks
2091
# (eg FreeBSD returns the mod time of the symlink's containing
2094
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2095
if test "$*" = "X"; then
2097
set X `ls -t $srcdir/configure conftest.file`
2100
if test "$*" != "X $srcdir/configure conftest.file" \
2101
&& test "$*" != "X conftest.file $srcdir/configure"; then
2103
# If neither matched, then we have a broken ls. This can happen
2104
# if, for instance, CONFIG_SHELL is bash and it inherits a
2105
# broken ls alias from the environment. This has actually
2106
# happened. Such a system could not be considered "sane".
2107
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2108
alias in your environment" >&5
2109
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2110
alias in your environment" >&2;}
2111
{ (exit 1); exit 1; }; }
2114
test "$2" = conftest.file
2120
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2121
Check your system clock" >&5
2122
echo "$as_me: error: newly created file is older than distributed files!
2123
Check your system clock" >&2;}
2124
{ (exit 1); exit 1; }; }
2126
{ echo "$as_me:$LINENO: result: yes" >&5
2127
echo "${ECHO_T}yes" >&6; }
2128
test "$program_prefix" != NONE &&
2129
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2130
# Use a double $ so make ignores it.
2131
test "$program_suffix" != NONE &&
2132
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2133
# Double any \ or $. echo might interpret backslashes.
2134
# By default was `s,x,x', remove it if useless.
2135
cat <<\_ACEOF >conftest.sed
2136
s/[\\$]/&&/g;s/;s,x,x,$//
2138
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2141
# expand $ac_aux_dir to an absolute path
2142
am_aux_dir=`cd $ac_aux_dir && pwd`
2144
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2145
# Use eval to expand $SHELL
2146
if eval "$MISSING --run true"; then
2147
am_missing_run="$MISSING --run "
2150
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2151
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2154
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2155
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2156
if test -z "$MKDIR_P"; then
2157
if test "${ac_cv_path_mkdir+set}" = set; then
2158
echo $ECHO_N "(cached) $ECHO_C" >&6
2160
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2161
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2164
test -z "$as_dir" && as_dir=.
2165
for ac_prog in mkdir gmkdir; do
2166
for ac_exec_ext in '' $ac_executable_extensions; do
2167
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2168
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2169
'mkdir (GNU coreutils) '* | \
2170
'mkdir (coreutils) '* | \
2171
'mkdir (fileutils) '4.1*)
2172
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2182
if test "${ac_cv_path_mkdir+set}" = set; then
2183
MKDIR_P="$ac_cv_path_mkdir -p"
2185
# As a last resort, use the slow shell script. Don't cache a
2186
# value for MKDIR_P within a source directory, because that will
2187
# break other packages using the cache if that directory is
2188
# removed, or if the value is a relative name.
2189
test -d ./--version && rmdir ./--version
2190
MKDIR_P="$ac_install_sh -d"
2193
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2194
echo "${ECHO_T}$MKDIR_P" >&6; }
2198
[\\/$]* | ?:[\\/]*) ;;
2199
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2202
for ac_prog in gawk mawk nawk awk
2204
# Extract the first word of "$ac_prog", so it can be a program name with args.
2205
set dummy $ac_prog; ac_word=$2
2206
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2207
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2208
if test "${ac_cv_prog_AWK+set}" = set; then
2209
echo $ECHO_N "(cached) $ECHO_C" >&6
2211
if test -n "$AWK"; then
2212
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2214
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218
test -z "$as_dir" && as_dir=.
2219
for ac_exec_ext in '' $ac_executable_extensions; do
2220
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2221
ac_cv_prog_AWK="$ac_prog"
2222
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2232
if test -n "$AWK"; then
2233
{ echo "$as_me:$LINENO: result: $AWK" >&5
2234
echo "${ECHO_T}$AWK" >&6; }
2236
{ echo "$as_me:$LINENO: result: no" >&5
2237
echo "${ECHO_T}no" >&6; }
2241
test -n "$AWK" && break
2244
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2245
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2246
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2247
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2248
echo $ECHO_N "(cached) $ECHO_C" >&6
2250
cat >conftest.make <<\_ACEOF
2253
@echo '@@@%%%=$(MAKE)=@@@%%%'
2255
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2256
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2258
eval ac_cv_prog_make_${ac_make}_set=yes;;
2260
eval ac_cv_prog_make_${ac_make}_set=no;;
2264
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2265
{ echo "$as_me:$LINENO: result: yes" >&5
2266
echo "${ECHO_T}yes" >&6; }
2269
{ echo "$as_me:$LINENO: result: no" >&5
2270
echo "${ECHO_T}no" >&6; }
2271
SET_MAKE="MAKE=${MAKE-make}"
2274
rm -rf .tst 2>/dev/null
2275
mkdir .tst 2>/dev/null
2276
if test -d .tst; then
2281
rmdir .tst 2>/dev/null
2283
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2284
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2285
# is not polluted with repeated "-I."
2286
am__isrc=' -I$(srcdir)'
2287
# test to see if srcdir already configured
2288
if test -f $srcdir/config.status; then
2289
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2290
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2291
{ (exit 1); exit 1; }; }
2295
# test whether we have cygpath
2296
if test -z "$CYGPATH_W"; then
2297
if (cygpath --version) >/dev/null 2>/dev/null; then
2298
CYGPATH_W='cygpath -w'
2305
# Define the identity of the package.
2310
cat >>confdefs.h <<_ACEOF
2311
#define PACKAGE "$PACKAGE"
2315
cat >>confdefs.h <<_ACEOF
2316
#define VERSION "$VERSION"
2319
# Some tools Automake needs.
2321
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2324
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2327
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2330
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2333
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2335
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2337
# Installed binaries are usually stripped using `strip' when the user
2338
# run `make install-strip'. However `strip' might not be the right
2339
# tool to use in cross-compilation environments, therefore Automake
2340
# will honor the `STRIP' environment variable to overrule this program.
2341
if test "$cross_compiling" != no; then
2342
if test -n "$ac_tool_prefix"; then
2343
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2344
set dummy ${ac_tool_prefix}strip; ac_word=$2
2345
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2346
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2347
if test "${ac_cv_prog_STRIP+set}" = set; then
2348
echo $ECHO_N "(cached) $ECHO_C" >&6
2350
if test -n "$STRIP"; then
2351
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2353
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2357
test -z "$as_dir" && as_dir=.
2358
for ac_exec_ext in '' $ac_executable_extensions; do
2359
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2360
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2361
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2370
STRIP=$ac_cv_prog_STRIP
2371
if test -n "$STRIP"; then
2372
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2373
echo "${ECHO_T}$STRIP" >&6; }
2375
{ echo "$as_me:$LINENO: result: no" >&5
2376
echo "${ECHO_T}no" >&6; }
2381
if test -z "$ac_cv_prog_STRIP"; then
2383
# Extract the first word of "strip", so it can be a program name with args.
2384
set dummy strip; ac_word=$2
2385
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2386
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2387
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2388
echo $ECHO_N "(cached) $ECHO_C" >&6
2390
if test -n "$ac_ct_STRIP"; then
2391
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2393
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2397
test -z "$as_dir" && as_dir=.
2398
for ac_exec_ext in '' $ac_executable_extensions; do
2399
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2400
ac_cv_prog_ac_ct_STRIP="strip"
2401
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2410
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2411
if test -n "$ac_ct_STRIP"; then
2412
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2413
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2415
{ echo "$as_me:$LINENO: result: no" >&5
2416
echo "${ECHO_T}no" >&6; }
2419
if test "x$ac_ct_STRIP" = x; then
2422
case $cross_compiling:$ac_tool_warned in
2424
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2425
whose name does not start with the host triplet. If you think this
2426
configuration is useful to you, please write to autoconf@gnu.org." >&5
2427
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2428
whose name does not start with the host triplet. If you think this
2429
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2430
ac_tool_warned=yes ;;
2435
STRIP="$ac_cv_prog_STRIP"
2439
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2441
# We need awk for the "check" target. The system "awk" is bad on
2443
# Always define AMTAR for backward compatibility.
2445
AMTAR=${AMTAR-"${am_missing_run}tar"}
2447
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2453
ac_config_headers="$ac_config_headers config.h"
2457
ac_config_commands="$ac_config_commands tests/atconfig"
2460
ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
2464
ac_cpp='$CPP $CPPFLAGS'
2465
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2466
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2467
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2468
if test -n "$ac_tool_prefix"; then
2469
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2470
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2471
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2472
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2473
if test "${ac_cv_prog_CC+set}" = set; then
2474
echo $ECHO_N "(cached) $ECHO_C" >&6
2476
if test -n "$CC"; then
2477
ac_cv_prog_CC="$CC" # Let the user override the test.
2479
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2483
test -z "$as_dir" && as_dir=.
2484
for ac_exec_ext in '' $ac_executable_extensions; do
2485
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2486
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2487
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2497
if test -n "$CC"; then
2498
{ echo "$as_me:$LINENO: result: $CC" >&5
2499
echo "${ECHO_T}$CC" >&6; }
2501
{ echo "$as_me:$LINENO: result: no" >&5
2502
echo "${ECHO_T}no" >&6; }
2507
if test -z "$ac_cv_prog_CC"; then
2509
# Extract the first word of "gcc", so it can be a program name with args.
2510
set dummy gcc; ac_word=$2
2511
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2512
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2513
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2514
echo $ECHO_N "(cached) $ECHO_C" >&6
2516
if test -n "$ac_ct_CC"; then
2517
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2519
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2523
test -z "$as_dir" && as_dir=.
2524
for ac_exec_ext in '' $ac_executable_extensions; do
2525
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2526
ac_cv_prog_ac_ct_CC="gcc"
2527
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2536
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2537
if test -n "$ac_ct_CC"; then
2538
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2539
echo "${ECHO_T}$ac_ct_CC" >&6; }
2541
{ echo "$as_me:$LINENO: result: no" >&5
2542
echo "${ECHO_T}no" >&6; }
2545
if test "x$ac_ct_CC" = x; then
2548
case $cross_compiling:$ac_tool_warned in
2550
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2551
whose name does not start with the host triplet. If you think this
2552
configuration is useful to you, please write to autoconf@gnu.org." >&5
2553
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2554
whose name does not start with the host triplet. If you think this
2555
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2556
ac_tool_warned=yes ;;
2564
if test -z "$CC"; then
2565
if test -n "$ac_tool_prefix"; then
2566
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2567
set dummy ${ac_tool_prefix}cc; ac_word=$2
2568
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2569
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2570
if test "${ac_cv_prog_CC+set}" = set; then
2571
echo $ECHO_N "(cached) $ECHO_C" >&6
2573
if test -n "$CC"; then
2574
ac_cv_prog_CC="$CC" # Let the user override the test.
2576
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580
test -z "$as_dir" && as_dir=.
2581
for ac_exec_ext in '' $ac_executable_extensions; do
2582
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2583
ac_cv_prog_CC="${ac_tool_prefix}cc"
2584
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2594
if test -n "$CC"; then
2595
{ echo "$as_me:$LINENO: result: $CC" >&5
2596
echo "${ECHO_T}$CC" >&6; }
2598
{ echo "$as_me:$LINENO: result: no" >&5
2599
echo "${ECHO_T}no" >&6; }
2605
if test -z "$CC"; then
2606
# Extract the first word of "cc", so it can be a program name with args.
2607
set dummy cc; ac_word=$2
2608
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2609
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2610
if test "${ac_cv_prog_CC+set}" = set; then
2611
echo $ECHO_N "(cached) $ECHO_C" >&6
2613
if test -n "$CC"; then
2614
ac_cv_prog_CC="$CC" # Let the user override the test.
2617
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621
test -z "$as_dir" && as_dir=.
2622
for ac_exec_ext in '' $ac_executable_extensions; do
2623
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2624
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2625
ac_prog_rejected=yes
2629
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2636
if test $ac_prog_rejected = yes; then
2637
# We found a bogon in the path, so make sure we never use it.
2638
set dummy $ac_cv_prog_CC
2640
if test $# != 0; then
2641
# We chose a different compiler from the bogus one.
2642
# However, it has the same basename, so the bogon will be chosen
2643
# first if we set CC to just the basename; use the full file name.
2645
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2651
if test -n "$CC"; then
2652
{ echo "$as_me:$LINENO: result: $CC" >&5
2653
echo "${ECHO_T}$CC" >&6; }
2655
{ echo "$as_me:$LINENO: result: no" >&5
2656
echo "${ECHO_T}no" >&6; }
2661
if test -z "$CC"; then
2662
if test -n "$ac_tool_prefix"; then
2663
for ac_prog in cl.exe
2665
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2666
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2667
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2668
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2669
if test "${ac_cv_prog_CC+set}" = set; then
2670
echo $ECHO_N "(cached) $ECHO_C" >&6
2672
if test -n "$CC"; then
2673
ac_cv_prog_CC="$CC" # Let the user override the test.
2675
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2679
test -z "$as_dir" && as_dir=.
2680
for ac_exec_ext in '' $ac_executable_extensions; do
2681
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2682
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2683
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2693
if test -n "$CC"; then
2694
{ echo "$as_me:$LINENO: result: $CC" >&5
2695
echo "${ECHO_T}$CC" >&6; }
2697
{ echo "$as_me:$LINENO: result: no" >&5
2698
echo "${ECHO_T}no" >&6; }
2702
test -n "$CC" && break
2705
if test -z "$CC"; then
2707
for ac_prog in cl.exe
2709
# Extract the first word of "$ac_prog", so it can be a program name with args.
2710
set dummy $ac_prog; ac_word=$2
2711
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2712
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2713
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2714
echo $ECHO_N "(cached) $ECHO_C" >&6
2716
if test -n "$ac_ct_CC"; then
2717
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2719
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2723
test -z "$as_dir" && as_dir=.
2724
for ac_exec_ext in '' $ac_executable_extensions; do
2725
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2726
ac_cv_prog_ac_ct_CC="$ac_prog"
2727
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2736
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2737
if test -n "$ac_ct_CC"; then
2738
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2739
echo "${ECHO_T}$ac_ct_CC" >&6; }
2741
{ echo "$as_me:$LINENO: result: no" >&5
2742
echo "${ECHO_T}no" >&6; }
2746
test -n "$ac_ct_CC" && break
2749
if test "x$ac_ct_CC" = x; then
2752
case $cross_compiling:$ac_tool_warned in
2754
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2755
whose name does not start with the host triplet. If you think this
2756
configuration is useful to you, please write to autoconf@gnu.org." >&5
2757
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2758
whose name does not start with the host triplet. If you think this
2759
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2760
ac_tool_warned=yes ;;
2769
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2770
See \`config.log' for more details." >&5
2771
echo "$as_me: error: no acceptable C compiler found in \$PATH
2772
See \`config.log' for more details." >&2;}
2773
{ (exit 1); exit 1; }; }
2775
# Provide some information about the compiler.
2776
echo "$as_me:$LINENO: checking for C compiler version" >&5
2777
ac_compiler=`set X $ac_compile; echo $2`
2778
{ (ac_try="$ac_compiler --version >&5"
2780
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2781
*) ac_try_echo=$ac_try;;
2783
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2784
(eval "$ac_compiler --version >&5") 2>&5
2786
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787
(exit $ac_status); }
2788
{ (ac_try="$ac_compiler -v >&5"
2790
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791
*) ac_try_echo=$ac_try;;
2793
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2794
(eval "$ac_compiler -v >&5") 2>&5
2796
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797
(exit $ac_status); }
2798
{ (ac_try="$ac_compiler -V >&5"
2800
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2801
*) ac_try_echo=$ac_try;;
2803
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2804
(eval "$ac_compiler -V >&5") 2>&5
2806
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807
(exit $ac_status); }
2809
cat >conftest.$ac_ext <<_ACEOF
2812
cat confdefs.h >>conftest.$ac_ext
2813
cat >>conftest.$ac_ext <<_ACEOF
2814
/* end confdefs.h. */
2824
ac_clean_files_save=$ac_clean_files
2825
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2826
# Try to create an executable without -o first, disregard a.out.
2827
# It will help us diagnose broken compilers, and finding out an intuition
2829
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2830
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2831
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2833
# List of possible output files, starting from the most likely.
2834
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2835
# only as a last resort. b.out is created by i960 compilers.
2836
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2838
# The IRIX 6 linker writes into existing files which may not be
2839
# executable, retaining their permissions. Remove them first so a
2840
# subsequent execution test works.
2842
for ac_file in $ac_files
2845
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2846
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2851
if { (ac_try="$ac_link_default"
2853
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854
*) ac_try_echo=$ac_try;;
2856
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2857
(eval "$ac_link_default") 2>&5
2859
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860
(exit $ac_status); }; then
2861
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2862
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2863
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2864
# so that the user can short-circuit this test for compilers unknown to
2866
for ac_file in $ac_files ''
2868
test -f "$ac_file" || continue
2870
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2873
# We found the default executable, but exeext='' is most
2877
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2879
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2881
# We set ac_cv_exeext here because the later test for it is not
2882
# safe: cross compilers may not add the suffix if given an `-o'
2883
# argument, so we may need to know it at that point already.
2884
# Even if this section looks crufty: it has the advantage of
2891
test "$ac_cv_exeext" = no && ac_cv_exeext=
2897
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2898
echo "${ECHO_T}$ac_file" >&6; }
2899
if test -z "$ac_file"; then
2900
echo "$as_me: failed program was:" >&5
2901
sed 's/^/| /' conftest.$ac_ext >&5
2903
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2904
See \`config.log' for more details." >&5
2905
echo "$as_me: error: C compiler cannot create executables
2906
See \`config.log' for more details." >&2;}
2907
{ (exit 77); exit 77; }; }
2910
ac_exeext=$ac_cv_exeext
2912
# Check that the compiler produces executables we can run. If not, either
2913
# the compiler is broken, or we cross compile.
2914
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2915
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2916
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2917
# If not cross compiling, check that we can run a simple program.
2918
if test "$cross_compiling" != yes; then
2919
if { ac_try='./$ac_file'
2920
{ (case "(($ac_try" in
2921
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2922
*) ac_try_echo=$ac_try;;
2924
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2925
(eval "$ac_try") 2>&5
2927
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928
(exit $ac_status); }; }; then
2931
if test "$cross_compiling" = maybe; then
2934
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2935
If you meant to cross compile, use \`--host'.
2936
See \`config.log' for more details." >&5
2937
echo "$as_me: error: cannot run C compiled programs.
2938
If you meant to cross compile, use \`--host'.
2939
See \`config.log' for more details." >&2;}
2940
{ (exit 1); exit 1; }; }
2944
{ echo "$as_me:$LINENO: result: yes" >&5
2945
echo "${ECHO_T}yes" >&6; }
2947
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2948
ac_clean_files=$ac_clean_files_save
2949
# Check that the compiler produces executables we can run. If not, either
2950
# the compiler is broken, or we cross compile.
2951
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2952
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2953
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2954
echo "${ECHO_T}$cross_compiling" >&6; }
2956
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2957
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2958
if { (ac_try="$ac_link"
2960
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961
*) ac_try_echo=$ac_try;;
2963
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2964
(eval "$ac_link") 2>&5
2966
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967
(exit $ac_status); }; then
2968
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2969
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2970
# work properly (i.e., refer to `conftest.exe'), while it won't with
2972
for ac_file in conftest.exe conftest conftest.*; do
2973
test -f "$ac_file" || continue
2975
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2976
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2982
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2983
See \`config.log' for more details." >&5
2984
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2985
See \`config.log' for more details." >&2;}
2986
{ (exit 1); exit 1; }; }
2989
rm -f conftest$ac_cv_exeext
2990
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2991
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2993
rm -f conftest.$ac_ext
2994
EXEEXT=$ac_cv_exeext
2996
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2997
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2998
if test "${ac_cv_objext+set}" = set; then
2999
echo $ECHO_N "(cached) $ECHO_C" >&6
3001
cat >conftest.$ac_ext <<_ACEOF
3004
cat confdefs.h >>conftest.$ac_ext
3005
cat >>conftest.$ac_ext <<_ACEOF
3006
/* end confdefs.h. */
3016
rm -f conftest.o conftest.obj
3017
if { (ac_try="$ac_compile"
3019
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020
*) ac_try_echo=$ac_try;;
3022
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3023
(eval "$ac_compile") 2>&5
3025
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026
(exit $ac_status); }; then
3027
for ac_file in conftest.o conftest.obj conftest.*; do
3028
test -f "$ac_file" || continue;
3030
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3031
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3036
echo "$as_me: failed program was:" >&5
3037
sed 's/^/| /' conftest.$ac_ext >&5
3039
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3040
See \`config.log' for more details." >&5
3041
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3042
See \`config.log' for more details." >&2;}
3043
{ (exit 1); exit 1; }; }
3046
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3048
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3049
echo "${ECHO_T}$ac_cv_objext" >&6; }
3050
OBJEXT=$ac_cv_objext
3052
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3053
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3054
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3055
echo $ECHO_N "(cached) $ECHO_C" >&6
3057
cat >conftest.$ac_ext <<_ACEOF
3060
cat confdefs.h >>conftest.$ac_ext
3061
cat >>conftest.$ac_ext <<_ACEOF
3062
/* end confdefs.h. */
3075
rm -f conftest.$ac_objext
3076
if { (ac_try="$ac_compile"
3078
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079
*) ac_try_echo=$ac_try;;
3081
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3082
(eval "$ac_compile") 2>conftest.er1
3084
grep -v '^ *+' conftest.er1 >conftest.err
3086
cat conftest.err >&5
3087
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088
(exit $ac_status); } && {
3089
test -z "$ac_c_werror_flag" ||
3090
test ! -s conftest.err
3091
} && test -s conftest.$ac_objext; then
3094
echo "$as_me: failed program was:" >&5
3095
sed 's/^/| /' conftest.$ac_ext >&5
3100
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3101
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3104
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3105
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3106
GCC=`test $ac_compiler_gnu = yes && echo yes`
3107
ac_test_CFLAGS=${CFLAGS+set}
3108
ac_save_CFLAGS=$CFLAGS
3109
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3110
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3111
if test "${ac_cv_prog_cc_g+set}" = set; then
3112
echo $ECHO_N "(cached) $ECHO_C" >&6
3114
ac_save_c_werror_flag=$ac_c_werror_flag
3115
ac_c_werror_flag=yes
3118
cat >conftest.$ac_ext <<_ACEOF
3121
cat confdefs.h >>conftest.$ac_ext
3122
cat >>conftest.$ac_ext <<_ACEOF
3123
/* end confdefs.h. */
3133
rm -f conftest.$ac_objext
3134
if { (ac_try="$ac_compile"
3136
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137
*) ac_try_echo=$ac_try;;
3139
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3140
(eval "$ac_compile") 2>conftest.er1
3142
grep -v '^ *+' conftest.er1 >conftest.err
3144
cat conftest.err >&5
3145
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146
(exit $ac_status); } && {
3147
test -z "$ac_c_werror_flag" ||
3148
test ! -s conftest.err
3149
} && test -s conftest.$ac_objext; then
3152
echo "$as_me: failed program was:" >&5
3153
sed 's/^/| /' conftest.$ac_ext >&5
3156
cat >conftest.$ac_ext <<_ACEOF
3159
cat confdefs.h >>conftest.$ac_ext
3160
cat >>conftest.$ac_ext <<_ACEOF
3161
/* end confdefs.h. */
3171
rm -f conftest.$ac_objext
3172
if { (ac_try="$ac_compile"
3174
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3175
*) ac_try_echo=$ac_try;;
3177
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3178
(eval "$ac_compile") 2>conftest.er1
3180
grep -v '^ *+' conftest.er1 >conftest.err
3182
cat conftest.err >&5
3183
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184
(exit $ac_status); } && {
3185
test -z "$ac_c_werror_flag" ||
3186
test ! -s conftest.err
3187
} && test -s conftest.$ac_objext; then
3190
echo "$as_me: failed program was:" >&5
3191
sed 's/^/| /' conftest.$ac_ext >&5
3193
ac_c_werror_flag=$ac_save_c_werror_flag
3195
cat >conftest.$ac_ext <<_ACEOF
3198
cat confdefs.h >>conftest.$ac_ext
3199
cat >>conftest.$ac_ext <<_ACEOF
3200
/* end confdefs.h. */
3210
rm -f conftest.$ac_objext
3211
if { (ac_try="$ac_compile"
3213
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3214
*) ac_try_echo=$ac_try;;
3216
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3217
(eval "$ac_compile") 2>conftest.er1
3219
grep -v '^ *+' conftest.er1 >conftest.err
3221
cat conftest.err >&5
3222
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223
(exit $ac_status); } && {
3224
test -z "$ac_c_werror_flag" ||
3225
test ! -s conftest.err
3226
} && test -s conftest.$ac_objext; then
3229
echo "$as_me: failed program was:" >&5
3230
sed 's/^/| /' conftest.$ac_ext >&5
3235
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3238
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3241
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242
ac_c_werror_flag=$ac_save_c_werror_flag
3244
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3245
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3246
if test "$ac_test_CFLAGS" = set; then
3247
CFLAGS=$ac_save_CFLAGS
3248
elif test $ac_cv_prog_cc_g = yes; then
3249
if test "$GCC" = yes; then
3255
if test "$GCC" = yes; then
3261
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3262
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3263
if test "${ac_cv_prog_cc_c89+set}" = set; then
3264
echo $ECHO_N "(cached) $ECHO_C" >&6
3266
ac_cv_prog_cc_c89=no
3268
cat >conftest.$ac_ext <<_ACEOF
3271
cat confdefs.h >>conftest.$ac_ext
3272
cat >>conftest.$ac_ext <<_ACEOF
3273
/* end confdefs.h. */
3276
#include <sys/types.h>
3277
#include <sys/stat.h>
3278
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3279
struct buf { int x; };
3280
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3281
static char *e (p, i)
3287
static char *f (char * (*g) (char **, int), char **p, ...)
3292
s = g (p, va_arg (v,int));
3297
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3298
function prototypes and stuff, but not '\xHH' hex character constants.
3299
These don't provoke an error unfortunately, instead are silently treated
3300
as 'x'. The following induces an error, until -std is added to get
3301
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3302
array size at least. It's necessary to write '\x00'==0 to get something
3303
that's true only with -std. */
3304
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3306
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3307
inside strings and character constants. */
3309
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3311
int test (int i, double x);
3312
struct s1 {int (*f) (int a);};
3313
struct s2 {int (*f) (double a);};
3314
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3320
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3325
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3326
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3328
CC="$ac_save_CC $ac_arg"
3329
rm -f conftest.$ac_objext
3330
if { (ac_try="$ac_compile"
3332
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333
*) ac_try_echo=$ac_try;;
3335
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3336
(eval "$ac_compile") 2>conftest.er1
3338
grep -v '^ *+' conftest.er1 >conftest.err
3340
cat conftest.err >&5
3341
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342
(exit $ac_status); } && {
3343
test -z "$ac_c_werror_flag" ||
3344
test ! -s conftest.err
3345
} && test -s conftest.$ac_objext; then
3346
ac_cv_prog_cc_c89=$ac_arg
3348
echo "$as_me: failed program was:" >&5
3349
sed 's/^/| /' conftest.$ac_ext >&5
3354
rm -f core conftest.err conftest.$ac_objext
3355
test "x$ac_cv_prog_cc_c89" != "xno" && break
3357
rm -f conftest.$ac_ext
3362
case "x$ac_cv_prog_cc_c89" in
3364
{ echo "$as_me:$LINENO: result: none needed" >&5
3365
echo "${ECHO_T}none needed" >&6; } ;;
3367
{ echo "$as_me:$LINENO: result: unsupported" >&5
3368
echo "${ECHO_T}unsupported" >&6; } ;;
3370
CC="$CC $ac_cv_prog_cc_c89"
3371
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3372
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3377
ac_cpp='$CPP $CPPFLAGS'
3378
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3379
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3380
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3381
DEPDIR="${am__leading_dot}deps"
3383
ac_config_commands="$ac_config_commands depfiles"
3386
am_make=${MAKE-make}
3387
cat > confinc << 'END'
3392
# If we don't find an include directive, just comment out the code.
3393
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3394
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3398
# First try GNU make style include.
3399
echo "include confinc" > confmf
3400
# We grep out `Entering directory' and `Leaving directory'
3401
# messages which can occur if `w' ends up in MAKEFLAGS.
3402
# In particular we don't look at `^make:' because GNU make might
3403
# be invoked under some other name (usually "gmake"), in which
3404
# case it prints its new name instead of `make'.
3405
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3410
# Now try BSD make style include.
3411
if test "$am__include" = "#"; then
3412
echo '.include "confinc"' > confmf
3413
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3414
am__include=.include
3421
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3422
echo "${ECHO_T}$_am_result" >&6; }
3423
rm -f confinc confmf
3425
# Check whether --enable-dependency-tracking was given.
3426
if test "${enable_dependency_tracking+set}" = set; then
3427
enableval=$enable_dependency_tracking;
3430
if test "x$enable_dependency_tracking" != xno; then
3431
am_depcomp="$ac_aux_dir/depcomp"
3434
if test "x$enable_dependency_tracking" != xno; then
3444
depcc="$CC" am_compiler_list=
3446
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3447
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3448
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3449
echo $ECHO_N "(cached) $ECHO_C" >&6
3451
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3452
# We make a subdir and do the tests there. Otherwise we can end up
3453
# making bogus files that we don't know about and never remove. For
3454
# instance it was reported that on HP-UX the gcc test will end up
3455
# making a dummy file named `D' -- because `-MD' means `put the output
3458
# Copy depcomp to subdir because otherwise we won't find it if we're
3459
# using a relative directory.
3460
cp "$am_depcomp" conftest.dir
3462
# We will build objects and dependencies in a subdirectory because
3463
# it helps to detect inapplicable dependency modes. For instance
3464
# both Tru64's cc and ICC support -MD to output dependencies as a
3465
# side effect of compilation, but ICC will put the dependencies in
3466
# the current directory while Tru64 will put them in the object
3470
am_cv_CC_dependencies_compiler_type=none
3471
if test "$am_compiler_list" = ""; then
3472
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3474
for depmode in $am_compiler_list; do
3475
# Setup a source with many dependencies, because some compilers
3476
# like to wrap large dependency lists on column 80 (with \), and
3477
# we should not choose a depcomp mode which is confused by this.
3479
# We need to recreate these files for each test, as the compiler may
3480
# overwrite some of them when testing with obscure command lines.
3481
# This happens at least with the AIX C compiler.
3483
for i in 1 2 3 4 5 6; do
3484
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3485
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3486
# Solaris 8's {/usr,}/bin/sh.
3487
touch sub/conftst$i.h
3489
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3493
# after this tag, mechanisms are not by side-effect, so they'll
3494
# only be used when explicitly requested
3495
if test "x$enable_dependency_tracking" = xyes; then
3503
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3504
# mode. It turns out that the SunPro C++ compiler does not properly
3505
# handle `-M -o', and we need to detect this.
3506
if depmode=$depmode \
3507
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3508
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3509
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3510
>/dev/null 2>conftest.err &&
3511
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3512
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3513
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3514
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3515
# icc doesn't choke on unknown options, it will just issue warnings
3516
# or remarks (even with -Werror). So we grep stderr for any message
3517
# that says an option was ignored or not supported.
3518
# When given -MP, icc 7.0 and 7.1 complain thusly:
3519
# icc: Command line warning: ignoring option '-M'; no argument required
3520
# The diagnosis changed in icc 8.0:
3521
# icc: Command line remark: option '-MP' not supported
3522
if (grep 'ignoring option' conftest.err ||
3523
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3524
am_cv_CC_dependencies_compiler_type=$depmode
3533
am_cv_CC_dependencies_compiler_type=none
3537
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3538
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3539
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3542
test "x$enable_dependency_tracking" != xno \
3543
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3545
am__fastdepCC_FALSE='#'
3547
am__fastdepCC_TRUE='#'
3548
am__fastdepCC_FALSE=
3553
# Tricky check for C++ compiler, because Autoconf has a weird bug:
3554
# http://lists.gnu.org/archive/html/autoconf/2006-03/msg00067.html
3556
ac_cpp='$CXXCPP $CPPFLAGS'
3557
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3558
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3559
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3560
if test -z "$CXX"; then
3561
if test -n "$CCC"; then
3564
if test -n "$ac_tool_prefix"; then
3565
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3567
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3568
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3569
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3570
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3571
if test "${ac_cv_prog_CXX+set}" = set; then
3572
echo $ECHO_N "(cached) $ECHO_C" >&6
3574
if test -n "$CXX"; then
3575
ac_cv_prog_CXX="$CXX" # Let the user override the test.
3577
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581
test -z "$as_dir" && as_dir=.
3582
for ac_exec_ext in '' $ac_executable_extensions; do
3583
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3584
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3585
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3595
if test -n "$CXX"; then
3596
{ echo "$as_me:$LINENO: result: $CXX" >&5
3597
echo "${ECHO_T}$CXX" >&6; }
3599
{ echo "$as_me:$LINENO: result: no" >&5
3600
echo "${ECHO_T}no" >&6; }
3604
test -n "$CXX" && break
3607
if test -z "$CXX"; then
3609
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3611
# Extract the first word of "$ac_prog", so it can be a program name with args.
3612
set dummy $ac_prog; ac_word=$2
3613
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3614
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3615
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3616
echo $ECHO_N "(cached) $ECHO_C" >&6
3618
if test -n "$ac_ct_CXX"; then
3619
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3621
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3625
test -z "$as_dir" && as_dir=.
3626
for ac_exec_ext in '' $ac_executable_extensions; do
3627
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3628
ac_cv_prog_ac_ct_CXX="$ac_prog"
3629
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3638
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3639
if test -n "$ac_ct_CXX"; then
3640
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3641
echo "${ECHO_T}$ac_ct_CXX" >&6; }
3643
{ echo "$as_me:$LINENO: result: no" >&5
3644
echo "${ECHO_T}no" >&6; }
3648
test -n "$ac_ct_CXX" && break
3651
if test "x$ac_ct_CXX" = x; then
3654
case $cross_compiling:$ac_tool_warned in
3656
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3657
whose name does not start with the host triplet. If you think this
3658
configuration is useful to you, please write to autoconf@gnu.org." >&5
3659
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3660
whose name does not start with the host triplet. If you think this
3661
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3662
ac_tool_warned=yes ;;
3670
# Provide some information about the compiler.
3671
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3672
ac_compiler=`set X $ac_compile; echo $2`
3673
{ (ac_try="$ac_compiler --version >&5"
3675
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3676
*) ac_try_echo=$ac_try;;
3678
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3679
(eval "$ac_compiler --version >&5") 2>&5
3681
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682
(exit $ac_status); }
3683
{ (ac_try="$ac_compiler -v >&5"
3685
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3686
*) ac_try_echo=$ac_try;;
3688
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3689
(eval "$ac_compiler -v >&5") 2>&5
3691
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692
(exit $ac_status); }
3693
{ (ac_try="$ac_compiler -V >&5"
3695
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3696
*) ac_try_echo=$ac_try;;
3698
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3699
(eval "$ac_compiler -V >&5") 2>&5
3701
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702
(exit $ac_status); }
3704
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3705
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3706
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3707
echo $ECHO_N "(cached) $ECHO_C" >&6
3709
cat >conftest.$ac_ext <<_ACEOF
3712
cat confdefs.h >>conftest.$ac_ext
3713
cat >>conftest.$ac_ext <<_ACEOF
3714
/* end confdefs.h. */
3727
rm -f conftest.$ac_objext
3728
if { (ac_try="$ac_compile"
3730
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3731
*) ac_try_echo=$ac_try;;
3733
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3734
(eval "$ac_compile") 2>conftest.er1
3736
grep -v '^ *+' conftest.er1 >conftest.err
3738
cat conftest.err >&5
3739
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740
(exit $ac_status); } && {
3741
test -z "$ac_cxx_werror_flag" ||
3742
test ! -s conftest.err
3743
} && test -s conftest.$ac_objext; then
3746
echo "$as_me: failed program was:" >&5
3747
sed 's/^/| /' conftest.$ac_ext >&5
3752
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3753
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3756
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3757
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3758
GXX=`test $ac_compiler_gnu = yes && echo yes`
3759
ac_test_CXXFLAGS=${CXXFLAGS+set}
3760
ac_save_CXXFLAGS=$CXXFLAGS
3761
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3762
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3763
if test "${ac_cv_prog_cxx_g+set}" = set; then
3764
echo $ECHO_N "(cached) $ECHO_C" >&6
3766
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3767
ac_cxx_werror_flag=yes
3770
cat >conftest.$ac_ext <<_ACEOF
3773
cat confdefs.h >>conftest.$ac_ext
3774
cat >>conftest.$ac_ext <<_ACEOF
3775
/* end confdefs.h. */
3785
rm -f conftest.$ac_objext
3786
if { (ac_try="$ac_compile"
3788
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3789
*) ac_try_echo=$ac_try;;
3791
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3792
(eval "$ac_compile") 2>conftest.er1
3794
grep -v '^ *+' conftest.er1 >conftest.err
3796
cat conftest.err >&5
3797
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798
(exit $ac_status); } && {
3799
test -z "$ac_cxx_werror_flag" ||
3800
test ! -s conftest.err
3801
} && test -s conftest.$ac_objext; then
3802
ac_cv_prog_cxx_g=yes
3804
echo "$as_me: failed program was:" >&5
3805
sed 's/^/| /' conftest.$ac_ext >&5
3808
cat >conftest.$ac_ext <<_ACEOF
3811
cat confdefs.h >>conftest.$ac_ext
3812
cat >>conftest.$ac_ext <<_ACEOF
3813
/* end confdefs.h. */
3823
rm -f conftest.$ac_objext
3824
if { (ac_try="$ac_compile"
3826
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3827
*) ac_try_echo=$ac_try;;
3829
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3830
(eval "$ac_compile") 2>conftest.er1
3832
grep -v '^ *+' conftest.er1 >conftest.err
3834
cat conftest.err >&5
3835
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836
(exit $ac_status); } && {
3837
test -z "$ac_cxx_werror_flag" ||
3838
test ! -s conftest.err
3839
} && test -s conftest.$ac_objext; then
3842
echo "$as_me: failed program was:" >&5
3843
sed 's/^/| /' conftest.$ac_ext >&5
3845
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3847
cat >conftest.$ac_ext <<_ACEOF
3850
cat confdefs.h >>conftest.$ac_ext
3851
cat >>conftest.$ac_ext <<_ACEOF
3852
/* end confdefs.h. */
3862
rm -f conftest.$ac_objext
3863
if { (ac_try="$ac_compile"
3865
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3866
*) ac_try_echo=$ac_try;;
3868
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3869
(eval "$ac_compile") 2>conftest.er1
3871
grep -v '^ *+' conftest.er1 >conftest.err
3873
cat conftest.err >&5
3874
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875
(exit $ac_status); } && {
3876
test -z "$ac_cxx_werror_flag" ||
3877
test ! -s conftest.err
3878
} && test -s conftest.$ac_objext; then
3879
ac_cv_prog_cxx_g=yes
3881
echo "$as_me: failed program was:" >&5
3882
sed 's/^/| /' conftest.$ac_ext >&5
3887
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3890
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3893
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3894
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3896
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3897
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3898
if test "$ac_test_CXXFLAGS" = set; then
3899
CXXFLAGS=$ac_save_CXXFLAGS
3900
elif test $ac_cv_prog_cxx_g = yes; then
3901
if test "$GXX" = yes; then
3907
if test "$GXX" = yes; then
3914
ac_cpp='$CPP $CPPFLAGS'
3915
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3919
depcc="$CXX" am_compiler_list=
3921
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3922
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3923
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3924
echo $ECHO_N "(cached) $ECHO_C" >&6
3926
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3927
# We make a subdir and do the tests there. Otherwise we can end up
3928
# making bogus files that we don't know about and never remove. For
3929
# instance it was reported that on HP-UX the gcc test will end up
3930
# making a dummy file named `D' -- because `-MD' means `put the output
3933
# Copy depcomp to subdir because otherwise we won't find it if we're
3934
# using a relative directory.
3935
cp "$am_depcomp" conftest.dir
3937
# We will build objects and dependencies in a subdirectory because
3938
# it helps to detect inapplicable dependency modes. For instance
3939
# both Tru64's cc and ICC support -MD to output dependencies as a
3940
# side effect of compilation, but ICC will put the dependencies in
3941
# the current directory while Tru64 will put them in the object
3945
am_cv_CXX_dependencies_compiler_type=none
3946
if test "$am_compiler_list" = ""; then
3947
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3949
for depmode in $am_compiler_list; do
3950
# Setup a source with many dependencies, because some compilers
3951
# like to wrap large dependency lists on column 80 (with \), and
3952
# we should not choose a depcomp mode which is confused by this.
3954
# We need to recreate these files for each test, as the compiler may
3955
# overwrite some of them when testing with obscure command lines.
3956
# This happens at least with the AIX C compiler.
3958
for i in 1 2 3 4 5 6; do
3959
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3960
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3961
# Solaris 8's {/usr,}/bin/sh.
3962
touch sub/conftst$i.h
3964
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3968
# after this tag, mechanisms are not by side-effect, so they'll
3969
# only be used when explicitly requested
3970
if test "x$enable_dependency_tracking" = xyes; then
3978
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3979
# mode. It turns out that the SunPro C++ compiler does not properly
3980
# handle `-M -o', and we need to detect this.
3981
if depmode=$depmode \
3982
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3983
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3984
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3985
>/dev/null 2>conftest.err &&
3986
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3987
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3988
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3989
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3990
# icc doesn't choke on unknown options, it will just issue warnings
3991
# or remarks (even with -Werror). So we grep stderr for any message
3992
# that says an option was ignored or not supported.
3993
# When given -MP, icc 7.0 and 7.1 complain thusly:
3994
# icc: Command line warning: ignoring option '-M'; no argument required
3995
# The diagnosis changed in icc 8.0:
3996
# icc: Command line remark: option '-MP' not supported
3997
if (grep 'ignoring option' conftest.err ||
3998
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3999
am_cv_CXX_dependencies_compiler_type=$depmode
4008
am_cv_CXX_dependencies_compiler_type=none
4012
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
4013
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
4014
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4017
test "x$enable_dependency_tracking" != xno \
4018
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4019
am__fastdepCXX_TRUE=
4020
am__fastdepCXX_FALSE='#'
4022
am__fastdepCXX_TRUE='#'
4023
am__fastdepCXX_FALSE=
4028
ac_cpp='$CXXCPP $CPPFLAGS'
4029
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4030
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4031
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4034
cat >conftest.$ac_ext <<_ACEOF
4037
cat confdefs.h >>conftest.$ac_ext
4038
cat >>conftest.$ac_ext <<_ACEOF
4039
/* end confdefs.h. */
4042
const char hw[] = "Hello, World\n";
4051
rm -f conftest.$ac_objext
4052
if { (ac_try="$ac_compile"
4054
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4055
*) ac_try_echo=$ac_try;;
4057
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4058
(eval "$ac_compile") 2>conftest.er1
4060
grep -v '^ *+' conftest.er1 >conftest.err
4062
cat conftest.err >&5
4063
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064
(exit $ac_status); } && {
4065
test -z "$ac_cxx_werror_flag" ||
4066
test ! -s conftest.err
4067
} && test -s conftest.$ac_objext; then
4069
ac_cpp='$CXXCPP $CPPFLAGS'
4070
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4071
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4072
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4073
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4074
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4075
if test -z "$CXXCPP"; then
4076
if test "${ac_cv_prog_CXXCPP+set}" = set; then
4077
echo $ECHO_N "(cached) $ECHO_C" >&6
4079
# Double quotes because CXXCPP needs to be expanded
4080
for CXXCPP in "$CXX -E" "/lib/cpp"
4083
for ac_cxx_preproc_warn_flag in '' yes
4085
# Use a header file that comes with gcc, so configuring glibc
4086
# with a fresh cross-compiler works.
4087
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4088
# <limits.h> exists even on freestanding compilers.
4089
# On the NeXT, cc -E runs the code through the compiler's parser,
4090
# not just through cpp. "Syntax error" is here to catch this case.
4091
cat >conftest.$ac_ext <<_ACEOF
4094
cat confdefs.h >>conftest.$ac_ext
4095
cat >>conftest.$ac_ext <<_ACEOF
4096
/* end confdefs.h. */
4098
# include <limits.h>
4100
# include <assert.h>
4104
if { (ac_try="$ac_cpp conftest.$ac_ext"
4106
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4107
*) ac_try_echo=$ac_try;;
4109
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4110
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4112
grep -v '^ *+' conftest.er1 >conftest.err
4114
cat conftest.err >&5
4115
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116
(exit $ac_status); } >/dev/null && {
4117
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4118
test ! -s conftest.err
4122
echo "$as_me: failed program was:" >&5
4123
sed 's/^/| /' conftest.$ac_ext >&5
4125
# Broken: fails on valid input.
4129
rm -f conftest.err conftest.$ac_ext
4131
# OK, works on sane cases. Now check whether nonexistent headers
4132
# can be detected and how.
4133
cat >conftest.$ac_ext <<_ACEOF
4136
cat confdefs.h >>conftest.$ac_ext
4137
cat >>conftest.$ac_ext <<_ACEOF
4138
/* end confdefs.h. */
4139
#include <ac_nonexistent.h>
4141
if { (ac_try="$ac_cpp conftest.$ac_ext"
4143
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4144
*) ac_try_echo=$ac_try;;
4146
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4147
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4149
grep -v '^ *+' conftest.er1 >conftest.err
4151
cat conftest.err >&5
4152
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153
(exit $ac_status); } >/dev/null && {
4154
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4155
test ! -s conftest.err
4157
# Broken: success on invalid input.
4160
echo "$as_me: failed program was:" >&5
4161
sed 's/^/| /' conftest.$ac_ext >&5
4163
# Passes both tests.
4168
rm -f conftest.err conftest.$ac_ext
4171
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4172
rm -f conftest.err conftest.$ac_ext
4173
if $ac_preproc_ok; then
4178
ac_cv_prog_CXXCPP=$CXXCPP
4181
CXXCPP=$ac_cv_prog_CXXCPP
4183
ac_cv_prog_CXXCPP=$CXXCPP
4185
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
4186
echo "${ECHO_T}$CXXCPP" >&6; }
4188
for ac_cxx_preproc_warn_flag in '' yes
4190
# Use a header file that comes with gcc, so configuring glibc
4191
# with a fresh cross-compiler works.
4192
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4193
# <limits.h> exists even on freestanding compilers.
4194
# On the NeXT, cc -E runs the code through the compiler's parser,
4195
# not just through cpp. "Syntax error" is here to catch this case.
4196
cat >conftest.$ac_ext <<_ACEOF
4199
cat confdefs.h >>conftest.$ac_ext
4200
cat >>conftest.$ac_ext <<_ACEOF
4201
/* end confdefs.h. */
4203
# include <limits.h>
4205
# include <assert.h>
4209
if { (ac_try="$ac_cpp conftest.$ac_ext"
4211
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4212
*) ac_try_echo=$ac_try;;
4214
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4215
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4217
grep -v '^ *+' conftest.er1 >conftest.err
4219
cat conftest.err >&5
4220
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221
(exit $ac_status); } >/dev/null && {
4222
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4223
test ! -s conftest.err
4227
echo "$as_me: failed program was:" >&5
4228
sed 's/^/| /' conftest.$ac_ext >&5
4230
# Broken: fails on valid input.
4234
rm -f conftest.err conftest.$ac_ext
4236
# OK, works on sane cases. Now check whether nonexistent headers
4237
# can be detected and how.
4238
cat >conftest.$ac_ext <<_ACEOF
4241
cat confdefs.h >>conftest.$ac_ext
4242
cat >>conftest.$ac_ext <<_ACEOF
4243
/* end confdefs.h. */
4244
#include <ac_nonexistent.h>
4246
if { (ac_try="$ac_cpp conftest.$ac_ext"
4248
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4249
*) ac_try_echo=$ac_try;;
4251
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4252
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4254
grep -v '^ *+' conftest.er1 >conftest.err
4256
cat conftest.err >&5
4257
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258
(exit $ac_status); } >/dev/null && {
4259
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4260
test ! -s conftest.err
4262
# Broken: success on invalid input.
4265
echo "$as_me: failed program was:" >&5
4266
sed 's/^/| /' conftest.$ac_ext >&5
4268
# Passes both tests.
4273
rm -f conftest.err conftest.$ac_ext
4276
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4277
rm -f conftest.err conftest.$ac_ext
4278
if $ac_preproc_ok; then
4281
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4282
See \`config.log' for more details." >&5
4283
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4284
See \`config.log' for more details." >&2;}
4285
{ (exit 1); exit 1; }; }
4289
ac_cpp='$CXXCPP $CPPFLAGS'
4290
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4291
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4292
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4296
echo "$as_me: failed program was:" >&5
4297
sed 's/^/| /' conftest.$ac_ext >&5
4299
{ { echo "$as_me:$LINENO: error: no C++ compiler found or it cannot create executables" >&5
4300
echo "$as_me: error: no C++ compiler found or it cannot create executables" >&2;}
4301
{ (exit 1); exit 1; }; }
4304
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306
ac_cpp='$CPP $CPPFLAGS'
4307
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4308
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4309
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4313
for ac_prog in flex lex
4315
# Extract the first word of "$ac_prog", so it can be a program name with args.
4316
set dummy $ac_prog; ac_word=$2
4317
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4318
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4319
if test "${ac_cv_prog_LEX+set}" = set; then
4320
echo $ECHO_N "(cached) $ECHO_C" >&6
4322
if test -n "$LEX"; then
4323
ac_cv_prog_LEX="$LEX" # Let the user override the test.
4325
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4329
test -z "$as_dir" && as_dir=.
4330
for ac_exec_ext in '' $ac_executable_extensions; do
4331
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4332
ac_cv_prog_LEX="$ac_prog"
4333
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4343
if test -n "$LEX"; then
4344
{ echo "$as_me:$LINENO: result: $LEX" >&5
4345
echo "${ECHO_T}$LEX" >&6; }
4347
{ echo "$as_me:$LINENO: result: no" >&5
4348
echo "${ECHO_T}no" >&6; }
4352
test -n "$LEX" && break
4354
test -n "$LEX" || LEX=":"
4356
if test "x$LEX" != "x:"; then
4357
cat >conftest.l <<_ACEOF
4363
e { yyless (input () != 0); }
4364
f { unput (yytext[0]); }
4365
. { BEGIN INITIAL; }
4367
#ifdef YYTEXT_POINTER
4368
extern char *yytext;
4373
return ! yylex () + ! yywrap ();
4376
{ (ac_try="$LEX conftest.l"
4378
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4379
*) ac_try_echo=$ac_try;;
4381
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4382
(eval "$LEX conftest.l") 2>&5
4384
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385
(exit $ac_status); }
4386
{ echo "$as_me:$LINENO: checking lex output file root" >&5
4387
echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
4388
if test "${ac_cv_prog_lex_root+set}" = set; then
4389
echo $ECHO_N "(cached) $ECHO_C" >&6
4392
if test -f lex.yy.c; then
4393
ac_cv_prog_lex_root=lex.yy
4394
elif test -f lexyy.c; then
4395
ac_cv_prog_lex_root=lexyy
4397
{ { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4398
echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4399
{ (exit 1); exit 1; }; }
4402
{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4403
echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
4404
LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4406
if test -z "${LEXLIB+set}"; then
4407
{ echo "$as_me:$LINENO: checking lex library" >&5
4408
echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
4409
if test "${ac_cv_lib_lex+set}" = set; then
4410
echo $ECHO_N "(cached) $ECHO_C" >&6
4414
ac_cv_lib_lex='none needed'
4415
for ac_lib in '' -lfl -ll; do
4416
LIBS="$ac_lib $ac_save_LIBS"
4417
cat >conftest.$ac_ext <<_ACEOF
4418
`cat $LEX_OUTPUT_ROOT.c`
4420
rm -f conftest.$ac_objext conftest$ac_exeext
4421
if { (ac_try="$ac_link"
4423
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4424
*) ac_try_echo=$ac_try;;
4426
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4427
(eval "$ac_link") 2>conftest.er1
4429
grep -v '^ *+' conftest.er1 >conftest.err
4431
cat conftest.err >&5
4432
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433
(exit $ac_status); } && {
4434
test -z "$ac_c_werror_flag" ||
4435
test ! -s conftest.err
4436
} && test -s conftest$ac_exeext &&
4437
$as_test_x conftest$ac_exeext; then
4438
ac_cv_lib_lex=$ac_lib
4440
echo "$as_me: failed program was:" >&5
4441
sed 's/^/| /' conftest.$ac_ext >&5
4446
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4447
conftest$ac_exeext conftest.$ac_ext
4448
test "$ac_cv_lib_lex" != 'none needed' && break
4453
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
4454
echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
4455
test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
4459
{ echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4460
echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
4461
if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4462
echo $ECHO_N "(cached) $ECHO_C" >&6
4464
# POSIX says lex can declare yytext either as a pointer or an array; the
4465
# default is implementation-dependent. Figure out which it is, since
4466
# not all implementations provide the %pointer and %array declarations.
4467
ac_cv_prog_lex_yytext_pointer=no
4469
LIBS="$LEXLIB $ac_save_LIBS"
4470
cat >conftest.$ac_ext <<_ACEOF
4471
#define YYTEXT_POINTER 1
4472
`cat $LEX_OUTPUT_ROOT.c`
4474
rm -f conftest.$ac_objext conftest$ac_exeext
4475
if { (ac_try="$ac_link"
4477
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4478
*) ac_try_echo=$ac_try;;
4480
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4481
(eval "$ac_link") 2>conftest.er1
4483
grep -v '^ *+' conftest.er1 >conftest.err
4485
cat conftest.err >&5
4486
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487
(exit $ac_status); } && {
4488
test -z "$ac_c_werror_flag" ||
4489
test ! -s conftest.err
4490
} && test -s conftest$ac_exeext &&
4491
$as_test_x conftest$ac_exeext; then
4492
ac_cv_prog_lex_yytext_pointer=yes
4494
echo "$as_me: failed program was:" >&5
4495
sed 's/^/| /' conftest.$ac_ext >&5
4500
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4501
conftest$ac_exeext conftest.$ac_ext
4505
{ echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4506
echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
4507
if test $ac_cv_prog_lex_yytext_pointer = yes; then
4509
cat >>confdefs.h <<\_ACEOF
4510
#define YYTEXT_POINTER 1
4514
rm -f conftest.l $LEX_OUTPUT_ROOT.c
4517
if test "$LEX" = :; then
4518
LEX=${am_missing_run}flex
4520
for ac_prog in 'bison -y' byacc
4522
# Extract the first word of "$ac_prog", so it can be a program name with args.
4523
set dummy $ac_prog; ac_word=$2
4524
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4525
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4526
if test "${ac_cv_prog_YACC+set}" = set; then
4527
echo $ECHO_N "(cached) $ECHO_C" >&6
4529
if test -n "$YACC"; then
4530
ac_cv_prog_YACC="$YACC" # Let the user override the test.
4532
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4536
test -z "$as_dir" && as_dir=.
4537
for ac_exec_ext in '' $ac_executable_extensions; do
4538
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4539
ac_cv_prog_YACC="$ac_prog"
4540
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4549
YACC=$ac_cv_prog_YACC
4550
if test -n "$YACC"; then
4551
{ echo "$as_me:$LINENO: result: $YACC" >&5
4552
echo "${ECHO_T}$YACC" >&6; }
4554
{ echo "$as_me:$LINENO: result: no" >&5
4555
echo "${ECHO_T}no" >&6; }
4559
test -n "$YACC" && break
4561
test -n "$YACC" || YACC="yacc"
4565
ac_cpp='$CPP $CPPFLAGS'
4566
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4567
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4568
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4569
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4570
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4571
# On Suns, sometimes $CPP names a directory.
4572
if test -n "$CPP" && test -d "$CPP"; then
4575
if test -z "$CPP"; then
4576
if test "${ac_cv_prog_CPP+set}" = set; then
4577
echo $ECHO_N "(cached) $ECHO_C" >&6
4579
# Double quotes because CPP needs to be expanded
4580
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4583
for ac_c_preproc_warn_flag in '' yes
4585
# Use a header file that comes with gcc, so configuring glibc
4586
# with a fresh cross-compiler works.
4587
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4588
# <limits.h> exists even on freestanding compilers.
4589
# On the NeXT, cc -E runs the code through the compiler's parser,
4590
# not just through cpp. "Syntax error" is here to catch this case.
4591
cat >conftest.$ac_ext <<_ACEOF
4594
cat confdefs.h >>conftest.$ac_ext
4595
cat >>conftest.$ac_ext <<_ACEOF
4596
/* end confdefs.h. */
4598
# include <limits.h>
4600
# include <assert.h>
4604
if { (ac_try="$ac_cpp conftest.$ac_ext"
4606
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4607
*) ac_try_echo=$ac_try;;
4609
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4610
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4612
grep -v '^ *+' conftest.er1 >conftest.err
4614
cat conftest.err >&5
4615
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616
(exit $ac_status); } >/dev/null && {
4617
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4618
test ! -s conftest.err
4622
echo "$as_me: failed program was:" >&5
4623
sed 's/^/| /' conftest.$ac_ext >&5
4625
# Broken: fails on valid input.
4629
rm -f conftest.err conftest.$ac_ext
4631
# OK, works on sane cases. Now check whether nonexistent headers
4632
# can be detected and how.
4633
cat >conftest.$ac_ext <<_ACEOF
4636
cat confdefs.h >>conftest.$ac_ext
4637
cat >>conftest.$ac_ext <<_ACEOF
4638
/* end confdefs.h. */
4639
#include <ac_nonexistent.h>
4641
if { (ac_try="$ac_cpp conftest.$ac_ext"
4643
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4644
*) ac_try_echo=$ac_try;;
4646
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4647
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4649
grep -v '^ *+' conftest.er1 >conftest.err
4651
cat conftest.err >&5
4652
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653
(exit $ac_status); } >/dev/null && {
4654
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4655
test ! -s conftest.err
4657
# Broken: success on invalid input.
4660
echo "$as_me: failed program was:" >&5
4661
sed 's/^/| /' conftest.$ac_ext >&5
4663
# Passes both tests.
4668
rm -f conftest.err conftest.$ac_ext
4671
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4672
rm -f conftest.err conftest.$ac_ext
4673
if $ac_preproc_ok; then
4685
{ echo "$as_me:$LINENO: result: $CPP" >&5
4686
echo "${ECHO_T}$CPP" >&6; }
4688
for ac_c_preproc_warn_flag in '' yes
4690
# Use a header file that comes with gcc, so configuring glibc
4691
# with a fresh cross-compiler works.
4692
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4693
# <limits.h> exists even on freestanding compilers.
4694
# On the NeXT, cc -E runs the code through the compiler's parser,
4695
# not just through cpp. "Syntax error" is here to catch this case.
4696
cat >conftest.$ac_ext <<_ACEOF
4699
cat confdefs.h >>conftest.$ac_ext
4700
cat >>conftest.$ac_ext <<_ACEOF
4701
/* end confdefs.h. */
4703
# include <limits.h>
4705
# include <assert.h>
4709
if { (ac_try="$ac_cpp conftest.$ac_ext"
4711
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4712
*) ac_try_echo=$ac_try;;
4714
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4715
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4717
grep -v '^ *+' conftest.er1 >conftest.err
4719
cat conftest.err >&5
4720
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721
(exit $ac_status); } >/dev/null && {
4722
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4723
test ! -s conftest.err
4727
echo "$as_me: failed program was:" >&5
4728
sed 's/^/| /' conftest.$ac_ext >&5
4730
# Broken: fails on valid input.
4734
rm -f conftest.err conftest.$ac_ext
4736
# OK, works on sane cases. Now check whether nonexistent headers
4737
# can be detected and how.
4738
cat >conftest.$ac_ext <<_ACEOF
4741
cat confdefs.h >>conftest.$ac_ext
4742
cat >>conftest.$ac_ext <<_ACEOF
4743
/* end confdefs.h. */
4744
#include <ac_nonexistent.h>
4746
if { (ac_try="$ac_cpp conftest.$ac_ext"
4748
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4749
*) ac_try_echo=$ac_try;;
4751
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4752
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4754
grep -v '^ *+' conftest.er1 >conftest.err
4756
cat conftest.err >&5
4757
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758
(exit $ac_status); } >/dev/null && {
4759
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4760
test ! -s conftest.err
4762
# Broken: success on invalid input.
4765
echo "$as_me: failed program was:" >&5
4766
sed 's/^/| /' conftest.$ac_ext >&5
4768
# Passes both tests.
4773
rm -f conftest.err conftest.$ac_ext
4776
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4777
rm -f conftest.err conftest.$ac_ext
4778
if $ac_preproc_ok; then
4781
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4782
See \`config.log' for more details." >&5
4783
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4784
See \`config.log' for more details." >&2;}
4785
{ (exit 1); exit 1; }; }
4789
ac_cpp='$CPP $CPPFLAGS'
4790
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4791
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4792
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4795
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4796
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4797
if test "${ac_cv_path_GREP+set}" = set; then
4798
echo $ECHO_N "(cached) $ECHO_C" >&6
4800
# Extract the first word of "grep ggrep" to use in msg output
4801
if test -z "$GREP"; then
4802
set dummy grep ggrep; ac_prog_name=$2
4803
if test "${ac_cv_path_GREP+set}" = set; then
4804
echo $ECHO_N "(cached) $ECHO_C" >&6
4806
ac_path_GREP_found=false
4807
# Loop through the user's path and test for each of PROGNAME-LIST
4808
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4809
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4812
test -z "$as_dir" && as_dir=.
4813
for ac_prog in grep ggrep; do
4814
for ac_exec_ext in '' $ac_executable_extensions; do
4815
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4816
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4817
# Check for GNU ac_path_GREP and select it if it is found.
4818
# Check for GNU $ac_path_GREP
4819
case `"$ac_path_GREP" --version 2>&1` in
4821
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4824
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4827
cat "conftest.in" "conftest.in" >"conftest.tmp"
4828
mv "conftest.tmp" "conftest.in"
4829
cp "conftest.in" "conftest.nl"
4830
echo 'GREP' >> "conftest.nl"
4831
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4832
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4833
ac_count=`expr $ac_count + 1`
4834
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4835
# Best one so far, save it but keep looking for a better one
4836
ac_cv_path_GREP="$ac_path_GREP"
4837
ac_path_GREP_max=$ac_count
4839
# 10*(2^10) chars as input seems more than enough
4840
test $ac_count -gt 10 && break
4842
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4846
$ac_path_GREP_found && break 3
4856
GREP="$ac_cv_path_GREP"
4857
if test -z "$GREP"; then
4858
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4859
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4860
{ (exit 1); exit 1; }; }
4864
ac_cv_path_GREP=$GREP
4869
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4870
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4871
GREP="$ac_cv_path_GREP"
4874
{ echo "$as_me:$LINENO: checking for egrep" >&5
4875
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4876
if test "${ac_cv_path_EGREP+set}" = set; then
4877
echo $ECHO_N "(cached) $ECHO_C" >&6
4879
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4880
then ac_cv_path_EGREP="$GREP -E"
4882
# Extract the first word of "egrep" to use in msg output
4883
if test -z "$EGREP"; then
4884
set dummy egrep; ac_prog_name=$2
4885
if test "${ac_cv_path_EGREP+set}" = set; then
4886
echo $ECHO_N "(cached) $ECHO_C" >&6
4888
ac_path_EGREP_found=false
4889
# Loop through the user's path and test for each of PROGNAME-LIST
4890
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4891
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4894
test -z "$as_dir" && as_dir=.
4895
for ac_prog in egrep; do
4896
for ac_exec_ext in '' $ac_executable_extensions; do
4897
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4898
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4899
# Check for GNU ac_path_EGREP and select it if it is found.
4900
# Check for GNU $ac_path_EGREP
4901
case `"$ac_path_EGREP" --version 2>&1` in
4903
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4906
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4909
cat "conftest.in" "conftest.in" >"conftest.tmp"
4910
mv "conftest.tmp" "conftest.in"
4911
cp "conftest.in" "conftest.nl"
4912
echo 'EGREP' >> "conftest.nl"
4913
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4914
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4915
ac_count=`expr $ac_count + 1`
4916
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4917
# Best one so far, save it but keep looking for a better one
4918
ac_cv_path_EGREP="$ac_path_EGREP"
4919
ac_path_EGREP_max=$ac_count
4921
# 10*(2^10) chars as input seems more than enough
4922
test $ac_count -gt 10 && break
4924
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4928
$ac_path_EGREP_found && break 3
4938
EGREP="$ac_cv_path_EGREP"
4939
if test -z "$EGREP"; then
4940
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4941
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4942
{ (exit 1); exit 1; }; }
4946
ac_cv_path_EGREP=$EGREP
4952
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4953
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4954
EGREP="$ac_cv_path_EGREP"
4957
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4958
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4959
if test "${ac_cv_header_stdc+set}" = set; then
4960
echo $ECHO_N "(cached) $ECHO_C" >&6
4962
cat >conftest.$ac_ext <<_ACEOF
4965
cat confdefs.h >>conftest.$ac_ext
4966
cat >>conftest.$ac_ext <<_ACEOF
4967
/* end confdefs.h. */
4981
rm -f conftest.$ac_objext
4982
if { (ac_try="$ac_compile"
4984
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4985
*) ac_try_echo=$ac_try;;
4987
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4988
(eval "$ac_compile") 2>conftest.er1
4990
grep -v '^ *+' conftest.er1 >conftest.err
4992
cat conftest.err >&5
4993
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994
(exit $ac_status); } && {
4995
test -z "$ac_c_werror_flag" ||
4996
test ! -s conftest.err
4997
} && test -s conftest.$ac_objext; then
4998
ac_cv_header_stdc=yes
5000
echo "$as_me: failed program was:" >&5
5001
sed 's/^/| /' conftest.$ac_ext >&5
5003
ac_cv_header_stdc=no
5006
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5008
if test $ac_cv_header_stdc = yes; then
5009
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5010
cat >conftest.$ac_ext <<_ACEOF
5013
cat confdefs.h >>conftest.$ac_ext
5014
cat >>conftest.$ac_ext <<_ACEOF
5015
/* end confdefs.h. */
5019
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5020
$EGREP "memchr" >/dev/null 2>&1; then
5023
ac_cv_header_stdc=no
5029
if test $ac_cv_header_stdc = yes; then
5030
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5031
cat >conftest.$ac_ext <<_ACEOF
5034
cat confdefs.h >>conftest.$ac_ext
5035
cat >>conftest.$ac_ext <<_ACEOF
5036
/* end confdefs.h. */
5040
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5041
$EGREP "free" >/dev/null 2>&1; then
5044
ac_cv_header_stdc=no
5050
if test $ac_cv_header_stdc = yes; then
5051
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5052
if test "$cross_compiling" = yes; then
5055
cat >conftest.$ac_ext <<_ACEOF
5058
cat confdefs.h >>conftest.$ac_ext
5059
cat >>conftest.$ac_ext <<_ACEOF
5060
/* end confdefs.h. */
5063
#if ((' ' & 0x0FF) == 0x020)
5064
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5065
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5067
# define ISLOWER(c) \
5068
(('a' <= (c) && (c) <= 'i') \
5069
|| ('j' <= (c) && (c) <= 'r') \
5070
|| ('s' <= (c) && (c) <= 'z'))
5071
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5074
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5079
for (i = 0; i < 256; i++)
5080
if (XOR (islower (i), ISLOWER (i))
5081
|| toupper (i) != TOUPPER (i))
5086
rm -f conftest$ac_exeext
5087
if { (ac_try="$ac_link"
5089
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5090
*) ac_try_echo=$ac_try;;
5092
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5093
(eval "$ac_link") 2>&5
5095
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5097
{ (case "(($ac_try" in
5098
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5099
*) ac_try_echo=$ac_try;;
5101
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5102
(eval "$ac_try") 2>&5
5104
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105
(exit $ac_status); }; }; then
5108
echo "$as_me: program exited with status $ac_status" >&5
5109
echo "$as_me: failed program was:" >&5
5110
sed 's/^/| /' conftest.$ac_ext >&5
5113
ac_cv_header_stdc=no
5115
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5121
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5122
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5123
if test $ac_cv_header_stdc = yes; then
5125
cat >>confdefs.h <<\_ACEOF
5126
#define STDC_HEADERS 1
5131
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5141
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5142
inttypes.h stdint.h unistd.h
5144
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5145
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5146
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5147
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5148
echo $ECHO_N "(cached) $ECHO_C" >&6
5150
cat >conftest.$ac_ext <<_ACEOF
5153
cat confdefs.h >>conftest.$ac_ext
5154
cat >>conftest.$ac_ext <<_ACEOF
5155
/* end confdefs.h. */
5156
$ac_includes_default
5158
#include <$ac_header>
5160
rm -f conftest.$ac_objext
5161
if { (ac_try="$ac_compile"
5163
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5164
*) ac_try_echo=$ac_try;;
5166
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5167
(eval "$ac_compile") 2>conftest.er1
5169
grep -v '^ *+' conftest.er1 >conftest.err
5171
cat conftest.err >&5
5172
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173
(exit $ac_status); } && {
5174
test -z "$ac_c_werror_flag" ||
5175
test ! -s conftest.err
5176
} && test -s conftest.$ac_objext; then
5177
eval "$as_ac_Header=yes"
5179
echo "$as_me: failed program was:" >&5
5180
sed 's/^/| /' conftest.$ac_ext >&5
5182
eval "$as_ac_Header=no"
5185
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5187
ac_res=`eval echo '${'$as_ac_Header'}'`
5188
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5189
echo "${ECHO_T}$ac_res" >&6; }
5190
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5191
cat >>confdefs.h <<_ACEOF
5192
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5200
if test "${ac_cv_header_sys_times_h+set}" = set; then
5201
{ echo "$as_me:$LINENO: checking for sys/times.h" >&5
5202
echo $ECHO_N "checking for sys/times.h... $ECHO_C" >&6; }
5203
if test "${ac_cv_header_sys_times_h+set}" = set; then
5204
echo $ECHO_N "(cached) $ECHO_C" >&6
5206
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_times_h" >&5
5207
echo "${ECHO_T}$ac_cv_header_sys_times_h" >&6; }
5209
# Is the header compilable?
5210
{ echo "$as_me:$LINENO: checking sys/times.h usability" >&5
5211
echo $ECHO_N "checking sys/times.h usability... $ECHO_C" >&6; }
5212
cat >conftest.$ac_ext <<_ACEOF
5215
cat confdefs.h >>conftest.$ac_ext
5216
cat >>conftest.$ac_ext <<_ACEOF
5217
/* end confdefs.h. */
5218
$ac_includes_default
5219
#include <sys/times.h>
5221
rm -f conftest.$ac_objext
5222
if { (ac_try="$ac_compile"
5224
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5225
*) ac_try_echo=$ac_try;;
5227
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5228
(eval "$ac_compile") 2>conftest.er1
5230
grep -v '^ *+' conftest.er1 >conftest.err
5232
cat conftest.err >&5
5233
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5234
(exit $ac_status); } && {
5235
test -z "$ac_c_werror_flag" ||
5236
test ! -s conftest.err
5237
} && test -s conftest.$ac_objext; then
5238
ac_header_compiler=yes
5240
echo "$as_me: failed program was:" >&5
5241
sed 's/^/| /' conftest.$ac_ext >&5
5243
ac_header_compiler=no
5246
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5247
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5248
echo "${ECHO_T}$ac_header_compiler" >&6; }
5250
# Is the header present?
5251
{ echo "$as_me:$LINENO: checking sys/times.h presence" >&5
5252
echo $ECHO_N "checking sys/times.h presence... $ECHO_C" >&6; }
5253
cat >conftest.$ac_ext <<_ACEOF
5256
cat confdefs.h >>conftest.$ac_ext
5257
cat >>conftest.$ac_ext <<_ACEOF
5258
/* end confdefs.h. */
5259
#include <sys/times.h>
5261
if { (ac_try="$ac_cpp conftest.$ac_ext"
5263
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5264
*) ac_try_echo=$ac_try;;
5266
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5267
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5269
grep -v '^ *+' conftest.er1 >conftest.err
5271
cat conftest.err >&5
5272
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273
(exit $ac_status); } >/dev/null && {
5274
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5275
test ! -s conftest.err
5277
ac_header_preproc=yes
5279
echo "$as_me: failed program was:" >&5
5280
sed 's/^/| /' conftest.$ac_ext >&5
5282
ac_header_preproc=no
5285
rm -f conftest.err conftest.$ac_ext
5286
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5287
echo "${ECHO_T}$ac_header_preproc" >&6; }
5289
# So? What about this header?
5290
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5292
{ echo "$as_me:$LINENO: WARNING: sys/times.h: accepted by the compiler, rejected by the preprocessor!" >&5
5293
echo "$as_me: WARNING: sys/times.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5294
{ echo "$as_me:$LINENO: WARNING: sys/times.h: proceeding with the compiler's result" >&5
5295
echo "$as_me: WARNING: sys/times.h: proceeding with the compiler's result" >&2;}
5296
ac_header_preproc=yes
5299
{ echo "$as_me:$LINENO: WARNING: sys/times.h: present but cannot be compiled" >&5
5300
echo "$as_me: WARNING: sys/times.h: present but cannot be compiled" >&2;}
5301
{ echo "$as_me:$LINENO: WARNING: sys/times.h: check for missing prerequisite headers?" >&5
5302
echo "$as_me: WARNING: sys/times.h: check for missing prerequisite headers?" >&2;}
5303
{ echo "$as_me:$LINENO: WARNING: sys/times.h: see the Autoconf documentation" >&5
5304
echo "$as_me: WARNING: sys/times.h: see the Autoconf documentation" >&2;}
5305
{ echo "$as_me:$LINENO: WARNING: sys/times.h: section \"Present But Cannot Be Compiled\"" >&5
5306
echo "$as_me: WARNING: sys/times.h: section \"Present But Cannot Be Compiled\"" >&2;}
5307
{ echo "$as_me:$LINENO: WARNING: sys/times.h: proceeding with the preprocessor's result" >&5
5308
echo "$as_me: WARNING: sys/times.h: proceeding with the preprocessor's result" >&2;}
5309
{ echo "$as_me:$LINENO: WARNING: sys/times.h: in the future, the compiler will take precedence" >&5
5310
echo "$as_me: WARNING: sys/times.h: in the future, the compiler will take precedence" >&2;}
5312
## ---------------------------------- ##
5313
## Report this to csardi@rmki.kfki.hu ##
5314
## ---------------------------------- ##
5316
) | sed "s/^/$as_me: WARNING: /" >&2
5319
{ echo "$as_me:$LINENO: checking for sys/times.h" >&5
5320
echo $ECHO_N "checking for sys/times.h... $ECHO_C" >&6; }
5321
if test "${ac_cv_header_sys_times_h+set}" = set; then
5322
echo $ECHO_N "(cached) $ECHO_C" >&6
5324
ac_cv_header_sys_times_h=$ac_header_preproc
5326
{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_times_h" >&5
5327
echo "${ECHO_T}$ac_cv_header_sys_times_h" >&6; }
5330
if test $ac_cv_header_sys_times_h = yes; then
5332
cat >>confdefs.h <<\_ACEOF
5333
#define HAVE_TIMES_H 1
5340
# Make sure we can run config.sub.
5341
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5342
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
5343
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
5344
{ (exit 1); exit 1; }; }
5346
{ echo "$as_me:$LINENO: checking build system type" >&5
5347
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
5348
if test "${ac_cv_build+set}" = set; then
5349
echo $ECHO_N "(cached) $ECHO_C" >&6
5351
ac_build_alias=$build_alias
5352
test "x$ac_build_alias" = x &&
5353
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5354
test "x$ac_build_alias" = x &&
5355
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
5356
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
5357
{ (exit 1); exit 1; }; }
5358
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5359
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
5360
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
5361
{ (exit 1); exit 1; }; }
5364
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
5365
echo "${ECHO_T}$ac_cv_build" >&6; }
5366
case $ac_cv_build in
5368
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
5369
echo "$as_me: error: invalid value of canonical build" >&2;}
5370
{ (exit 1); exit 1; }; };;
5373
ac_save_IFS=$IFS; IFS='-'
5379
# Remember, the first character of IFS is used to create $*,
5380
# except with old shells:
5383
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5386
{ echo "$as_me:$LINENO: checking host system type" >&5
5387
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
5388
if test "${ac_cv_host+set}" = set; then
5389
echo $ECHO_N "(cached) $ECHO_C" >&6
5391
if test "x$host_alias" = x; then
5392
ac_cv_host=$ac_cv_build
5394
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5395
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
5396
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
5397
{ (exit 1); exit 1; }; }
5401
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
5402
echo "${ECHO_T}$ac_cv_host" >&6; }
5405
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
5406
echo "$as_me: error: invalid value of canonical host" >&2;}
5407
{ (exit 1); exit 1; }; };;
5410
ac_save_IFS=$IFS; IFS='-'
5416
# Remember, the first character of IFS is used to create $*,
5417
# except with old shells:
5420
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5423
enable_win32_dll=yes
5426
*-*-cygwin* | *-*-mingw* | *-*-pw32*)
5427
if test -n "$ac_tool_prefix"; then
5428
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5429
set dummy ${ac_tool_prefix}as; ac_word=$2
5430
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5431
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5432
if test "${ac_cv_prog_AS+set}" = set; then
5433
echo $ECHO_N "(cached) $ECHO_C" >&6
5435
if test -n "$AS"; then
5436
ac_cv_prog_AS="$AS" # Let the user override the test.
5438
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442
test -z "$as_dir" && as_dir=.
5443
for ac_exec_ext in '' $ac_executable_extensions; do
5444
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5445
ac_cv_prog_AS="${ac_tool_prefix}as"
5446
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5456
if test -n "$AS"; then
5457
{ echo "$as_me:$LINENO: result: $AS" >&5
5458
echo "${ECHO_T}$AS" >&6; }
5460
{ echo "$as_me:$LINENO: result: no" >&5
5461
echo "${ECHO_T}no" >&6; }
5466
if test -z "$ac_cv_prog_AS"; then
5468
# Extract the first word of "as", so it can be a program name with args.
5469
set dummy as; ac_word=$2
5470
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5471
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5472
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5473
echo $ECHO_N "(cached) $ECHO_C" >&6
5475
if test -n "$ac_ct_AS"; then
5476
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5478
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482
test -z "$as_dir" && as_dir=.
5483
for ac_exec_ext in '' $ac_executable_extensions; do
5484
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5485
ac_cv_prog_ac_ct_AS="as"
5486
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5495
ac_ct_AS=$ac_cv_prog_ac_ct_AS
5496
if test -n "$ac_ct_AS"; then
5497
{ echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5498
echo "${ECHO_T}$ac_ct_AS" >&6; }
5500
{ echo "$as_me:$LINENO: result: no" >&5
5501
echo "${ECHO_T}no" >&6; }
5504
if test "x$ac_ct_AS" = x; then
5507
case $cross_compiling:$ac_tool_warned in
5509
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5510
whose name does not start with the host triplet. If you think this
5511
configuration is useful to you, please write to autoconf@gnu.org." >&5
5512
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5513
whose name does not start with the host triplet. If you think this
5514
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5515
ac_tool_warned=yes ;;
5523
if test -n "$ac_tool_prefix"; then
5524
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5525
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5526
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5527
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5528
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5529
echo $ECHO_N "(cached) $ECHO_C" >&6
5531
if test -n "$DLLTOOL"; then
5532
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5534
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538
test -z "$as_dir" && as_dir=.
5539
for ac_exec_ext in '' $ac_executable_extensions; do
5540
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5541
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5542
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5551
DLLTOOL=$ac_cv_prog_DLLTOOL
5552
if test -n "$DLLTOOL"; then
5553
{ echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5554
echo "${ECHO_T}$DLLTOOL" >&6; }
5556
{ echo "$as_me:$LINENO: result: no" >&5
5557
echo "${ECHO_T}no" >&6; }
5562
if test -z "$ac_cv_prog_DLLTOOL"; then
5563
ac_ct_DLLTOOL=$DLLTOOL
5564
# Extract the first word of "dlltool", so it can be a program name with args.
5565
set dummy dlltool; ac_word=$2
5566
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5567
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5568
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
5569
echo $ECHO_N "(cached) $ECHO_C" >&6
5571
if test -n "$ac_ct_DLLTOOL"; then
5572
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5574
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5578
test -z "$as_dir" && as_dir=.
5579
for ac_exec_ext in '' $ac_executable_extensions; do
5580
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5581
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5582
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5591
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5592
if test -n "$ac_ct_DLLTOOL"; then
5593
{ echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
5594
echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
5596
{ echo "$as_me:$LINENO: result: no" >&5
5597
echo "${ECHO_T}no" >&6; }
5600
if test "x$ac_ct_DLLTOOL" = x; then
5603
case $cross_compiling:$ac_tool_warned in
5605
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5606
whose name does not start with the host triplet. If you think this
5607
configuration is useful to you, please write to autoconf@gnu.org." >&5
5608
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5609
whose name does not start with the host triplet. If you think this
5610
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5611
ac_tool_warned=yes ;;
5613
DLLTOOL=$ac_ct_DLLTOOL
5616
DLLTOOL="$ac_cv_prog_DLLTOOL"
5619
if test -n "$ac_tool_prefix"; then
5620
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5621
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5622
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5623
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5624
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5625
echo $ECHO_N "(cached) $ECHO_C" >&6
5627
if test -n "$OBJDUMP"; then
5628
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5630
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634
test -z "$as_dir" && as_dir=.
5635
for ac_exec_ext in '' $ac_executable_extensions; do
5636
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5637
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5638
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5647
OBJDUMP=$ac_cv_prog_OBJDUMP
5648
if test -n "$OBJDUMP"; then
5649
{ echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5650
echo "${ECHO_T}$OBJDUMP" >&6; }
5652
{ echo "$as_me:$LINENO: result: no" >&5
5653
echo "${ECHO_T}no" >&6; }
5658
if test -z "$ac_cv_prog_OBJDUMP"; then
5659
ac_ct_OBJDUMP=$OBJDUMP
5660
# Extract the first word of "objdump", so it can be a program name with args.
5661
set dummy objdump; ac_word=$2
5662
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5663
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5664
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5665
echo $ECHO_N "(cached) $ECHO_C" >&6
5667
if test -n "$ac_ct_OBJDUMP"; then
5668
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5670
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674
test -z "$as_dir" && as_dir=.
5675
for ac_exec_ext in '' $ac_executable_extensions; do
5676
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5677
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5678
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5687
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5688
if test -n "$ac_ct_OBJDUMP"; then
5689
{ echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5690
echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
5692
{ echo "$as_me:$LINENO: result: no" >&5
5693
echo "${ECHO_T}no" >&6; }
5696
if test "x$ac_ct_OBJDUMP" = x; then
5699
case $cross_compiling:$ac_tool_warned in
5701
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5702
whose name does not start with the host triplet. If you think this
5703
configuration is useful to you, please write to autoconf@gnu.org." >&5
5704
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5705
whose name does not start with the host triplet. If you think this
5706
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5707
ac_tool_warned=yes ;;
5709
OBJDUMP=$ac_ct_OBJDUMP
5712
OBJDUMP="$ac_cv_prog_OBJDUMP"
5718
test -z "$AS" && AS=as
5724
test -z "$DLLTOOL" && DLLTOOL=dlltool
5730
test -z "$OBJDUMP" && OBJDUMP=objdump
5744
{ echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5745
echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5750
macro_version='2.2.4'
5751
macro_revision='1.2976'
5765
ltmain="$ac_aux_dir/ltmain.sh"
5767
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5768
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5769
if test "${ac_cv_path_SED+set}" = set; then
5770
echo $ECHO_N "(cached) $ECHO_C" >&6
5772
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5773
for ac_i in 1 2 3 4 5 6 7; do
5774
ac_script="$ac_script$as_nl$ac_script"
5776
echo "$ac_script" | sed 99q >conftest.sed
5777
$as_unset ac_script || ac_script=
5778
# Extract the first word of "sed gsed" to use in msg output
5779
if test -z "$SED"; then
5780
set dummy sed gsed; ac_prog_name=$2
5781
if test "${ac_cv_path_SED+set}" = set; then
5782
echo $ECHO_N "(cached) $ECHO_C" >&6
5784
ac_path_SED_found=false
5785
# Loop through the user's path and test for each of PROGNAME-LIST
5786
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790
test -z "$as_dir" && as_dir=.
5791
for ac_prog in sed gsed; do
5792
for ac_exec_ext in '' $ac_executable_extensions; do
5793
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5794
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5795
# Check for GNU ac_path_SED and select it if it is found.
5796
# Check for GNU $ac_path_SED
5797
case `"$ac_path_SED" --version 2>&1` in
5799
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5802
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5805
cat "conftest.in" "conftest.in" >"conftest.tmp"
5806
mv "conftest.tmp" "conftest.in"
5807
cp "conftest.in" "conftest.nl"
5808
echo '' >> "conftest.nl"
5809
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5810
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5811
ac_count=`expr $ac_count + 1`
5812
if test $ac_count -gt ${ac_path_SED_max-0}; then
5813
# Best one so far, save it but keep looking for a better one
5814
ac_cv_path_SED="$ac_path_SED"
5815
ac_path_SED_max=$ac_count
5817
# 10*(2^10) chars as input seems more than enough
5818
test $ac_count -gt 10 && break
5820
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5824
$ac_path_SED_found && break 3
5834
SED="$ac_cv_path_SED"
5835
if test -z "$SED"; then
5836
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
5837
echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
5838
{ (exit 1); exit 1; }; }
5846
{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5847
echo "${ECHO_T}$ac_cv_path_SED" >&6; }
5848
SED="$ac_cv_path_SED"
5851
test -z "$SED" && SED=sed
5852
Xsed="$SED -e 1s/^X//"
5864
{ echo "$as_me:$LINENO: checking for fgrep" >&5
5865
echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
5866
if test "${ac_cv_path_FGREP+set}" = set; then
5867
echo $ECHO_N "(cached) $ECHO_C" >&6
5869
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5870
then ac_cv_path_FGREP="$GREP -F"
5872
# Extract the first word of "fgrep" to use in msg output
5873
if test -z "$FGREP"; then
5874
set dummy fgrep; ac_prog_name=$2
5875
if test "${ac_cv_path_FGREP+set}" = set; then
5876
echo $ECHO_N "(cached) $ECHO_C" >&6
5878
ac_path_FGREP_found=false
5879
# Loop through the user's path and test for each of PROGNAME-LIST
5880
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5884
test -z "$as_dir" && as_dir=.
5885
for ac_prog in fgrep; do
5886
for ac_exec_ext in '' $ac_executable_extensions; do
5887
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5888
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5889
# Check for GNU ac_path_FGREP and select it if it is found.
5890
# Check for GNU $ac_path_FGREP
5891
case `"$ac_path_FGREP" --version 2>&1` in
5893
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5896
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5899
cat "conftest.in" "conftest.in" >"conftest.tmp"
5900
mv "conftest.tmp" "conftest.in"
5901
cp "conftest.in" "conftest.nl"
5902
echo 'FGREP' >> "conftest.nl"
5903
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5904
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5905
ac_count=`expr $ac_count + 1`
5906
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5907
# Best one so far, save it but keep looking for a better one
5908
ac_cv_path_FGREP="$ac_path_FGREP"
5909
ac_path_FGREP_max=$ac_count
5911
# 10*(2^10) chars as input seems more than enough
5912
test $ac_count -gt 10 && break
5914
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5918
$ac_path_FGREP_found && break 3
5928
FGREP="$ac_cv_path_FGREP"
5929
if test -z "$FGREP"; then
5930
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5931
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5932
{ (exit 1); exit 1; }; }
5936
ac_cv_path_FGREP=$FGREP
5942
{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5943
echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
5944
FGREP="$ac_cv_path_FGREP"
5947
test -z "$GREP" && GREP=grep
5967
# Check whether --with-gnu-ld was given.
5968
if test "${with_gnu_ld+set}" = set; then
5969
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5975
if test "$GCC" = yes; then
5976
# Check if gcc -print-prog-name=ld gives a path.
5977
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5978
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
5981
# gcc leaves a trailing carriage return which upsets mingw
5982
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5984
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5987
# Accept absolute paths.
5989
re_direlt='/[^/][^/]*/\.\./'
5990
# Canonicalize the pathname of ld
5991
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5992
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5993
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5995
test -z "$LD" && LD="$ac_prog"
5998
# If it fails, then pretend we aren't using GCC.
6002
# If it is relative, then search for the first ld in PATH.
6006
elif test "$with_gnu_ld" = yes; then
6007
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
6008
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6010
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6011
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6013
if test "${lt_cv_path_LD+set}" = set; then
6014
echo $ECHO_N "(cached) $ECHO_C" >&6
6016
if test -z "$LD"; then
6017
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6018
for ac_dir in $PATH; do
6020
test -z "$ac_dir" && ac_dir=.
6021
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6022
lt_cv_path_LD="$ac_dir/$ac_prog"
6023
# Check to see if the program is GNU ld. I'd rather use --version,
6024
# but apparently some variants of GNU ld only accept -v.
6025
# Break only if it was the GNU/non-GNU ld that we prefer.
6026
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6027
*GNU* | *'with BFD'*)
6028
test "$with_gnu_ld" != no && break
6031
test "$with_gnu_ld" != yes && break
6038
lt_cv_path_LD="$LD" # Let the user override the test with a path.
6043
if test -n "$LD"; then
6044
{ echo "$as_me:$LINENO: result: $LD" >&5
6045
echo "${ECHO_T}$LD" >&6; }
6047
{ echo "$as_me:$LINENO: result: no" >&5
6048
echo "${ECHO_T}no" >&6; }
6050
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6051
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6052
{ (exit 1); exit 1; }; }
6053
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6054
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6055
if test "${lt_cv_prog_gnu_ld+set}" = set; then
6056
echo $ECHO_N "(cached) $ECHO_C" >&6
6058
# I'd rather use --version here, but apparently some GNU lds only accept -v.
6059
case `$LD -v 2>&1 </dev/null` in
6060
*GNU* | *'with BFD'*)
6061
lt_cv_prog_gnu_ld=yes
6064
lt_cv_prog_gnu_ld=no
6068
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6069
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6070
with_gnu_ld=$lt_cv_prog_gnu_ld
6080
{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
6081
echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
6082
if test "${lt_cv_path_NM+set}" = set; then
6083
echo $ECHO_N "(cached) $ECHO_C" >&6
6085
if test -n "$NM"; then
6086
# Let the user override the test.
6089
lt_nm_to_check="${ac_tool_prefix}nm"
6090
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6091
lt_nm_to_check="$lt_nm_to_check nm"
6093
for lt_tmp_nm in $lt_nm_to_check; do
6094
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6095
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6097
test -z "$ac_dir" && ac_dir=.
6098
tmp_nm="$ac_dir/$lt_tmp_nm"
6099
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6100
# Check to see if the nm accepts a BSD-compat flag.
6101
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6102
# nm: unknown option "B" ignored
6103
# Tru64's nm complains that /dev/null is an invalid object file
6104
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6105
*/dev/null* | *'Invalid file or object type'*)
6106
lt_cv_path_NM="$tmp_nm -B"
6110
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6112
lt_cv_path_NM="$tmp_nm -p"
6116
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6117
continue # so that we can try to find one that supports BSD flags
6126
: ${lt_cv_path_NM=no}
6129
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
6130
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
6131
if test "$lt_cv_path_NM" != "no"; then
6134
# Didn't find any BSD compatible name lister, look for dumpbin.
6135
if test -n "$ac_tool_prefix"; then
6136
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6138
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6139
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6140
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6141
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6142
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
6143
echo $ECHO_N "(cached) $ECHO_C" >&6
6145
if test -n "$DUMPBIN"; then
6146
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6148
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152
test -z "$as_dir" && as_dir=.
6153
for ac_exec_ext in '' $ac_executable_extensions; do
6154
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6155
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6156
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6165
DUMPBIN=$ac_cv_prog_DUMPBIN
6166
if test -n "$DUMPBIN"; then
6167
{ echo "$as_me:$LINENO: result: $DUMPBIN" >&5
6168
echo "${ECHO_T}$DUMPBIN" >&6; }
6170
{ echo "$as_me:$LINENO: result: no" >&5
6171
echo "${ECHO_T}no" >&6; }
6175
test -n "$DUMPBIN" && break
6178
if test -z "$DUMPBIN"; then
6179
ac_ct_DUMPBIN=$DUMPBIN
6180
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6182
# Extract the first word of "$ac_prog", so it can be a program name with args.
6183
set dummy $ac_prog; ac_word=$2
6184
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6185
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6186
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
6187
echo $ECHO_N "(cached) $ECHO_C" >&6
6189
if test -n "$ac_ct_DUMPBIN"; then
6190
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6192
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6196
test -z "$as_dir" && as_dir=.
6197
for ac_exec_ext in '' $ac_executable_extensions; do
6198
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6199
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6200
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6209
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6210
if test -n "$ac_ct_DUMPBIN"; then
6211
{ echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
6212
echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
6214
{ echo "$as_me:$LINENO: result: no" >&5
6215
echo "${ECHO_T}no" >&6; }
6219
test -n "$ac_ct_DUMPBIN" && break
6222
if test "x$ac_ct_DUMPBIN" = x; then
6225
case $cross_compiling:$ac_tool_warned in
6227
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6228
whose name does not start with the host triplet. If you think this
6229
configuration is useful to you, please write to autoconf@gnu.org." >&5
6230
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6231
whose name does not start with the host triplet. If you think this
6232
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6233
ac_tool_warned=yes ;;
6235
DUMPBIN=$ac_ct_DUMPBIN
6240
if test "$DUMPBIN" != ":"; then
6244
test -z "$NM" && NM=nm
6251
{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6252
echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
6253
if test "${lt_cv_nm_interface+set}" = set; then
6254
echo $ECHO_N "(cached) $ECHO_C" >&6
6256
lt_cv_nm_interface="BSD nm"
6257
echo "int some_variable = 0;" > conftest.$ac_ext
6258
(eval echo "\"\$as_me:6258: $ac_compile\"" >&5)
6259
(eval "$ac_compile" 2>conftest.err)
6260
cat conftest.err >&5
6261
(eval echo "\"\$as_me:6261: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6262
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6263
cat conftest.err >&5
6264
(eval echo "\"\$as_me:6264: output\"" >&5)
6265
cat conftest.out >&5
6266
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6267
lt_cv_nm_interface="MS dumpbin"
6271
{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6272
echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
6274
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
6275
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6277
if test "$LN_S" = "ln -s"; then
6278
{ echo "$as_me:$LINENO: result: yes" >&5
6279
echo "${ECHO_T}yes" >&6; }
6281
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6282
echo "${ECHO_T}no, using $LN_S" >&6; }
6285
# find the maximum length of command line arguments
6286
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6287
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6288
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6289
echo $ECHO_N "(cached) $ECHO_C" >&6
6296
# On DJGPP, this test can blow up pretty badly due to problems in libc
6297
# (any single argument exceeding 2000 bytes causes a buffer overrun
6298
# during glob expansion). Even if it were fixed, the result of this
6299
# check would be larger than it should be.
6300
lt_cv_sys_max_cmd_len=12288; # 12K is about right
6304
# Under GNU Hurd, this test is not required because there is
6305
# no limit to the length of command line arguments.
6306
# Libtool will interpret -1 as no limit whatsoever
6307
lt_cv_sys_max_cmd_len=-1;
6311
# On Win9x/ME, this test blows up -- it succeeds, but takes
6312
# about 5 minutes as the teststring grows exponentially.
6313
# Worse, since 9x/ME are not pre-emptively multitasking,
6314
# you end up with a "frozen" computer, even though with patience
6315
# the test eventually succeeds (with a max line length of 256k).
6316
# Instead, let's just punt: use the minimum linelength reported by
6317
# all of the supported platforms: 8192 (on NT/2K/XP).
6318
lt_cv_sys_max_cmd_len=8192;
6322
# On AmigaOS with pdksh, this test takes hours, literally.
6323
# So we just punt and use a minimum line length of 8192.
6324
lt_cv_sys_max_cmd_len=8192;
6327
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6328
# This has been around since 386BSD, at least. Likely further.
6329
if test -x /sbin/sysctl; then
6330
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6331
elif test -x /usr/sbin/sysctl; then
6332
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6334
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6336
# And add a safety zone
6337
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6338
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6342
# We know the value 262144 and hardcode it with a safety zone (like BSD)
6343
lt_cv_sys_max_cmd_len=196608
6347
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6348
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6349
# nice to cause kernel panics so lets avoid the loop below.
6350
# First set a reasonable default.
6351
lt_cv_sys_max_cmd_len=16384
6353
if test -x /sbin/sysconfig; then
6354
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6355
*1*) lt_cv_sys_max_cmd_len=-1 ;;
6360
lt_cv_sys_max_cmd_len=102400
6362
sysv5* | sco5v6* | sysv4.2uw2*)
6363
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6364
if test -n "$kargmax"; then
6365
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6367
lt_cv_sys_max_cmd_len=32768
6371
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6372
if test -n "$lt_cv_sys_max_cmd_len"; then
6373
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6374
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6376
# Make teststring a little bigger before we do anything with it.
6377
# a 1K string should be a reasonable start.
6378
for i in 1 2 3 4 5 6 7 8 ; do
6379
teststring=$teststring$teststring
6381
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6382
# If test is not a shell built-in, we'll probably end up computing a
6383
# maximum length that is only half of the actual maximum length, but
6385
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6386
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6387
test $i != 17 # 1/2 MB should be enough
6390
teststring=$teststring$teststring
6392
# Only check the string length outside the loop.
6393
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6395
# Add a significant safety factor because C++ compilers can tack on
6396
# massive amounts of additional arguments before passing them to the
6397
# linker. It appears as though 1/2 is a usable value.
6398
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6405
if test -n $lt_cv_sys_max_cmd_len ; then
6406
{ echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6407
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6409
{ echo "$as_me:$LINENO: result: none" >&5
6410
echo "${ECHO_T}none" >&6; }
6412
max_cmd_len=$lt_cv_sys_max_cmd_len
6423
{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6424
echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
6425
# Try some XSI features
6428
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6430
&& eval 'test $(( 1 + 1 )) -eq 2 \
6431
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6433
{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
6434
echo "${ECHO_T}$xsi_shell" >&6; }
6437
{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
6438
echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
6440
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6442
&& lt_shell_append=yes
6443
{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5
6444
echo "${ECHO_T}$lt_shell_append" >&6; }
6447
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6457
# test EBCDIC or ASCII
6458
case `echo X|tr X '\101'` in
6459
A) # ASCII based system
6460
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6461
lt_SP2NL='tr \040 \012'
6462
lt_NL2SP='tr \015\012 \040\040'
6464
*) # EBCDIC based system
6465
lt_SP2NL='tr \100 \n'
6466
lt_NL2SP='tr \r\n \100\100'
6478
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
6479
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
6480
if test "${lt_cv_ld_reload_flag+set}" = set; then
6481
echo $ECHO_N "(cached) $ECHO_C" >&6
6483
lt_cv_ld_reload_flag='-r'
6485
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
6486
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
6487
reload_flag=$lt_cv_ld_reload_flag
6488
case $reload_flag in
6490
*) reload_flag=" $reload_flag" ;;
6492
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6495
if test "$GCC" = yes; then
6496
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6498
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6512
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6513
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
6514
if test "${lt_cv_deplibs_check_method+set}" = set; then
6515
echo $ECHO_N "(cached) $ECHO_C" >&6
6517
lt_cv_file_magic_cmd='$MAGIC_CMD'
6518
lt_cv_file_magic_test_file=
6519
lt_cv_deplibs_check_method='unknown'
6520
# Need to set the preceding variable on all platforms that support
6521
# interlibrary dependencies.
6522
# 'none' -- dependencies not supported.
6523
# `unknown' -- same as none, but documents that we really don't know.
6524
# 'pass_all' -- all dependencies passed with no checks.
6525
# 'test_compile' -- check by making test program.
6526
# 'file_magic [[regex]]' -- check by looking for files in library path
6527
# which responds to the $file_magic_cmd with a given extended regex.
6528
# If you have `file' or equivalent on your system and you're not sure
6529
# whether `pass_all' will *always* work, you probably want this one.
6533
lt_cv_deplibs_check_method=pass_all
6537
lt_cv_deplibs_check_method=pass_all
6541
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6542
lt_cv_file_magic_cmd='/usr/bin/file -L'
6543
lt_cv_file_magic_test_file=/shlib/libc.so
6547
# func_win32_libid is a shell function defined in ltmain.sh
6548
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6549
lt_cv_file_magic_cmd='func_win32_libid'
6553
# Base MSYS/MinGW do not provide the 'file' command needed by
6554
# func_win32_libid shell function, so use a weaker test based on 'objdump',
6555
# unless we find 'file', for example because we are cross-compiling.
6556
if ( file / ) >/dev/null 2>&1; then
6557
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6558
lt_cv_file_magic_cmd='func_win32_libid'
6560
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6561
lt_cv_file_magic_cmd='$OBJDUMP -f'
6565
darwin* | rhapsody*)
6566
lt_cv_deplibs_check_method=pass_all
6569
freebsd* | dragonfly*)
6570
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6573
# Not sure whether the presence of OpenBSD here was a mistake.
6574
# Let's accept both of them until this is cleared up.
6575
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6576
lt_cv_file_magic_cmd=/usr/bin/file
6577
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6581
lt_cv_deplibs_check_method=pass_all
6586
lt_cv_deplibs_check_method=pass_all
6589
hpux10.20* | hpux11*)
6590
lt_cv_file_magic_cmd=/usr/bin/file
6593
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6594
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6597
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]'
6598
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6601
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6602
lt_cv_file_magic_test_file=/usr/lib/libc.sl
6608
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6609
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6612
irix5* | irix6* | nonstopux*)
6614
*-32|*"-32 ") libmagic=32-bit;;
6615
*-n32|*"-n32 ") libmagic=N32;;
6616
*-64|*"-64 ") libmagic=64-bit;;
6617
*) libmagic=never-match;;
6619
lt_cv_deplibs_check_method=pass_all
6622
# This must be Linux ELF.
6623
linux* | k*bsd*-gnu)
6624
lt_cv_deplibs_check_method=pass_all
6627
netbsd* | netbsdelf*-gnu)
6628
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6629
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6631
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6636
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6637
lt_cv_file_magic_cmd=/usr/bin/file
6638
lt_cv_file_magic_test_file=/usr/lib/libnls.so
6642
lt_cv_deplibs_check_method=pass_all
6646
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6647
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6649
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6653
osf3* | osf4* | osf5*)
6654
lt_cv_deplibs_check_method=pass_all
6658
lt_cv_deplibs_check_method=pass_all
6662
lt_cv_deplibs_check_method=pass_all
6665
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6666
lt_cv_deplibs_check_method=pass_all
6670
case $host_vendor in
6672
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]'
6673
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6676
lt_cv_deplibs_check_method=pass_all
6679
lt_cv_file_magic_cmd='/bin/file'
6680
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6683
lt_cv_file_magic_cmd='/bin/file'
6684
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6685
lt_cv_file_magic_test_file=/lib/libc.so
6688
lt_cv_deplibs_check_method=pass_all
6691
lt_cv_deplibs_check_method=pass_all
6697
lt_cv_deplibs_check_method=pass_all
6702
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6703
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
6704
file_magic_cmd=$lt_cv_file_magic_cmd
6705
deplibs_check_method=$lt_cv_deplibs_check_method
6706
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6719
if test -n "$ac_tool_prefix"; then
6720
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6721
set dummy ${ac_tool_prefix}ar; ac_word=$2
6722
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6723
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6724
if test "${ac_cv_prog_AR+set}" = set; then
6725
echo $ECHO_N "(cached) $ECHO_C" >&6
6727
if test -n "$AR"; then
6728
ac_cv_prog_AR="$AR" # Let the user override the test.
6730
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6734
test -z "$as_dir" && as_dir=.
6735
for ac_exec_ext in '' $ac_executable_extensions; do
6736
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6737
ac_cv_prog_AR="${ac_tool_prefix}ar"
6738
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6748
if test -n "$AR"; then
6749
{ echo "$as_me:$LINENO: result: $AR" >&5
6750
echo "${ECHO_T}$AR" >&6; }
6752
{ echo "$as_me:$LINENO: result: no" >&5
6753
echo "${ECHO_T}no" >&6; }
6758
if test -z "$ac_cv_prog_AR"; then
6760
# Extract the first word of "ar", so it can be a program name with args.
6761
set dummy ar; ac_word=$2
6762
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6763
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6764
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6765
echo $ECHO_N "(cached) $ECHO_C" >&6
6767
if test -n "$ac_ct_AR"; then
6768
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6770
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6774
test -z "$as_dir" && as_dir=.
6775
for ac_exec_ext in '' $ac_executable_extensions; do
6776
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6777
ac_cv_prog_ac_ct_AR="ar"
6778
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6787
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6788
if test -n "$ac_ct_AR"; then
6789
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6790
echo "${ECHO_T}$ac_ct_AR" >&6; }
6792
{ echo "$as_me:$LINENO: result: no" >&5
6793
echo "${ECHO_T}no" >&6; }
6796
if test "x$ac_ct_AR" = x; then
6799
case $cross_compiling:$ac_tool_warned in
6801
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6802
whose name does not start with the host triplet. If you think this
6803
configuration is useful to you, please write to autoconf@gnu.org." >&5
6804
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6805
whose name does not start with the host triplet. If you think this
6806
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6807
ac_tool_warned=yes ;;
6815
test -z "$AR" && AR=ar
6816
test -z "$AR_FLAGS" && AR_FLAGS=cru
6828
if test -n "$ac_tool_prefix"; then
6829
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6830
set dummy ${ac_tool_prefix}strip; ac_word=$2
6831
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6832
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6833
if test "${ac_cv_prog_STRIP+set}" = set; then
6834
echo $ECHO_N "(cached) $ECHO_C" >&6
6836
if test -n "$STRIP"; then
6837
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6839
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6843
test -z "$as_dir" && as_dir=.
6844
for ac_exec_ext in '' $ac_executable_extensions; do
6845
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6846
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6847
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6856
STRIP=$ac_cv_prog_STRIP
6857
if test -n "$STRIP"; then
6858
{ echo "$as_me:$LINENO: result: $STRIP" >&5
6859
echo "${ECHO_T}$STRIP" >&6; }
6861
{ echo "$as_me:$LINENO: result: no" >&5
6862
echo "${ECHO_T}no" >&6; }
6867
if test -z "$ac_cv_prog_STRIP"; then
6869
# Extract the first word of "strip", so it can be a program name with args.
6870
set dummy strip; ac_word=$2
6871
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6872
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6873
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6874
echo $ECHO_N "(cached) $ECHO_C" >&6
6876
if test -n "$ac_ct_STRIP"; then
6877
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6879
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6883
test -z "$as_dir" && as_dir=.
6884
for ac_exec_ext in '' $ac_executable_extensions; do
6885
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6886
ac_cv_prog_ac_ct_STRIP="strip"
6887
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6896
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6897
if test -n "$ac_ct_STRIP"; then
6898
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6899
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6901
{ echo "$as_me:$LINENO: result: no" >&5
6902
echo "${ECHO_T}no" >&6; }
6905
if test "x$ac_ct_STRIP" = x; then
6908
case $cross_compiling:$ac_tool_warned in
6910
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6911
whose name does not start with the host triplet. If you think this
6912
configuration is useful to you, please write to autoconf@gnu.org." >&5
6913
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6914
whose name does not start with the host triplet. If you think this
6915
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6916
ac_tool_warned=yes ;;
6921
STRIP="$ac_cv_prog_STRIP"
6924
test -z "$STRIP" && STRIP=:
6931
if test -n "$ac_tool_prefix"; then
6932
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6933
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6934
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6935
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6936
if test "${ac_cv_prog_RANLIB+set}" = set; then
6937
echo $ECHO_N "(cached) $ECHO_C" >&6
6939
if test -n "$RANLIB"; then
6940
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6942
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6946
test -z "$as_dir" && as_dir=.
6947
for ac_exec_ext in '' $ac_executable_extensions; do
6948
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6949
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6950
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6959
RANLIB=$ac_cv_prog_RANLIB
6960
if test -n "$RANLIB"; then
6961
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
6962
echo "${ECHO_T}$RANLIB" >&6; }
6964
{ echo "$as_me:$LINENO: result: no" >&5
6965
echo "${ECHO_T}no" >&6; }
6970
if test -z "$ac_cv_prog_RANLIB"; then
6971
ac_ct_RANLIB=$RANLIB
6972
# Extract the first word of "ranlib", so it can be a program name with args.
6973
set dummy ranlib; ac_word=$2
6974
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6975
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6976
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6977
echo $ECHO_N "(cached) $ECHO_C" >&6
6979
if test -n "$ac_ct_RANLIB"; then
6980
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6982
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6986
test -z "$as_dir" && as_dir=.
6987
for ac_exec_ext in '' $ac_executable_extensions; do
6988
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6989
ac_cv_prog_ac_ct_RANLIB="ranlib"
6990
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6999
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7000
if test -n "$ac_ct_RANLIB"; then
7001
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7002
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7004
{ echo "$as_me:$LINENO: result: no" >&5
7005
echo "${ECHO_T}no" >&6; }
7008
if test "x$ac_ct_RANLIB" = x; then
7011
case $cross_compiling:$ac_tool_warned in
7013
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7014
whose name does not start with the host triplet. If you think this
7015
configuration is useful to you, please write to autoconf@gnu.org." >&5
7016
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7017
whose name does not start with the host triplet. If you think this
7018
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7019
ac_tool_warned=yes ;;
7021
RANLIB=$ac_ct_RANLIB
7024
RANLIB="$ac_cv_prog_RANLIB"
7027
test -z "$RANLIB" && RANLIB=:
7034
# Determine commands to create old-style static archives.
7035
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7036
old_postinstall_cmds='chmod 644 $oldlib'
7037
old_postuninstall_cmds=
7039
if test -n "$RANLIB"; then
7042
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7045
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7048
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7084
# If no C compiler was specified, use CC.
7087
# If no C compiler flags were specified, use CFLAGS.
7088
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7090
# Allow CC to be a program name with arguments.
7094
# Check for command to grab the raw symbol name followed by C symbol from nm.
7095
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
7096
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
7097
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7098
echo $ECHO_N "(cached) $ECHO_C" >&6
7101
# These are sane defaults that work on at least a few old systems.
7102
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7104
# Character class describing NM global symbol codes.
7105
symcode='[BCDEGRST]'
7107
# Regexp to match symbols that can be accessed directly from C.
7108
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7110
# Define system-specific variables.
7115
cygwin* | mingw* | pw32*)
7116
symcode='[ABCDGISTW]'
7119
if test "$host_cpu" = ia64; then
7120
symcode='[ABCDEGRST]'
7124
symcode='[BCDEGRST]'
7127
symcode='[BCDEGQRST]'
7138
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7146
# If we're using GNU nm, then use its standard symbol codes.
7147
case `$NM -V 2>&1` in
7148
*GNU* | *'with BFD'*)
7149
symcode='[ABCDGIRSTW]' ;;
7152
# Transform an extracted symbol line into a proper C declaration.
7153
# Some systems (esp. on ia64) link data and code symbols differently,
7154
# so use this general approach.
7155
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7157
# Transform an extracted symbol line into symbol name and symbol address
7158
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7159
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'"
7161
# Handle CRLF in mingw tool chain
7165
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7169
# Try without a prefix underscore, then with it.
7170
for ac_symprfx in "" "_"; do
7172
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7173
symxfrm="\\1 $ac_symprfx\\2 \\2"
7175
# Write the raw and C identifiers.
7176
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7177
# Fake it for dumpbin and say T for any non-static function
7178
# and D for any global variable.
7179
# Also find C++ and __fastcall symbols from MSVC++,
7180
# which start with @ or ?.
7181
lt_cv_sys_global_symbol_pipe="$AWK '"\
7182
" {last_section=section; section=\$ 3};"\
7183
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7184
" \$ 0!~/External *\|/{next};"\
7185
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7186
" {if(hide[section]) next};"\
7187
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7188
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7189
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7190
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7191
" ' prfx=^$ac_symprfx"
7193
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7196
# Check to see that the pipe works correctly.
7200
cat > conftest.$ac_ext <<_LT_EOF
7205
void nm_test_func(void);
7206
void nm_test_func(void){}
7210
int main(){nm_test_var='a';nm_test_func();return(0);}
7213
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7214
(eval $ac_compile) 2>&5
7216
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217
(exit $ac_status); }; then
7218
# Now try to grab the symbols.
7220
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
7221
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7223
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224
(exit $ac_status); } && test -s "$nlist"; then
7225
# Try sorting and uniquifying the output.
7226
if sort "$nlist" | uniq > "$nlist"T; then
7227
mv -f "$nlist"T "$nlist"
7232
# Make sure that we snagged all the symbols we need.
7233
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7234
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7235
cat <<_LT_EOF > conftest.$ac_ext
7241
# Now generate the symbol file.
7242
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7244
cat <<_LT_EOF >> conftest.$ac_ext
7246
/* The mapping between symbol names and symbols. */
7251
lt__PROGRAM__LTX_preloaded_symbols[] =
7253
{ "@PROGRAM@", (void *) 0 },
7255
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7256
cat <<\_LT_EOF >> conftest.$ac_ext
7260
/* This works around a problem in FreeBSD linker */
7261
#ifdef FREEBSD_WORKAROUND
7262
static const void *lt_preloaded_setup() {
7263
return lt__PROGRAM__LTX_preloaded_symbols;
7271
# Now try linking the two files.
7272
mv conftest.$ac_objext conftstm.$ac_objext
7273
lt_save_LIBS="$LIBS"
7274
lt_save_CFLAGS="$CFLAGS"
7275
LIBS="conftstm.$ac_objext"
7276
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7277
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7278
(eval $ac_link) 2>&5
7280
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281
(exit $ac_status); } && test -s conftest${ac_exeext}; then
7284
LIBS="$lt_save_LIBS"
7285
CFLAGS="$lt_save_CFLAGS"
7287
echo "cannot find nm_test_func in $nlist" >&5
7290
echo "cannot find nm_test_var in $nlist" >&5
7293
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7296
echo "$progname: failed program was:" >&5
7297
cat conftest.$ac_ext >&5
7299
rm -rf conftest* conftst*
7301
# Do not use the global_symbol_pipe unless it works.
7302
if test "$pipe_works" = yes; then
7305
lt_cv_sys_global_symbol_pipe=
7311
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7312
lt_cv_sys_global_symbol_to_cdecl=
7314
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7315
{ echo "$as_me:$LINENO: result: failed" >&5
7316
echo "${ECHO_T}failed" >&6; }
7318
{ echo "$as_me:$LINENO: result: ok" >&5
7319
echo "${ECHO_T}ok" >&6; }
7343
# Check whether --enable-libtool-lock was given.
7344
if test "${enable_libtool_lock+set}" = set; then
7345
enableval=$enable_libtool_lock;
7348
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7350
# Some flags need to be propagated to the compiler or linker for good
7354
# Find out which ABI we are using.
7355
echo 'int i;' > conftest.$ac_ext
7356
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7357
(eval $ac_compile) 2>&5
7359
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360
(exit $ac_status); }; then
7361
case `/usr/bin/file conftest.$ac_objext` in
7373
# Find out which ABI we are using.
7374
echo '#line 7374 "configure"' > conftest.$ac_ext
7375
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7376
(eval $ac_compile) 2>&5
7378
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7379
(exit $ac_status); }; then
7380
if test "$lt_cv_prog_gnu_ld" = yes; then
7381
case `/usr/bin/file conftest.$ac_objext` in
7383
LD="${LD-ld} -melf32bsmip"
7386
LD="${LD-ld} -melf32bmipn32"
7389
LD="${LD-ld} -melf64bmip"
7393
case `/usr/bin/file conftest.$ac_objext` in
7409
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7410
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7411
# Find out which ABI we are using.
7412
echo 'int i;' > conftest.$ac_ext
7413
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7414
(eval $ac_compile) 2>&5
7416
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7417
(exit $ac_status); }; then
7418
case `/usr/bin/file conftest.o` in
7421
x86_64-*kfreebsd*-gnu)
7422
LD="${LD-ld} -m elf_i386_fbsd"
7425
LD="${LD-ld} -m elf_i386"
7427
ppc64-*linux*|powerpc64-*linux*)
7428
LD="${LD-ld} -m elf32ppclinux"
7431
LD="${LD-ld} -m elf_s390"
7434
LD="${LD-ld} -m elf32_sparc"
7440
x86_64-*kfreebsd*-gnu)
7441
LD="${LD-ld} -m elf_x86_64_fbsd"
7444
LD="${LD-ld} -m elf_x86_64"
7446
ppc*-*linux*|powerpc*-*linux*)
7447
LD="${LD-ld} -m elf64ppc"
7449
s390*-*linux*|s390*-*tpf*)
7450
LD="${LD-ld} -m elf64_s390"
7453
LD="${LD-ld} -m elf64_sparc"
7463
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7464
SAVE_CFLAGS="$CFLAGS"
7465
CFLAGS="$CFLAGS -belf"
7466
{ echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7467
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
7468
if test "${lt_cv_cc_needs_belf+set}" = set; then
7469
echo $ECHO_N "(cached) $ECHO_C" >&6
7472
ac_cpp='$CPP $CPPFLAGS'
7473
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7474
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7475
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7477
cat >conftest.$ac_ext <<_ACEOF
7480
cat confdefs.h >>conftest.$ac_ext
7481
cat >>conftest.$ac_ext <<_ACEOF
7482
/* end confdefs.h. */
7492
rm -f conftest.$ac_objext conftest$ac_exeext
7493
if { (ac_try="$ac_link"
7495
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7496
*) ac_try_echo=$ac_try;;
7498
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7499
(eval "$ac_link") 2>conftest.er1
7501
grep -v '^ *+' conftest.er1 >conftest.err
7503
cat conftest.err >&5
7504
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505
(exit $ac_status); } && {
7506
test -z "$ac_c_werror_flag" ||
7507
test ! -s conftest.err
7508
} && test -s conftest$ac_exeext &&
7509
$as_test_x conftest$ac_exeext; then
7510
lt_cv_cc_needs_belf=yes
7512
echo "$as_me: failed program was:" >&5
7513
sed 's/^/| /' conftest.$ac_ext >&5
7515
lt_cv_cc_needs_belf=no
7518
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7519
conftest$ac_exeext conftest.$ac_ext
7521
ac_cpp='$CPP $CPPFLAGS'
7522
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7523
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7524
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7527
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7528
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
7529
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7530
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7531
CFLAGS="$SAVE_CFLAGS"
7535
# Find out which ABI we are using.
7536
echo 'int i;' > conftest.$ac_ext
7537
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7538
(eval $ac_compile) 2>&5
7540
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7541
(exit $ac_status); }; then
7542
case `/usr/bin/file conftest.o` in
7544
case $lt_cv_prog_gnu_ld in
7545
yes*) LD="${LD-ld} -m elf64_sparc" ;;
7547
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7559
need_locks="$enable_libtool_lock"
7563
rhapsody* | darwin*)
7564
if test -n "$ac_tool_prefix"; then
7565
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7566
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7567
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7568
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7569
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7570
echo $ECHO_N "(cached) $ECHO_C" >&6
7572
if test -n "$DSYMUTIL"; then
7573
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7575
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7579
test -z "$as_dir" && as_dir=.
7580
for ac_exec_ext in '' $ac_executable_extensions; do
7581
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7582
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7583
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7592
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7593
if test -n "$DSYMUTIL"; then
7594
{ echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7595
echo "${ECHO_T}$DSYMUTIL" >&6; }
7597
{ echo "$as_me:$LINENO: result: no" >&5
7598
echo "${ECHO_T}no" >&6; }
7603
if test -z "$ac_cv_prog_DSYMUTIL"; then
7604
ac_ct_DSYMUTIL=$DSYMUTIL
7605
# Extract the first word of "dsymutil", so it can be a program name with args.
7606
set dummy dsymutil; ac_word=$2
7607
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7608
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7609
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7610
echo $ECHO_N "(cached) $ECHO_C" >&6
7612
if test -n "$ac_ct_DSYMUTIL"; then
7613
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7615
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619
test -z "$as_dir" && as_dir=.
7620
for ac_exec_ext in '' $ac_executable_extensions; do
7621
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7622
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7623
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7632
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7633
if test -n "$ac_ct_DSYMUTIL"; then
7634
{ echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7635
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
7637
{ echo "$as_me:$LINENO: result: no" >&5
7638
echo "${ECHO_T}no" >&6; }
7641
if test "x$ac_ct_DSYMUTIL" = x; then
7644
case $cross_compiling:$ac_tool_warned in
7646
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7647
whose name does not start with the host triplet. If you think this
7648
configuration is useful to you, please write to autoconf@gnu.org." >&5
7649
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7650
whose name does not start with the host triplet. If you think this
7651
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7652
ac_tool_warned=yes ;;
7654
DSYMUTIL=$ac_ct_DSYMUTIL
7657
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7660
if test -n "$ac_tool_prefix"; then
7661
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7662
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7663
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7664
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7665
if test "${ac_cv_prog_NMEDIT+set}" = set; then
7666
echo $ECHO_N "(cached) $ECHO_C" >&6
7668
if test -n "$NMEDIT"; then
7669
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7671
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675
test -z "$as_dir" && as_dir=.
7676
for ac_exec_ext in '' $ac_executable_extensions; do
7677
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7678
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7679
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7688
NMEDIT=$ac_cv_prog_NMEDIT
7689
if test -n "$NMEDIT"; then
7690
{ echo "$as_me:$LINENO: result: $NMEDIT" >&5
7691
echo "${ECHO_T}$NMEDIT" >&6; }
7693
{ echo "$as_me:$LINENO: result: no" >&5
7694
echo "${ECHO_T}no" >&6; }
7699
if test -z "$ac_cv_prog_NMEDIT"; then
7700
ac_ct_NMEDIT=$NMEDIT
7701
# Extract the first word of "nmedit", so it can be a program name with args.
7702
set dummy nmedit; ac_word=$2
7703
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7704
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7705
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7706
echo $ECHO_N "(cached) $ECHO_C" >&6
7708
if test -n "$ac_ct_NMEDIT"; then
7709
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7711
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7715
test -z "$as_dir" && as_dir=.
7716
for ac_exec_ext in '' $ac_executable_extensions; do
7717
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7718
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7719
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7728
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7729
if test -n "$ac_ct_NMEDIT"; then
7730
{ echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7731
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
7733
{ echo "$as_me:$LINENO: result: no" >&5
7734
echo "${ECHO_T}no" >&6; }
7737
if test "x$ac_ct_NMEDIT" = x; then
7740
case $cross_compiling:$ac_tool_warned in
7742
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7743
whose name does not start with the host triplet. If you think this
7744
configuration is useful to you, please write to autoconf@gnu.org." >&5
7745
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7746
whose name does not start with the host triplet. If you think this
7747
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7748
ac_tool_warned=yes ;;
7750
NMEDIT=$ac_ct_NMEDIT
7753
NMEDIT="$ac_cv_prog_NMEDIT"
7756
if test -n "$ac_tool_prefix"; then
7757
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7758
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7759
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7760
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7761
if test "${ac_cv_prog_LIPO+set}" = set; then
7762
echo $ECHO_N "(cached) $ECHO_C" >&6
7764
if test -n "$LIPO"; then
7765
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7767
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7771
test -z "$as_dir" && as_dir=.
7772
for ac_exec_ext in '' $ac_executable_extensions; do
7773
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7774
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7775
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7784
LIPO=$ac_cv_prog_LIPO
7785
if test -n "$LIPO"; then
7786
{ echo "$as_me:$LINENO: result: $LIPO" >&5
7787
echo "${ECHO_T}$LIPO" >&6; }
7789
{ echo "$as_me:$LINENO: result: no" >&5
7790
echo "${ECHO_T}no" >&6; }
7795
if test -z "$ac_cv_prog_LIPO"; then
7797
# Extract the first word of "lipo", so it can be a program name with args.
7798
set dummy lipo; ac_word=$2
7799
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7800
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7801
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7802
echo $ECHO_N "(cached) $ECHO_C" >&6
7804
if test -n "$ac_ct_LIPO"; then
7805
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7807
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7811
test -z "$as_dir" && as_dir=.
7812
for ac_exec_ext in '' $ac_executable_extensions; do
7813
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7814
ac_cv_prog_ac_ct_LIPO="lipo"
7815
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7824
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7825
if test -n "$ac_ct_LIPO"; then
7826
{ echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7827
echo "${ECHO_T}$ac_ct_LIPO" >&6; }
7829
{ echo "$as_me:$LINENO: result: no" >&5
7830
echo "${ECHO_T}no" >&6; }
7833
if test "x$ac_ct_LIPO" = x; then
7836
case $cross_compiling:$ac_tool_warned in
7838
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7839
whose name does not start with the host triplet. If you think this
7840
configuration is useful to you, please write to autoconf@gnu.org." >&5
7841
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7842
whose name does not start with the host triplet. If you think this
7843
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7844
ac_tool_warned=yes ;;
7849
LIPO="$ac_cv_prog_LIPO"
7852
if test -n "$ac_tool_prefix"; then
7853
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7854
set dummy ${ac_tool_prefix}otool; ac_word=$2
7855
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7856
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7857
if test "${ac_cv_prog_OTOOL+set}" = set; then
7858
echo $ECHO_N "(cached) $ECHO_C" >&6
7860
if test -n "$OTOOL"; then
7861
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7863
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7867
test -z "$as_dir" && as_dir=.
7868
for ac_exec_ext in '' $ac_executable_extensions; do
7869
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7870
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7871
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7880
OTOOL=$ac_cv_prog_OTOOL
7881
if test -n "$OTOOL"; then
7882
{ echo "$as_me:$LINENO: result: $OTOOL" >&5
7883
echo "${ECHO_T}$OTOOL" >&6; }
7885
{ echo "$as_me:$LINENO: result: no" >&5
7886
echo "${ECHO_T}no" >&6; }
7891
if test -z "$ac_cv_prog_OTOOL"; then
7893
# Extract the first word of "otool", so it can be a program name with args.
7894
set dummy otool; ac_word=$2
7895
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7896
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7897
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7898
echo $ECHO_N "(cached) $ECHO_C" >&6
7900
if test -n "$ac_ct_OTOOL"; then
7901
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7903
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7907
test -z "$as_dir" && as_dir=.
7908
for ac_exec_ext in '' $ac_executable_extensions; do
7909
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7910
ac_cv_prog_ac_ct_OTOOL="otool"
7911
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7920
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7921
if test -n "$ac_ct_OTOOL"; then
7922
{ echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7923
echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
7925
{ echo "$as_me:$LINENO: result: no" >&5
7926
echo "${ECHO_T}no" >&6; }
7929
if test "x$ac_ct_OTOOL" = x; then
7932
case $cross_compiling:$ac_tool_warned in
7934
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7935
whose name does not start with the host triplet. If you think this
7936
configuration is useful to you, please write to autoconf@gnu.org." >&5
7937
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7938
whose name does not start with the host triplet. If you think this
7939
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7940
ac_tool_warned=yes ;;
7945
OTOOL="$ac_cv_prog_OTOOL"
7948
if test -n "$ac_tool_prefix"; then
7949
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7950
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7951
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7952
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7953
if test "${ac_cv_prog_OTOOL64+set}" = set; then
7954
echo $ECHO_N "(cached) $ECHO_C" >&6
7956
if test -n "$OTOOL64"; then
7957
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7959
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7963
test -z "$as_dir" && as_dir=.
7964
for ac_exec_ext in '' $ac_executable_extensions; do
7965
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7966
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7967
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7976
OTOOL64=$ac_cv_prog_OTOOL64
7977
if test -n "$OTOOL64"; then
7978
{ echo "$as_me:$LINENO: result: $OTOOL64" >&5
7979
echo "${ECHO_T}$OTOOL64" >&6; }
7981
{ echo "$as_me:$LINENO: result: no" >&5
7982
echo "${ECHO_T}no" >&6; }
7987
if test -z "$ac_cv_prog_OTOOL64"; then
7988
ac_ct_OTOOL64=$OTOOL64
7989
# Extract the first word of "otool64", so it can be a program name with args.
7990
set dummy otool64; ac_word=$2
7991
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7992
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7993
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7994
echo $ECHO_N "(cached) $ECHO_C" >&6
7996
if test -n "$ac_ct_OTOOL64"; then
7997
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7999
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8003
test -z "$as_dir" && as_dir=.
8004
for ac_exec_ext in '' $ac_executable_extensions; do
8005
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8006
ac_cv_prog_ac_ct_OTOOL64="otool64"
8007
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8016
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8017
if test -n "$ac_ct_OTOOL64"; then
8018
{ echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
8019
echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
8021
{ echo "$as_me:$LINENO: result: no" >&5
8022
echo "${ECHO_T}no" >&6; }
8025
if test "x$ac_ct_OTOOL64" = x; then
8028
case $cross_compiling:$ac_tool_warned in
8030
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8031
whose name does not start with the host triplet. If you think this
8032
configuration is useful to you, please write to autoconf@gnu.org." >&5
8033
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8034
whose name does not start with the host triplet. If you think this
8035
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8036
ac_tool_warned=yes ;;
8038
OTOOL64=$ac_ct_OTOOL64
8041
OTOOL64="$ac_cv_prog_OTOOL64"
8070
{ echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8071
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
8072
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8073
echo $ECHO_N "(cached) $ECHO_C" >&6
8075
lt_cv_apple_cc_single_mod=no
8076
if test -z "${LT_MULTI_MODULE}"; then
8077
# By default we will add the -single_module flag. You can override
8078
# by either setting the environment variable LT_MULTI_MODULE
8079
# non-empty at configure time, or by adding -multi_module to the
8081
rm -rf libconftest.dylib*
8082
echo "int foo(void){return 1;}" > conftest.c
8083
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8084
-dynamiclib -Wl,-single_module conftest.c" >&5
8085
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8086
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8088
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8089
lt_cv_apple_cc_single_mod=yes
8091
cat conftest.err >&5
8093
rm -rf libconftest.dylib*
8097
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8098
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
8099
{ echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8100
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
8101
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8102
echo $ECHO_N "(cached) $ECHO_C" >&6
8104
lt_cv_ld_exported_symbols_list=no
8105
save_LDFLAGS=$LDFLAGS
8106
echo "_main" > conftest.sym
8107
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8108
cat >conftest.$ac_ext <<_ACEOF
8111
cat confdefs.h >>conftest.$ac_ext
8112
cat >>conftest.$ac_ext <<_ACEOF
8113
/* end confdefs.h. */
8123
rm -f conftest.$ac_objext conftest$ac_exeext
8124
if { (ac_try="$ac_link"
8126
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8127
*) ac_try_echo=$ac_try;;
8129
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8130
(eval "$ac_link") 2>conftest.er1
8132
grep -v '^ *+' conftest.er1 >conftest.err
8134
cat conftest.err >&5
8135
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136
(exit $ac_status); } && {
8137
test -z "$ac_c_werror_flag" ||
8138
test ! -s conftest.err
8139
} && test -s conftest$ac_exeext &&
8140
$as_test_x conftest$ac_exeext; then
8141
lt_cv_ld_exported_symbols_list=yes
8143
echo "$as_me: failed program was:" >&5
8144
sed 's/^/| /' conftest.$ac_ext >&5
8146
lt_cv_ld_exported_symbols_list=no
8149
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8150
conftest$ac_exeext conftest.$ac_ext
8151
LDFLAGS="$save_LDFLAGS"
8154
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8155
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
8157
rhapsody* | darwin1.[012])
8158
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8160
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8161
darwin*) # darwin 5.x on
8162
# if running on 10.5 or later, the deployment target defaults
8163
# to the OS version, if on x86, and 10.4, the deployment
8164
# target defaults to 10.4. Don't you love it?
8165
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8166
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8167
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8169
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8171
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8175
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8176
_lt_dar_single_mod='$single_module'
8178
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8179
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8181
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8183
if test "$DSYMUTIL" != ":"; then
8184
_lt_dsymutil='~$DSYMUTIL $lib || :'
8192
for ac_header in dlfcn.h
8194
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8195
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8196
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8197
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8198
echo $ECHO_N "(cached) $ECHO_C" >&6
8200
cat >conftest.$ac_ext <<_ACEOF
8203
cat confdefs.h >>conftest.$ac_ext
8204
cat >>conftest.$ac_ext <<_ACEOF
8205
/* end confdefs.h. */
8206
$ac_includes_default
8208
#include <$ac_header>
8210
rm -f conftest.$ac_objext
8211
if { (ac_try="$ac_compile"
8213
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8214
*) ac_try_echo=$ac_try;;
8216
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8217
(eval "$ac_compile") 2>conftest.er1
8219
grep -v '^ *+' conftest.er1 >conftest.err
8221
cat conftest.err >&5
8222
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223
(exit $ac_status); } && {
8224
test -z "$ac_c_werror_flag" ||
8225
test ! -s conftest.err
8226
} && test -s conftest.$ac_objext; then
8227
eval "$as_ac_Header=yes"
8229
echo "$as_me: failed program was:" >&5
8230
sed 's/^/| /' conftest.$ac_ext >&5
8232
eval "$as_ac_Header=no"
8235
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8237
ac_res=`eval echo '${'$as_ac_Header'}'`
8238
{ echo "$as_me:$LINENO: result: $ac_res" >&5
8239
echo "${ECHO_T}$ac_res" >&6; }
8240
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8241
cat >>confdefs.h <<_ACEOF
8242
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8252
ac_cpp='$CXXCPP $CPPFLAGS'
8253
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8254
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8255
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8256
if test -z "$CXX"; then
8257
if test -n "$CCC"; then
8260
if test -n "$ac_tool_prefix"; then
8261
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8263
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8264
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8265
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8266
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8267
if test "${ac_cv_prog_CXX+set}" = set; then
8268
echo $ECHO_N "(cached) $ECHO_C" >&6
8270
if test -n "$CXX"; then
8271
ac_cv_prog_CXX="$CXX" # Let the user override the test.
8273
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8277
test -z "$as_dir" && as_dir=.
8278
for ac_exec_ext in '' $ac_executable_extensions; do
8279
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8280
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8281
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8291
if test -n "$CXX"; then
8292
{ echo "$as_me:$LINENO: result: $CXX" >&5
8293
echo "${ECHO_T}$CXX" >&6; }
8295
{ echo "$as_me:$LINENO: result: no" >&5
8296
echo "${ECHO_T}no" >&6; }
8300
test -n "$CXX" && break
8303
if test -z "$CXX"; then
8305
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8307
# Extract the first word of "$ac_prog", so it can be a program name with args.
8308
set dummy $ac_prog; ac_word=$2
8309
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8310
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8311
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
8312
echo $ECHO_N "(cached) $ECHO_C" >&6
8314
if test -n "$ac_ct_CXX"; then
8315
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8317
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8321
test -z "$as_dir" && as_dir=.
8322
for ac_exec_ext in '' $ac_executable_extensions; do
8323
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8324
ac_cv_prog_ac_ct_CXX="$ac_prog"
8325
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8334
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8335
if test -n "$ac_ct_CXX"; then
8336
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
8337
echo "${ECHO_T}$ac_ct_CXX" >&6; }
8339
{ echo "$as_me:$LINENO: result: no" >&5
8340
echo "${ECHO_T}no" >&6; }
8344
test -n "$ac_ct_CXX" && break
8347
if test "x$ac_ct_CXX" = x; then
8350
case $cross_compiling:$ac_tool_warned in
8352
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8353
whose name does not start with the host triplet. If you think this
8354
configuration is useful to you, please write to autoconf@gnu.org." >&5
8355
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8356
whose name does not start with the host triplet. If you think this
8357
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8358
ac_tool_warned=yes ;;
8366
# Provide some information about the compiler.
8367
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
8368
ac_compiler=`set X $ac_compile; echo $2`
8369
{ (ac_try="$ac_compiler --version >&5"
8371
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8372
*) ac_try_echo=$ac_try;;
8374
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8375
(eval "$ac_compiler --version >&5") 2>&5
8377
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378
(exit $ac_status); }
8379
{ (ac_try="$ac_compiler -v >&5"
8381
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8382
*) ac_try_echo=$ac_try;;
8384
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8385
(eval "$ac_compiler -v >&5") 2>&5
8387
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388
(exit $ac_status); }
8389
{ (ac_try="$ac_compiler -V >&5"
8391
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8392
*) ac_try_echo=$ac_try;;
8394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8395
(eval "$ac_compiler -V >&5") 2>&5
8397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398
(exit $ac_status); }
8400
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
8401
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
8402
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
8403
echo $ECHO_N "(cached) $ECHO_C" >&6
8405
cat >conftest.$ac_ext <<_ACEOF
8408
cat confdefs.h >>conftest.$ac_ext
8409
cat >>conftest.$ac_ext <<_ACEOF
8410
/* end confdefs.h. */
8423
rm -f conftest.$ac_objext
8424
if { (ac_try="$ac_compile"
8426
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8427
*) ac_try_echo=$ac_try;;
8429
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8430
(eval "$ac_compile") 2>conftest.er1
8432
grep -v '^ *+' conftest.er1 >conftest.err
8434
cat conftest.err >&5
8435
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436
(exit $ac_status); } && {
8437
test -z "$ac_cxx_werror_flag" ||
8438
test ! -s conftest.err
8439
} && test -s conftest.$ac_objext; then
8442
echo "$as_me: failed program was:" >&5
8443
sed 's/^/| /' conftest.$ac_ext >&5
8448
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8449
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8452
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
8453
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
8454
GXX=`test $ac_compiler_gnu = yes && echo yes`
8455
ac_test_CXXFLAGS=${CXXFLAGS+set}
8456
ac_save_CXXFLAGS=$CXXFLAGS
8457
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
8458
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
8459
if test "${ac_cv_prog_cxx_g+set}" = set; then
8460
echo $ECHO_N "(cached) $ECHO_C" >&6
8462
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8463
ac_cxx_werror_flag=yes
8466
cat >conftest.$ac_ext <<_ACEOF
8469
cat confdefs.h >>conftest.$ac_ext
8470
cat >>conftest.$ac_ext <<_ACEOF
8471
/* end confdefs.h. */
8481
rm -f conftest.$ac_objext
8482
if { (ac_try="$ac_compile"
8484
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8485
*) ac_try_echo=$ac_try;;
8487
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8488
(eval "$ac_compile") 2>conftest.er1
8490
grep -v '^ *+' conftest.er1 >conftest.err
8492
cat conftest.err >&5
8493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494
(exit $ac_status); } && {
8495
test -z "$ac_cxx_werror_flag" ||
8496
test ! -s conftest.err
8497
} && test -s conftest.$ac_objext; then
8498
ac_cv_prog_cxx_g=yes
8500
echo "$as_me: failed program was:" >&5
8501
sed 's/^/| /' conftest.$ac_ext >&5
8504
cat >conftest.$ac_ext <<_ACEOF
8507
cat confdefs.h >>conftest.$ac_ext
8508
cat >>conftest.$ac_ext <<_ACEOF
8509
/* end confdefs.h. */
8519
rm -f conftest.$ac_objext
8520
if { (ac_try="$ac_compile"
8522
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8523
*) ac_try_echo=$ac_try;;
8525
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8526
(eval "$ac_compile") 2>conftest.er1
8528
grep -v '^ *+' conftest.er1 >conftest.err
8530
cat conftest.err >&5
8531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532
(exit $ac_status); } && {
8533
test -z "$ac_cxx_werror_flag" ||
8534
test ! -s conftest.err
8535
} && test -s conftest.$ac_objext; then
8538
echo "$as_me: failed program was:" >&5
8539
sed 's/^/| /' conftest.$ac_ext >&5
8541
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8543
cat >conftest.$ac_ext <<_ACEOF
8546
cat confdefs.h >>conftest.$ac_ext
8547
cat >>conftest.$ac_ext <<_ACEOF
8548
/* end confdefs.h. */
8558
rm -f conftest.$ac_objext
8559
if { (ac_try="$ac_compile"
8561
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8562
*) ac_try_echo=$ac_try;;
8564
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8565
(eval "$ac_compile") 2>conftest.er1
8567
grep -v '^ *+' conftest.er1 >conftest.err
8569
cat conftest.err >&5
8570
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571
(exit $ac_status); } && {
8572
test -z "$ac_cxx_werror_flag" ||
8573
test ! -s conftest.err
8574
} && test -s conftest.$ac_objext; then
8575
ac_cv_prog_cxx_g=yes
8577
echo "$as_me: failed program was:" >&5
8578
sed 's/^/| /' conftest.$ac_ext >&5
8583
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8586
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8590
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8592
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
8593
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
8594
if test "$ac_test_CXXFLAGS" = set; then
8595
CXXFLAGS=$ac_save_CXXFLAGS
8596
elif test $ac_cv_prog_cxx_g = yes; then
8597
if test "$GXX" = yes; then
8603
if test "$GXX" = yes; then
8610
ac_cpp='$CPP $CPPFLAGS'
8611
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8612
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8613
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8615
depcc="$CXX" am_compiler_list=
8617
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
8618
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
8619
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
8620
echo $ECHO_N "(cached) $ECHO_C" >&6
8622
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8623
# We make a subdir and do the tests there. Otherwise we can end up
8624
# making bogus files that we don't know about and never remove. For
8625
# instance it was reported that on HP-UX the gcc test will end up
8626
# making a dummy file named `D' -- because `-MD' means `put the output
8629
# Copy depcomp to subdir because otherwise we won't find it if we're
8630
# using a relative directory.
8631
cp "$am_depcomp" conftest.dir
8633
# We will build objects and dependencies in a subdirectory because
8634
# it helps to detect inapplicable dependency modes. For instance
8635
# both Tru64's cc and ICC support -MD to output dependencies as a
8636
# side effect of compilation, but ICC will put the dependencies in
8637
# the current directory while Tru64 will put them in the object
8641
am_cv_CXX_dependencies_compiler_type=none
8642
if test "$am_compiler_list" = ""; then
8643
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8645
for depmode in $am_compiler_list; do
8646
# Setup a source with many dependencies, because some compilers
8647
# like to wrap large dependency lists on column 80 (with \), and
8648
# we should not choose a depcomp mode which is confused by this.
8650
# We need to recreate these files for each test, as the compiler may
8651
# overwrite some of them when testing with obscure command lines.
8652
# This happens at least with the AIX C compiler.
8654
for i in 1 2 3 4 5 6; do
8655
echo '#include "conftst'$i'.h"' >> sub/conftest.c
8656
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8657
# Solaris 8's {/usr,}/bin/sh.
8658
touch sub/conftst$i.h
8660
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8664
# after this tag, mechanisms are not by side-effect, so they'll
8665
# only be used when explicitly requested
8666
if test "x$enable_dependency_tracking" = xyes; then
8674
# We check with `-c' and `-o' for the sake of the "dashmstdout"
8675
# mode. It turns out that the SunPro C++ compiler does not properly
8676
# handle `-M -o', and we need to detect this.
8677
if depmode=$depmode \
8678
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
8679
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8680
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
8681
>/dev/null 2>conftest.err &&
8682
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8683
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8684
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
8685
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8686
# icc doesn't choke on unknown options, it will just issue warnings
8687
# or remarks (even with -Werror). So we grep stderr for any message
8688
# that says an option was ignored or not supported.
8689
# When given -MP, icc 7.0 and 7.1 complain thusly:
8690
# icc: Command line warning: ignoring option '-M'; no argument required
8691
# The diagnosis changed in icc 8.0:
8692
# icc: Command line remark: option '-MP' not supported
8693
if (grep 'ignoring option' conftest.err ||
8694
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8695
am_cv_CXX_dependencies_compiler_type=$depmode
8704
am_cv_CXX_dependencies_compiler_type=none
8708
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
8709
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
8710
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8713
test "x$enable_dependency_tracking" != xno \
8714
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8715
am__fastdepCXX_TRUE=
8716
am__fastdepCXX_FALSE='#'
8718
am__fastdepCXX_TRUE='#'
8719
am__fastdepCXX_FALSE=
8723
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8724
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8725
(test "X$CXX" != "Xg++"))) ; then
8727
ac_cpp='$CXXCPP $CPPFLAGS'
8728
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8729
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8730
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8731
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8732
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
8733
if test -z "$CXXCPP"; then
8734
if test "${ac_cv_prog_CXXCPP+set}" = set; then
8735
echo $ECHO_N "(cached) $ECHO_C" >&6
8737
# Double quotes because CXXCPP needs to be expanded
8738
for CXXCPP in "$CXX -E" "/lib/cpp"
8741
for ac_cxx_preproc_warn_flag in '' yes
8743
# Use a header file that comes with gcc, so configuring glibc
8744
# with a fresh cross-compiler works.
8745
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8746
# <limits.h> exists even on freestanding compilers.
8747
# On the NeXT, cc -E runs the code through the compiler's parser,
8748
# not just through cpp. "Syntax error" is here to catch this case.
8749
cat >conftest.$ac_ext <<_ACEOF
8752
cat confdefs.h >>conftest.$ac_ext
8753
cat >>conftest.$ac_ext <<_ACEOF
8754
/* end confdefs.h. */
8756
# include <limits.h>
8758
# include <assert.h>
8762
if { (ac_try="$ac_cpp conftest.$ac_ext"
8764
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8765
*) ac_try_echo=$ac_try;;
8767
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8768
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8770
grep -v '^ *+' conftest.er1 >conftest.err
8772
cat conftest.err >&5
8773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774
(exit $ac_status); } >/dev/null && {
8775
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8776
test ! -s conftest.err
8780
echo "$as_me: failed program was:" >&5
8781
sed 's/^/| /' conftest.$ac_ext >&5
8783
# Broken: fails on valid input.
8787
rm -f conftest.err conftest.$ac_ext
8789
# OK, works on sane cases. Now check whether nonexistent headers
8790
# can be detected and how.
8791
cat >conftest.$ac_ext <<_ACEOF
8794
cat confdefs.h >>conftest.$ac_ext
8795
cat >>conftest.$ac_ext <<_ACEOF
8796
/* end confdefs.h. */
8797
#include <ac_nonexistent.h>
8799
if { (ac_try="$ac_cpp conftest.$ac_ext"
8801
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8802
*) ac_try_echo=$ac_try;;
8804
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8805
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8807
grep -v '^ *+' conftest.er1 >conftest.err
8809
cat conftest.err >&5
8810
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811
(exit $ac_status); } >/dev/null && {
8812
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8813
test ! -s conftest.err
8815
# Broken: success on invalid input.
8818
echo "$as_me: failed program was:" >&5
8819
sed 's/^/| /' conftest.$ac_ext >&5
8821
# Passes both tests.
8826
rm -f conftest.err conftest.$ac_ext
8829
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8830
rm -f conftest.err conftest.$ac_ext
8831
if $ac_preproc_ok; then
8836
ac_cv_prog_CXXCPP=$CXXCPP
8839
CXXCPP=$ac_cv_prog_CXXCPP
8841
ac_cv_prog_CXXCPP=$CXXCPP
8843
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
8844
echo "${ECHO_T}$CXXCPP" >&6; }
8846
for ac_cxx_preproc_warn_flag in '' yes
8848
# Use a header file that comes with gcc, so configuring glibc
8849
# with a fresh cross-compiler works.
8850
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8851
# <limits.h> exists even on freestanding compilers.
8852
# On the NeXT, cc -E runs the code through the compiler's parser,
8853
# not just through cpp. "Syntax error" is here to catch this case.
8854
cat >conftest.$ac_ext <<_ACEOF
8857
cat confdefs.h >>conftest.$ac_ext
8858
cat >>conftest.$ac_ext <<_ACEOF
8859
/* end confdefs.h. */
8861
# include <limits.h>
8863
# include <assert.h>
8867
if { (ac_try="$ac_cpp conftest.$ac_ext"
8869
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8870
*) ac_try_echo=$ac_try;;
8872
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8873
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8875
grep -v '^ *+' conftest.er1 >conftest.err
8877
cat conftest.err >&5
8878
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8879
(exit $ac_status); } >/dev/null && {
8880
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8881
test ! -s conftest.err
8885
echo "$as_me: failed program was:" >&5
8886
sed 's/^/| /' conftest.$ac_ext >&5
8888
# Broken: fails on valid input.
8892
rm -f conftest.err conftest.$ac_ext
8894
# OK, works on sane cases. Now check whether nonexistent headers
8895
# can be detected and how.
8896
cat >conftest.$ac_ext <<_ACEOF
8899
cat confdefs.h >>conftest.$ac_ext
8900
cat >>conftest.$ac_ext <<_ACEOF
8901
/* end confdefs.h. */
8902
#include <ac_nonexistent.h>
8904
if { (ac_try="$ac_cpp conftest.$ac_ext"
8906
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8907
*) ac_try_echo=$ac_try;;
8909
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8910
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8912
grep -v '^ *+' conftest.er1 >conftest.err
8914
cat conftest.err >&5
8915
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8916
(exit $ac_status); } >/dev/null && {
8917
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8918
test ! -s conftest.err
8920
# Broken: success on invalid input.
8923
echo "$as_me: failed program was:" >&5
8924
sed 's/^/| /' conftest.$ac_ext >&5
8926
# Passes both tests.
8931
rm -f conftest.err conftest.$ac_ext
8934
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8935
rm -f conftest.err conftest.$ac_ext
8936
if $ac_preproc_ok; then
8939
_lt_caught_CXX_error=yes
8943
ac_cpp='$CPP $CPPFLAGS'
8944
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8945
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8946
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8949
_lt_caught_CXX_error=yes
8961
# Check whether --enable-shared was given.
8962
if test "${enable_shared+set}" = set; then
8963
enableval=$enable_shared; p=${PACKAGE-default}
8965
yes) enable_shared=yes ;;
8966
no) enable_shared=no ;;
8969
# Look at the argument we got. We use all the common list separators.
8970
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8971
for pkg in $enableval; do
8973
if test "X$pkg" = "X$p"; then
8992
# Check whether --enable-static was given.
8993
if test "${enable_static+set}" = set; then
8994
enableval=$enable_static; p=${PACKAGE-default}
8996
yes) enable_static=yes ;;
8997
no) enable_static=no ;;
9000
# Look at the argument we got. We use all the common list separators.
9001
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9002
for pkg in $enableval; do
9004
if test "X$pkg" = "X$p"; then
9024
# Check whether --with-pic was given.
9025
if test "${with_pic+set}" = set; then
9026
withval=$with_pic; pic_mode="$withval"
9032
test -z "$pic_mode" && pic_mode=default
9040
# Check whether --enable-fast-install was given.
9041
if test "${enable_fast_install+set}" = set; then
9042
enableval=$enable_fast_install; p=${PACKAGE-default}
9044
yes) enable_fast_install=yes ;;
9045
no) enable_fast_install=no ;;
9047
enable_fast_install=no
9048
# Look at the argument we got. We use all the common list separators.
9049
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9050
for pkg in $enableval; do
9052
if test "X$pkg" = "X$p"; then
9053
enable_fast_install=yes
9060
enable_fast_install=yes
9073
# This can be used to rebuild libtool when needed
9074
LIBTOOL_DEPS="$ltmain"
9076
# Always use our own libtool.
9077
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9103
test -z "$LN_S" && LN_S="ln -s"
9118
if test -n "${ZSH_VERSION+set}" ; then
9119
setopt NO_GLOB_SUBST
9122
{ echo "$as_me:$LINENO: checking for objdir" >&5
9123
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
9124
if test "${lt_cv_objdir+set}" = set; then
9125
echo $ECHO_N "(cached) $ECHO_C" >&6
9127
rm -f .libs 2>/dev/null
9128
mkdir .libs 2>/dev/null
9129
if test -d .libs; then
9132
# MS-DOS does not allow filenames that begin with a dot.
9135
rmdir .libs 2>/dev/null
9137
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9138
echo "${ECHO_T}$lt_cv_objdir" >&6; }
9139
objdir=$lt_cv_objdir
9145
cat >>confdefs.h <<_ACEOF
9146
#define LT_OBJDIR "$lt_cv_objdir/"
9167
# AIX sometimes has problems with the GCC collect2 program. For some
9168
# reason, if we set the COLLECT_NAMES environment variable, the problems
9169
# vanish in a puff of smoke.
9170
if test "X${COLLECT_NAMES+set}" != Xset; then
9172
export COLLECT_NAMES
9177
# Sed substitution that helps us do robust quoting. It backslashifies
9178
# metacharacters that are still active within double-quoted strings.
9179
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9181
# Same as above, but do not quote variable references.
9182
double_quote_subst='s/\(["`\\]\)/\\\1/g'
9184
# Sed substitution to delay expansion of an escaped shell variable in a
9185
# double_quote_subst'ed string.
9186
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9188
# Sed substitution to delay expansion of an escaped single quote.
9189
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9191
# Sed substitution to avoid accidental globbing in evaled expressions
9192
no_glob_subst='s/\*/\\\*/g'
9196
can_build_shared=yes
9198
# All known linkers require a `.a' archive for static linking (except MSVC,
9199
# which needs '.lib').
9202
with_gnu_ld="$lt_cv_prog_gnu_ld"
9205
old_CFLAGS="$CFLAGS"
9207
# Set sane defaults for various variables
9208
test -z "$CC" && CC=cc
9209
test -z "$LTCC" && LTCC=$CC
9210
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9211
test -z "$LD" && LD=ld
9212
test -z "$ac_objext" && ac_objext=o
9214
for cc_temp in $compiler""; do
9216
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9217
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9222
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9225
# Only perform the check for file, if the check method requires it
9226
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9227
case $deplibs_check_method in
9229
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9230
{ echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9231
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
9232
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9233
echo $ECHO_N "(cached) $ECHO_C" >&6
9237
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9240
lt_save_MAGIC_CMD="$MAGIC_CMD"
9241
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9242
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9243
for ac_dir in $ac_dummy; do
9245
test -z "$ac_dir" && ac_dir=.
9246
if test -f $ac_dir/${ac_tool_prefix}file; then
9247
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9248
if test -n "$file_magic_test_file"; then
9249
case $deplibs_check_method in
9251
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9252
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9253
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9254
$EGREP "$file_magic_regex" > /dev/null; then
9259
*** Warning: the command libtool uses to detect shared libraries,
9260
*** $file_magic_cmd, produces output that libtool cannot recognize.
9261
*** The result is that libtool may fail to recognize shared libraries
9262
*** as such. This will affect the creation of libtool libraries that
9263
*** depend on shared libraries, but programs linked with such libtool
9264
*** libraries will work regardless of this problem. Nevertheless, you
9265
*** may want to report the problem to your system manager and/or to
9266
*** bug-libtool@gnu.org
9276
MAGIC_CMD="$lt_save_MAGIC_CMD"
9281
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9282
if test -n "$MAGIC_CMD"; then
9283
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9284
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9286
{ echo "$as_me:$LINENO: result: no" >&5
9287
echo "${ECHO_T}no" >&6; }
9294
if test -z "$lt_cv_path_MAGIC_CMD"; then
9295
if test -n "$ac_tool_prefix"; then
9296
{ echo "$as_me:$LINENO: checking for file" >&5
9297
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
9298
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9299
echo $ECHO_N "(cached) $ECHO_C" >&6
9303
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9306
lt_save_MAGIC_CMD="$MAGIC_CMD"
9307
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9308
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9309
for ac_dir in $ac_dummy; do
9311
test -z "$ac_dir" && ac_dir=.
9312
if test -f $ac_dir/file; then
9313
lt_cv_path_MAGIC_CMD="$ac_dir/file"
9314
if test -n "$file_magic_test_file"; then
9315
case $deplibs_check_method in
9317
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9318
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9319
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9320
$EGREP "$file_magic_regex" > /dev/null; then
9325
*** Warning: the command libtool uses to detect shared libraries,
9326
*** $file_magic_cmd, produces output that libtool cannot recognize.
9327
*** The result is that libtool may fail to recognize shared libraries
9328
*** as such. This will affect the creation of libtool libraries that
9329
*** depend on shared libraries, but programs linked with such libtool
9330
*** libraries will work regardless of this problem. Nevertheless, you
9331
*** may want to report the problem to your system manager and/or to
9332
*** bug-libtool@gnu.org
9342
MAGIC_CMD="$lt_save_MAGIC_CMD"
9347
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9348
if test -n "$MAGIC_CMD"; then
9349
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9350
echo "${ECHO_T}$MAGIC_CMD" >&6; }
9352
{ echo "$as_me:$LINENO: result: no" >&5
9353
echo "${ECHO_T}no" >&6; }
9366
# Use C for the default configuration in the libtool script
9370
ac_cpp='$CPP $CPPFLAGS'
9371
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9372
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9373
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9376
# Source file extension for C test sources.
9379
# Object file extension for compiled C test sources.
9383
# Code to be used in simple compile tests
9384
lt_simple_compile_test_code="int some_variable = 0;"
9386
# Code to be used in simple link tests
9387
lt_simple_link_test_code='int main(){return(0);}'
9395
# If no C compiler was specified, use CC.
9398
# If no C compiler flags were specified, use CFLAGS.
9399
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9401
# Allow CC to be a program name with arguments.
9404
# Save the default compiler, since it gets overwritten when the other
9405
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9406
compiler_DEFAULT=$CC
9408
# save warnings/boilerplate of simple test code
9409
ac_outfile=conftest.$ac_objext
9410
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9411
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9412
_lt_compiler_boilerplate=`cat conftest.err`
9415
ac_outfile=conftest.$ac_objext
9416
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9417
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9418
_lt_linker_boilerplate=`cat conftest.err`
9422
if test -n "$compiler"; then
9424
lt_prog_compiler_no_builtin_flag=
9426
if test "$GCC" = yes; then
9427
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9429
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9430
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
9431
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9432
echo $ECHO_N "(cached) $ECHO_C" >&6
9434
lt_cv_prog_compiler_rtti_exceptions=no
9435
ac_outfile=conftest.$ac_objext
9436
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9437
lt_compiler_flag="-fno-rtti -fno-exceptions"
9438
# Insert the option either (1) after the last *FLAGS variable, or
9439
# (2) before a word containing "conftest.", or (3) at the end.
9440
# Note that $ac_compile itself does not contain backslashes and begins
9441
# with a dollar sign (not a hyphen), so the echo should work correctly.
9442
# The option is referenced via a variable to avoid confusing sed.
9443
lt_compile=`echo "$ac_compile" | $SED \
9444
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9445
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9446
-e 's:$: $lt_compiler_flag:'`
9447
(eval echo "\"\$as_me:9447: $lt_compile\"" >&5)
9448
(eval "$lt_compile" 2>conftest.err)
9450
cat conftest.err >&5
9451
echo "$as_me:9451: \$? = $ac_status" >&5
9452
if (exit $ac_status) && test -s "$ac_outfile"; then
9453
# The compiler can only warn and ignore the option if not recognized
9454
# So say no if there are warnings other than the usual output.
9455
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9456
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9457
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9458
lt_cv_prog_compiler_rtti_exceptions=yes
9464
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9465
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9467
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9468
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9480
lt_prog_compiler_wl=
9481
lt_prog_compiler_pic=
9482
lt_prog_compiler_static=
9484
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9485
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
9487
if test "$GCC" = yes; then
9488
lt_prog_compiler_wl='-Wl,'
9489
lt_prog_compiler_static='-static'
9493
# All AIX code is PIC.
9494
if test "$host_cpu" = ia64; then
9495
# AIX 5 now supports IA64 processor
9496
lt_prog_compiler_static='-Bstatic'
9503
# see comment about AmigaOS4 .so support
9504
lt_prog_compiler_pic='-fPIC'
9507
# FIXME: we need at least 68020 code to build shared libraries, but
9508
# adding the `-m68020' flag to GCC prevents building anything better,
9510
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9515
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9516
# PIC is the default for these OSes.
9519
mingw* | cygwin* | pw32* | os2*)
9520
# This hack is so that the source file can tell whether it is being
9521
# built for inclusion in a dll (and should export symbols for example).
9522
# Although the cygwin gcc ignores -fPIC, still need this for old-style
9523
# (--disable-auto-import) libraries
9524
lt_prog_compiler_pic='-DDLL_EXPORT'
9527
darwin* | rhapsody*)
9528
# PIC is the default on this platform
9529
# Common symbols not allowed in MH_DYLIB files
9530
lt_prog_compiler_pic='-fno-common'
9534
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9541
lt_prog_compiler_pic='-fPIC'
9547
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
9548
# Instead, we relocate shared libraries at runtime.
9552
# Just because we use GCC doesn't mean we suddenly get shared libraries
9553
# on systems that don't support them.
9554
lt_prog_compiler_can_build_shared=no
9559
# QNX uses GNU C++, but need to define -shared option too, otherwise
9561
lt_prog_compiler_pic='-fPIC -shared'
9565
if test -d /usr/nec; then
9566
lt_prog_compiler_pic=-Kconform_pic
9571
lt_prog_compiler_pic='-fPIC'
9575
# PORTME Check for flag to pass linker flags through the system compiler.
9578
lt_prog_compiler_wl='-Wl,'
9579
if test "$host_cpu" = ia64; then
9580
# AIX 5 now supports IA64 processor
9581
lt_prog_compiler_static='-Bstatic'
9583
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9587
mingw* | cygwin* | pw32* | os2*)
9588
# This hack is so that the source file can tell whether it is being
9589
# built for inclusion in a dll (and should export symbols for example).
9590
lt_prog_compiler_pic='-DDLL_EXPORT'
9593
hpux9* | hpux10* | hpux11*)
9594
lt_prog_compiler_wl='-Wl,'
9595
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9602
lt_prog_compiler_pic='+Z'
9605
# Is there a better lt_prog_compiler_static that works with the bundled CC?
9606
lt_prog_compiler_static='${wl}-a ${wl}archive'
9609
irix5* | irix6* | nonstopux*)
9610
lt_prog_compiler_wl='-Wl,'
9611
# PIC (with -KPIC) is the default.
9612
lt_prog_compiler_static='-non_shared'
9615
linux* | k*bsd*-gnu)
9616
case $cc_basename in
9617
icc* | ecc* | ifort*)
9618
lt_prog_compiler_wl='-Wl,'
9619
lt_prog_compiler_pic='-KPIC'
9620
lt_prog_compiler_static='-static'
9622
pgcc* | pgf77* | pgf90* | pgf95*)
9623
# Portland Group compilers (*not* the Pentium gcc compiler,
9624
# which looks to be a dead project)
9625
lt_prog_compiler_wl='-Wl,'
9626
lt_prog_compiler_pic='-fpic'
9627
lt_prog_compiler_static='-Bstatic'
9630
lt_prog_compiler_wl='-Wl,'
9631
# All Alpha code is PIC.
9632
lt_prog_compiler_static='-non_shared'
9635
# IBM XL C 8.0/Fortran 10.1 on PPC
9636
lt_prog_compiler_wl='-Wl,'
9637
lt_prog_compiler_pic='-qpic'
9638
lt_prog_compiler_static='-qstaticlink'
9641
case `$CC -V 2>&1 | sed 5q` in
9644
lt_prog_compiler_pic='-KPIC'
9645
lt_prog_compiler_static='-Bstatic'
9646
lt_prog_compiler_wl='-Wl,'
9649
# Sun Fortran 8.3 passes all unrecognized flags to the linker
9650
lt_prog_compiler_pic='-KPIC'
9651
lt_prog_compiler_static='-Bstatic'
9652
lt_prog_compiler_wl=''
9660
lt_prog_compiler_pic='-KPIC'
9661
lt_prog_compiler_static='-Bstatic'
9665
# QNX uses GNU C++, but need to define -shared option too, otherwise
9667
lt_prog_compiler_pic='-fPIC -shared'
9670
osf3* | osf4* | osf5*)
9671
lt_prog_compiler_wl='-Wl,'
9672
# All OSF/1 code is PIC.
9673
lt_prog_compiler_static='-non_shared'
9677
lt_prog_compiler_static='-non_shared'
9681
lt_prog_compiler_pic='-KPIC'
9682
lt_prog_compiler_static='-Bstatic'
9683
case $cc_basename in
9685
lt_prog_compiler_wl='-Qoption ld ';;
9687
lt_prog_compiler_wl='-Wl,';;
9692
lt_prog_compiler_wl='-Qoption ld '
9693
lt_prog_compiler_pic='-PIC'
9694
lt_prog_compiler_static='-Bstatic'
9697
sysv4 | sysv4.2uw2* | sysv4.3*)
9698
lt_prog_compiler_wl='-Wl,'
9699
lt_prog_compiler_pic='-KPIC'
9700
lt_prog_compiler_static='-Bstatic'
9704
if test -d /usr/nec ;then
9705
lt_prog_compiler_pic='-Kconform_pic'
9706
lt_prog_compiler_static='-Bstatic'
9710
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9711
lt_prog_compiler_wl='-Wl,'
9712
lt_prog_compiler_pic='-KPIC'
9713
lt_prog_compiler_static='-Bstatic'
9717
lt_prog_compiler_wl='-Wl,'
9718
lt_prog_compiler_can_build_shared=no
9722
lt_prog_compiler_pic='-pic'
9723
lt_prog_compiler_static='-Bstatic'
9727
lt_prog_compiler_can_build_shared=no
9733
# For platforms which do not support PIC, -DPIC is meaningless:
9735
lt_prog_compiler_pic=
9738
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9741
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9742
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
9750
# Check to make sure the PIC flag actually works.
9752
if test -n "$lt_prog_compiler_pic"; then
9753
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9754
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
9755
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9756
echo $ECHO_N "(cached) $ECHO_C" >&6
9758
lt_cv_prog_compiler_pic_works=no
9759
ac_outfile=conftest.$ac_objext
9760
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9761
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9762
# Insert the option either (1) after the last *FLAGS variable, or
9763
# (2) before a word containing "conftest.", or (3) at the end.
9764
# Note that $ac_compile itself does not contain backslashes and begins
9765
# with a dollar sign (not a hyphen), so the echo should work correctly.
9766
# The option is referenced via a variable to avoid confusing sed.
9767
lt_compile=`echo "$ac_compile" | $SED \
9768
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9769
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9770
-e 's:$: $lt_compiler_flag:'`
9771
(eval echo "\"\$as_me:9771: $lt_compile\"" >&5)
9772
(eval "$lt_compile" 2>conftest.err)
9774
cat conftest.err >&5
9775
echo "$as_me:9775: \$? = $ac_status" >&5
9776
if (exit $ac_status) && test -s "$ac_outfile"; then
9777
# The compiler can only warn and ignore the option if not recognized
9778
# So say no if there are warnings other than the usual output.
9779
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9780
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9781
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9782
lt_cv_prog_compiler_pic_works=yes
9788
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9789
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
9791
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9792
case $lt_prog_compiler_pic in
9794
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9797
lt_prog_compiler_pic=
9798
lt_prog_compiler_can_build_shared=no
9809
# Check to make sure the static flag actually works.
9811
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9812
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9813
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9814
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9815
echo $ECHO_N "(cached) $ECHO_C" >&6
9817
lt_cv_prog_compiler_static_works=no
9818
save_LDFLAGS="$LDFLAGS"
9819
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9820
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9821
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9822
# The linker can only warn and ignore the option if not recognized
9823
# So say no if there are warnings
9824
if test -s conftest.err; then
9825
# Append any errors to the config.log.
9826
cat conftest.err 1>&5
9827
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9828
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9829
if diff conftest.exp conftest.er2 >/dev/null; then
9830
lt_cv_prog_compiler_static_works=yes
9833
lt_cv_prog_compiler_static_works=yes
9837
LDFLAGS="$save_LDFLAGS"
9840
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9841
echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
9843
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9846
lt_prog_compiler_static=
9855
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9856
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9857
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9858
echo $ECHO_N "(cached) $ECHO_C" >&6
9860
lt_cv_prog_compiler_c_o=no
9861
$RM -r conftest 2>/dev/null
9865
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9867
lt_compiler_flag="-o out/conftest2.$ac_objext"
9868
# Insert the option either (1) after the last *FLAGS variable, or
9869
# (2) before a word containing "conftest.", or (3) at the end.
9870
# Note that $ac_compile itself does not contain backslashes and begins
9871
# with a dollar sign (not a hyphen), so the echo should work correctly.
9872
lt_compile=`echo "$ac_compile" | $SED \
9873
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9874
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9875
-e 's:$: $lt_compiler_flag:'`
9876
(eval echo "\"\$as_me:9876: $lt_compile\"" >&5)
9877
(eval "$lt_compile" 2>out/conftest.err)
9879
cat out/conftest.err >&5
9880
echo "$as_me:9880: \$? = $ac_status" >&5
9881
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9883
# The compiler can only warn and ignore the option if not recognized
9884
# So say no if there are warnings
9885
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9886
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9887
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9888
lt_cv_prog_compiler_c_o=yes
9893
# SGI C++ compiler will create directory out/ii_files/ for
9894
# template instantiation
9895
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9896
$RM out/* && rmdir out
9902
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9903
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9910
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9911
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9912
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9913
echo $ECHO_N "(cached) $ECHO_C" >&6
9915
lt_cv_prog_compiler_c_o=no
9916
$RM -r conftest 2>/dev/null
9920
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9922
lt_compiler_flag="-o out/conftest2.$ac_objext"
9923
# Insert the option either (1) after the last *FLAGS variable, or
9924
# (2) before a word containing "conftest.", or (3) at the end.
9925
# Note that $ac_compile itself does not contain backslashes and begins
9926
# with a dollar sign (not a hyphen), so the echo should work correctly.
9927
lt_compile=`echo "$ac_compile" | $SED \
9928
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9929
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9930
-e 's:$: $lt_compiler_flag:'`
9931
(eval echo "\"\$as_me:9931: $lt_compile\"" >&5)
9932
(eval "$lt_compile" 2>out/conftest.err)
9934
cat out/conftest.err >&5
9935
echo "$as_me:9935: \$? = $ac_status" >&5
9936
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9938
# The compiler can only warn and ignore the option if not recognized
9939
# So say no if there are warnings
9940
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9941
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9942
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9943
lt_cv_prog_compiler_c_o=yes
9948
# SGI C++ compiler will create directory out/ii_files/ for
9949
# template instantiation
9950
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9951
$RM out/* && rmdir out
9957
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9958
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9963
hard_links="nottested"
9964
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9965
# do not overwrite the value of need_locks provided by the user
9966
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9967
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9970
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9972
ln conftest.a conftest.b 2>&5 || hard_links=no
9973
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9974
{ echo "$as_me:$LINENO: result: $hard_links" >&5
9975
echo "${ECHO_T}$hard_links" >&6; }
9976
if test "$hard_links" = no; then
9977
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9978
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9990
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9991
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9994
allow_undefined_flag=
9995
always_export_symbols=no
9997
archive_expsym_cmds=
9998
compiler_needs_object=no
9999
enable_shared_with_static_runtimes=no
10000
export_dynamic_flag_spec=
10001
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10002
hardcode_automatic=no
10004
hardcode_direct_absolute=no
10005
hardcode_libdir_flag_spec=
10006
hardcode_libdir_flag_spec_ld=
10007
hardcode_libdir_separator=
10008
hardcode_minus_L=no
10009
hardcode_shlibpath_var=unsupported
10011
link_all_deplibs=unknown
10013
module_expsym_cmds=
10014
old_archive_from_new_cmds=
10015
old_archive_from_expsyms_cmds=
10016
thread_safe_flag_spec=
10017
whole_archive_flag_spec=
10018
# include_expsyms should be a list of space-separated symbols to be *always*
10019
# included in the symbol list
10021
# exclude_expsyms can be an extended regexp of symbols to exclude
10022
# it will be wrapped by ` (' and `)$', so one must not match beginning or
10023
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10024
# as well as any symbol that contains `d'.
10025
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10026
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10027
# platforms (ab)use it in PIC code, but their linkers get confused if
10028
# the symbol is explicitly referenced. Since portable code cannot
10029
# rely on this symbol name, it's probably fine to never include it in
10030
# preloaded symbol tables.
10031
# Exclude shared library initialization/finalization symbols.
10032
extract_expsyms_cmds=
10035
cygwin* | mingw* | pw32*)
10036
# FIXME: the MSVC++ port hasn't been tested in a loooong time
10037
# When not using gcc, we currently assume that we are using
10038
# Microsoft Visual C++.
10039
if test "$GCC" != yes; then
10044
# we just hope/assume this is gcc and not c89 (= MSVC++)
10053
if test "$with_gnu_ld" = yes; then
10054
# If archive_cmds runs LD, not CC, wlarc should be empty
10057
# Set some defaults for GNU ld with shared library support. These
10058
# are reset later if shared libraries are not supported. Putting them
10059
# here allows them to be overridden if necessary.
10060
runpath_var=LD_RUN_PATH
10061
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10062
export_dynamic_flag_spec='${wl}--export-dynamic'
10063
# ancient GNU ld didn't support --whole-archive et. al.
10064
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10065
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10067
whole_archive_flag_spec=
10069
supports_anon_versioning=no
10070
case `$LD -v 2>&1` in
10071
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10072
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10073
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10074
*\ 2.11.*) ;; # other 2.11 versions
10075
*) supports_anon_versioning=yes ;;
10078
# See if GNU ld supports shared libraries.
10081
# On AIX/PPC, the GNU linker is very broken
10082
if test "$host_cpu" != ia64; then
10086
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
10087
*** to be unable to reliably create shared libraries on AIX.
10088
*** Therefore, libtool is disabling shared libraries support. If you
10089
*** really care for shared libraries, you may want to modify your PATH
10090
*** so that a non-GNU linker is found, and then restart.
10099
# see comment about AmigaOS4 .so support
10100
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10101
archive_expsym_cmds=''
10104
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)'
10105
hardcode_libdir_flag_spec='-L$libdir'
10106
hardcode_minus_L=yes
10112
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10113
allow_undefined_flag=unsupported
10114
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10115
# support --undefined. This deserves some investigation. FIXME
10116
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10122
cygwin* | mingw* | pw32*)
10123
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10124
# as there is no search path for DLLs.
10125
hardcode_libdir_flag_spec='-L$libdir'
10126
allow_undefined_flag=unsupported
10127
always_export_symbols=no
10128
enable_shared_with_static_runtimes=yes
10129
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10131
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10132
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10133
# If the export-symbols file already is a .def file (1st line
10134
# is EXPORTS), use it as is; otherwise, prepend...
10135
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10136
cp $export_symbols $output_objdir/$soname.def;
10138
echo EXPORTS > $output_objdir/$soname.def;
10139
cat $export_symbols >> $output_objdir/$soname.def;
10141
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10149
hardcode_shlibpath_var=no
10150
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10151
export_dynamic_flag_spec='${wl}-E'
10152
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10153
# Instead, shared libraries are loaded at an image base (0x10000000 by
10154
# default) and relocated if they conflict, which is a slow very memory
10155
# consuming and fragmenting process. To avoid this, we pick a random,
10156
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10157
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
10158
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10159
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'
10162
gnu* | linux* | tpf* | k*bsd*-gnu)
10164
if test "$host_os" = linux-dietlibc; then
10165
case $cc_basename in
10166
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10169
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10170
&& test "$tmp_diet" = no
10173
tmp_sharedflag='-shared'
10174
case $cc_basename,$host_cpu in
10175
pgcc*) # Portland Group C compiler
10176
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'
10177
tmp_addflag=' $pic_flag'
10179
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
10180
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'
10181
tmp_addflag=' $pic_flag -Mnomain' ;;
10182
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10183
tmp_addflag=' -i_dynamic' ;;
10184
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10185
tmp_addflag=' -i_dynamic -nofor_main' ;;
10186
ifc* | ifort*) # Intel Fortran compiler
10187
tmp_addflag=' -nofor_main' ;;
10188
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10189
tmp_sharedflag='-qmkshrobj'
10192
case `$CC -V 2>&1 | sed 5q` in
10193
*Sun\ C*) # Sun C 5.9
10194
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'
10195
compiler_needs_object=yes
10196
tmp_sharedflag='-G' ;;
10197
*Sun\ F*) # Sun Fortran 8.3
10198
tmp_sharedflag='-G' ;;
10200
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10202
if test "x$supports_anon_versioning" = xyes; then
10203
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10204
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10205
echo "local: *; };" >> $output_objdir/$libname.ver~
10206
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10209
case $cc_basename in
10211
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10212
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10213
hardcode_libdir_flag_spec=
10214
hardcode_libdir_flag_spec_ld='-rpath $libdir'
10215
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10216
if test "x$supports_anon_versioning" = xyes; then
10217
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10218
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10219
echo "local: *; };" >> $output_objdir/$libname.ver~
10220
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10229
netbsd* | netbsdelf*-gnu)
10230
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10231
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10234
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10235
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10240
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10244
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10245
*** create shared libraries on Solaris systems. Therefore, libtool
10246
*** is disabling shared libraries support. We urge you to upgrade GNU
10247
*** binutils to release 2.9.1 or newer. Another option is to modify
10248
*** your PATH or compiler configuration so that the native linker is
10249
*** used, and then restart.
10252
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10253
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10254
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10260
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10261
case `$LD -v 2>&1` in
10262
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10266
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10267
*** reliably create shared libraries on SCO systems. Therefore, libtool
10268
*** is disabling shared libraries support. We urge you to upgrade GNU
10269
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10270
*** your PATH or compiler configuration so that the native linker is
10271
*** used, and then restart.
10276
# For security reasons, it is highly recommended that you always
10277
# use absolute paths for naming shared libraries, and exclude the
10278
# DT_RUNPATH tag from executables and libraries. But doing so
10279
# requires that you compile everything twice, which is a pain.
10280
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10281
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10282
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10283
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10292
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10294
hardcode_direct=yes
10295
hardcode_shlibpath_var=no
10299
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10300
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10301
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10308
if test "$ld_shlibs" = no; then
10310
hardcode_libdir_flag_spec=
10311
export_dynamic_flag_spec=
10312
whole_archive_flag_spec=
10315
# PORTME fill in a description of your system's linker (not GNU ld)
10318
allow_undefined_flag=unsupported
10319
always_export_symbols=yes
10320
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'
10321
# Note: this linker hardcodes the directories in LIBPATH if there
10322
# are no directories specified by -L.
10323
hardcode_minus_L=yes
10324
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10325
# Neither direct hardcoding nor static linking is supported with a
10327
hardcode_direct=unsupported
10332
if test "$host_cpu" = ia64; then
10333
# On IA64, the linker does run time linking by default, so we don't
10334
# have to do anything special.
10335
aix_use_runtimelinking=no
10336
exp_sym_flag='-Bexport'
10339
# If we're using GNU nm, then we don't want the "-C" option.
10340
# -C means demangle to AIX nm, but means don't demangle with GNU nm
10341
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10342
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'
10344
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'
10346
aix_use_runtimelinking=no
10348
# Test if we are trying to use run time linking or normal
10349
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10350
# need to do runtime linking.
10351
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10352
for ld_flag in $LDFLAGS; do
10353
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10354
aix_use_runtimelinking=yes
10361
exp_sym_flag='-bexport'
10362
no_entry_flag='-bnoentry'
10365
# When large executables or shared objects are built, AIX ld can
10366
# have problems creating the table of contents. If linking a library
10367
# or program results in "error TOC overflow" add -mminimal-toc to
10368
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10369
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10372
hardcode_direct=yes
10373
hardcode_direct_absolute=yes
10374
hardcode_libdir_separator=':'
10375
link_all_deplibs=yes
10376
file_list_spec='${wl}-f,'
10378
if test "$GCC" = yes; then
10379
case $host_os in aix4.[012]|aix4.[012].*)
10380
# We only want to do this on AIX 4.2 and lower, the check
10381
# below for broken collect2 doesn't work under 4.3+
10382
collect2name=`${CC} -print-prog-name=collect2`
10383
if test -f "$collect2name" &&
10384
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10386
# We have reworked collect2
10389
# We have old collect2
10390
hardcode_direct=unsupported
10391
# It fails to find uninstalled libraries when the uninstalled
10392
# path is not listed in the libpath. Setting hardcode_minus_L
10393
# to unsupported forces relinking
10394
hardcode_minus_L=yes
10395
hardcode_libdir_flag_spec='-L$libdir'
10396
hardcode_libdir_separator=
10400
shared_flag='-shared'
10401
if test "$aix_use_runtimelinking" = yes; then
10402
shared_flag="$shared_flag "'${wl}-G'
10404
link_all_deplibs=no
10407
if test "$host_cpu" = ia64; then
10408
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10409
# chokes on -Wl,-G. The following line is correct:
10412
if test "$aix_use_runtimelinking" = yes; then
10413
shared_flag='${wl}-G'
10415
shared_flag='${wl}-bM:SRE'
10420
# It seems that -bexpall does not export symbols beginning with
10421
# underscore (_), so it is better to generate a list of symbols to export.
10422
always_export_symbols=yes
10423
if test "$aix_use_runtimelinking" = yes; then
10424
# Warning - without using the other runtime loading flags (-brtl),
10425
# -berok will link without error, but may produce a broken library.
10426
allow_undefined_flag='-berok'
10427
# Determine the default libpath from the value encoded in an
10428
# empty executable.
10429
cat >conftest.$ac_ext <<_ACEOF
10432
cat confdefs.h >>conftest.$ac_ext
10433
cat >>conftest.$ac_ext <<_ACEOF
10434
/* end confdefs.h. */
10444
rm -f conftest.$ac_objext conftest$ac_exeext
10445
if { (ac_try="$ac_link"
10446
case "(($ac_try" in
10447
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10448
*) ac_try_echo=$ac_try;;
10450
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10451
(eval "$ac_link") 2>conftest.er1
10453
grep -v '^ *+' conftest.er1 >conftest.err
10455
cat conftest.err >&5
10456
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457
(exit $ac_status); } && {
10458
test -z "$ac_c_werror_flag" ||
10459
test ! -s conftest.err
10460
} && test -s conftest$ac_exeext &&
10461
$as_test_x conftest$ac_exeext; then
10463
lt_aix_libpath_sed='
10464
/Import File Strings/,/^$/ {
10470
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10471
# Check for a 64-bit object if we didn't find anything.
10472
if test -z "$aix_libpath"; then
10473
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10476
echo "$as_me: failed program was:" >&5
10477
sed 's/^/| /' conftest.$ac_ext >&5
10482
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10483
conftest$ac_exeext conftest.$ac_ext
10484
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10486
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10487
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"
10489
if test "$host_cpu" = ia64; then
10490
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10491
allow_undefined_flag="-z nodefs"
10492
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"
10494
# Determine the default libpath from the value encoded in an
10495
# empty executable.
10496
cat >conftest.$ac_ext <<_ACEOF
10499
cat confdefs.h >>conftest.$ac_ext
10500
cat >>conftest.$ac_ext <<_ACEOF
10501
/* end confdefs.h. */
10511
rm -f conftest.$ac_objext conftest$ac_exeext
10512
if { (ac_try="$ac_link"
10513
case "(($ac_try" in
10514
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10515
*) ac_try_echo=$ac_try;;
10517
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10518
(eval "$ac_link") 2>conftest.er1
10520
grep -v '^ *+' conftest.er1 >conftest.err
10522
cat conftest.err >&5
10523
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524
(exit $ac_status); } && {
10525
test -z "$ac_c_werror_flag" ||
10526
test ! -s conftest.err
10527
} && test -s conftest$ac_exeext &&
10528
$as_test_x conftest$ac_exeext; then
10530
lt_aix_libpath_sed='
10531
/Import File Strings/,/^$/ {
10537
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10538
# Check for a 64-bit object if we didn't find anything.
10539
if test -z "$aix_libpath"; then
10540
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10543
echo "$as_me: failed program was:" >&5
10544
sed 's/^/| /' conftest.$ac_ext >&5
10549
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10550
conftest$ac_exeext conftest.$ac_ext
10551
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10553
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10554
# Warning - without using the other run time loading flags,
10555
# -berok will link without error, but may produce a broken library.
10556
no_undefined_flag=' ${wl}-bernotok'
10557
allow_undefined_flag=' ${wl}-berok'
10558
# Exported symbols can be pulled into shared objects from archives
10559
whole_archive_flag_spec='$convenience'
10560
archive_cmds_need_lc=yes
10561
# This is similar to how AIX traditionally builds its shared libraries.
10562
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'
10570
# see comment about AmigaOS4 .so support
10571
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10572
archive_expsym_cmds=''
10575
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)'
10576
hardcode_libdir_flag_spec='-L$libdir'
10577
hardcode_minus_L=yes
10583
export_dynamic_flag_spec=-rdynamic
10586
cygwin* | mingw* | pw32*)
10587
# When not using gcc, we currently assume that we are using
10588
# Microsoft Visual C++.
10589
# hardcode_libdir_flag_spec is actually meaningless, as there is
10590
# no search path for DLLs.
10591
hardcode_libdir_flag_spec=' '
10592
allow_undefined_flag=unsupported
10593
# Tell ltmain to make .lib files, not .a files.
10595
# Tell ltmain to make .dll files, not .so files.
10597
# FIXME: Setting linknames here is a bad hack.
10598
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10599
# The linker will automatically build a .lib file if we build a DLL.
10600
old_archive_from_new_cmds='true'
10601
# FIXME: Should let the user specify the lib program.
10602
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10603
fix_srcfile_path='`cygpath -w "$srcfile"`'
10604
enable_shared_with_static_runtimes=yes
10607
darwin* | rhapsody*)
10610
archive_cmds_need_lc=no
10612
hardcode_automatic=yes
10613
hardcode_shlibpath_var=unsupported
10614
whole_archive_flag_spec=''
10615
link_all_deplibs=yes
10616
allow_undefined_flag="$_lt_dar_allow_undefined"
10617
if test "$GCC" = "yes"; then
10618
output_verbose_link_cmd=echo
10619
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10620
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10621
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}"
10622
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}"
10631
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10632
hardcode_libdir_flag_spec='-L$libdir'
10633
hardcode_shlibpath_var=no
10640
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10641
# support. Future versions do this automatically, but an explicit c++rt0.o
10642
# does not break anything, and helps significantly (at the cost of a little
10645
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10646
hardcode_libdir_flag_spec='-R$libdir'
10647
hardcode_direct=yes
10648
hardcode_shlibpath_var=no
10651
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10653
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10654
hardcode_direct=yes
10655
hardcode_minus_L=yes
10656
hardcode_shlibpath_var=no
10659
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10660
freebsd* | dragonfly*)
10661
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10662
hardcode_libdir_flag_spec='-R$libdir'
10663
hardcode_direct=yes
10664
hardcode_shlibpath_var=no
10668
if test "$GCC" = yes; then
10669
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'
10671
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'
10673
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10674
hardcode_libdir_separator=:
10675
hardcode_direct=yes
10677
# hardcode_minus_L: Not really in the search PATH,
10678
# but as the default location of the library.
10679
hardcode_minus_L=yes
10680
export_dynamic_flag_spec='${wl}-E'
10684
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10685
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10687
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10689
if test "$with_gnu_ld" = no; then
10690
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10691
hardcode_libdir_flag_spec_ld='+b $libdir'
10692
hardcode_libdir_separator=:
10693
hardcode_direct=yes
10694
hardcode_direct_absolute=yes
10695
export_dynamic_flag_spec='${wl}-E'
10696
# hardcode_minus_L: Not really in the search PATH,
10697
# but as the default location of the library.
10698
hardcode_minus_L=yes
10703
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10706
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10709
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10712
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10718
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10721
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10724
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10728
if test "$with_gnu_ld" = no; then
10729
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10730
hardcode_libdir_separator=:
10735
hardcode_shlibpath_var=no
10738
hardcode_direct=yes
10739
hardcode_direct_absolute=yes
10740
export_dynamic_flag_spec='${wl}-E'
10742
# hardcode_minus_L: Not really in the search PATH,
10743
# but as the default location of the library.
10744
hardcode_minus_L=yes
10750
irix5* | irix6* | nonstopux*)
10751
if test "$GCC" = yes; then
10752
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'
10753
# Try to use the -exported_symbol ld option, if it does not
10754
# work, assume that -exports_file does not work either and
10755
# implicitly export all symbols.
10756
save_LDFLAGS="$LDFLAGS"
10757
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10758
cat >conftest.$ac_ext <<_ACEOF
10761
rm -f conftest.$ac_objext conftest$ac_exeext
10762
if { (ac_try="$ac_link"
10763
case "(($ac_try" in
10764
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10765
*) ac_try_echo=$ac_try;;
10767
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10768
(eval "$ac_link") 2>conftest.er1
10770
grep -v '^ *+' conftest.er1 >conftest.err
10772
cat conftest.err >&5
10773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774
(exit $ac_status); } && {
10775
test -z "$ac_c_werror_flag" ||
10776
test ! -s conftest.err
10777
} && test -s conftest$ac_exeext &&
10778
$as_test_x conftest$ac_exeext; then
10779
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'
10782
echo "$as_me: failed program was:" >&5
10783
sed 's/^/| /' conftest.$ac_ext >&5
10788
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10789
conftest$ac_exeext conftest.$ac_ext
10790
LDFLAGS="$save_LDFLAGS"
10792
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'
10793
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'
10795
archive_cmds_need_lc='no'
10796
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10797
hardcode_libdir_separator=:
10799
link_all_deplibs=yes
10802
netbsd* | netbsdelf*-gnu)
10803
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10804
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10806
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10808
hardcode_libdir_flag_spec='-R$libdir'
10809
hardcode_direct=yes
10810
hardcode_shlibpath_var=no
10814
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10815
hardcode_direct=yes
10816
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10817
hardcode_libdir_separator=:
10818
hardcode_shlibpath_var=no
10825
if test -f /usr/libexec/ld.so; then
10826
hardcode_direct=yes
10827
hardcode_shlibpath_var=no
10828
hardcode_direct_absolute=yes
10829
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10830
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10831
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10832
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10833
export_dynamic_flag_spec='${wl}-E'
10836
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10837
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10838
hardcode_libdir_flag_spec='-R$libdir'
10841
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10842
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10852
hardcode_libdir_flag_spec='-L$libdir'
10853
hardcode_minus_L=yes
10854
allow_undefined_flag=unsupported
10855
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'
10856
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10860
if test "$GCC" = yes; then
10861
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10862
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'
10864
allow_undefined_flag=' -expect_unresolved \*'
10865
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'
10867
archive_cmds_need_lc='no'
10868
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10869
hardcode_libdir_separator=:
10872
osf4* | osf5*) # as osf3* with the addition of -msym flag
10873
if test "$GCC" = yes; then
10874
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10875
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'
10876
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10878
allow_undefined_flag=' -expect_unresolved \*'
10879
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'
10880
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~
10881
$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'
10883
# Both c and cxx compiler support -rpath directly
10884
hardcode_libdir_flag_spec='-rpath $libdir'
10886
archive_cmds_need_lc='no'
10887
hardcode_libdir_separator=:
10891
no_undefined_flag=' -z defs'
10892
if test "$GCC" = yes; then
10894
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10895
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10896
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10898
case `$CC -V 2>&1` in
10901
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10902
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10903
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10907
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10908
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10909
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10913
hardcode_libdir_flag_spec='-R$libdir'
10914
hardcode_shlibpath_var=no
10916
solaris2.[0-5] | solaris2.[0-5].*) ;;
10918
# The compiler driver will combine and reorder linker options,
10919
# but understands `-z linker_flag'. GCC discards it without `$wl',
10920
# but is careful enough not to reorder.
10921
# Supported since Solaris 2.6 (maybe 2.5.1?)
10922
if test "$GCC" = yes; then
10923
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10925
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10929
link_all_deplibs=yes
10933
if test "x$host_vendor" = xsequent; then
10934
# Use $CC to link under sequent, because it throws in some extra .o
10935
# files that make .init and .fini sections work.
10936
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10938
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10940
hardcode_libdir_flag_spec='-L$libdir'
10941
hardcode_direct=yes
10942
hardcode_minus_L=yes
10943
hardcode_shlibpath_var=no
10947
case $host_vendor in
10949
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10950
hardcode_direct=yes # is this really true???
10953
## LD is ld it makes a PLAMLIB
10954
## CC just makes a GrossModule.
10955
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10956
reload_cmds='$CC -r -o $output$reload_objs'
10960
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10961
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10964
runpath_var='LD_RUN_PATH'
10965
hardcode_shlibpath_var=no
10969
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10970
hardcode_shlibpath_var=no
10971
export_dynamic_flag_spec='-Bexport'
10975
if test -d /usr/nec; then
10976
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10977
hardcode_shlibpath_var=no
10978
runpath_var=LD_RUN_PATH
10979
hardcode_runpath_var=yes
10984
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10985
no_undefined_flag='${wl}-z,text'
10986
archive_cmds_need_lc=no
10987
hardcode_shlibpath_var=no
10988
runpath_var='LD_RUN_PATH'
10990
if test "$GCC" = yes; then
10991
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10992
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10994
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10995
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10999
sysv5* | sco3.2v5* | sco5v6*)
11000
# Note: We can NOT use -z defs as we might desire, because we do not
11001
# link with -lc, and that would cause any symbols used from libc to
11002
# always be unresolved, which means just about no library would
11003
# ever link correctly. If we're not using GNU ld we use -z text
11004
# though, which does catch some bad symbols but isn't as heavy-handed
11006
no_undefined_flag='${wl}-z,text'
11007
allow_undefined_flag='${wl}-z,nodefs'
11008
archive_cmds_need_lc=no
11009
hardcode_shlibpath_var=no
11010
hardcode_libdir_flag_spec='${wl}-R,$libdir'
11011
hardcode_libdir_separator=':'
11012
link_all_deplibs=yes
11013
export_dynamic_flag_spec='${wl}-Bexport'
11014
runpath_var='LD_RUN_PATH'
11016
if test "$GCC" = yes; then
11017
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11018
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11020
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11021
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11026
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11027
hardcode_libdir_flag_spec='-L$libdir'
11028
hardcode_shlibpath_var=no
11036
if test x$host_vendor = xsni; then
11038
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11039
export_dynamic_flag_spec='${wl}-Blargedynsym'
11045
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11046
echo "${ECHO_T}$ld_shlibs" >&6; }
11047
test "$ld_shlibs" = no && can_build_shared=no
11049
with_gnu_ld=$with_gnu_ld
11066
# Do we need to explicitly link libc?
11068
case "x$archive_cmds_need_lc" in
11070
# Assume -lc should be added
11071
archive_cmds_need_lc=yes
11073
if test "$enable_shared" = yes && test "$GCC" = yes; then
11074
case $archive_cmds in
11076
# FIXME: we may have to deal with multi-command sequences.
11079
# Test whether the compiler implicitly links with -lc since on some
11080
# systems, -lgcc has to come before -lc. If gcc already passes -lc
11081
# to ld, don't add -lc before -lgcc.
11082
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11083
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11085
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11087
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11088
(eval $ac_compile) 2>&5
11090
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11091
(exit $ac_status); } 2>conftest.err; then
11094
libobjs=conftest.$ac_objext
11096
wl=$lt_prog_compiler_wl
11097
pic_flag=$lt_prog_compiler_pic
11103
lt_save_allow_undefined_flag=$allow_undefined_flag
11104
allow_undefined_flag=
11105
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
11106
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11108
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109
(exit $ac_status); }
11111
archive_cmds_need_lc=no
11113
archive_cmds_need_lc=yes
11115
allow_undefined_flag=$lt_save_allow_undefined_flag
11117
cat conftest.err 1>&5
11120
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11121
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
11284
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11285
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11287
if test "$GCC" = yes; then
11289
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11290
*) lt_awk_arg="/^libraries:/" ;;
11292
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11293
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11294
# if the path contains ";" then we assume it to be the separator
11295
# otherwise default to the standard path separator (i.e. ":") - it is
11296
# assumed that no part of a normal pathname contains ";" but that should
11297
# okay in the real world where ";" in dirpaths is itself problematic.
11298
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11300
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11302
# Ok, now we have the path, separated by spaces, we can step through it
11303
# and add multilib dir if necessary.
11304
lt_tmp_lt_search_path_spec=
11305
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11306
for lt_sys_path in $lt_search_path_spec; do
11307
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11308
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11310
test -d "$lt_sys_path" && \
11311
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11314
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11315
BEGIN {RS=" "; FS="/|\n";} {
11318
for (lt_i = NF; lt_i > 0; lt_i--) {
11319
if ($lt_i != "" && $lt_i != ".") {
11320
if ($lt_i == "..") {
11323
if (lt_count == 0) {
11324
lt_foo="/" $lt_i lt_foo;
11331
if (lt_foo != "") { lt_freq[lt_foo]++; }
11332
if (lt_freq[lt_foo] == 1) { print lt_foo; }
11334
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11336
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11338
library_names_spec=
11339
libname_spec='lib$name'
11343
postuninstall_cmds=
11347
shlibpath_overrides_runpath=unknown
11349
dynamic_linker="$host_os ld.so"
11350
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11351
need_lib_prefix=unknown
11352
hardcode_into_libs=no
11354
# when you set need_version to no, make sure it does not cause -set_version
11355
# flags to be left without arguments
11356
need_version=unknown
11361
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11362
shlibpath_var=LIBPATH
11364
# AIX 3 has no versioning support, so we append a major version to the name.
11365
soname_spec='${libname}${release}${shared_ext}$major'
11372
hardcode_into_libs=yes
11373
if test "$host_cpu" = ia64; then
11374
# AIX 5 supports IA64
11375
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11376
shlibpath_var=LD_LIBRARY_PATH
11378
# With GCC up to 2.95.x, collect2 would create an import file
11379
# for dependence libraries. The import file would start with
11380
# the line `#! .'. This would cause the generated library to
11381
# depend on `.', always an invalid library. This was fixed in
11382
# development snapshots of GCC prior to 3.0.
11384
aix4 | aix4.[01] | aix4.[01].*)
11385
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11387
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11390
can_build_shared=no
11394
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11395
# soname into executable. Probably we can add versioning support to
11396
# collect2, so additional links can be useful in future.
11397
if test "$aix_use_runtimelinking" = yes; then
11398
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
11399
# instead of lib<name>.a to let people know that these are not
11400
# typical AIX shared libraries.
11401
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11403
# We preserve .a as extension for shared libraries through AIX4.2
11404
# and later when we are not doing run time linking.
11405
library_names_spec='${libname}${release}.a $libname.a'
11406
soname_spec='${libname}${release}${shared_ext}$major'
11408
shlibpath_var=LIBPATH
11415
# Since July 2007 AmigaOS4 officially supports .so libraries.
11416
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11417
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11420
library_names_spec='$libname.ixlibrary $libname.a'
11421
# Create ${libname}_ixlibrary.a entries in /sys/libs.
11422
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'
11428
library_names_spec='${libname}${shared_ext}'
11429
dynamic_linker="$host_os ld.so"
11430
shlibpath_var=LIBRARY_PATH
11436
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11437
soname_spec='${libname}${release}${shared_ext}$major'
11438
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11439
shlibpath_var=LD_LIBRARY_PATH
11440
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11441
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11442
# the default ld.so.conf also contains /usr/contrib/lib and
11443
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11444
# libtool to hard-code these into programs
11447
cygwin* | mingw* | pw32*)
11448
version_type=windows
11453
case $GCC,$host_os in
11454
yes,cygwin* | yes,mingw* | yes,pw32*)
11455
library_names_spec='$libname.dll.a'
11456
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11457
postinstall_cmds='base_file=`basename \${file}`~
11458
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11459
dldir=$destdir/`dirname \$dlpath`~
11460
test -d \$dldir || mkdir -p \$dldir~
11461
$install_prog $dir/$dlname \$dldir/$dlname~
11462
chmod a+x \$dldir/$dlname~
11463
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11464
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11466
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11467
dlpath=$dir/\$dldll~
11469
shlibpath_overrides_runpath=yes
11473
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
11474
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11475
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11478
# MinGW DLLs use traditional 'lib' prefix
11479
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11480
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11481
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11482
# It is most probably a Windows format PATH printed by
11483
# mingw gcc, but we are running on Cygwin. Gcc prints its search
11484
# path with ; separators, and with drive letters. We can handle the
11485
# drive letters (cygwin fileutils understands them), so leave them,
11486
# especially as we might pass files found there to a mingw objdump,
11487
# which wouldn't understand a cygwinified path. Ahh.
11488
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11490
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11494
# pw32 DLLs use 'pw' prefix rather than 'lib'
11495
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11501
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11504
dynamic_linker='Win32 ld.exe'
11505
# FIXME: first we should search . and the directory the executable is in
11509
darwin* | rhapsody*)
11510
dynamic_linker="$host_os dyld"
11511
version_type=darwin
11514
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11515
soname_spec='${libname}${release}${major}$shared_ext'
11516
shlibpath_overrides_runpath=yes
11517
shlibpath_var=DYLD_LIBRARY_PATH
11518
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11520
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11521
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11528
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11529
soname_spec='${libname}${release}${shared_ext}$major'
11530
shlibpath_var=LD_LIBRARY_PATH
11537
freebsd* | dragonfly*)
11538
# DragonFly does not have aout. When/if they implement a new
11539
# versioning mechanism, adjust this.
11540
if test -x /usr/bin/objformat; then
11541
objformat=`/usr/bin/objformat`
11544
freebsd[123]*) objformat=aout ;;
11545
*) objformat=elf ;;
11548
version_type=freebsd-$objformat
11549
case $version_type in
11551
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11556
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11560
shlibpath_var=LD_LIBRARY_PATH
11563
shlibpath_overrides_runpath=yes
11565
freebsd3.[01]* | freebsdelf3.[01]*)
11566
shlibpath_overrides_runpath=yes
11567
hardcode_into_libs=yes
11569
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11570
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11571
shlibpath_overrides_runpath=no
11572
hardcode_into_libs=yes
11574
*) # from 4.6 on, and DragonFly
11575
shlibpath_overrides_runpath=yes
11576
hardcode_into_libs=yes
11585
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11586
soname_spec='${libname}${release}${shared_ext}$major'
11587
shlibpath_var=LD_LIBRARY_PATH
11588
hardcode_into_libs=yes
11591
hpux9* | hpux10* | hpux11*)
11592
# Give a soname corresponding to the major version so that dld.sl refuses to
11593
# link against other versions.
11600
hardcode_into_libs=yes
11601
dynamic_linker="$host_os dld.so"
11602
shlibpath_var=LD_LIBRARY_PATH
11603
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11604
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11605
soname_spec='${libname}${release}${shared_ext}$major'
11606
if test "X$HPUX_IA64_MODE" = X32; then
11607
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11609
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11611
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11615
hardcode_into_libs=yes
11616
dynamic_linker="$host_os dld.sl"
11617
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11618
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11619
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11620
soname_spec='${libname}${release}${shared_ext}$major'
11621
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11622
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11626
dynamic_linker="$host_os dld.sl"
11627
shlibpath_var=SHLIB_PATH
11628
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11629
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11630
soname_spec='${libname}${release}${shared_ext}$major'
11633
# HP-UX runs *really* slowly unless shared libraries are mode 555.
11634
postinstall_cmds='chmod 555 $lib'
11641
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11642
soname_spec='${libname}${release}${shared_ext}$major'
11643
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11644
shlibpath_var=LD_LIBRARY_PATH
11645
shlibpath_overrides_runpath=no
11646
hardcode_into_libs=yes
11649
irix5* | irix6* | nonstopux*)
11651
nonstopux*) version_type=nonstopux ;;
11653
if test "$lt_cv_prog_gnu_ld" = yes; then
11661
soname_spec='${libname}${release}${shared_ext}$major'
11662
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11664
irix5* | nonstopux*)
11665
libsuff= shlibsuff=
11668
case $LD in # libtool.m4 will add one of these switches to LD
11669
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11670
libsuff= shlibsuff= libmagic=32-bit;;
11671
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11672
libsuff=32 shlibsuff=N32 libmagic=N32;;
11673
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11674
libsuff=64 shlibsuff=64 libmagic=64-bit;;
11675
*) libsuff= shlibsuff= libmagic=never-match;;
11679
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11680
shlibpath_overrides_runpath=no
11681
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11682
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11683
hardcode_into_libs=yes
11686
# No shared lib support for Linux oldld, aout, or coff.
11687
linux*oldld* | linux*aout* | linux*coff*)
11691
# This must be Linux ELF.
11692
linux* | k*bsd*-gnu)
11696
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11697
soname_spec='${libname}${release}${shared_ext}$major'
11698
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11699
shlibpath_var=LD_LIBRARY_PATH
11700
shlibpath_overrides_runpath=no
11701
# Some binutils ld are patched to set DT_RUNPATH
11702
save_LDFLAGS=$LDFLAGS
11703
save_libdir=$libdir
11704
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11705
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11706
cat >conftest.$ac_ext <<_ACEOF
11709
cat confdefs.h >>conftest.$ac_ext
11710
cat >>conftest.$ac_ext <<_ACEOF
11711
/* end confdefs.h. */
11721
rm -f conftest.$ac_objext conftest$ac_exeext
11722
if { (ac_try="$ac_link"
11723
case "(($ac_try" in
11724
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11725
*) ac_try_echo=$ac_try;;
11727
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11728
(eval "$ac_link") 2>conftest.er1
11730
grep -v '^ *+' conftest.er1 >conftest.err
11732
cat conftest.err >&5
11733
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734
(exit $ac_status); } && {
11735
test -z "$ac_c_werror_flag" ||
11736
test ! -s conftest.err
11737
} && test -s conftest$ac_exeext &&
11738
$as_test_x conftest$ac_exeext; then
11739
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11740
shlibpath_overrides_runpath=yes
11744
echo "$as_me: failed program was:" >&5
11745
sed 's/^/| /' conftest.$ac_ext >&5
11750
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11751
conftest$ac_exeext conftest.$ac_ext
11752
LDFLAGS=$save_LDFLAGS
11753
libdir=$save_libdir
11755
# This implies no fast_install, which is unacceptable.
11756
# Some rework will be needed to allow for fast_install
11757
# before this can be enabled.
11758
hardcode_into_libs=yes
11760
# Append ld.so.conf contents to the search path
11761
if test -f /etc/ld.so.conf; then
11762
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' ' '`
11763
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11766
# We used to test for /lib/ld.so.1 and disable shared libraries on
11767
# powerpc, because MkLinux only supported shared libraries with the
11768
# GNU dynamic linker. Since this was broken with cross compilers,
11769
# most powerpc-linux boxes support dynamic linking these days and
11770
# people can always --disable-shared, the test was removed, and we
11771
# assume the GNU/Linux dynamic linker is in use.
11772
dynamic_linker='GNU/Linux ld.so'
11779
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11780
soname_spec='${libname}${release}${shared_ext}$major'
11781
shlibpath_var=LD_LIBRARY_PATH
11782
shlibpath_overrides_runpath=no
11783
hardcode_into_libs=yes
11784
dynamic_linker='NetBSD ld.elf_so'
11791
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11792
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11793
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11794
dynamic_linker='NetBSD (a.out) ld.so'
11796
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11797
soname_spec='${libname}${release}${shared_ext}$major'
11798
dynamic_linker='NetBSD ld.elf_so'
11800
shlibpath_var=LD_LIBRARY_PATH
11801
shlibpath_overrides_runpath=yes
11802
hardcode_into_libs=yes
11807
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11808
shlibpath_var=LD_LIBRARY_PATH
11809
shlibpath_overrides_runpath=yes
11816
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11817
soname_spec='${libname}${release}${shared_ext}$major'
11818
shlibpath_var=LD_LIBRARY_PATH
11819
shlibpath_overrides_runpath=no
11820
hardcode_into_libs=yes
11821
dynamic_linker='ldqnx.so'
11826
sys_lib_dlsearch_path_spec="/usr/lib"
11828
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11830
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11831
*) need_version=no ;;
11833
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11834
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11835
shlibpath_var=LD_LIBRARY_PATH
11836
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11838
openbsd2.[89] | openbsd2.[89].*)
11839
shlibpath_overrides_runpath=no
11842
shlibpath_overrides_runpath=yes
11846
shlibpath_overrides_runpath=yes
11851
libname_spec='$name'
11854
library_names_spec='$libname${shared_ext} $libname.a'
11855
dynamic_linker='OS/2 ld.exe'
11856
shlibpath_var=LIBPATH
11859
osf3* | osf4* | osf5*)
11863
soname_spec='${libname}${release}${shared_ext}$major'
11864
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11865
shlibpath_var=LD_LIBRARY_PATH
11866
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11867
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11878
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11879
soname_spec='${libname}${release}${shared_ext}$major'
11880
shlibpath_var=LD_LIBRARY_PATH
11881
shlibpath_overrides_runpath=yes
11882
hardcode_into_libs=yes
11883
# ldd complains unless libraries are executable
11884
postinstall_cmds='chmod +x $lib'
11889
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11890
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11891
shlibpath_var=LD_LIBRARY_PATH
11892
shlibpath_overrides_runpath=yes
11893
if test "$with_gnu_ld" = yes; then
11901
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11902
soname_spec='${libname}${release}${shared_ext}$major'
11903
shlibpath_var=LD_LIBRARY_PATH
11904
case $host_vendor in
11906
shlibpath_overrides_runpath=no
11908
runpath_var=LD_RUN_PATH
11916
shlibpath_overrides_runpath=no
11917
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11923
if test -d /usr/nec ;then
11925
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11926
soname_spec='$libname${shared_ext}.$major'
11927
shlibpath_var=LD_LIBRARY_PATH
11931
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11932
version_type=freebsd-elf
11935
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11936
soname_spec='${libname}${release}${shared_ext}$major'
11937
shlibpath_var=LD_LIBRARY_PATH
11938
shlibpath_overrides_runpath=yes
11939
hardcode_into_libs=yes
11940
if test "$with_gnu_ld" = yes; then
11941
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11943
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11946
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11950
sys_lib_dlsearch_path_spec='/usr/lib'
11954
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11958
library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11959
shlibpath_var=LD_LIBRARY_PATH
11960
shlibpath_overrides_runpath=no
11961
hardcode_into_libs=yes
11966
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11967
soname_spec='${libname}${release}${shared_ext}$major'
11968
shlibpath_var=LD_LIBRARY_PATH
11975
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11976
echo "${ECHO_T}$dynamic_linker" >&6; }
11977
test "$dynamic_linker" = no && can_build_shared=no
11979
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11980
if test "$GCC" = yes; then
11981
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11984
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11985
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11987
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11988
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12077
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12078
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
12080
if test -n "$hardcode_libdir_flag_spec" ||
12081
test -n "$runpath_var" ||
12082
test "X$hardcode_automatic" = "Xyes" ; then
12084
# We can hardcode non-existent directories.
12085
if test "$hardcode_direct" != no &&
12086
# If the only mechanism to avoid hardcoding is shlibpath_var, we
12087
# have to relink, otherwise we might link with an installed library
12088
# when we should be linking with a yet-to-be-installed one
12089
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12090
test "$hardcode_minus_L" != no; then
12091
# Linking always hardcodes the temporary library directory.
12092
hardcode_action=relink
12094
# We can link without hardcoding, and we can hardcode nonexisting dirs.
12095
hardcode_action=immediate
12098
# We cannot hardcode anything, or else we can only hardcode existing
12100
hardcode_action=unsupported
12102
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
12103
echo "${ECHO_T}$hardcode_action" >&6; }
12105
if test "$hardcode_action" = relink ||
12106
test "$inherit_rpath" = yes; then
12107
# Fast installation is not supported
12108
enable_fast_install=no
12109
elif test "$shlibpath_overrides_runpath" = yes ||
12110
test "$enable_shared" = no; then
12111
# Fast installation is not necessary
12112
enable_fast_install=needless
12120
if test "x$enable_dlopen" != xyes; then
12121
enable_dlopen=unknown
12122
enable_dlopen_self=unknown
12123
enable_dlopen_self_static=unknown
12130
lt_cv_dlopen="load_add_on"
12132
lt_cv_dlopen_self=yes
12136
lt_cv_dlopen="LoadLibrary"
12141
lt_cv_dlopen="dlopen"
12146
# if libdl is installed we need to link against it
12147
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12148
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12149
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12150
echo $ECHO_N "(cached) $ECHO_C" >&6
12152
ac_check_lib_save_LIBS=$LIBS
12154
cat >conftest.$ac_ext <<_ACEOF
12157
cat confdefs.h >>conftest.$ac_ext
12158
cat >>conftest.$ac_ext <<_ACEOF
12159
/* end confdefs.h. */
12161
/* Override any GCC internal prototype to avoid an error.
12162
Use char because int might match the return type of a GCC
12163
builtin and then its argument prototype would still apply. */
12176
rm -f conftest.$ac_objext conftest$ac_exeext
12177
if { (ac_try="$ac_link"
12178
case "(($ac_try" in
12179
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12180
*) ac_try_echo=$ac_try;;
12182
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12183
(eval "$ac_link") 2>conftest.er1
12185
grep -v '^ *+' conftest.er1 >conftest.err
12187
cat conftest.err >&5
12188
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189
(exit $ac_status); } && {
12190
test -z "$ac_c_werror_flag" ||
12191
test ! -s conftest.err
12192
} && test -s conftest$ac_exeext &&
12193
$as_test_x conftest$ac_exeext; then
12194
ac_cv_lib_dl_dlopen=yes
12196
echo "$as_me: failed program was:" >&5
12197
sed 's/^/| /' conftest.$ac_ext >&5
12199
ac_cv_lib_dl_dlopen=no
12202
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12203
conftest$ac_exeext conftest.$ac_ext
12204
LIBS=$ac_check_lib_save_LIBS
12206
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12207
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12208
if test $ac_cv_lib_dl_dlopen = yes; then
12209
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12212
lt_cv_dlopen="dyld"
12214
lt_cv_dlopen_self=yes
12221
{ echo "$as_me:$LINENO: checking for shl_load" >&5
12222
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
12223
if test "${ac_cv_func_shl_load+set}" = set; then
12224
echo $ECHO_N "(cached) $ECHO_C" >&6
12226
cat >conftest.$ac_ext <<_ACEOF
12229
cat confdefs.h >>conftest.$ac_ext
12230
cat >>conftest.$ac_ext <<_ACEOF
12231
/* end confdefs.h. */
12232
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12233
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12234
#define shl_load innocuous_shl_load
12236
/* System header to define __stub macros and hopefully few prototypes,
12237
which can conflict with char shl_load (); below.
12238
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12239
<limits.h> exists even on freestanding compilers. */
12242
# include <limits.h>
12244
# include <assert.h>
12249
/* Override any GCC internal prototype to avoid an error.
12250
Use char because int might match the return type of a GCC
12251
builtin and then its argument prototype would still apply. */
12256
/* The GNU C library defines this for functions which it implements
12257
to always fail with ENOSYS. Some functions are actually named
12258
something starting with __ and the normal name is an alias. */
12259
#if defined __stub_shl_load || defined __stub___shl_load
12266
return shl_load ();
12271
rm -f conftest.$ac_objext conftest$ac_exeext
12272
if { (ac_try="$ac_link"
12273
case "(($ac_try" in
12274
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12275
*) ac_try_echo=$ac_try;;
12277
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12278
(eval "$ac_link") 2>conftest.er1
12280
grep -v '^ *+' conftest.er1 >conftest.err
12282
cat conftest.err >&5
12283
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284
(exit $ac_status); } && {
12285
test -z "$ac_c_werror_flag" ||
12286
test ! -s conftest.err
12287
} && test -s conftest$ac_exeext &&
12288
$as_test_x conftest$ac_exeext; then
12289
ac_cv_func_shl_load=yes
12291
echo "$as_me: failed program was:" >&5
12292
sed 's/^/| /' conftest.$ac_ext >&5
12294
ac_cv_func_shl_load=no
12297
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12298
conftest$ac_exeext conftest.$ac_ext
12300
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12301
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
12302
if test $ac_cv_func_shl_load = yes; then
12303
lt_cv_dlopen="shl_load"
12305
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12306
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
12307
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12308
echo $ECHO_N "(cached) $ECHO_C" >&6
12310
ac_check_lib_save_LIBS=$LIBS
12312
cat >conftest.$ac_ext <<_ACEOF
12315
cat confdefs.h >>conftest.$ac_ext
12316
cat >>conftest.$ac_ext <<_ACEOF
12317
/* end confdefs.h. */
12319
/* Override any GCC internal prototype to avoid an error.
12320
Use char because int might match the return type of a GCC
12321
builtin and then its argument prototype would still apply. */
12329
return shl_load ();
12334
rm -f conftest.$ac_objext conftest$ac_exeext
12335
if { (ac_try="$ac_link"
12336
case "(($ac_try" in
12337
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12338
*) ac_try_echo=$ac_try;;
12340
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12341
(eval "$ac_link") 2>conftest.er1
12343
grep -v '^ *+' conftest.er1 >conftest.err
12345
cat conftest.err >&5
12346
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347
(exit $ac_status); } && {
12348
test -z "$ac_c_werror_flag" ||
12349
test ! -s conftest.err
12350
} && test -s conftest$ac_exeext &&
12351
$as_test_x conftest$ac_exeext; then
12352
ac_cv_lib_dld_shl_load=yes
12354
echo "$as_me: failed program was:" >&5
12355
sed 's/^/| /' conftest.$ac_ext >&5
12357
ac_cv_lib_dld_shl_load=no
12360
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12361
conftest$ac_exeext conftest.$ac_ext
12362
LIBS=$ac_check_lib_save_LIBS
12364
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12365
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12366
if test $ac_cv_lib_dld_shl_load = yes; then
12367
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12369
{ echo "$as_me:$LINENO: checking for dlopen" >&5
12370
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12371
if test "${ac_cv_func_dlopen+set}" = set; then
12372
echo $ECHO_N "(cached) $ECHO_C" >&6
12374
cat >conftest.$ac_ext <<_ACEOF
12377
cat confdefs.h >>conftest.$ac_ext
12378
cat >>conftest.$ac_ext <<_ACEOF
12379
/* end confdefs.h. */
12380
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12381
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12382
#define dlopen innocuous_dlopen
12384
/* System header to define __stub macros and hopefully few prototypes,
12385
which can conflict with char dlopen (); below.
12386
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12387
<limits.h> exists even on freestanding compilers. */
12390
# include <limits.h>
12392
# include <assert.h>
12397
/* Override any GCC internal prototype to avoid an error.
12398
Use char because int might match the return type of a GCC
12399
builtin and then its argument prototype would still apply. */
12404
/* The GNU C library defines this for functions which it implements
12405
to always fail with ENOSYS. Some functions are actually named
12406
something starting with __ and the normal name is an alias. */
12407
#if defined __stub_dlopen || defined __stub___dlopen
12419
rm -f conftest.$ac_objext conftest$ac_exeext
12420
if { (ac_try="$ac_link"
12421
case "(($ac_try" in
12422
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12423
*) ac_try_echo=$ac_try;;
12425
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12426
(eval "$ac_link") 2>conftest.er1
12428
grep -v '^ *+' conftest.er1 >conftest.err
12430
cat conftest.err >&5
12431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12432
(exit $ac_status); } && {
12433
test -z "$ac_c_werror_flag" ||
12434
test ! -s conftest.err
12435
} && test -s conftest$ac_exeext &&
12436
$as_test_x conftest$ac_exeext; then
12437
ac_cv_func_dlopen=yes
12439
echo "$as_me: failed program was:" >&5
12440
sed 's/^/| /' conftest.$ac_ext >&5
12442
ac_cv_func_dlopen=no
12445
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12446
conftest$ac_exeext conftest.$ac_ext
12448
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12449
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12450
if test $ac_cv_func_dlopen = yes; then
12451
lt_cv_dlopen="dlopen"
12453
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12454
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12455
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12456
echo $ECHO_N "(cached) $ECHO_C" >&6
12458
ac_check_lib_save_LIBS=$LIBS
12460
cat >conftest.$ac_ext <<_ACEOF
12463
cat confdefs.h >>conftest.$ac_ext
12464
cat >>conftest.$ac_ext <<_ACEOF
12465
/* end confdefs.h. */
12467
/* Override any GCC internal prototype to avoid an error.
12468
Use char because int might match the return type of a GCC
12469
builtin and then its argument prototype would still apply. */
12482
rm -f conftest.$ac_objext conftest$ac_exeext
12483
if { (ac_try="$ac_link"
12484
case "(($ac_try" in
12485
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12486
*) ac_try_echo=$ac_try;;
12488
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12489
(eval "$ac_link") 2>conftest.er1
12491
grep -v '^ *+' conftest.er1 >conftest.err
12493
cat conftest.err >&5
12494
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12495
(exit $ac_status); } && {
12496
test -z "$ac_c_werror_flag" ||
12497
test ! -s conftest.err
12498
} && test -s conftest$ac_exeext &&
12499
$as_test_x conftest$ac_exeext; then
12500
ac_cv_lib_dl_dlopen=yes
12502
echo "$as_me: failed program was:" >&5
12503
sed 's/^/| /' conftest.$ac_ext >&5
12505
ac_cv_lib_dl_dlopen=no
12508
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12509
conftest$ac_exeext conftest.$ac_ext
12510
LIBS=$ac_check_lib_save_LIBS
12512
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12513
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
12514
if test $ac_cv_lib_dl_dlopen = yes; then
12515
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12517
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12518
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
12519
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12520
echo $ECHO_N "(cached) $ECHO_C" >&6
12522
ac_check_lib_save_LIBS=$LIBS
12523
LIBS="-lsvld $LIBS"
12524
cat >conftest.$ac_ext <<_ACEOF
12527
cat confdefs.h >>conftest.$ac_ext
12528
cat >>conftest.$ac_ext <<_ACEOF
12529
/* end confdefs.h. */
12531
/* Override any GCC internal prototype to avoid an error.
12532
Use char because int might match the return type of a GCC
12533
builtin and then its argument prototype would still apply. */
12546
rm -f conftest.$ac_objext conftest$ac_exeext
12547
if { (ac_try="$ac_link"
12548
case "(($ac_try" in
12549
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12550
*) ac_try_echo=$ac_try;;
12552
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12553
(eval "$ac_link") 2>conftest.er1
12555
grep -v '^ *+' conftest.er1 >conftest.err
12557
cat conftest.err >&5
12558
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559
(exit $ac_status); } && {
12560
test -z "$ac_c_werror_flag" ||
12561
test ! -s conftest.err
12562
} && test -s conftest$ac_exeext &&
12563
$as_test_x conftest$ac_exeext; then
12564
ac_cv_lib_svld_dlopen=yes
12566
echo "$as_me: failed program was:" >&5
12567
sed 's/^/| /' conftest.$ac_ext >&5
12569
ac_cv_lib_svld_dlopen=no
12572
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12573
conftest$ac_exeext conftest.$ac_ext
12574
LIBS=$ac_check_lib_save_LIBS
12576
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12577
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
12578
if test $ac_cv_lib_svld_dlopen = yes; then
12579
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12581
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12582
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
12583
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12584
echo $ECHO_N "(cached) $ECHO_C" >&6
12586
ac_check_lib_save_LIBS=$LIBS
12588
cat >conftest.$ac_ext <<_ACEOF
12591
cat confdefs.h >>conftest.$ac_ext
12592
cat >>conftest.$ac_ext <<_ACEOF
12593
/* end confdefs.h. */
12595
/* Override any GCC internal prototype to avoid an error.
12596
Use char because int might match the return type of a GCC
12597
builtin and then its argument prototype would still apply. */
12605
return dld_link ();
12610
rm -f conftest.$ac_objext conftest$ac_exeext
12611
if { (ac_try="$ac_link"
12612
case "(($ac_try" in
12613
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12614
*) ac_try_echo=$ac_try;;
12616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12617
(eval "$ac_link") 2>conftest.er1
12619
grep -v '^ *+' conftest.er1 >conftest.err
12621
cat conftest.err >&5
12622
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12623
(exit $ac_status); } && {
12624
test -z "$ac_c_werror_flag" ||
12625
test ! -s conftest.err
12626
} && test -s conftest$ac_exeext &&
12627
$as_test_x conftest$ac_exeext; then
12628
ac_cv_lib_dld_dld_link=yes
12630
echo "$as_me: failed program was:" >&5
12631
sed 's/^/| /' conftest.$ac_ext >&5
12633
ac_cv_lib_dld_dld_link=no
12636
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12637
conftest$ac_exeext conftest.$ac_ext
12638
LIBS=$ac_check_lib_save_LIBS
12640
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12641
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
12642
if test $ac_cv_lib_dld_dld_link = yes; then
12643
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12664
if test "x$lt_cv_dlopen" != xno; then
12670
case $lt_cv_dlopen in
12672
save_CPPFLAGS="$CPPFLAGS"
12673
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12675
save_LDFLAGS="$LDFLAGS"
12676
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12679
LIBS="$lt_cv_dlopen_libs $LIBS"
12681
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12682
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
12683
if test "${lt_cv_dlopen_self+set}" = set; then
12684
echo $ECHO_N "(cached) $ECHO_C" >&6
12686
if test "$cross_compiling" = yes; then :
12687
lt_cv_dlopen_self=cross
12689
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12690
lt_status=$lt_dlunknown
12691
cat > conftest.$ac_ext <<_LT_EOF
12692
#line 12692 "configure"
12693
#include "confdefs.h"
12702
# define LT_DLGLOBAL RTLD_GLOBAL
12705
# define LT_DLGLOBAL DL_GLOBAL
12707
# define LT_DLGLOBAL 0
12711
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12712
find out it does not work in some platform. */
12713
#ifndef LT_DLLAZY_OR_NOW
12715
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12718
# define LT_DLLAZY_OR_NOW DL_LAZY
12721
# define LT_DLLAZY_OR_NOW RTLD_NOW
12724
# define LT_DLLAZY_OR_NOW DL_NOW
12726
# define LT_DLLAZY_OR_NOW 0
12734
extern "C" void exit (int);
12737
void fnord() { int i=42;}
12740
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12741
int status = $lt_dlunknown;
12745
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12746
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12747
/* dlclose (self); */
12755
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12756
(eval $ac_link) 2>&5
12758
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12760
(./conftest; exit; ) >&5 2>/dev/null
12762
case x$lt_status in
12763
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12764
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12765
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12768
# compilation failed
12769
lt_cv_dlopen_self=no
12776
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12777
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
12779
if test "x$lt_cv_dlopen_self" = xyes; then
12780
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12781
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12782
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
12783
if test "${lt_cv_dlopen_self_static+set}" = set; then
12784
echo $ECHO_N "(cached) $ECHO_C" >&6
12786
if test "$cross_compiling" = yes; then :
12787
lt_cv_dlopen_self_static=cross
12789
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12790
lt_status=$lt_dlunknown
12791
cat > conftest.$ac_ext <<_LT_EOF
12792
#line 12792 "configure"
12793
#include "confdefs.h"
12802
# define LT_DLGLOBAL RTLD_GLOBAL
12805
# define LT_DLGLOBAL DL_GLOBAL
12807
# define LT_DLGLOBAL 0
12811
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12812
find out it does not work in some platform. */
12813
#ifndef LT_DLLAZY_OR_NOW
12815
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12818
# define LT_DLLAZY_OR_NOW DL_LAZY
12821
# define LT_DLLAZY_OR_NOW RTLD_NOW
12824
# define LT_DLLAZY_OR_NOW DL_NOW
12826
# define LT_DLLAZY_OR_NOW 0
12834
extern "C" void exit (int);
12837
void fnord() { int i=42;}
12840
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12841
int status = $lt_dlunknown;
12845
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12846
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12847
/* dlclose (self); */
12855
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12856
(eval $ac_link) 2>&5
12858
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12859
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12860
(./conftest; exit; ) >&5 2>/dev/null
12862
case x$lt_status in
12863
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12864
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12865
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12868
# compilation failed
12869
lt_cv_dlopen_self_static=no
12876
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12877
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
12880
CPPFLAGS="$save_CPPFLAGS"
12881
LDFLAGS="$save_LDFLAGS"
12886
case $lt_cv_dlopen_self in
12887
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12888
*) enable_dlopen_self=unknown ;;
12891
case $lt_cv_dlopen_self_static in
12892
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12893
*) enable_dlopen_self_static=unknown ;;
12915
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12916
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
12917
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12918
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12919
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12920
{ echo "$as_me:$LINENO: result: yes" >&5
12921
echo "${ECHO_T}yes" >&6; }
12923
# FIXME - insert some real tests, host_os isn't really good enough
12926
if test -n "$STRIP" ; then
12927
striplib="$STRIP -x"
12928
old_striplib="$STRIP -S"
12929
{ echo "$as_me:$LINENO: result: yes" >&5
12930
echo "${ECHO_T}yes" >&6; }
12932
{ echo "$as_me:$LINENO: result: no" >&5
12933
echo "${ECHO_T}no" >&6; }
12937
{ echo "$as_me:$LINENO: result: no" >&5
12938
echo "${ECHO_T}no" >&6; }
12954
# Report which library types will actually be built
12955
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12956
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
12957
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
12958
echo "${ECHO_T}$can_build_shared" >&6; }
12960
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12961
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
12962
test "$can_build_shared" = "no" && enable_shared=no
12964
# On AIX, shared libraries and static libraries use the same namespace, and
12965
# are all built from PIC.
12968
test "$enable_shared" = yes && enable_static=no
12969
if test -n "$RANLIB"; then
12970
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12971
postinstall_cmds='$RANLIB $lib'
12976
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12977
test "$enable_shared" = yes && enable_static=no
12981
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
12982
echo "${ECHO_T}$enable_shared" >&6; }
12984
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12985
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
12986
# Make sure either enable_shared or enable_static is yes.
12987
test "$enable_shared" = yes || enable_static=yes
12988
{ echo "$as_me:$LINENO: result: $enable_static" >&5
12989
echo "${ECHO_T}$enable_static" >&6; }
12996
ac_cpp='$CPP $CPPFLAGS'
12997
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12998
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12999
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13005
ac_cpp='$CXXCPP $CPPFLAGS'
13006
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13007
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13008
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13010
archive_cmds_need_lc_CXX=no
13011
allow_undefined_flag_CXX=
13012
always_export_symbols_CXX=no
13013
archive_expsym_cmds_CXX=
13014
compiler_needs_object_CXX=no
13015
export_dynamic_flag_spec_CXX=
13016
hardcode_direct_CXX=no
13017
hardcode_direct_absolute_CXX=no
13018
hardcode_libdir_flag_spec_CXX=
13019
hardcode_libdir_flag_spec_ld_CXX=
13020
hardcode_libdir_separator_CXX=
13021
hardcode_minus_L_CXX=no
13022
hardcode_shlibpath_var_CXX=unsupported
13023
hardcode_automatic_CXX=no
13024
inherit_rpath_CXX=no
13026
module_expsym_cmds_CXX=
13027
link_all_deplibs_CXX=unknown
13028
old_archive_cmds_CXX=$old_archive_cmds
13029
no_undefined_flag_CXX=
13030
whole_archive_flag_spec_CXX=
13031
enable_shared_with_static_runtimes_CXX=no
13033
# Source file extension for C++ test sources.
13036
# Object file extension for compiled C++ test sources.
13040
# No sense in running all these tests if we already determined that
13041
# the CXX compiler isn't working. Some variables (like enable_shared)
13042
# are currently assumed to apply to all compilers on this platform,
13043
# and will be corrupted by setting them based on a non-working compiler.
13044
if test "$_lt_caught_CXX_error" != yes; then
13045
# Code to be used in simple compile tests
13046
lt_simple_compile_test_code="int some_variable = 0;"
13048
# Code to be used in simple link tests
13049
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13051
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13058
# If no C compiler was specified, use CC.
13061
# If no C compiler flags were specified, use CFLAGS.
13062
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13064
# Allow CC to be a program name with arguments.
13068
# save warnings/boilerplate of simple test code
13069
ac_outfile=conftest.$ac_objext
13070
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13071
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13072
_lt_compiler_boilerplate=`cat conftest.err`
13075
ac_outfile=conftest.$ac_objext
13076
echo "$lt_simple_link_test_code" >conftest.$ac_ext
13077
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13078
_lt_linker_boilerplate=`cat conftest.err`
13082
# Allow CC to be a program name with arguments.
13087
lt_save_with_gnu_ld=$with_gnu_ld
13088
lt_save_path_LD=$lt_cv_path_LD
13089
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13090
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13092
$as_unset lt_cv_prog_gnu_ld
13094
if test -n "${lt_cv_path_LDCXX+set}"; then
13095
lt_cv_path_LD=$lt_cv_path_LDCXX
13097
$as_unset lt_cv_path_LD
13099
test -z "${LDCXX+set}" || LD=$LDCXX
13103
for cc_temp in $compiler""; do
13105
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13106
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13111
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13114
if test -n "$compiler"; then
13115
# We don't want -fno-exception when compiling C++ code, so set the
13116
# no_builtin_flag separately
13117
if test "$GXX" = yes; then
13118
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13120
lt_prog_compiler_no_builtin_flag_CXX=
13123
if test "$GXX" = yes; then
13124
# Set up default GNU C++ configuration
13128
# Check whether --with-gnu-ld was given.
13129
if test "${with_gnu_ld+set}" = set; then
13130
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13136
if test "$GCC" = yes; then
13137
# Check if gcc -print-prog-name=ld gives a path.
13138
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13139
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
13142
# gcc leaves a trailing carriage return which upsets mingw
13143
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13145
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13148
# Accept absolute paths.
13150
re_direlt='/[^/][^/]*/\.\./'
13151
# Canonicalize the pathname of ld
13152
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13153
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13154
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13156
test -z "$LD" && LD="$ac_prog"
13159
# If it fails, then pretend we aren't using GCC.
13163
# If it is relative, then search for the first ld in PATH.
13164
with_gnu_ld=unknown
13167
elif test "$with_gnu_ld" = yes; then
13168
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
13169
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
13171
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13172
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
13174
if test "${lt_cv_path_LD+set}" = set; then
13175
echo $ECHO_N "(cached) $ECHO_C" >&6
13177
if test -z "$LD"; then
13178
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13179
for ac_dir in $PATH; do
13181
test -z "$ac_dir" && ac_dir=.
13182
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13183
lt_cv_path_LD="$ac_dir/$ac_prog"
13184
# Check to see if the program is GNU ld. I'd rather use --version,
13185
# but apparently some variants of GNU ld only accept -v.
13186
# Break only if it was the GNU/non-GNU ld that we prefer.
13187
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13188
*GNU* | *'with BFD'*)
13189
test "$with_gnu_ld" != no && break
13192
test "$with_gnu_ld" != yes && break
13199
lt_cv_path_LD="$LD" # Let the user override the test with a path.
13203
LD="$lt_cv_path_LD"
13204
if test -n "$LD"; then
13205
{ echo "$as_me:$LINENO: result: $LD" >&5
13206
echo "${ECHO_T}$LD" >&6; }
13208
{ echo "$as_me:$LINENO: result: no" >&5
13209
echo "${ECHO_T}no" >&6; }
13211
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13212
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13213
{ (exit 1); exit 1; }; }
13214
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13215
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
13216
if test "${lt_cv_prog_gnu_ld+set}" = set; then
13217
echo $ECHO_N "(cached) $ECHO_C" >&6
13219
# I'd rather use --version here, but apparently some GNU lds only accept -v.
13220
case `$LD -v 2>&1 </dev/null` in
13221
*GNU* | *'with BFD'*)
13222
lt_cv_prog_gnu_ld=yes
13225
lt_cv_prog_gnu_ld=no
13229
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13230
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
13231
with_gnu_ld=$lt_cv_prog_gnu_ld
13239
# Check if GNU C++ uses GNU ld as the underlying linker, since the
13240
# archiving commands below assume that GNU ld is being used.
13241
if test "$with_gnu_ld" = yes; then
13242
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13243
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'
13245
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13246
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13248
# If archive_cmds runs LD, not CC, wlarc should be empty
13249
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13250
# investigate it a little bit more. (MM)
13253
# ancient GNU ld didn't support --whole-archive et. al.
13254
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13255
$GREP 'no-whole-archive' > /dev/null; then
13256
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13258
whole_archive_flag_spec_CXX=
13264
# A generic and very simple default shared library creation
13265
# command for GNU C++ for the case where it uses the native
13266
# linker, instead of GNU ld. If possible, this setting should
13267
# overridden to take advantage of the native linker features on
13268
# the platform it is being used on.
13269
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13272
# Commands to make compiler produce verbose output that lists
13273
# what "hidden" libraries, object files and flags are used when
13274
# linking a shared library.
13275
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13283
# PORTME: fill in a description of your system's C++ link characteristics
13284
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13285
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
13289
# FIXME: insert proper C++ library support
13293
if test "$host_cpu" = ia64; then
13294
# On IA64, the linker does run time linking by default, so we don't
13295
# have to do anything special.
13296
aix_use_runtimelinking=no
13297
exp_sym_flag='-Bexport'
13300
aix_use_runtimelinking=no
13302
# Test if we are trying to use run time linking or normal
13303
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
13304
# need to do runtime linking.
13305
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13306
for ld_flag in $LDFLAGS; do
13309
aix_use_runtimelinking=yes
13317
exp_sym_flag='-bexport'
13318
no_entry_flag='-bnoentry'
13321
# When large executables or shared objects are built, AIX ld can
13322
# have problems creating the table of contents. If linking a library
13323
# or program results in "error TOC overflow" add -mminimal-toc to
13324
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13325
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13327
archive_cmds_CXX=''
13328
hardcode_direct_CXX=yes
13329
hardcode_direct_absolute_CXX=yes
13330
hardcode_libdir_separator_CXX=':'
13331
link_all_deplibs_CXX=yes
13332
file_list_spec_CXX='${wl}-f,'
13334
if test "$GXX" = yes; then
13335
case $host_os in aix4.[012]|aix4.[012].*)
13336
# We only want to do this on AIX 4.2 and lower, the check
13337
# below for broken collect2 doesn't work under 4.3+
13338
collect2name=`${CC} -print-prog-name=collect2`
13339
if test -f "$collect2name" &&
13340
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13342
# We have reworked collect2
13345
# We have old collect2
13346
hardcode_direct_CXX=unsupported
13347
# It fails to find uninstalled libraries when the uninstalled
13348
# path is not listed in the libpath. Setting hardcode_minus_L
13349
# to unsupported forces relinking
13350
hardcode_minus_L_CXX=yes
13351
hardcode_libdir_flag_spec_CXX='-L$libdir'
13352
hardcode_libdir_separator_CXX=
13355
shared_flag='-shared'
13356
if test "$aix_use_runtimelinking" = yes; then
13357
shared_flag="$shared_flag "'${wl}-G'
13361
if test "$host_cpu" = ia64; then
13362
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13363
# chokes on -Wl,-G. The following line is correct:
13366
if test "$aix_use_runtimelinking" = yes; then
13367
shared_flag='${wl}-G'
13369
shared_flag='${wl}-bM:SRE'
13374
# It seems that -bexpall does not export symbols beginning with
13375
# underscore (_), so it is better to generate a list of symbols to
13377
always_export_symbols_CXX=yes
13378
if test "$aix_use_runtimelinking" = yes; then
13379
# Warning - without using the other runtime loading flags (-brtl),
13380
# -berok will link without error, but may produce a broken library.
13381
allow_undefined_flag_CXX='-berok'
13382
# Determine the default libpath from the value encoded in an empty
13384
cat >conftest.$ac_ext <<_ACEOF
13387
cat confdefs.h >>conftest.$ac_ext
13388
cat >>conftest.$ac_ext <<_ACEOF
13389
/* end confdefs.h. */
13399
rm -f conftest.$ac_objext conftest$ac_exeext
13400
if { (ac_try="$ac_link"
13401
case "(($ac_try" in
13402
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13403
*) ac_try_echo=$ac_try;;
13405
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13406
(eval "$ac_link") 2>conftest.er1
13408
grep -v '^ *+' conftest.er1 >conftest.err
13410
cat conftest.err >&5
13411
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13412
(exit $ac_status); } && {
13413
test -z "$ac_cxx_werror_flag" ||
13414
test ! -s conftest.err
13415
} && test -s conftest$ac_exeext &&
13416
$as_test_x conftest$ac_exeext; then
13418
lt_aix_libpath_sed='
13419
/Import File Strings/,/^$/ {
13425
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13426
# Check for a 64-bit object if we didn't find anything.
13427
if test -z "$aix_libpath"; then
13428
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13431
echo "$as_me: failed program was:" >&5
13432
sed 's/^/| /' conftest.$ac_ext >&5
13437
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13438
conftest$ac_exeext conftest.$ac_ext
13439
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13441
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13443
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"
13445
if test "$host_cpu" = ia64; then
13446
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13447
allow_undefined_flag_CXX="-z nodefs"
13448
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"
13450
# Determine the default libpath from the value encoded in an
13451
# empty executable.
13452
cat >conftest.$ac_ext <<_ACEOF
13455
cat confdefs.h >>conftest.$ac_ext
13456
cat >>conftest.$ac_ext <<_ACEOF
13457
/* end confdefs.h. */
13467
rm -f conftest.$ac_objext conftest$ac_exeext
13468
if { (ac_try="$ac_link"
13469
case "(($ac_try" in
13470
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13471
*) ac_try_echo=$ac_try;;
13473
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13474
(eval "$ac_link") 2>conftest.er1
13476
grep -v '^ *+' conftest.er1 >conftest.err
13478
cat conftest.err >&5
13479
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13480
(exit $ac_status); } && {
13481
test -z "$ac_cxx_werror_flag" ||
13482
test ! -s conftest.err
13483
} && test -s conftest$ac_exeext &&
13484
$as_test_x conftest$ac_exeext; then
13486
lt_aix_libpath_sed='
13487
/Import File Strings/,/^$/ {
13493
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13494
# Check for a 64-bit object if we didn't find anything.
13495
if test -z "$aix_libpath"; then
13496
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13499
echo "$as_me: failed program was:" >&5
13500
sed 's/^/| /' conftest.$ac_ext >&5
13505
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13506
conftest$ac_exeext conftest.$ac_ext
13507
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13509
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13510
# Warning - without using the other run time loading flags,
13511
# -berok will link without error, but may produce a broken library.
13512
no_undefined_flag_CXX=' ${wl}-bernotok'
13513
allow_undefined_flag_CXX=' ${wl}-berok'
13514
# Exported symbols can be pulled into shared objects from archives
13515
whole_archive_flag_spec_CXX='$convenience'
13516
archive_cmds_need_lc_CXX=yes
13517
# This is similar to how AIX traditionally builds its shared
13519
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'
13525
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13526
allow_undefined_flag_CXX=unsupported
13527
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13528
# support --undefined. This deserves some investigation. FIXME
13529
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13536
case $cc_basename in
13538
# FIXME: insert proper C++ library support
13544
cygwin* | mingw* | pw32*)
13545
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13546
# as there is no search path for DLLs.
13547
hardcode_libdir_flag_spec_CXX='-L$libdir'
13548
allow_undefined_flag_CXX=unsupported
13549
always_export_symbols_CXX=no
13550
enable_shared_with_static_runtimes_CXX=yes
13552
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13553
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'
13554
# If the export-symbols file already is a .def file (1st line
13555
# is EXPORTS), use it as is; otherwise, prepend...
13556
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13557
cp $export_symbols $output_objdir/$soname.def;
13559
echo EXPORTS > $output_objdir/$soname.def;
13560
cat $export_symbols >> $output_objdir/$soname.def;
13562
$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'
13567
darwin* | rhapsody*)
13570
archive_cmds_need_lc_CXX=no
13571
hardcode_direct_CXX=no
13572
hardcode_automatic_CXX=yes
13573
hardcode_shlibpath_var_CXX=unsupported
13574
whole_archive_flag_spec_CXX=''
13575
link_all_deplibs_CXX=yes
13576
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13577
if test "$GCC" = "yes"; then
13578
output_verbose_link_cmd=echo
13579
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}"
13580
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13581
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}"
13582
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}"
13583
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13584
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}"
13585
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}"
13595
case $cc_basename in
13597
# FIXME: insert proper C++ library support
13601
# Green Hills C++ Compiler
13602
# FIXME: insert proper C++ library support
13606
# FIXME: insert proper C++ library support
13613
# C++ shared libraries reported to be fairly broken before
13619
archive_cmds_need_lc_CXX=no
13622
freebsd* | dragonfly*)
13623
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13632
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13633
hardcode_libdir_separator_CXX=:
13634
export_dynamic_flag_spec_CXX='${wl}-E'
13635
hardcode_direct_CXX=yes
13636
hardcode_minus_L_CXX=yes # Not in the search PATH,
13637
# but as the default
13638
# location of the library.
13640
case $cc_basename in
13642
# FIXME: insert proper C++ library support
13646
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'
13647
# Commands to make compiler produce verbose output that lists
13648
# what "hidden" libraries, object files and flags are used when
13649
# linking a shared library.
13651
# There doesn't appear to be a way to prevent this compiler from
13652
# explicitly linking system object files so we need to strip them
13653
# from the output so that they don't get included in the library
13655
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'
13658
if test "$GXX" = yes; then
13659
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'
13661
# FIXME: insert proper C++ library support
13669
if test $with_gnu_ld = no; then
13670
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13671
hardcode_libdir_separator_CXX=:
13677
export_dynamic_flag_spec_CXX='${wl}-E'
13683
hardcode_direct_CXX=no
13684
hardcode_shlibpath_var_CXX=no
13687
hardcode_direct_CXX=yes
13688
hardcode_direct_absolute_CXX=yes
13689
hardcode_minus_L_CXX=yes # Not in the search PATH,
13690
# but as the default
13691
# location of the library.
13695
case $cc_basename in
13697
# FIXME: insert proper C++ library support
13703
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13706
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13709
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13712
# Commands to make compiler produce verbose output that lists
13713
# what "hidden" libraries, object files and flags are used when
13714
# linking a shared library.
13716
# There doesn't appear to be a way to prevent this compiler from
13717
# explicitly linking system object files so we need to strip them
13718
# from the output so that they don't get included in the library
13720
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'
13723
if test "$GXX" = yes; then
13724
if test $with_gnu_ld = no; then
13727
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13730
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13733
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'
13738
# FIXME: insert proper C++ library support
13746
hardcode_direct_CXX=no
13747
hardcode_shlibpath_var_CXX=no
13748
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13749
export_dynamic_flag_spec_CXX='${wl}-E'
13750
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13751
# Instead, shared libraries are loaded at an image base (0x10000000 by
13752
# default) and relocated if they conflict, which is a slow very memory
13753
# consuming and fragmenting process. To avoid this, we pick a random,
13754
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13755
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
13756
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'
13757
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'
13760
case $cc_basename in
13763
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'
13765
# Archives containing C++ object files must be created using
13766
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
13767
# necessary to make sure instantiated templates are included
13769
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13772
if test "$GXX" = yes; then
13773
if test "$with_gnu_ld" = no; then
13774
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'
13776
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'
13779
link_all_deplibs_CXX=yes
13782
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13783
hardcode_libdir_separator_CXX=:
13784
inherit_rpath_CXX=yes
13787
linux* | k*bsd*-gnu)
13788
case $cc_basename in
13790
# Kuck and Associates, Inc. (KAI) C++ Compiler
13792
# KCC will only create a shared library if the output file
13793
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13794
# to its proper name (with version) after linking.
13795
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'
13796
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'
13797
# Commands to make compiler produce verbose output that lists
13798
# what "hidden" libraries, object files and flags are used when
13799
# linking a shared library.
13801
# There doesn't appear to be a way to prevent this compiler from
13802
# explicitly linking system object files so we need to strip them
13803
# from the output so that they don't get included in the library
13805
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'
13807
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13808
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13810
# Archives containing C++ object files must be created using
13811
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
13812
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13817
# version 8.0 and above of icpc choke on multiply defined symbols
13818
# if we add $predep_objects and $postdep_objects, however 7.1 and
13819
# earlier do not add the objects themselves.
13820
case `$CC -V 2>&1` in
13822
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13823
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'
13825
*) # Version 8.0 or newer
13828
ia64*) tmp_idyn=' -i_dynamic';;
13830
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13831
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'
13834
archive_cmds_need_lc_CXX=no
13835
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13836
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13837
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13840
# Portland Group C++ compiler
13842
*pgCC\ [1-5]* | *pgcpp\ [1-5]*)
13843
prelink_cmds_CXX='tpldir=Template.dir~
13845
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13846
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13847
old_archive_cmds_CXX='tpldir=Template.dir~
13849
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13850
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13852
archive_cmds_CXX='tpldir=Template.dir~
13854
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13855
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13856
archive_expsym_cmds_CXX='tpldir=Template.dir~
13858
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13859
$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'
13861
*) # Version 6 will use weak symbols
13862
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13863
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'
13867
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13868
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13869
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'
13873
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13874
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'
13876
runpath_var=LD_RUN_PATH
13877
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13878
hardcode_libdir_separator_CXX=:
13880
# Commands to make compiler produce verbose output that lists
13881
# what "hidden" libraries, object files and flags are used when
13882
# linking a shared library.
13884
# There doesn't appear to be a way to prevent this compiler from
13885
# explicitly linking system object files so we need to strip them
13886
# from the output so that they don't get included in the library
13888
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'
13891
# IBM XL 8.0 on PPC, with GNU ld
13892
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13893
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13894
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13895
if test "x$supports_anon_versioning" = xyes; then
13896
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13897
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13898
echo "local: *; };" >> $output_objdir/$libname.ver~
13899
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13903
case `$CC -V 2>&1 | sed 5q` in
13906
no_undefined_flag_CXX=' -zdefs'
13907
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13908
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'
13909
hardcode_libdir_flag_spec_CXX='-R$libdir'
13910
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'
13911
compiler_needs_object_CXX=yes
13913
# Not sure whether something based on
13914
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13916
output_verbose_link_cmd='echo'
13918
# Archives containing C++ object files must be created using
13919
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13920
# necessary to make sure instantiated templates are included
13922
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13930
# FIXME: insert proper C++ library support
13935
# FIXME: insert proper C++ library support
13940
case $cc_basename in
13942
# FIXME: insert proper C++ library support
13946
# FIXME: insert proper C++ library support
13953
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13954
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13956
hardcode_libdir_flag_spec_CXX='-R$libdir'
13957
hardcode_direct_CXX=yes
13958
hardcode_shlibpath_var_CXX=no
13960
# Workaround some broken pre-1.5 toolchains
13961
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13969
# C++ shared libraries are fairly broken
13974
if test -f /usr/libexec/ld.so; then
13975
hardcode_direct_CXX=yes
13976
hardcode_shlibpath_var_CXX=no
13977
hardcode_direct_absolute_CXX=yes
13978
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13979
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13980
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13981
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13982
export_dynamic_flag_spec_CXX='${wl}-E'
13983
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13985
output_verbose_link_cmd=echo
13991
osf3* | osf4* | osf5*)
13992
case $cc_basename in
13994
# Kuck and Associates, Inc. (KAI) C++ Compiler
13996
# KCC will only create a shared library if the output file
13997
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13998
# to its proper name (with version) after linking.
13999
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'
14001
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14002
hardcode_libdir_separator_CXX=:
14004
# Archives containing C++ object files must be created using
14005
# the KAI C++ compiler.
14007
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14008
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14012
# Rational C++ 2.4.1
14013
# FIXME: insert proper C++ library support
14019
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14020
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'
14021
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14024
allow_undefined_flag_CXX=' -expect_unresolved \*'
14025
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'
14026
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14027
echo "-hidden">> $lib.exp~
14028
$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~
14030
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14034
hardcode_libdir_separator_CXX=:
14036
# Commands to make compiler produce verbose output that lists
14037
# what "hidden" libraries, object files and flags are used when
14038
# linking a shared library.
14040
# There doesn't appear to be a way to prevent this compiler from
14041
# explicitly linking system object files so we need to strip them
14042
# from the output so that they don't get included in the library
14044
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'
14047
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14048
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14051
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'
14054
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'
14058
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14059
hardcode_libdir_separator_CXX=:
14061
# Commands to make compiler produce verbose output that lists
14062
# what "hidden" libraries, object files and flags are used when
14063
# linking a shared library.
14064
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14067
# FIXME: insert proper C++ library support
14075
# FIXME: insert proper C++ library support
14080
case $cc_basename in
14083
# FIXME: insert proper C++ library support
14088
# FIXME: insert proper C++ library support
14092
# FIXME: insert proper C++ library support
14099
case $cc_basename in
14101
# Sun C++ 4.2, 5.x and Centerline C++
14102
archive_cmds_need_lc_CXX=yes
14103
no_undefined_flag_CXX=' -zdefs'
14104
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14105
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14106
$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'
14108
hardcode_libdir_flag_spec_CXX='-R$libdir'
14109
hardcode_shlibpath_var_CXX=no
14111
solaris2.[0-5] | solaris2.[0-5].*) ;;
14113
# The compiler driver will combine and reorder linker options,
14114
# but understands `-z linker_flag'.
14115
# Supported since Solaris 2.6 (maybe 2.5.1?)
14116
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14119
link_all_deplibs_CXX=yes
14121
output_verbose_link_cmd='echo'
14123
# Archives containing C++ object files must be created using
14124
# "CC -xar", where "CC" is the Sun C++ compiler. This is
14125
# necessary to make sure instantiated templates are included
14127
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14130
# Green Hills C++ Compiler
14131
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14133
# The C++ compiler must be used to create the archive.
14134
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14137
# GNU C++ compiler with Solaris linker
14138
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14139
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14140
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14141
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14142
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14143
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14145
# Commands to make compiler produce verbose output that lists
14146
# what "hidden" libraries, object files and flags are used when
14147
# linking a shared library.
14148
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14150
# g++ 2.7 appears to require `-G' NOT `-shared' on this
14152
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14153
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14154
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14156
# Commands to make compiler produce verbose output that lists
14157
# what "hidden" libraries, object files and flags are used when
14158
# linking a shared library.
14159
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14162
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14164
solaris2.[0-5] | solaris2.[0-5].*) ;;
14166
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14174
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14175
no_undefined_flag_CXX='${wl}-z,text'
14176
archive_cmds_need_lc_CXX=no
14177
hardcode_shlibpath_var_CXX=no
14178
runpath_var='LD_RUN_PATH'
14180
case $cc_basename in
14182
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14183
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14186
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14187
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14192
sysv5* | sco3.2v5* | sco5v6*)
14193
# Note: We can NOT use -z defs as we might desire, because we do not
14194
# link with -lc, and that would cause any symbols used from libc to
14195
# always be unresolved, which means just about no library would
14196
# ever link correctly. If we're not using GNU ld we use -z text
14197
# though, which does catch some bad symbols but isn't as heavy-handed
14199
no_undefined_flag_CXX='${wl}-z,text'
14200
allow_undefined_flag_CXX='${wl}-z,nodefs'
14201
archive_cmds_need_lc_CXX=no
14202
hardcode_shlibpath_var_CXX=no
14203
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14204
hardcode_libdir_separator_CXX=':'
14205
link_all_deplibs_CXX=yes
14206
export_dynamic_flag_spec_CXX='${wl}-Bexport'
14207
runpath_var='LD_RUN_PATH'
14209
case $cc_basename in
14211
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14212
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14215
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14216
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14222
case $cc_basename in
14224
# NonStop-UX NCC 3.20
14225
# FIXME: insert proper C++ library support
14229
# FIXME: insert proper C++ library support
14236
# FIXME: insert proper C++ library support
14241
# FIXME: insert proper C++ library support
14246
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14247
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
14248
test "$ld_shlibs_CXX" = no && can_build_shared=no
14254
## There is no encapsulation within the following macros, do not change
14255
## the running order or otherwise move them around unless you know exactly
14256
## what you are doing...
14257
# Dependencies to place before and after the object being linked:
14258
predep_objects_CXX=
14259
postdep_objects_CXX=
14262
compiler_lib_search_path_CXX=
14264
cat > conftest.$ac_ext <<_LT_EOF
14268
Foo (void) { a = 0; }
14274
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14275
(eval $ac_compile) 2>&5
14277
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278
(exit $ac_status); }; then
14279
# Parse the compiler output and extract the necessary
14280
# objects, libraries and library flags.
14282
# Sentinel used to keep track of whether or not we are before
14283
# the conftest object file.
14284
pre_test_object_deps_done=no
14286
for p in `eval "$output_verbose_link_cmd"`; do
14290
# Some compilers place space between "-{L,R}" and the path.
14291
# Remove the space.
14292
if test $p = "-L" ||
14293
test $p = "-R"; then
14300
if test "$pre_test_object_deps_done" = no; then
14303
# Internal compiler library paths should come after those
14304
# provided the user. The postdeps already come after the
14305
# user supplied libs so there is no need to process them.
14306
if test -z "$compiler_lib_search_path_CXX"; then
14307
compiler_lib_search_path_CXX="${prev}${p}"
14309
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14312
# The "-l" case would never come before the object being
14313
# linked, so don't bother handling this case.
14316
if test -z "$postdeps_CXX"; then
14317
postdeps_CXX="${prev}${p}"
14319
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14325
# This assumes that the test object file only shows up
14326
# once in the compiler output.
14327
if test "$p" = "conftest.$objext"; then
14328
pre_test_object_deps_done=yes
14332
if test "$pre_test_object_deps_done" = no; then
14333
if test -z "$predep_objects_CXX"; then
14334
predep_objects_CXX="$p"
14336
predep_objects_CXX="$predep_objects_CXX $p"
14339
if test -z "$postdep_objects_CXX"; then
14340
postdep_objects_CXX="$p"
14342
postdep_objects_CXX="$postdep_objects_CXX $p"
14347
*) ;; # Ignore the rest.
14355
echo "libtool.m4: error: problem compiling CXX test program"
14358
$RM -f confest.$objext
14360
# PORTME: override above test on systems where it is broken
14363
# Interix 3.5 installs completely hosed .la files for C++, so rather than
14364
# hack all around it, let's just trust "g++" to DTRT.
14365
predep_objects_CXX=
14366
postdep_objects_CXX=
14371
case `$CC -V 2>&1 | sed 5q` in
14375
# The more standards-conforming stlport4 library is
14376
# incompatible with the Cstd library. Avoid specifying
14377
# it if it's in CXXFLAGS. Ignore libCrun as
14378
# -library=stlport4 depends on it.
14379
case " $CXX $CXXFLAGS " in
14380
*" -library=stlport4 "*)
14381
solaris_use_stlport4=yes
14385
if test "$solaris_use_stlport4" != yes; then
14386
postdeps_CXX='-library=Cstd -library=Crun'
14393
case $cc_basename in
14395
# The more standards-conforming stlport4 library is
14396
# incompatible with the Cstd library. Avoid specifying
14397
# it if it's in CXXFLAGS. Ignore libCrun as
14398
# -library=stlport4 depends on it.
14399
case " $CXX $CXXFLAGS " in
14400
*" -library=stlport4 "*)
14401
solaris_use_stlport4=yes
14405
# Adding this requires a known-good setup of shared libraries for
14406
# Sun compiler versions before 5.6, else PIC objects from an old
14407
# archive will be linked into the output, leading to subtle bugs.
14408
if test "$solaris_use_stlport4" != yes; then
14409
postdeps_CXX='-library=Cstd -library=Crun'
14417
case " $postdeps_CXX " in
14418
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14420
compiler_lib_search_dirs_CXX=
14421
if test -n "${compiler_lib_search_path_CXX}"; then
14422
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14455
lt_prog_compiler_wl_CXX=
14456
lt_prog_compiler_pic_CXX=
14457
lt_prog_compiler_static_CXX=
14459
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14460
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14462
# C++ specific cases for pic, static, wl, etc.
14463
if test "$GXX" = yes; then
14464
lt_prog_compiler_wl_CXX='-Wl,'
14465
lt_prog_compiler_static_CXX='-static'
14469
# All AIX code is PIC.
14470
if test "$host_cpu" = ia64; then
14471
# AIX 5 now supports IA64 processor
14472
lt_prog_compiler_static_CXX='-Bstatic'
14479
# see comment about AmigaOS4 .so support
14480
lt_prog_compiler_pic_CXX='-fPIC'
14483
# FIXME: we need at least 68020 code to build shared libraries, but
14484
# adding the `-m68020' flag to GCC prevents building anything better,
14486
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14491
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14492
# PIC is the default for these OSes.
14494
mingw* | cygwin* | os2* | pw32*)
14495
# This hack is so that the source file can tell whether it is being
14496
# built for inclusion in a dll (and should export symbols for example).
14497
# Although the cygwin gcc ignores -fPIC, still need this for old-style
14498
# (--disable-auto-import) libraries
14499
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14501
darwin* | rhapsody*)
14502
# PIC is the default on this platform
14503
# Common symbols not allowed in MH_DYLIB files
14504
lt_prog_compiler_pic_CXX='-fno-common'
14507
# DJGPP does not support shared libraries at all
14508
lt_prog_compiler_pic_CXX=
14511
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
14512
# Instead, we relocate shared libraries at runtime.
14515
if test -d /usr/nec; then
14516
lt_prog_compiler_pic_CXX=-Kconform_pic
14520
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14521
# not for PA HP-UX.
14526
lt_prog_compiler_pic_CXX='-fPIC'
14531
# QNX uses GNU C++, but need to define -shared option too, otherwise
14532
# it will coredump.
14533
lt_prog_compiler_pic_CXX='-fPIC -shared'
14536
lt_prog_compiler_pic_CXX='-fPIC'
14542
# All AIX code is PIC.
14543
if test "$host_cpu" = ia64; then
14544
# AIX 5 now supports IA64 processor
14545
lt_prog_compiler_static_CXX='-Bstatic'
14547
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14551
case $cc_basename in
14553
# Green Hills C++ Compiler
14554
# _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"
14559
case $cc_basename in
14561
lt_prog_compiler_pic_CXX='-KPIC'
14564
# Green Hills C++ Compiler
14565
lt_prog_compiler_pic_CXX='-pic'
14571
freebsd* | dragonfly*)
14572
# FreeBSD uses GNU C++
14574
hpux9* | hpux10* | hpux11*)
14575
case $cc_basename in
14577
lt_prog_compiler_wl_CXX='-Wl,'
14578
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14579
if test "$host_cpu" != ia64; then
14580
lt_prog_compiler_pic_CXX='+Z'
14584
lt_prog_compiler_wl_CXX='-Wl,'
14585
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14591
lt_prog_compiler_pic_CXX='+Z'
14600
# This is c89, which is MS Visual C++ (no shared libs)
14601
# Anyone wants to do a port?
14603
irix5* | irix6* | nonstopux*)
14604
case $cc_basename in
14606
lt_prog_compiler_wl_CXX='-Wl,'
14607
lt_prog_compiler_static_CXX='-non_shared'
14608
# CC pic flag -KPIC is the default.
14614
linux* | k*bsd*-gnu)
14615
case $cc_basename in
14618
lt_prog_compiler_wl_CXX='--backend -Wl,'
14619
lt_prog_compiler_pic_CXX='-fPIC'
14623
lt_prog_compiler_wl_CXX='-Wl,'
14624
lt_prog_compiler_pic_CXX='-KPIC'
14625
lt_prog_compiler_static_CXX='-static'
14628
# Portland Group C++ compiler
14629
lt_prog_compiler_wl_CXX='-Wl,'
14630
lt_prog_compiler_pic_CXX='-fpic'
14631
lt_prog_compiler_static_CXX='-Bstatic'
14635
# Make sure the PIC flag is empty. It appears that all Alpha
14636
# Linux and Compaq Tru64 Unix objects are PIC.
14637
lt_prog_compiler_pic_CXX=
14638
lt_prog_compiler_static_CXX='-non_shared'
14641
# IBM XL 8.0 on PPC
14642
lt_prog_compiler_wl_CXX='-Wl,'
14643
lt_prog_compiler_pic_CXX='-qpic'
14644
lt_prog_compiler_static_CXX='-qstaticlink'
14647
case `$CC -V 2>&1 | sed 5q` in
14650
lt_prog_compiler_pic_CXX='-KPIC'
14651
lt_prog_compiler_static_CXX='-Bstatic'
14652
lt_prog_compiler_wl_CXX='-Qoption ld '
14663
case $cc_basename in
14665
lt_prog_compiler_pic_CXX='-W c,exportall'
14671
netbsd* | netbsdelf*-gnu)
14674
# QNX uses GNU C++, but need to define -shared option too, otherwise
14675
# it will coredump.
14676
lt_prog_compiler_pic_CXX='-fPIC -shared'
14678
osf3* | osf4* | osf5*)
14679
case $cc_basename in
14681
lt_prog_compiler_wl_CXX='--backend -Wl,'
14684
# Rational C++ 2.4.1
14685
lt_prog_compiler_pic_CXX='-pic'
14688
# Digital/Compaq C++
14689
lt_prog_compiler_wl_CXX='-Wl,'
14690
# Make sure the PIC flag is empty. It appears that all Alpha
14691
# Linux and Compaq Tru64 Unix objects are PIC.
14692
lt_prog_compiler_pic_CXX=
14693
lt_prog_compiler_static_CXX='-non_shared'
14702
case $cc_basename in
14704
# Sun C++ 4.2, 5.x and Centerline C++
14705
lt_prog_compiler_pic_CXX='-KPIC'
14706
lt_prog_compiler_static_CXX='-Bstatic'
14707
lt_prog_compiler_wl_CXX='-Qoption ld '
14710
# Green Hills C++ Compiler
14711
lt_prog_compiler_pic_CXX='-PIC'
14718
case $cc_basename in
14721
lt_prog_compiler_pic_CXX='-pic'
14722
lt_prog_compiler_static_CXX='-Bstatic'
14726
lt_prog_compiler_pic_CXX='-pic'
14732
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14733
case $cc_basename in
14735
lt_prog_compiler_wl_CXX='-Wl,'
14736
lt_prog_compiler_pic_CXX='-KPIC'
14737
lt_prog_compiler_static_CXX='-Bstatic'
14742
case $cc_basename in
14744
# NonStop-UX NCC 3.20
14745
lt_prog_compiler_pic_CXX='-KPIC'
14754
lt_prog_compiler_can_build_shared_CXX=no
14760
# For platforms which do not support PIC, -DPIC is meaningless:
14762
lt_prog_compiler_pic_CXX=
14765
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14768
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14769
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
14774
# Check to make sure the PIC flag actually works.
14776
if test -n "$lt_prog_compiler_pic_CXX"; then
14777
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14778
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
14779
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14780
echo $ECHO_N "(cached) $ECHO_C" >&6
14782
lt_cv_prog_compiler_pic_works_CXX=no
14783
ac_outfile=conftest.$ac_objext
14784
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14785
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14786
# Insert the option either (1) after the last *FLAGS variable, or
14787
# (2) before a word containing "conftest.", or (3) at the end.
14788
# Note that $ac_compile itself does not contain backslashes and begins
14789
# with a dollar sign (not a hyphen), so the echo should work correctly.
14790
# The option is referenced via a variable to avoid confusing sed.
14791
lt_compile=`echo "$ac_compile" | $SED \
14792
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14793
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14794
-e 's:$: $lt_compiler_flag:'`
14795
(eval echo "\"\$as_me:14795: $lt_compile\"" >&5)
14796
(eval "$lt_compile" 2>conftest.err)
14798
cat conftest.err >&5
14799
echo "$as_me:14799: \$? = $ac_status" >&5
14800
if (exit $ac_status) && test -s "$ac_outfile"; then
14801
# The compiler can only warn and ignore the option if not recognized
14802
# So say no if there are warnings other than the usual output.
14803
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14804
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14805
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14806
lt_cv_prog_compiler_pic_works_CXX=yes
14812
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14813
echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14815
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14816
case $lt_prog_compiler_pic_CXX in
14818
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14821
lt_prog_compiler_pic_CXX=
14822
lt_prog_compiler_can_build_shared_CXX=no
14830
# Check to make sure the static flag actually works.
14832
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14833
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14834
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14835
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14836
echo $ECHO_N "(cached) $ECHO_C" >&6
14838
lt_cv_prog_compiler_static_works_CXX=no
14839
save_LDFLAGS="$LDFLAGS"
14840
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14841
echo "$lt_simple_link_test_code" > conftest.$ac_ext
14842
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14843
# The linker can only warn and ignore the option if not recognized
14844
# So say no if there are warnings
14845
if test -s conftest.err; then
14846
# Append any errors to the config.log.
14847
cat conftest.err 1>&5
14848
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14849
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14850
if diff conftest.exp conftest.er2 >/dev/null; then
14851
lt_cv_prog_compiler_static_works_CXX=yes
14854
lt_cv_prog_compiler_static_works_CXX=yes
14858
LDFLAGS="$save_LDFLAGS"
14861
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14862
echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
14864
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14867
lt_prog_compiler_static_CXX=
14873
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14874
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14875
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14876
echo $ECHO_N "(cached) $ECHO_C" >&6
14878
lt_cv_prog_compiler_c_o_CXX=no
14879
$RM -r conftest 2>/dev/null
14883
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14885
lt_compiler_flag="-o out/conftest2.$ac_objext"
14886
# Insert the option either (1) after the last *FLAGS variable, or
14887
# (2) before a word containing "conftest.", or (3) at the end.
14888
# Note that $ac_compile itself does not contain backslashes and begins
14889
# with a dollar sign (not a hyphen), so the echo should work correctly.
14890
lt_compile=`echo "$ac_compile" | $SED \
14891
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14892
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14893
-e 's:$: $lt_compiler_flag:'`
14894
(eval echo "\"\$as_me:14894: $lt_compile\"" >&5)
14895
(eval "$lt_compile" 2>out/conftest.err)
14897
cat out/conftest.err >&5
14898
echo "$as_me:14898: \$? = $ac_status" >&5
14899
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14901
# The compiler can only warn and ignore the option if not recognized
14902
# So say no if there are warnings
14903
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14904
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14905
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14906
lt_cv_prog_compiler_c_o_CXX=yes
14911
# SGI C++ compiler will create directory out/ii_files/ for
14912
# template instantiation
14913
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14914
$RM out/* && rmdir out
14920
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14921
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14925
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14926
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14927
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14928
echo $ECHO_N "(cached) $ECHO_C" >&6
14930
lt_cv_prog_compiler_c_o_CXX=no
14931
$RM -r conftest 2>/dev/null
14935
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14937
lt_compiler_flag="-o out/conftest2.$ac_objext"
14938
# Insert the option either (1) after the last *FLAGS variable, or
14939
# (2) before a word containing "conftest.", or (3) at the end.
14940
# Note that $ac_compile itself does not contain backslashes and begins
14941
# with a dollar sign (not a hyphen), so the echo should work correctly.
14942
lt_compile=`echo "$ac_compile" | $SED \
14943
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14944
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14945
-e 's:$: $lt_compiler_flag:'`
14946
(eval echo "\"\$as_me:14946: $lt_compile\"" >&5)
14947
(eval "$lt_compile" 2>out/conftest.err)
14949
cat out/conftest.err >&5
14950
echo "$as_me:14950: \$? = $ac_status" >&5
14951
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14953
# The compiler can only warn and ignore the option if not recognized
14954
# So say no if there are warnings
14955
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14956
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14957
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14958
lt_cv_prog_compiler_c_o_CXX=yes
14963
# SGI C++ compiler will create directory out/ii_files/ for
14964
# template instantiation
14965
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14966
$RM out/* && rmdir out
14972
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14973
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14978
hard_links="nottested"
14979
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14980
# do not overwrite the value of need_locks provided by the user
14981
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14982
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14985
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14987
ln conftest.a conftest.b 2>&5 || hard_links=no
14988
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14989
{ echo "$as_me:$LINENO: result: $hard_links" >&5
14990
echo "${ECHO_T}$hard_links" >&6; }
14991
if test "$hard_links" = no; then
14992
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14993
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15002
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15003
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
15005
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15008
# If we're using GNU nm, then we don't want the "-C" option.
15009
# -C means demangle to AIX nm, but means don't demangle with GNU nm
15010
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15011
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'
15013
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'
15017
export_symbols_cmds_CXX="$ltdll_cmds"
15020
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'
15022
linux* | k*bsd*-gnu)
15023
link_all_deplibs_CXX=no
15026
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15029
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15031
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15032
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
15033
test "$ld_shlibs_CXX" = no && can_build_shared=no
15035
with_gnu_ld_CXX=$with_gnu_ld
15043
# Do we need to explicitly link libc?
15045
case "x$archive_cmds_need_lc_CXX" in
15047
# Assume -lc should be added
15048
archive_cmds_need_lc_CXX=yes
15050
if test "$enable_shared" = yes && test "$GCC" = yes; then
15051
case $archive_cmds_CXX in
15053
# FIXME: we may have to deal with multi-command sequences.
15056
# Test whether the compiler implicitly links with -lc since on some
15057
# systems, -lgcc has to come before -lc. If gcc already passes -lc
15058
# to ld, don't add -lc before -lgcc.
15059
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15060
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15062
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15064
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15065
(eval $ac_compile) 2>&5
15067
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068
(exit $ac_status); } 2>conftest.err; then
15071
libobjs=conftest.$ac_objext
15073
wl=$lt_prog_compiler_wl_CXX
15074
pic_flag=$lt_prog_compiler_pic_CXX
15080
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15081
allow_undefined_flag_CXX=
15082
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
15083
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086
(exit $ac_status); }
15088
archive_cmds_need_lc_CXX=no
15090
archive_cmds_need_lc_CXX=yes
15092
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15094
cat conftest.err 1>&5
15097
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15098
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
15168
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15169
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15171
library_names_spec=
15172
libname_spec='lib$name'
15176
postuninstall_cmds=
15180
shlibpath_overrides_runpath=unknown
15182
dynamic_linker="$host_os ld.so"
15183
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15184
need_lib_prefix=unknown
15185
hardcode_into_libs=no
15187
# when you set need_version to no, make sure it does not cause -set_version
15188
# flags to be left without arguments
15189
need_version=unknown
15194
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15195
shlibpath_var=LIBPATH
15197
# AIX 3 has no versioning support, so we append a major version to the name.
15198
soname_spec='${libname}${release}${shared_ext}$major'
15205
hardcode_into_libs=yes
15206
if test "$host_cpu" = ia64; then
15207
# AIX 5 supports IA64
15208
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15209
shlibpath_var=LD_LIBRARY_PATH
15211
# With GCC up to 2.95.x, collect2 would create an import file
15212
# for dependence libraries. The import file would start with
15213
# the line `#! .'. This would cause the generated library to
15214
# depend on `.', always an invalid library. This was fixed in
15215
# development snapshots of GCC prior to 3.0.
15217
aix4 | aix4.[01] | aix4.[01].*)
15218
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15220
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15223
can_build_shared=no
15227
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15228
# soname into executable. Probably we can add versioning support to
15229
# collect2, so additional links can be useful in future.
15230
if test "$aix_use_runtimelinking" = yes; then
15231
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
15232
# instead of lib<name>.a to let people know that these are not
15233
# typical AIX shared libraries.
15234
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15236
# We preserve .a as extension for shared libraries through AIX4.2
15237
# and later when we are not doing run time linking.
15238
library_names_spec='${libname}${release}.a $libname.a'
15239
soname_spec='${libname}${release}${shared_ext}$major'
15241
shlibpath_var=LIBPATH
15248
# Since July 2007 AmigaOS4 officially supports .so libraries.
15249
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15250
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15253
library_names_spec='$libname.ixlibrary $libname.a'
15254
# Create ${libname}_ixlibrary.a entries in /sys/libs.
15255
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'
15261
library_names_spec='${libname}${shared_ext}'
15262
dynamic_linker="$host_os ld.so"
15263
shlibpath_var=LIBRARY_PATH
15269
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15270
soname_spec='${libname}${release}${shared_ext}$major'
15271
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15272
shlibpath_var=LD_LIBRARY_PATH
15273
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15274
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15275
# the default ld.so.conf also contains /usr/contrib/lib and
15276
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15277
# libtool to hard-code these into programs
15280
cygwin* | mingw* | pw32*)
15281
version_type=windows
15286
case $GCC,$host_os in
15287
yes,cygwin* | yes,mingw* | yes,pw32*)
15288
library_names_spec='$libname.dll.a'
15289
# DLL is installed to $(libdir)/../bin by postinstall_cmds
15290
postinstall_cmds='base_file=`basename \${file}`~
15291
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15292
dldir=$destdir/`dirname \$dlpath`~
15293
test -d \$dldir || mkdir -p \$dldir~
15294
$install_prog $dir/$dlname \$dldir/$dlname~
15295
chmod a+x \$dldir/$dlname~
15296
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15297
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15299
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15300
dlpath=$dir/\$dldll~
15302
shlibpath_overrides_runpath=yes
15306
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
15307
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15308
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15311
# MinGW DLLs use traditional 'lib' prefix
15312
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15313
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15314
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15315
# It is most probably a Windows format PATH printed by
15316
# mingw gcc, but we are running on Cygwin. Gcc prints its search
15317
# path with ; separators, and with drive letters. We can handle the
15318
# drive letters (cygwin fileutils understands them), so leave them,
15319
# especially as we might pass files found there to a mingw objdump,
15320
# which wouldn't understand a cygwinified path. Ahh.
15321
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15323
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15327
# pw32 DLLs use 'pw' prefix rather than 'lib'
15328
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15334
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15337
dynamic_linker='Win32 ld.exe'
15338
# FIXME: first we should search . and the directory the executable is in
15342
darwin* | rhapsody*)
15343
dynamic_linker="$host_os dyld"
15344
version_type=darwin
15347
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15348
soname_spec='${libname}${release}${major}$shared_ext'
15349
shlibpath_overrides_runpath=yes
15350
shlibpath_var=DYLD_LIBRARY_PATH
15351
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15353
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15360
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15361
soname_spec='${libname}${release}${shared_ext}$major'
15362
shlibpath_var=LD_LIBRARY_PATH
15369
freebsd* | dragonfly*)
15370
# DragonFly does not have aout. When/if they implement a new
15371
# versioning mechanism, adjust this.
15372
if test -x /usr/bin/objformat; then
15373
objformat=`/usr/bin/objformat`
15376
freebsd[123]*) objformat=aout ;;
15377
*) objformat=elf ;;
15380
version_type=freebsd-$objformat
15381
case $version_type in
15383
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15388
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15392
shlibpath_var=LD_LIBRARY_PATH
15395
shlibpath_overrides_runpath=yes
15397
freebsd3.[01]* | freebsdelf3.[01]*)
15398
shlibpath_overrides_runpath=yes
15399
hardcode_into_libs=yes
15401
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15402
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15403
shlibpath_overrides_runpath=no
15404
hardcode_into_libs=yes
15406
*) # from 4.6 on, and DragonFly
15407
shlibpath_overrides_runpath=yes
15408
hardcode_into_libs=yes
15417
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15418
soname_spec='${libname}${release}${shared_ext}$major'
15419
shlibpath_var=LD_LIBRARY_PATH
15420
hardcode_into_libs=yes
15423
hpux9* | hpux10* | hpux11*)
15424
# Give a soname corresponding to the major version so that dld.sl refuses to
15425
# link against other versions.
15432
hardcode_into_libs=yes
15433
dynamic_linker="$host_os dld.so"
15434
shlibpath_var=LD_LIBRARY_PATH
15435
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15436
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15437
soname_spec='${libname}${release}${shared_ext}$major'
15438
if test "X$HPUX_IA64_MODE" = X32; then
15439
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15441
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15443
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15447
hardcode_into_libs=yes
15448
dynamic_linker="$host_os dld.sl"
15449
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15450
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15451
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15452
soname_spec='${libname}${release}${shared_ext}$major'
15453
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15454
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15458
dynamic_linker="$host_os dld.sl"
15459
shlibpath_var=SHLIB_PATH
15460
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15461
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15462
soname_spec='${libname}${release}${shared_ext}$major'
15465
# HP-UX runs *really* slowly unless shared libraries are mode 555.
15466
postinstall_cmds='chmod 555 $lib'
15473
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15474
soname_spec='${libname}${release}${shared_ext}$major'
15475
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15476
shlibpath_var=LD_LIBRARY_PATH
15477
shlibpath_overrides_runpath=no
15478
hardcode_into_libs=yes
15481
irix5* | irix6* | nonstopux*)
15483
nonstopux*) version_type=nonstopux ;;
15485
if test "$lt_cv_prog_gnu_ld" = yes; then
15493
soname_spec='${libname}${release}${shared_ext}$major'
15494
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15496
irix5* | nonstopux*)
15497
libsuff= shlibsuff=
15500
case $LD in # libtool.m4 will add one of these switches to LD
15501
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15502
libsuff= shlibsuff= libmagic=32-bit;;
15503
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15504
libsuff=32 shlibsuff=N32 libmagic=N32;;
15505
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15506
libsuff=64 shlibsuff=64 libmagic=64-bit;;
15507
*) libsuff= shlibsuff= libmagic=never-match;;
15511
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15512
shlibpath_overrides_runpath=no
15513
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15514
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15515
hardcode_into_libs=yes
15518
# No shared lib support for Linux oldld, aout, or coff.
15519
linux*oldld* | linux*aout* | linux*coff*)
15523
# This must be Linux ELF.
15524
linux* | k*bsd*-gnu)
15528
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15529
soname_spec='${libname}${release}${shared_ext}$major'
15530
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15531
shlibpath_var=LD_LIBRARY_PATH
15532
shlibpath_overrides_runpath=no
15533
# Some binutils ld are patched to set DT_RUNPATH
15534
save_LDFLAGS=$LDFLAGS
15535
save_libdir=$libdir
15536
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15537
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15538
cat >conftest.$ac_ext <<_ACEOF
15541
cat confdefs.h >>conftest.$ac_ext
15542
cat >>conftest.$ac_ext <<_ACEOF
15543
/* end confdefs.h. */
15553
rm -f conftest.$ac_objext conftest$ac_exeext
15554
if { (ac_try="$ac_link"
15555
case "(($ac_try" in
15556
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15557
*) ac_try_echo=$ac_try;;
15559
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15560
(eval "$ac_link") 2>conftest.er1
15562
grep -v '^ *+' conftest.er1 >conftest.err
15564
cat conftest.err >&5
15565
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566
(exit $ac_status); } && {
15567
test -z "$ac_cxx_werror_flag" ||
15568
test ! -s conftest.err
15569
} && test -s conftest$ac_exeext &&
15570
$as_test_x conftest$ac_exeext; then
15571
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
15572
shlibpath_overrides_runpath=yes
15576
echo "$as_me: failed program was:" >&5
15577
sed 's/^/| /' conftest.$ac_ext >&5
15582
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15583
conftest$ac_exeext conftest.$ac_ext
15584
LDFLAGS=$save_LDFLAGS
15585
libdir=$save_libdir
15587
# This implies no fast_install, which is unacceptable.
15588
# Some rework will be needed to allow for fast_install
15589
# before this can be enabled.
15590
hardcode_into_libs=yes
15592
# Append ld.so.conf contents to the search path
15593
if test -f /etc/ld.so.conf; then
15594
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' ' '`
15595
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15598
# We used to test for /lib/ld.so.1 and disable shared libraries on
15599
# powerpc, because MkLinux only supported shared libraries with the
15600
# GNU dynamic linker. Since this was broken with cross compilers,
15601
# most powerpc-linux boxes support dynamic linking these days and
15602
# people can always --disable-shared, the test was removed, and we
15603
# assume the GNU/Linux dynamic linker is in use.
15604
dynamic_linker='GNU/Linux ld.so'
15611
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15612
soname_spec='${libname}${release}${shared_ext}$major'
15613
shlibpath_var=LD_LIBRARY_PATH
15614
shlibpath_overrides_runpath=no
15615
hardcode_into_libs=yes
15616
dynamic_linker='NetBSD ld.elf_so'
15623
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15624
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15625
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15626
dynamic_linker='NetBSD (a.out) ld.so'
15628
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15629
soname_spec='${libname}${release}${shared_ext}$major'
15630
dynamic_linker='NetBSD ld.elf_so'
15632
shlibpath_var=LD_LIBRARY_PATH
15633
shlibpath_overrides_runpath=yes
15634
hardcode_into_libs=yes
15639
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15640
shlibpath_var=LD_LIBRARY_PATH
15641
shlibpath_overrides_runpath=yes
15648
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15649
soname_spec='${libname}${release}${shared_ext}$major'
15650
shlibpath_var=LD_LIBRARY_PATH
15651
shlibpath_overrides_runpath=no
15652
hardcode_into_libs=yes
15653
dynamic_linker='ldqnx.so'
15658
sys_lib_dlsearch_path_spec="/usr/lib"
15660
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15662
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15663
*) need_version=no ;;
15665
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15666
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15667
shlibpath_var=LD_LIBRARY_PATH
15668
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15670
openbsd2.[89] | openbsd2.[89].*)
15671
shlibpath_overrides_runpath=no
15674
shlibpath_overrides_runpath=yes
15678
shlibpath_overrides_runpath=yes
15683
libname_spec='$name'
15686
library_names_spec='$libname${shared_ext} $libname.a'
15687
dynamic_linker='OS/2 ld.exe'
15688
shlibpath_var=LIBPATH
15691
osf3* | osf4* | osf5*)
15695
soname_spec='${libname}${release}${shared_ext}$major'
15696
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15697
shlibpath_var=LD_LIBRARY_PATH
15698
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15699
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15710
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15711
soname_spec='${libname}${release}${shared_ext}$major'
15712
shlibpath_var=LD_LIBRARY_PATH
15713
shlibpath_overrides_runpath=yes
15714
hardcode_into_libs=yes
15715
# ldd complains unless libraries are executable
15716
postinstall_cmds='chmod +x $lib'
15721
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15722
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15723
shlibpath_var=LD_LIBRARY_PATH
15724
shlibpath_overrides_runpath=yes
15725
if test "$with_gnu_ld" = yes; then
15733
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15734
soname_spec='${libname}${release}${shared_ext}$major'
15735
shlibpath_var=LD_LIBRARY_PATH
15736
case $host_vendor in
15738
shlibpath_overrides_runpath=no
15740
runpath_var=LD_RUN_PATH
15748
shlibpath_overrides_runpath=no
15749
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15755
if test -d /usr/nec ;then
15757
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15758
soname_spec='$libname${shared_ext}.$major'
15759
shlibpath_var=LD_LIBRARY_PATH
15763
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15764
version_type=freebsd-elf
15767
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15768
soname_spec='${libname}${release}${shared_ext}$major'
15769
shlibpath_var=LD_LIBRARY_PATH
15770
shlibpath_overrides_runpath=yes
15771
hardcode_into_libs=yes
15772
if test "$with_gnu_ld" = yes; then
15773
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15775
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15778
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15782
sys_lib_dlsearch_path_spec='/usr/lib'
15786
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15790
library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15791
shlibpath_var=LD_LIBRARY_PATH
15792
shlibpath_overrides_runpath=no
15793
hardcode_into_libs=yes
15798
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15799
soname_spec='${libname}${release}${shared_ext}$major'
15800
shlibpath_var=LD_LIBRARY_PATH
15807
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15808
echo "${ECHO_T}$dynamic_linker" >&6; }
15809
test "$dynamic_linker" = no && can_build_shared=no
15811
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15812
if test "$GCC" = yes; then
15813
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15816
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15817
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15819
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15820
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15858
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15859
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
15860
hardcode_action_CXX=
15861
if test -n "$hardcode_libdir_flag_spec_CXX" ||
15862
test -n "$runpath_var_CXX" ||
15863
test "X$hardcode_automatic_CXX" = "Xyes" ; then
15865
# We can hardcode non-existent directories.
15866
if test "$hardcode_direct_CXX" != no &&
15867
# If the only mechanism to avoid hardcoding is shlibpath_var, we
15868
# have to relink, otherwise we might link with an installed library
15869
# when we should be linking with a yet-to-be-installed one
15870
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15871
test "$hardcode_minus_L_CXX" != no; then
15872
# Linking always hardcodes the temporary library directory.
15873
hardcode_action_CXX=relink
15875
# We can link without hardcoding, and we can hardcode nonexisting dirs.
15876
hardcode_action_CXX=immediate
15879
# We cannot hardcode anything, or else we can only hardcode existing
15881
hardcode_action_CXX=unsupported
15883
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15884
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
15886
if test "$hardcode_action_CXX" = relink ||
15887
test "$inherit_rpath_CXX" = yes; then
15888
# Fast installation is not supported
15889
enable_fast_install=no
15890
elif test "$shlibpath_overrides_runpath" = yes ||
15891
test "$enable_shared" = no; then
15892
# Fast installation is not necessary
15893
enable_fast_install=needless
15902
fi # test -n "$compiler"
15908
with_gnu_ld=$lt_save_with_gnu_ld
15909
lt_cv_path_LDCXX=$lt_cv_path_LD
15910
lt_cv_path_LD=$lt_save_path_LD
15911
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15912
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15913
fi # test "$_lt_caught_CXX_error" != yes
15916
ac_cpp='$CPP $CPPFLAGS'
15917
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15918
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15919
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15933
ac_config_commands="$ac_config_commands libtool"
15938
# Only expand once:
15942
AUTOM4TE=${AUTOM4TE-"${am_missing_run}autom4te"}
15945
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15946
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
15947
if test "${ac_cv_header_stdc+set}" = set; then
15948
echo $ECHO_N "(cached) $ECHO_C" >&6
15950
cat >conftest.$ac_ext <<_ACEOF
15953
cat confdefs.h >>conftest.$ac_ext
15954
cat >>conftest.$ac_ext <<_ACEOF
15955
/* end confdefs.h. */
15956
#include <stdlib.h>
15957
#include <stdarg.h>
15958
#include <string.h>
15969
rm -f conftest.$ac_objext
15970
if { (ac_try="$ac_compile"
15971
case "(($ac_try" in
15972
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15973
*) ac_try_echo=$ac_try;;
15975
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15976
(eval "$ac_compile") 2>conftest.er1
15978
grep -v '^ *+' conftest.er1 >conftest.err
15980
cat conftest.err >&5
15981
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982
(exit $ac_status); } && {
15983
test -z "$ac_c_werror_flag" ||
15984
test ! -s conftest.err
15985
} && test -s conftest.$ac_objext; then
15986
ac_cv_header_stdc=yes
15988
echo "$as_me: failed program was:" >&5
15989
sed 's/^/| /' conftest.$ac_ext >&5
15991
ac_cv_header_stdc=no
15994
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15996
if test $ac_cv_header_stdc = yes; then
15997
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15998
cat >conftest.$ac_ext <<_ACEOF
16001
cat confdefs.h >>conftest.$ac_ext
16002
cat >>conftest.$ac_ext <<_ACEOF
16003
/* end confdefs.h. */
16004
#include <string.h>
16007
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16008
$EGREP "memchr" >/dev/null 2>&1; then
16011
ac_cv_header_stdc=no
16017
if test $ac_cv_header_stdc = yes; then
16018
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16019
cat >conftest.$ac_ext <<_ACEOF
16022
cat confdefs.h >>conftest.$ac_ext
16023
cat >>conftest.$ac_ext <<_ACEOF
16024
/* end confdefs.h. */
16025
#include <stdlib.h>
16028
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16029
$EGREP "free" >/dev/null 2>&1; then
16032
ac_cv_header_stdc=no
16038
if test $ac_cv_header_stdc = yes; then
16039
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16040
if test "$cross_compiling" = yes; then
16043
cat >conftest.$ac_ext <<_ACEOF
16046
cat confdefs.h >>conftest.$ac_ext
16047
cat >>conftest.$ac_ext <<_ACEOF
16048
/* end confdefs.h. */
16050
#include <stdlib.h>
16051
#if ((' ' & 0x0FF) == 0x020)
16052
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16053
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16055
# define ISLOWER(c) \
16056
(('a' <= (c) && (c) <= 'i') \
16057
|| ('j' <= (c) && (c) <= 'r') \
16058
|| ('s' <= (c) && (c) <= 'z'))
16059
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16062
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16067
for (i = 0; i < 256; i++)
16068
if (XOR (islower (i), ISLOWER (i))
16069
|| toupper (i) != TOUPPER (i))
16074
rm -f conftest$ac_exeext
16075
if { (ac_try="$ac_link"
16076
case "(($ac_try" in
16077
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16078
*) ac_try_echo=$ac_try;;
16080
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16081
(eval "$ac_link") 2>&5
16083
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16085
{ (case "(($ac_try" in
16086
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16087
*) ac_try_echo=$ac_try;;
16089
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16090
(eval "$ac_try") 2>&5
16092
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093
(exit $ac_status); }; }; then
16096
echo "$as_me: program exited with status $ac_status" >&5
16097
echo "$as_me: failed program was:" >&5
16098
sed 's/^/| /' conftest.$ac_ext >&5
16100
( exit $ac_status )
16101
ac_cv_header_stdc=no
16103
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16109
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16110
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
16111
if test $ac_cv_header_stdc = yes; then
16113
cat >>confdefs.h <<\_ACEOF
16114
#define STDC_HEADERS 1
16124
for ac_header in stdarg.h stdlib.h string.h time.h unistd.h
16126
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16127
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16128
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
16129
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16130
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16131
echo $ECHO_N "(cached) $ECHO_C" >&6
16133
ac_res=`eval echo '${'$as_ac_Header'}'`
16134
{ echo "$as_me:$LINENO: result: $ac_res" >&5
16135
echo "${ECHO_T}$ac_res" >&6; }
16137
# Is the header compilable?
16138
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
16139
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16140
cat >conftest.$ac_ext <<_ACEOF
16143
cat confdefs.h >>conftest.$ac_ext
16144
cat >>conftest.$ac_ext <<_ACEOF
16145
/* end confdefs.h. */
16146
$ac_includes_default
16147
#include <$ac_header>
16149
rm -f conftest.$ac_objext
16150
if { (ac_try="$ac_compile"
16151
case "(($ac_try" in
16152
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16153
*) ac_try_echo=$ac_try;;
16155
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16156
(eval "$ac_compile") 2>conftest.er1
16158
grep -v '^ *+' conftest.er1 >conftest.err
16160
cat conftest.err >&5
16161
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162
(exit $ac_status); } && {
16163
test -z "$ac_c_werror_flag" ||
16164
test ! -s conftest.err
16165
} && test -s conftest.$ac_objext; then
16166
ac_header_compiler=yes
16168
echo "$as_me: failed program was:" >&5
16169
sed 's/^/| /' conftest.$ac_ext >&5
16171
ac_header_compiler=no
16174
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16175
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16176
echo "${ECHO_T}$ac_header_compiler" >&6; }
16178
# Is the header present?
16179
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
16180
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16181
cat >conftest.$ac_ext <<_ACEOF
16184
cat confdefs.h >>conftest.$ac_ext
16185
cat >>conftest.$ac_ext <<_ACEOF
16186
/* end confdefs.h. */
16187
#include <$ac_header>
16189
if { (ac_try="$ac_cpp conftest.$ac_ext"
16190
case "(($ac_try" in
16191
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16192
*) ac_try_echo=$ac_try;;
16194
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16195
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16197
grep -v '^ *+' conftest.er1 >conftest.err
16199
cat conftest.err >&5
16200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201
(exit $ac_status); } >/dev/null && {
16202
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16203
test ! -s conftest.err
16205
ac_header_preproc=yes
16207
echo "$as_me: failed program was:" >&5
16208
sed 's/^/| /' conftest.$ac_ext >&5
16210
ac_header_preproc=no
16213
rm -f conftest.err conftest.$ac_ext
16214
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16215
echo "${ECHO_T}$ac_header_preproc" >&6; }
16217
# So? What about this header?
16218
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16220
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16221
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16222
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16223
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16224
ac_header_preproc=yes
16227
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16228
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16229
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16230
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16231
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16232
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16233
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16234
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16235
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16236
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16237
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16238
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16240
## ---------------------------------- ##
16241
## Report this to csardi@rmki.kfki.hu ##
16242
## ---------------------------------- ##
16244
) | sed "s/^/$as_me: WARNING: /" >&2
16247
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
16248
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16249
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16250
echo $ECHO_N "(cached) $ECHO_C" >&6
16252
eval "$as_ac_Header=\$ac_header_preproc"
16254
ac_res=`eval echo '${'$as_ac_Header'}'`
16255
{ echo "$as_me:$LINENO: result: $ac_res" >&5
16256
echo "${ECHO_T}$ac_res" >&6; }
16259
if test `eval echo '${'$as_ac_Header'}'` = yes; then
16260
cat >>confdefs.h <<_ACEOF
16261
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16282
for ac_func in expm1 rint rintf finite log2 logbl snprintf log1p round fmin strcasecmp isnan
16284
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16285
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
16286
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16287
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16288
echo $ECHO_N "(cached) $ECHO_C" >&6
16290
cat >conftest.$ac_ext <<_ACEOF
16293
cat confdefs.h >>conftest.$ac_ext
16294
cat >>conftest.$ac_ext <<_ACEOF
16295
/* end confdefs.h. */
16296
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16297
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16298
#define $ac_func innocuous_$ac_func
16300
/* System header to define __stub macros and hopefully few prototypes,
16301
which can conflict with char $ac_func (); below.
16302
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16303
<limits.h> exists even on freestanding compilers. */
16306
# include <limits.h>
16308
# include <assert.h>
16313
/* Override any GCC internal prototype to avoid an error.
16314
Use char because int might match the return type of a GCC
16315
builtin and then its argument prototype would still apply. */
16320
/* The GNU C library defines this for functions which it implements
16321
to always fail with ENOSYS. Some functions are actually named
16322
something starting with __ and the normal name is an alias. */
16323
#if defined __stub_$ac_func || defined __stub___$ac_func
16330
return $ac_func ();
16335
rm -f conftest.$ac_objext conftest$ac_exeext
16336
if { (ac_try="$ac_link"
16337
case "(($ac_try" in
16338
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16339
*) ac_try_echo=$ac_try;;
16341
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16342
(eval "$ac_link") 2>conftest.er1
16344
grep -v '^ *+' conftest.er1 >conftest.err
16346
cat conftest.err >&5
16347
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16348
(exit $ac_status); } && {
16349
test -z "$ac_c_werror_flag" ||
16350
test ! -s conftest.err
16351
} && test -s conftest$ac_exeext &&
16352
$as_test_x conftest$ac_exeext; then
16353
eval "$as_ac_var=yes"
16355
echo "$as_me: failed program was:" >&5
16356
sed 's/^/| /' conftest.$ac_ext >&5
16358
eval "$as_ac_var=no"
16361
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16362
conftest$ac_exeext conftest.$ac_ext
16364
ac_res=`eval echo '${'$as_ac_var'}'`
16365
{ echo "$as_me:$LINENO: result: $ac_res" >&5
16366
echo "${ECHO_T}$ac_res" >&6; }
16367
if test `eval echo '${'$as_ac_var'}'` = yes; then
16368
cat >>confdefs.h <<_ACEOF
16369
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16381
## Solaris cc does not support -ffloat-store.
16383
{ echo "$as_me:$LINENO: checking whether compiler supports -ffloat-store" >&5
16384
echo $ECHO_N "checking whether compiler supports -ffloat-store... $ECHO_C" >&6; }
16385
ac_save_CFLAGS="$CFLAGS"
16386
CFLAGS="$CFLAGS -ffloat-store"
16387
cat >conftest.$ac_ext <<_ACEOF
16390
cat confdefs.h >>conftest.$ac_ext
16391
cat >>conftest.$ac_ext <<_ACEOF
16392
/* end confdefs.h. */
16402
rm -f conftest.$ac_objext
16403
if { (ac_try="$ac_compile"
16404
case "(($ac_try" in
16405
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16406
*) ac_try_echo=$ac_try;;
16408
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16409
(eval "$ac_compile") 2>conftest.er1
16411
grep -v '^ *+' conftest.er1 >conftest.err
16413
cat conftest.err >&5
16414
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415
(exit $ac_status); } && {
16416
test -z "$ac_c_werror_flag" ||
16417
test ! -s conftest.err
16418
} && test -s conftest.$ac_objext; then
16419
{ echo "$as_me:$LINENO: result: yes" >&5
16420
echo "${ECHO_T}yes" >&6; }
16421
FLOATSTORE="-ffloat-store"
16423
echo "$as_me: failed program was:" >&5
16424
sed 's/^/| /' conftest.$ac_ext >&5
16426
{ echo "$as_me:$LINENO: result: no" >&5
16427
echo "${ECHO_T}no" >&6; }
16431
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16432
CFLAGS="$ac_save_CFLAGS"
16433
{ echo "$as_me:$LINENO: checking whether compiler supports -fstore" >&5
16434
echo $ECHO_N "checking whether compiler supports -fstore... $ECHO_C" >&6; }
16435
ac_save_CFLAGS="$CFLAGS"
16436
CFLAGS="$CFLAGS -fstore"
16437
cat >conftest.$ac_ext <<_ACEOF
16440
cat confdefs.h >>conftest.$ac_ext
16441
cat >>conftest.$ac_ext <<_ACEOF
16442
/* end confdefs.h. */
16452
rm -f conftest.$ac_objext
16453
if { (ac_try="$ac_compile"
16454
case "(($ac_try" in
16455
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16456
*) ac_try_echo=$ac_try;;
16458
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16459
(eval "$ac_compile") 2>conftest.er1
16461
grep -v '^ *+' conftest.er1 >conftest.err
16463
cat conftest.err >&5
16464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465
(exit $ac_status); } && {
16466
test -z "$ac_c_werror_flag" ||
16467
test ! -s conftest.err
16468
} && test -s conftest.$ac_objext; then
16469
{ echo "$as_me:$LINENO: result: yes" >&5
16470
echo "${ECHO_T}yes" >&6; }
16471
FLOATSTORE="$FLOATSTORE -fstore"
16473
echo "$as_me: failed program was:" >&5
16474
sed 's/^/| /' conftest.$ac_ext >&5
16476
{ echo "$as_me:$LINENO: result: no" >&5
16477
echo "${ECHO_T}no" >&6; }
16481
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16482
CFLAGS="$ac_save_CFLAGS"
16485
# Check whether --enable-gcc-warnings was given.
16486
if test "${enable_gcc_warnings+set}" = set; then
16487
enableval=$enable_gcc_warnings; case "${enableval}" in
16489
*) { { echo "$as_me:$LINENO: error: bad value ${enableval} for gcc-warnings option" >&5
16490
echo "$as_me: error: bad value ${enableval} for gcc-warnings option" >&2;}
16491
{ (exit 1); exit 1; }; } ;;
16497
if test "${enableval}" = yes; then
16498
{ echo "$as_me:$LINENO: checking whether compiler accepts -Werror" >&5
16499
echo $ECHO_N "checking whether compiler accepts -Werror... $ECHO_C" >&6; }
16501
ac_save_CFLAGS="$CFLAGS"
16502
CFLAGS="$CFLAGS -Werror"
16503
cat >conftest.$ac_ext <<_ACEOF
16506
cat confdefs.h >>conftest.$ac_ext
16507
cat >>conftest.$ac_ext <<_ACEOF
16508
/* end confdefs.h. */
16518
rm -f conftest.$ac_objext
16519
if { (ac_try="$ac_compile"
16520
case "(($ac_try" in
16521
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16522
*) ac_try_echo=$ac_try;;
16524
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16525
(eval "$ac_compile") 2>conftest.er1
16527
grep -v '^ *+' conftest.er1 >conftest.err
16529
cat conftest.err >&5
16530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531
(exit $ac_status); } && {
16532
test -z "$ac_c_werror_flag" ||
16533
test ! -s conftest.err
16534
} && test -s conftest.$ac_objext; then
16535
WARNING_CFLAGS="$WARNING_CFLAGS -Werror"
16536
{ echo "$as_me:$LINENO: result: yes" >&5
16537
echo "${ECHO_T}yes" >&6; }
16539
echo "$as_me: failed program was:" >&5
16540
sed 's/^/| /' conftest.$ac_ext >&5
16542
{ echo "$as_me:$LINENO: result: no" >&5
16543
echo "${ECHO_T}no" >&6; }
16546
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16547
CFLAGS="$ac_save_CFLAGS"
16548
WERROR_CFLAGS=$WARNING_CFLAGS
16551
{ echo "$as_me:$LINENO: checking whether compiler accepts -Wall" >&5
16552
echo $ECHO_N "checking whether compiler accepts -Wall... $ECHO_C" >&6; }
16554
ac_save_CFLAGS="$CFLAGS"
16555
CFLAGS="$CFLAGS -Wall"
16556
cat >conftest.$ac_ext <<_ACEOF
16559
cat confdefs.h >>conftest.$ac_ext
16560
cat >>conftest.$ac_ext <<_ACEOF
16561
/* end confdefs.h. */
16571
rm -f conftest.$ac_objext
16572
if { (ac_try="$ac_compile"
16573
case "(($ac_try" in
16574
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16575
*) ac_try_echo=$ac_try;;
16577
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16578
(eval "$ac_compile") 2>conftest.er1
16580
grep -v '^ *+' conftest.er1 >conftest.err
16582
cat conftest.err >&5
16583
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16584
(exit $ac_status); } && {
16585
test -z "$ac_c_werror_flag" ||
16586
test ! -s conftest.err
16587
} && test -s conftest.$ac_objext; then
16588
WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
16589
{ echo "$as_me:$LINENO: result: yes" >&5
16590
echo "${ECHO_T}yes" >&6; }
16592
echo "$as_me: failed program was:" >&5
16593
sed 's/^/| /' conftest.$ac_ext >&5
16595
{ echo "$as_me:$LINENO: result: no" >&5
16596
echo "${ECHO_T}no" >&6; }
16599
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16600
CFLAGS="$ac_save_CFLAGS"
16601
{ echo "$as_me:$LINENO: checking whether compiler accepts -W" >&5
16602
echo $ECHO_N "checking whether compiler accepts -W... $ECHO_C" >&6; }
16604
ac_save_CFLAGS="$CFLAGS"
16605
CFLAGS="$CFLAGS -W"
16606
cat >conftest.$ac_ext <<_ACEOF
16609
cat confdefs.h >>conftest.$ac_ext
16610
cat >>conftest.$ac_ext <<_ACEOF
16611
/* end confdefs.h. */
16621
rm -f conftest.$ac_objext
16622
if { (ac_try="$ac_compile"
16623
case "(($ac_try" in
16624
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16625
*) ac_try_echo=$ac_try;;
16627
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16628
(eval "$ac_compile") 2>conftest.er1
16630
grep -v '^ *+' conftest.er1 >conftest.err
16632
cat conftest.err >&5
16633
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634
(exit $ac_status); } && {
16635
test -z "$ac_c_werror_flag" ||
16636
test ! -s conftest.err
16637
} && test -s conftest.$ac_objext; then
16638
WARNING_CFLAGS="$WARNING_CFLAGS -W"
16639
{ echo "$as_me:$LINENO: result: yes" >&5
16640
echo "${ECHO_T}yes" >&6; }
16642
echo "$as_me: failed program was:" >&5
16643
sed 's/^/| /' conftest.$ac_ext >&5
16645
{ echo "$as_me:$LINENO: result: no" >&5
16646
echo "${ECHO_T}no" >&6; }
16649
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16650
CFLAGS="$ac_save_CFLAGS"
16651
{ echo "$as_me:$LINENO: checking whether compiler accepts -Wbad-function-cast" >&5
16652
echo $ECHO_N "checking whether compiler accepts -Wbad-function-cast... $ECHO_C" >&6; }
16654
ac_save_CFLAGS="$CFLAGS"
16655
CFLAGS="$CFLAGS -Wbad-function-cast"
16656
cat >conftest.$ac_ext <<_ACEOF
16659
cat confdefs.h >>conftest.$ac_ext
16660
cat >>conftest.$ac_ext <<_ACEOF
16661
/* end confdefs.h. */
16671
rm -f conftest.$ac_objext
16672
if { (ac_try="$ac_compile"
16673
case "(($ac_try" in
16674
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16675
*) ac_try_echo=$ac_try;;
16677
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16678
(eval "$ac_compile") 2>conftest.er1
16680
grep -v '^ *+' conftest.er1 >conftest.err
16682
cat conftest.err >&5
16683
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684
(exit $ac_status); } && {
16685
test -z "$ac_c_werror_flag" ||
16686
test ! -s conftest.err
16687
} && test -s conftest.$ac_objext; then
16688
WARNING_CFLAGS="$WARNING_CFLAGS -Wbad-function-cast"
16689
{ echo "$as_me:$LINENO: result: yes" >&5
16690
echo "${ECHO_T}yes" >&6; }
16692
echo "$as_me: failed program was:" >&5
16693
sed 's/^/| /' conftest.$ac_ext >&5
16695
{ echo "$as_me:$LINENO: result: no" >&5
16696
echo "${ECHO_T}no" >&6; }
16699
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16700
CFLAGS="$ac_save_CFLAGS"
16701
{ echo "$as_me:$LINENO: checking whether compiler accepts -Wcast-align" >&5
16702
echo $ECHO_N "checking whether compiler accepts -Wcast-align... $ECHO_C" >&6; }
16704
ac_save_CFLAGS="$CFLAGS"
16705
CFLAGS="$CFLAGS -Wcast-align"
16706
cat >conftest.$ac_ext <<_ACEOF
16709
cat confdefs.h >>conftest.$ac_ext
16710
cat >>conftest.$ac_ext <<_ACEOF
16711
/* end confdefs.h. */
16721
rm -f conftest.$ac_objext
16722
if { (ac_try="$ac_compile"
16723
case "(($ac_try" in
16724
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16725
*) ac_try_echo=$ac_try;;
16727
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16728
(eval "$ac_compile") 2>conftest.er1
16730
grep -v '^ *+' conftest.er1 >conftest.err
16732
cat conftest.err >&5
16733
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734
(exit $ac_status); } && {
16735
test -z "$ac_c_werror_flag" ||
16736
test ! -s conftest.err
16737
} && test -s conftest.$ac_objext; then
16738
WARNING_CFLAGS="$WARNING_CFLAGS -Wcast-align"
16739
{ echo "$as_me:$LINENO: result: yes" >&5
16740
echo "${ECHO_T}yes" >&6; }
16742
echo "$as_me: failed program was:" >&5
16743
sed 's/^/| /' conftest.$ac_ext >&5
16745
{ echo "$as_me:$LINENO: result: no" >&5
16746
echo "${ECHO_T}no" >&6; }
16749
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16750
CFLAGS="$ac_save_CFLAGS"
16751
{ echo "$as_me:$LINENO: checking whether compiler accepts -Wcast-qual" >&5
16752
echo $ECHO_N "checking whether compiler accepts -Wcast-qual... $ECHO_C" >&6; }
16754
ac_save_CFLAGS="$CFLAGS"
16755
CFLAGS="$CFLAGS -Wcast-qual"
16756
cat >conftest.$ac_ext <<_ACEOF
16759
cat confdefs.h >>conftest.$ac_ext
16760
cat >>conftest.$ac_ext <<_ACEOF
16761
/* end confdefs.h. */
16771
rm -f conftest.$ac_objext
16772
if { (ac_try="$ac_compile"
16773
case "(($ac_try" in
16774
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16775
*) ac_try_echo=$ac_try;;
16777
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16778
(eval "$ac_compile") 2>conftest.er1
16780
grep -v '^ *+' conftest.er1 >conftest.err
16782
cat conftest.err >&5
16783
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784
(exit $ac_status); } && {
16785
test -z "$ac_c_werror_flag" ||
16786
test ! -s conftest.err
16787
} && test -s conftest.$ac_objext; then
16788
WARNING_CFLAGS="$WARNING_CFLAGS -Wcast-qual"
16789
{ echo "$as_me:$LINENO: result: yes" >&5
16790
echo "${ECHO_T}yes" >&6; }
16792
echo "$as_me: failed program was:" >&5
16793
sed 's/^/| /' conftest.$ac_ext >&5
16795
{ echo "$as_me:$LINENO: result: no" >&5
16796
echo "${ECHO_T}no" >&6; }
16799
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16800
CFLAGS="$ac_save_CFLAGS"
16801
{ echo "$as_me:$LINENO: checking whether compiler accepts -Wformat" >&5
16802
echo $ECHO_N "checking whether compiler accepts -Wformat... $ECHO_C" >&6; }
16804
ac_save_CFLAGS="$CFLAGS"
16805
CFLAGS="$CFLAGS -Wformat"
16806
cat >conftest.$ac_ext <<_ACEOF
16809
cat confdefs.h >>conftest.$ac_ext
16810
cat >>conftest.$ac_ext <<_ACEOF
16811
/* end confdefs.h. */
16821
rm -f conftest.$ac_objext
16822
if { (ac_try="$ac_compile"
16823
case "(($ac_try" in
16824
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16825
*) ac_try_echo=$ac_try;;
16827
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16828
(eval "$ac_compile") 2>conftest.er1
16830
grep -v '^ *+' conftest.er1 >conftest.err
16832
cat conftest.err >&5
16833
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16834
(exit $ac_status); } && {
16835
test -z "$ac_c_werror_flag" ||
16836
test ! -s conftest.err
16837
} && test -s conftest.$ac_objext; then
16838
WARNING_CFLAGS="$WARNING_CFLAGS -Wformat"
16839
{ echo "$as_me:$LINENO: result: yes" >&5
16840
echo "${ECHO_T}yes" >&6; }
16842
echo "$as_me: failed program was:" >&5
16843
sed 's/^/| /' conftest.$ac_ext >&5
16845
{ echo "$as_me:$LINENO: result: no" >&5
16846
echo "${ECHO_T}no" >&6; }
16849
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16850
CFLAGS="$ac_save_CFLAGS"
16851
{ echo "$as_me:$LINENO: checking whether compiler accepts -Wmissing-declarations" >&5
16852
echo $ECHO_N "checking whether compiler accepts -Wmissing-declarations... $ECHO_C" >&6; }
16854
ac_save_CFLAGS="$CFLAGS"
16855
CFLAGS="$CFLAGS -Wmissing-declarations"
16856
cat >conftest.$ac_ext <<_ACEOF
16859
cat confdefs.h >>conftest.$ac_ext
16860
cat >>conftest.$ac_ext <<_ACEOF
16861
/* end confdefs.h. */
16871
rm -f conftest.$ac_objext
16872
if { (ac_try="$ac_compile"
16873
case "(($ac_try" in
16874
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16875
*) ac_try_echo=$ac_try;;
16877
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16878
(eval "$ac_compile") 2>conftest.er1
16880
grep -v '^ *+' conftest.er1 >conftest.err
16882
cat conftest.err >&5
16883
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884
(exit $ac_status); } && {
16885
test -z "$ac_c_werror_flag" ||
16886
test ! -s conftest.err
16887
} && test -s conftest.$ac_objext; then
16888
WARNING_CFLAGS="$WARNING_CFLAGS -Wmissing-declarations"
16889
{ echo "$as_me:$LINENO: result: yes" >&5
16890
echo "${ECHO_T}yes" >&6; }
16892
echo "$as_me: failed program was:" >&5
16893
sed 's/^/| /' conftest.$ac_ext >&5
16895
{ echo "$as_me:$LINENO: result: no" >&5
16896
echo "${ECHO_T}no" >&6; }
16899
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16900
CFLAGS="$ac_save_CFLAGS"
16901
{ echo "$as_me:$LINENO: checking whether compiler accepts -Wmissing-prototypes" >&5
16902
echo $ECHO_N "checking whether compiler accepts -Wmissing-prototypes... $ECHO_C" >&6; }
16904
ac_save_CFLAGS="$CFLAGS"
16905
CFLAGS="$CFLAGS -Wmissing-prototypes"
16906
cat >conftest.$ac_ext <<_ACEOF
16909
cat confdefs.h >>conftest.$ac_ext
16910
cat >>conftest.$ac_ext <<_ACEOF
16911
/* end confdefs.h. */
16921
rm -f conftest.$ac_objext
16922
if { (ac_try="$ac_compile"
16923
case "(($ac_try" in
16924
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16925
*) ac_try_echo=$ac_try;;
16927
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16928
(eval "$ac_compile") 2>conftest.er1
16930
grep -v '^ *+' conftest.er1 >conftest.err
16932
cat conftest.err >&5
16933
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934
(exit $ac_status); } && {
16935
test -z "$ac_c_werror_flag" ||
16936
test ! -s conftest.err
16937
} && test -s conftest.$ac_objext; then
16938
WARNING_CFLAGS="$WARNING_CFLAGS -Wmissing-prototypes"
16939
{ echo "$as_me:$LINENO: result: yes" >&5
16940
echo "${ECHO_T}yes" >&6; }
16942
echo "$as_me: failed program was:" >&5
16943
sed 's/^/| /' conftest.$ac_ext >&5
16945
{ echo "$as_me:$LINENO: result: no" >&5
16946
echo "${ECHO_T}no" >&6; }
16949
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16950
CFLAGS="$ac_save_CFLAGS"
16951
{ echo "$as_me:$LINENO: checking whether compiler accepts -Wnested-externs" >&5
16952
echo $ECHO_N "checking whether compiler accepts -Wnested-externs... $ECHO_C" >&6; }
16954
ac_save_CFLAGS="$CFLAGS"
16955
CFLAGS="$CFLAGS -Wnested-externs"
16956
cat >conftest.$ac_ext <<_ACEOF
16959
cat confdefs.h >>conftest.$ac_ext
16960
cat >>conftest.$ac_ext <<_ACEOF
16961
/* end confdefs.h. */
16971
rm -f conftest.$ac_objext
16972
if { (ac_try="$ac_compile"
16973
case "(($ac_try" in
16974
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16975
*) ac_try_echo=$ac_try;;
16977
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16978
(eval "$ac_compile") 2>conftest.er1
16980
grep -v '^ *+' conftest.er1 >conftest.err
16982
cat conftest.err >&5
16983
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984
(exit $ac_status); } && {
16985
test -z "$ac_c_werror_flag" ||
16986
test ! -s conftest.err
16987
} && test -s conftest.$ac_objext; then
16988
WARNING_CFLAGS="$WARNING_CFLAGS -Wnested-externs"
16989
{ echo "$as_me:$LINENO: result: yes" >&5
16990
echo "${ECHO_T}yes" >&6; }
16992
echo "$as_me: failed program was:" >&5
16993
sed 's/^/| /' conftest.$ac_ext >&5
16995
{ echo "$as_me:$LINENO: result: no" >&5
16996
echo "${ECHO_T}no" >&6; }
16999
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17000
CFLAGS="$ac_save_CFLAGS"
17001
{ echo "$as_me:$LINENO: checking whether compiler accepts -Wshadow" >&5
17002
echo $ECHO_N "checking whether compiler accepts -Wshadow... $ECHO_C" >&6; }
17004
ac_save_CFLAGS="$CFLAGS"
17005
CFLAGS="$CFLAGS -Wshadow"
17006
cat >conftest.$ac_ext <<_ACEOF
17009
cat confdefs.h >>conftest.$ac_ext
17010
cat >>conftest.$ac_ext <<_ACEOF
17011
/* end confdefs.h. */
17021
rm -f conftest.$ac_objext
17022
if { (ac_try="$ac_compile"
17023
case "(($ac_try" in
17024
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17025
*) ac_try_echo=$ac_try;;
17027
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17028
(eval "$ac_compile") 2>conftest.er1
17030
grep -v '^ *+' conftest.er1 >conftest.err
17032
cat conftest.err >&5
17033
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034
(exit $ac_status); } && {
17035
test -z "$ac_c_werror_flag" ||
17036
test ! -s conftest.err
17037
} && test -s conftest.$ac_objext; then
17038
WARNING_CFLAGS="$WARNING_CFLAGS -Wshadow"
17039
{ echo "$as_me:$LINENO: result: yes" >&5
17040
echo "${ECHO_T}yes" >&6; }
17042
echo "$as_me: failed program was:" >&5
17043
sed 's/^/| /' conftest.$ac_ext >&5
17045
{ echo "$as_me:$LINENO: result: no" >&5
17046
echo "${ECHO_T}no" >&6; }
17049
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17050
CFLAGS="$ac_save_CFLAGS"
17051
{ echo "$as_me:$LINENO: checking whether compiler accepts -Wstrict-prototypes" >&5
17052
echo $ECHO_N "checking whether compiler accepts -Wstrict-prototypes... $ECHO_C" >&6; }
17054
ac_save_CFLAGS="$CFLAGS"
17055
CFLAGS="$CFLAGS -Wstrict-prototypes"
17056
cat >conftest.$ac_ext <<_ACEOF
17059
cat confdefs.h >>conftest.$ac_ext
17060
cat >>conftest.$ac_ext <<_ACEOF
17061
/* end confdefs.h. */
17071
rm -f conftest.$ac_objext
17072
if { (ac_try="$ac_compile"
17073
case "(($ac_try" in
17074
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17075
*) ac_try_echo=$ac_try;;
17077
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17078
(eval "$ac_compile") 2>conftest.er1
17080
grep -v '^ *+' conftest.er1 >conftest.err
17082
cat conftest.err >&5
17083
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084
(exit $ac_status); } && {
17085
test -z "$ac_c_werror_flag" ||
17086
test ! -s conftest.err
17087
} && test -s conftest.$ac_objext; then
17088
WARNING_CFLAGS="$WARNING_CFLAGS -Wstrict-prototypes"
17089
{ echo "$as_me:$LINENO: result: yes" >&5
17090
echo "${ECHO_T}yes" >&6; }
17092
echo "$as_me: failed program was:" >&5
17093
sed 's/^/| /' conftest.$ac_ext >&5
17095
{ echo "$as_me:$LINENO: result: no" >&5
17096
echo "${ECHO_T}no" >&6; }
17099
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17100
CFLAGS="$ac_save_CFLAGS"
17101
{ echo "$as_me:$LINENO: checking whether compiler accepts -Wwrite-strings" >&5
17102
echo $ECHO_N "checking whether compiler accepts -Wwrite-strings... $ECHO_C" >&6; }
17104
ac_save_CFLAGS="$CFLAGS"
17105
CFLAGS="$CFLAGS -Wwrite-strings"
17106
cat >conftest.$ac_ext <<_ACEOF
17109
cat confdefs.h >>conftest.$ac_ext
17110
cat >>conftest.$ac_ext <<_ACEOF
17111
/* end confdefs.h. */
17121
rm -f conftest.$ac_objext
17122
if { (ac_try="$ac_compile"
17123
case "(($ac_try" in
17124
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17125
*) ac_try_echo=$ac_try;;
17127
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17128
(eval "$ac_compile") 2>conftest.er1
17130
grep -v '^ *+' conftest.er1 >conftest.err
17132
cat conftest.err >&5
17133
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134
(exit $ac_status); } && {
17135
test -z "$ac_c_werror_flag" ||
17136
test ! -s conftest.err
17137
} && test -s conftest.$ac_objext; then
17138
WARNING_CFLAGS="$WARNING_CFLAGS -Wwrite-strings"
17139
{ echo "$as_me:$LINENO: result: yes" >&5
17140
echo "${ECHO_T}yes" >&6; }
17142
echo "$as_me: failed program was:" >&5
17143
sed 's/^/| /' conftest.$ac_ext >&5
17145
{ echo "$as_me:$LINENO: result: no" >&5
17146
echo "${ECHO_T}no" >&6; }
17149
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17150
CFLAGS="$ac_save_CFLAGS"
17154
# Check whether --enable-profiling was given.
17155
if test "${enable_profiling+set}" = set; then
17156
enableval=$enable_profiling; use_gprof=$enableval
17163
# Check whether --enable-debug was given.
17164
if test "${enable_debug+set}" = set; then
17165
enableval=$enable_debug; debug=$enableval
17169
graphml_support=yes
17170
# Check whether --enable-graphml was given.
17171
if test "${enable_graphml+set}" = set; then
17172
enableval=$enable_graphml; graphml_support=$enableval
17174
graphml_support=yes
17179
# Check whether --enable-shell was given.
17180
if test "${enable_shell+set}" = set; then
17181
enableval=$enable_shell; use_shell=$enableval
17184
if test x$use_shell = xyes; then
17186
USE_SHELL_FALSE='#'
17194
if test $graphml_support = yes; then
17195
# Extract the first word of "xml2-config", so it can be a program name with args.
17196
set dummy xml2-config; ac_word=$2
17197
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
17198
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17199
if test "${ac_cv_path_XML2CONFIG+set}" = set; then
17200
echo $ECHO_N "(cached) $ECHO_C" >&6
17202
case $XML2CONFIG in
17204
ac_cv_path_XML2CONFIG="$XML2CONFIG" # Let the user override the test with a path.
17207
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17208
for as_dir in $PATH
17211
test -z "$as_dir" && as_dir=.
17212
for ac_exec_ext in '' $ac_executable_extensions; do
17213
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17214
ac_cv_path_XML2CONFIG="$as_dir/$ac_word$ac_exec_ext"
17215
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17222
test -z "$ac_cv_path_XML2CONFIG" && ac_cv_path_XML2CONFIG="none"
17226
XML2CONFIG=$ac_cv_path_XML2CONFIG
17227
if test -n "$XML2CONFIG"; then
17228
{ echo "$as_me:$LINENO: result: $XML2CONFIG" >&5
17229
echo "${ECHO_T}$XML2CONFIG" >&6; }
17231
{ echo "$as_me:$LINENO: result: no" >&5
17232
echo "${ECHO_T}no" >&6; }
17236
if test "$XML2CONFIG" = "none"; then
17237
# Hmmm, no xml2-config. OS X does not have it while still
17238
# having libxml2, so let's try an educated guess
17239
XML2_LIBS="-lxml2 -lz -lm"
17240
XML2_CFLAGS="-I/usr/include/libxml2"
17242
XML2_LIBS=`$XML2CONFIG --libs`
17243
XML2_CFLAGS=`$XML2CONFIG --cflags`
17245
{ echo "$as_me:$LINENO: checking for xmlSAXUserParseFile in -lxml2" >&5
17246
echo $ECHO_N "checking for xmlSAXUserParseFile in -lxml2... $ECHO_C" >&6; }
17247
if test "${ac_cv_lib_xml2_xmlSAXUserParseFile+set}" = set; then
17248
echo $ECHO_N "(cached) $ECHO_C" >&6
17250
ac_check_lib_save_LIBS=$LIBS
17251
LIBS="-lxml2 $LIBS"
17252
cat >conftest.$ac_ext <<_ACEOF
17255
cat confdefs.h >>conftest.$ac_ext
17256
cat >>conftest.$ac_ext <<_ACEOF
17257
/* end confdefs.h. */
17259
/* Override any GCC internal prototype to avoid an error.
17260
Use char because int might match the return type of a GCC
17261
builtin and then its argument prototype would still apply. */
17265
char xmlSAXUserParseFile ();
17269
return xmlSAXUserParseFile ();
17274
rm -f conftest.$ac_objext conftest$ac_exeext
17275
if { (ac_try="$ac_link"
17276
case "(($ac_try" in
17277
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17278
*) ac_try_echo=$ac_try;;
17280
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17281
(eval "$ac_link") 2>conftest.er1
17283
grep -v '^ *+' conftest.er1 >conftest.err
17285
cat conftest.err >&5
17286
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287
(exit $ac_status); } && {
17288
test -z "$ac_c_werror_flag" ||
17289
test ! -s conftest.err
17290
} && test -s conftest$ac_exeext &&
17291
$as_test_x conftest$ac_exeext; then
17292
ac_cv_lib_xml2_xmlSAXUserParseFile=yes
17294
echo "$as_me: failed program was:" >&5
17295
sed 's/^/| /' conftest.$ac_ext >&5
17297
ac_cv_lib_xml2_xmlSAXUserParseFile=no
17300
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17301
conftest$ac_exeext conftest.$ac_ext
17302
LIBS=$ac_check_lib_save_LIBS
17304
{ echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlSAXUserParseFile" >&5
17305
echo "${ECHO_T}$ac_cv_lib_xml2_xmlSAXUserParseFile" >&6; }
17306
if test $ac_cv_lib_xml2_xmlSAXUserParseFile = yes; then
17308
OLDCFLAGS=${CFLAGS}
17309
OLDCPPFLAGS=${CPPFLAGS}
17310
CFLAGS=${XML2_CFLAGS}
17311
CPPFLAGS=${XML2_CFLAGS}
17312
if test "${ac_cv_header_libxml_parser_h+set}" = set; then
17313
{ echo "$as_me:$LINENO: checking for libxml/parser.h" >&5
17314
echo $ECHO_N "checking for libxml/parser.h... $ECHO_C" >&6; }
17315
if test "${ac_cv_header_libxml_parser_h+set}" = set; then
17316
echo $ECHO_N "(cached) $ECHO_C" >&6
17318
{ echo "$as_me:$LINENO: result: $ac_cv_header_libxml_parser_h" >&5
17319
echo "${ECHO_T}$ac_cv_header_libxml_parser_h" >&6; }
17321
# Is the header compilable?
17322
{ echo "$as_me:$LINENO: checking libxml/parser.h usability" >&5
17323
echo $ECHO_N "checking libxml/parser.h usability... $ECHO_C" >&6; }
17324
cat >conftest.$ac_ext <<_ACEOF
17327
cat confdefs.h >>conftest.$ac_ext
17328
cat >>conftest.$ac_ext <<_ACEOF
17329
/* end confdefs.h. */
17330
$ac_includes_default
17331
#include <libxml/parser.h>
17333
rm -f conftest.$ac_objext
17334
if { (ac_try="$ac_compile"
17335
case "(($ac_try" in
17336
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17337
*) ac_try_echo=$ac_try;;
17339
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17340
(eval "$ac_compile") 2>conftest.er1
17342
grep -v '^ *+' conftest.er1 >conftest.err
17344
cat conftest.err >&5
17345
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346
(exit $ac_status); } && {
17347
test -z "$ac_c_werror_flag" ||
17348
test ! -s conftest.err
17349
} && test -s conftest.$ac_objext; then
17350
ac_header_compiler=yes
17352
echo "$as_me: failed program was:" >&5
17353
sed 's/^/| /' conftest.$ac_ext >&5
17355
ac_header_compiler=no
17358
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17359
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17360
echo "${ECHO_T}$ac_header_compiler" >&6; }
17362
# Is the header present?
17363
{ echo "$as_me:$LINENO: checking libxml/parser.h presence" >&5
17364
echo $ECHO_N "checking libxml/parser.h presence... $ECHO_C" >&6; }
17365
cat >conftest.$ac_ext <<_ACEOF
17368
cat confdefs.h >>conftest.$ac_ext
17369
cat >>conftest.$ac_ext <<_ACEOF
17370
/* end confdefs.h. */
17371
#include <libxml/parser.h>
17373
if { (ac_try="$ac_cpp conftest.$ac_ext"
17374
case "(($ac_try" in
17375
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17376
*) ac_try_echo=$ac_try;;
17378
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17379
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17381
grep -v '^ *+' conftest.er1 >conftest.err
17383
cat conftest.err >&5
17384
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385
(exit $ac_status); } >/dev/null && {
17386
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17387
test ! -s conftest.err
17389
ac_header_preproc=yes
17391
echo "$as_me: failed program was:" >&5
17392
sed 's/^/| /' conftest.$ac_ext >&5
17394
ac_header_preproc=no
17397
rm -f conftest.err conftest.$ac_ext
17398
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17399
echo "${ECHO_T}$ac_header_preproc" >&6; }
17401
# So? What about this header?
17402
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17404
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: accepted by the compiler, rejected by the preprocessor!" >&5
17405
echo "$as_me: WARNING: libxml/parser.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17406
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: proceeding with the compiler's result" >&5
17407
echo "$as_me: WARNING: libxml/parser.h: proceeding with the compiler's result" >&2;}
17408
ac_header_preproc=yes
17411
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: present but cannot be compiled" >&5
17412
echo "$as_me: WARNING: libxml/parser.h: present but cannot be compiled" >&2;}
17413
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: check for missing prerequisite headers?" >&5
17414
echo "$as_me: WARNING: libxml/parser.h: check for missing prerequisite headers?" >&2;}
17415
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: see the Autoconf documentation" >&5
17416
echo "$as_me: WARNING: libxml/parser.h: see the Autoconf documentation" >&2;}
17417
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: section \"Present But Cannot Be Compiled\"" >&5
17418
echo "$as_me: WARNING: libxml/parser.h: section \"Present But Cannot Be Compiled\"" >&2;}
17419
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: proceeding with the preprocessor's result" >&5
17420
echo "$as_me: WARNING: libxml/parser.h: proceeding with the preprocessor's result" >&2;}
17421
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: in the future, the compiler will take precedence" >&5
17422
echo "$as_me: WARNING: libxml/parser.h: in the future, the compiler will take precedence" >&2;}
17424
## ---------------------------------- ##
17425
## Report this to csardi@rmki.kfki.hu ##
17426
## ---------------------------------- ##
17428
) | sed "s/^/$as_me: WARNING: /" >&2
17431
{ echo "$as_me:$LINENO: checking for libxml/parser.h" >&5
17432
echo $ECHO_N "checking for libxml/parser.h... $ECHO_C" >&6; }
17433
if test "${ac_cv_header_libxml_parser_h+set}" = set; then
17434
echo $ECHO_N "(cached) $ECHO_C" >&6
17436
ac_cv_header_libxml_parser_h=$ac_header_preproc
17438
{ echo "$as_me:$LINENO: result: $ac_cv_header_libxml_parser_h" >&5
17439
echo "${ECHO_T}$ac_cv_header_libxml_parser_h" >&6; }
17442
if test $ac_cv_header_libxml_parser_h = yes; then
17446
cat >>confdefs.h <<\_ACEOF
17447
#define HAVE_LIBXML 1
17450
CFLAGS="${OLDCFLAGS} ${XML2_CFLAGS}"
17451
CPPFLAGS="${OLDCFLAGS} ${XML2_CFLAGS}"
17458
CFLAGS=${OLDCFLAGS}
17459
CPPFLAGS=${OLDCPPFLAGS}
17474
# Check whether --enable-gmp was given.
17475
if test "${enable_gmp+set}" = set; then
17476
enableval=$enable_gmp;
17479
if test "x$enable_gmp" != "xno"; then
17480
{ echo "$as_me:$LINENO: checking for __gmpz_add in -lgmp" >&5
17481
echo $ECHO_N "checking for __gmpz_add in -lgmp... $ECHO_C" >&6; }
17482
if test "${ac_cv_lib_gmp___gmpz_add+set}" = set; then
17483
echo $ECHO_N "(cached) $ECHO_C" >&6
17485
ac_check_lib_save_LIBS=$LIBS
17487
cat >conftest.$ac_ext <<_ACEOF
17490
cat confdefs.h >>conftest.$ac_ext
17491
cat >>conftest.$ac_ext <<_ACEOF
17492
/* end confdefs.h. */
17494
/* Override any GCC internal prototype to avoid an error.
17495
Use char because int might match the return type of a GCC
17496
builtin and then its argument prototype would still apply. */
17500
char __gmpz_add ();
17504
return __gmpz_add ();
17509
rm -f conftest.$ac_objext conftest$ac_exeext
17510
if { (ac_try="$ac_link"
17511
case "(($ac_try" in
17512
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17513
*) ac_try_echo=$ac_try;;
17515
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17516
(eval "$ac_link") 2>conftest.er1
17518
grep -v '^ *+' conftest.er1 >conftest.err
17520
cat conftest.err >&5
17521
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522
(exit $ac_status); } && {
17523
test -z "$ac_c_werror_flag" ||
17524
test ! -s conftest.err
17525
} && test -s conftest$ac_exeext &&
17526
$as_test_x conftest$ac_exeext; then
17527
ac_cv_lib_gmp___gmpz_add=yes
17529
echo "$as_me: failed program was:" >&5
17530
sed 's/^/| /' conftest.$ac_ext >&5
17532
ac_cv_lib_gmp___gmpz_add=no
17535
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17536
conftest$ac_exeext conftest.$ac_ext
17537
LIBS=$ac_check_lib_save_LIBS
17539
{ echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_add" >&5
17540
echo "${ECHO_T}$ac_cv_lib_gmp___gmpz_add" >&6; }
17541
if test $ac_cv_lib_gmp___gmpz_add = yes; then
17543
if test "${ac_cv_header_gmp_h+set}" = set; then
17544
{ echo "$as_me:$LINENO: checking for gmp.h" >&5
17545
echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6; }
17546
if test "${ac_cv_header_gmp_h+set}" = set; then
17547
echo $ECHO_N "(cached) $ECHO_C" >&6
17549
{ echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
17550
echo "${ECHO_T}$ac_cv_header_gmp_h" >&6; }
17552
# Is the header compilable?
17553
{ echo "$as_me:$LINENO: checking gmp.h usability" >&5
17554
echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6; }
17555
cat >conftest.$ac_ext <<_ACEOF
17558
cat confdefs.h >>conftest.$ac_ext
17559
cat >>conftest.$ac_ext <<_ACEOF
17560
/* end confdefs.h. */
17561
$ac_includes_default
17564
rm -f conftest.$ac_objext
17565
if { (ac_try="$ac_compile"
17566
case "(($ac_try" in
17567
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17568
*) ac_try_echo=$ac_try;;
17570
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17571
(eval "$ac_compile") 2>conftest.er1
17573
grep -v '^ *+' conftest.er1 >conftest.err
17575
cat conftest.err >&5
17576
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17577
(exit $ac_status); } && {
17578
test -z "$ac_c_werror_flag" ||
17579
test ! -s conftest.err
17580
} && test -s conftest.$ac_objext; then
17581
ac_header_compiler=yes
17583
echo "$as_me: failed program was:" >&5
17584
sed 's/^/| /' conftest.$ac_ext >&5
17586
ac_header_compiler=no
17589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17590
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17591
echo "${ECHO_T}$ac_header_compiler" >&6; }
17593
# Is the header present?
17594
{ echo "$as_me:$LINENO: checking gmp.h presence" >&5
17595
echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6; }
17596
cat >conftest.$ac_ext <<_ACEOF
17599
cat confdefs.h >>conftest.$ac_ext
17600
cat >>conftest.$ac_ext <<_ACEOF
17601
/* end confdefs.h. */
17604
if { (ac_try="$ac_cpp conftest.$ac_ext"
17605
case "(($ac_try" in
17606
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17607
*) ac_try_echo=$ac_try;;
17609
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17610
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17612
grep -v '^ *+' conftest.er1 >conftest.err
17614
cat conftest.err >&5
17615
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17616
(exit $ac_status); } >/dev/null && {
17617
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17618
test ! -s conftest.err
17620
ac_header_preproc=yes
17622
echo "$as_me: failed program was:" >&5
17623
sed 's/^/| /' conftest.$ac_ext >&5
17625
ac_header_preproc=no
17628
rm -f conftest.err conftest.$ac_ext
17629
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17630
echo "${ECHO_T}$ac_header_preproc" >&6; }
17632
# So? What about this header?
17633
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17635
{ echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
17636
echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17637
{ echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5
17638
echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;}
17639
ac_header_preproc=yes
17642
{ echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
17643
echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
17644
{ echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
17645
echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
17646
{ echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5
17647
echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;}
17648
{ echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5
17649
echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;}
17650
{ echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
17651
echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
17652
{ echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5
17653
echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;}
17655
## ---------------------------------- ##
17656
## Report this to csardi@rmki.kfki.hu ##
17657
## ---------------------------------- ##
17659
) | sed "s/^/$as_me: WARNING: /" >&2
17662
{ echo "$as_me:$LINENO: checking for gmp.h" >&5
17663
echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6; }
17664
if test "${ac_cv_header_gmp_h+set}" = set; then
17665
echo $ECHO_N "(cached) $ECHO_C" >&6
17667
ac_cv_header_gmp_h=$ac_header_preproc
17669
{ echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
17670
echo "${ECHO_T}$ac_cv_header_gmp_h" >&6; }
17673
if test $ac_cv_header_gmp_h = yes; then
17676
cat >>confdefs.h <<\_ACEOF
17681
LDFLAGS="${LDFLAGS} -lgmp"
17692
# Check whether --with-external-blas was given.
17693
if test "${with_external_blas+set}" = set; then
17694
withval=$with_external_blas; internal_blas=no
17700
# Check whether --with-external-lapack was given.
17701
if test "${with_external_lapack+set}" = set; then
17702
withval=$with_external_lapack; internal_lapack=no
17704
internal_lapack=yes
17708
# Check whether --with-external-arpack was given.
17709
if test "${with_external_arpack+set}" = set; then
17710
withval=$with_external_arpack; internal_arpack=no
17712
internal_arpack=yes
17716
if test "$internal_blas" == "no"; then
17718
{ echo "$as_me:$LINENO: checking for daxpy_ in -lblas" >&5
17719
echo $ECHO_N "checking for daxpy_ in -lblas... $ECHO_C" >&6; }
17720
if test "${ac_cv_lib_blas_daxpy_+set}" = set; then
17721
echo $ECHO_N "(cached) $ECHO_C" >&6
17723
ac_check_lib_save_LIBS=$LIBS
17724
LIBS="-lblas $LIBS"
17725
cat >conftest.$ac_ext <<_ACEOF
17728
cat confdefs.h >>conftest.$ac_ext
17729
cat >>conftest.$ac_ext <<_ACEOF
17730
/* end confdefs.h. */
17732
/* Override any GCC internal prototype to avoid an error.
17733
Use char because int might match the return type of a GCC
17734
builtin and then its argument prototype would still apply. */
17747
rm -f conftest.$ac_objext conftest$ac_exeext
17748
if { (ac_try="$ac_link"
17749
case "(($ac_try" in
17750
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17751
*) ac_try_echo=$ac_try;;
17753
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17754
(eval "$ac_link") 2>conftest.er1
17756
grep -v '^ *+' conftest.er1 >conftest.err
17758
cat conftest.err >&5
17759
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760
(exit $ac_status); } && {
17761
test -z "$ac_c_werror_flag" ||
17762
test ! -s conftest.err
17763
} && test -s conftest$ac_exeext &&
17764
$as_test_x conftest$ac_exeext; then
17765
ac_cv_lib_blas_daxpy_=yes
17767
echo "$as_me: failed program was:" >&5
17768
sed 's/^/| /' conftest.$ac_ext >&5
17770
ac_cv_lib_blas_daxpy_=no
17773
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17774
conftest$ac_exeext conftest.$ac_ext
17775
LIBS=$ac_check_lib_save_LIBS
17777
{ echo "$as_me:$LINENO: result: $ac_cv_lib_blas_daxpy_" >&5
17778
echo "${ECHO_T}$ac_cv_lib_blas_daxpy_" >&6; }
17779
if test $ac_cv_lib_blas_daxpy_ = yes; then
17780
cat >>confdefs.h <<_ACEOF
17781
#define HAVE_LIBBLAS 1
17784
LIBS="-lblas $LIBS"
17788
{ echo "$as_me:$LINENO: checking for daxpy in -lblas" >&5
17789
echo $ECHO_N "checking for daxpy in -lblas... $ECHO_C" >&6; }
17790
if test "${ac_cv_lib_blas_daxpy+set}" = set; then
17791
echo $ECHO_N "(cached) $ECHO_C" >&6
17793
ac_check_lib_save_LIBS=$LIBS
17794
LIBS="-lblas $LIBS"
17795
cat >conftest.$ac_ext <<_ACEOF
17798
cat confdefs.h >>conftest.$ac_ext
17799
cat >>conftest.$ac_ext <<_ACEOF
17800
/* end confdefs.h. */
17802
/* Override any GCC internal prototype to avoid an error.
17803
Use char because int might match the return type of a GCC
17804
builtin and then its argument prototype would still apply. */
17817
rm -f conftest.$ac_objext conftest$ac_exeext
17818
if { (ac_try="$ac_link"
17819
case "(($ac_try" in
17820
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17821
*) ac_try_echo=$ac_try;;
17823
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17824
(eval "$ac_link") 2>conftest.er1
17826
grep -v '^ *+' conftest.er1 >conftest.err
17828
cat conftest.err >&5
17829
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830
(exit $ac_status); } && {
17831
test -z "$ac_c_werror_flag" ||
17832
test ! -s conftest.err
17833
} && test -s conftest$ac_exeext &&
17834
$as_test_x conftest$ac_exeext; then
17835
ac_cv_lib_blas_daxpy=yes
17837
echo "$as_me: failed program was:" >&5
17838
sed 's/^/| /' conftest.$ac_ext >&5
17840
ac_cv_lib_blas_daxpy=no
17843
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17844
conftest$ac_exeext conftest.$ac_ext
17845
LIBS=$ac_check_lib_save_LIBS
17847
{ echo "$as_me:$LINENO: result: $ac_cv_lib_blas_daxpy" >&5
17848
echo "${ECHO_T}$ac_cv_lib_blas_daxpy" >&6; }
17849
if test $ac_cv_lib_blas_daxpy = yes; then
17850
cat >>confdefs.h <<_ACEOF
17851
#define HAVE_LIBBLAS 1
17854
LIBS="-lblas $LIBS"
17858
{ echo "$as_me:$LINENO: checking for DAXPY_ in -lblas" >&5
17859
echo $ECHO_N "checking for DAXPY_ in -lblas... $ECHO_C" >&6; }
17860
if test "${ac_cv_lib_blas_DAXPY_+set}" = set; then
17861
echo $ECHO_N "(cached) $ECHO_C" >&6
17863
ac_check_lib_save_LIBS=$LIBS
17864
LIBS="-lblas $LIBS"
17865
cat >conftest.$ac_ext <<_ACEOF
17868
cat confdefs.h >>conftest.$ac_ext
17869
cat >>conftest.$ac_ext <<_ACEOF
17870
/* end confdefs.h. */
17872
/* Override any GCC internal prototype to avoid an error.
17873
Use char because int might match the return type of a GCC
17874
builtin and then its argument prototype would still apply. */
17887
rm -f conftest.$ac_objext conftest$ac_exeext
17888
if { (ac_try="$ac_link"
17889
case "(($ac_try" in
17890
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17891
*) ac_try_echo=$ac_try;;
17893
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17894
(eval "$ac_link") 2>conftest.er1
17896
grep -v '^ *+' conftest.er1 >conftest.err
17898
cat conftest.err >&5
17899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900
(exit $ac_status); } && {
17901
test -z "$ac_c_werror_flag" ||
17902
test ! -s conftest.err
17903
} && test -s conftest$ac_exeext &&
17904
$as_test_x conftest$ac_exeext; then
17905
ac_cv_lib_blas_DAXPY_=yes
17907
echo "$as_me: failed program was:" >&5
17908
sed 's/^/| /' conftest.$ac_ext >&5
17910
ac_cv_lib_blas_DAXPY_=no
17913
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17914
conftest$ac_exeext conftest.$ac_ext
17915
LIBS=$ac_check_lib_save_LIBS
17917
{ echo "$as_me:$LINENO: result: $ac_cv_lib_blas_DAXPY_" >&5
17918
echo "${ECHO_T}$ac_cv_lib_blas_DAXPY_" >&6; }
17919
if test $ac_cv_lib_blas_DAXPY_ = yes; then
17920
cat >>confdefs.h <<_ACEOF
17921
#define HAVE_LIBBLAS 1
17924
LIBS="-lblas $LIBS"
17928
{ echo "$as_me:$LINENO: checking for DAXPY in -lblas" >&5
17929
echo $ECHO_N "checking for DAXPY in -lblas... $ECHO_C" >&6; }
17930
if test "${ac_cv_lib_blas_DAXPY+set}" = set; then
17931
echo $ECHO_N "(cached) $ECHO_C" >&6
17933
ac_check_lib_save_LIBS=$LIBS
17934
LIBS="-lblas $LIBS"
17935
cat >conftest.$ac_ext <<_ACEOF
17938
cat confdefs.h >>conftest.$ac_ext
17939
cat >>conftest.$ac_ext <<_ACEOF
17940
/* end confdefs.h. */
17942
/* Override any GCC internal prototype to avoid an error.
17943
Use char because int might match the return type of a GCC
17944
builtin and then its argument prototype would still apply. */
17957
rm -f conftest.$ac_objext conftest$ac_exeext
17958
if { (ac_try="$ac_link"
17959
case "(($ac_try" in
17960
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17961
*) ac_try_echo=$ac_try;;
17963
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17964
(eval "$ac_link") 2>conftest.er1
17966
grep -v '^ *+' conftest.er1 >conftest.err
17968
cat conftest.err >&5
17969
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970
(exit $ac_status); } && {
17971
test -z "$ac_c_werror_flag" ||
17972
test ! -s conftest.err
17973
} && test -s conftest$ac_exeext &&
17974
$as_test_x conftest$ac_exeext; then
17975
ac_cv_lib_blas_DAXPY=yes
17977
echo "$as_me: failed program was:" >&5
17978
sed 's/^/| /' conftest.$ac_ext >&5
17980
ac_cv_lib_blas_DAXPY=no
17983
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17984
conftest$ac_exeext conftest.$ac_ext
17985
LIBS=$ac_check_lib_save_LIBS
17987
{ echo "$as_me:$LINENO: result: $ac_cv_lib_blas_DAXPY" >&5
17988
echo "${ECHO_T}$ac_cv_lib_blas_DAXPY" >&6; }
17989
if test $ac_cv_lib_blas_DAXPY = yes; then
17990
cat >>confdefs.h <<_ACEOF
17991
#define HAVE_LIBBLAS 1
17994
LIBS="-lblas $LIBS"
17997
{ echo "$as_me:$LINENO: result: not found" >&5
17998
echo "${ECHO_T}not found" >&6; }
18007
LDFLAGS="${LDFLAGS} -lblas"
18010
cat >>confdefs.h <<\_ACEOF
18011
#define INTERNAL_BLAS 1
18016
if test "$internal_lapack" == "no"; then
18018
{ echo "$as_me:$LINENO: checking for dlarnv_ in -llapack" >&5
18019
echo $ECHO_N "checking for dlarnv_ in -llapack... $ECHO_C" >&6; }
18020
if test "${ac_cv_lib_lapack_dlarnv_+set}" = set; then
18021
echo $ECHO_N "(cached) $ECHO_C" >&6
18023
ac_check_lib_save_LIBS=$LIBS
18024
LIBS="-llapack $LIBS"
18025
cat >conftest.$ac_ext <<_ACEOF
18028
cat confdefs.h >>conftest.$ac_ext
18029
cat >>conftest.$ac_ext <<_ACEOF
18030
/* end confdefs.h. */
18032
/* Override any GCC internal prototype to avoid an error.
18033
Use char because int might match the return type of a GCC
18034
builtin and then its argument prototype would still apply. */
18047
rm -f conftest.$ac_objext conftest$ac_exeext
18048
if { (ac_try="$ac_link"
18049
case "(($ac_try" in
18050
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18051
*) ac_try_echo=$ac_try;;
18053
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18054
(eval "$ac_link") 2>conftest.er1
18056
grep -v '^ *+' conftest.er1 >conftest.err
18058
cat conftest.err >&5
18059
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060
(exit $ac_status); } && {
18061
test -z "$ac_c_werror_flag" ||
18062
test ! -s conftest.err
18063
} && test -s conftest$ac_exeext &&
18064
$as_test_x conftest$ac_exeext; then
18065
ac_cv_lib_lapack_dlarnv_=yes
18067
echo "$as_me: failed program was:" >&5
18068
sed 's/^/| /' conftest.$ac_ext >&5
18070
ac_cv_lib_lapack_dlarnv_=no
18073
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18074
conftest$ac_exeext conftest.$ac_ext
18075
LIBS=$ac_check_lib_save_LIBS
18077
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lapack_dlarnv_" >&5
18078
echo "${ECHO_T}$ac_cv_lib_lapack_dlarnv_" >&6; }
18079
if test $ac_cv_lib_lapack_dlarnv_ = yes; then
18080
cat >>confdefs.h <<_ACEOF
18081
#define HAVE_LIBLAPACK 1
18084
LIBS="-llapack $LIBS"
18088
{ echo "$as_me:$LINENO: checking for dlarnv in -llapack" >&5
18089
echo $ECHO_N "checking for dlarnv in -llapack... $ECHO_C" >&6; }
18090
if test "${ac_cv_lib_lapack_dlarnv+set}" = set; then
18091
echo $ECHO_N "(cached) $ECHO_C" >&6
18093
ac_check_lib_save_LIBS=$LIBS
18094
LIBS="-llapack $LIBS"
18095
cat >conftest.$ac_ext <<_ACEOF
18098
cat confdefs.h >>conftest.$ac_ext
18099
cat >>conftest.$ac_ext <<_ACEOF
18100
/* end confdefs.h. */
18102
/* Override any GCC internal prototype to avoid an error.
18103
Use char because int might match the return type of a GCC
18104
builtin and then its argument prototype would still apply. */
18117
rm -f conftest.$ac_objext conftest$ac_exeext
18118
if { (ac_try="$ac_link"
18119
case "(($ac_try" in
18120
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18121
*) ac_try_echo=$ac_try;;
18123
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18124
(eval "$ac_link") 2>conftest.er1
18126
grep -v '^ *+' conftest.er1 >conftest.err
18128
cat conftest.err >&5
18129
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18130
(exit $ac_status); } && {
18131
test -z "$ac_c_werror_flag" ||
18132
test ! -s conftest.err
18133
} && test -s conftest$ac_exeext &&
18134
$as_test_x conftest$ac_exeext; then
18135
ac_cv_lib_lapack_dlarnv=yes
18137
echo "$as_me: failed program was:" >&5
18138
sed 's/^/| /' conftest.$ac_ext >&5
18140
ac_cv_lib_lapack_dlarnv=no
18143
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18144
conftest$ac_exeext conftest.$ac_ext
18145
LIBS=$ac_check_lib_save_LIBS
18147
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lapack_dlarnv" >&5
18148
echo "${ECHO_T}$ac_cv_lib_lapack_dlarnv" >&6; }
18149
if test $ac_cv_lib_lapack_dlarnv = yes; then
18150
cat >>confdefs.h <<_ACEOF
18151
#define HAVE_LIBLAPACK 1
18154
LIBS="-llapack $LIBS"
18158
{ echo "$as_me:$LINENO: checking for DLARNV_ in -llapack" >&5
18159
echo $ECHO_N "checking for DLARNV_ in -llapack... $ECHO_C" >&6; }
18160
if test "${ac_cv_lib_lapack_DLARNV_+set}" = set; then
18161
echo $ECHO_N "(cached) $ECHO_C" >&6
18163
ac_check_lib_save_LIBS=$LIBS
18164
LIBS="-llapack $LIBS"
18165
cat >conftest.$ac_ext <<_ACEOF
18168
cat confdefs.h >>conftest.$ac_ext
18169
cat >>conftest.$ac_ext <<_ACEOF
18170
/* end confdefs.h. */
18172
/* Override any GCC internal prototype to avoid an error.
18173
Use char because int might match the return type of a GCC
18174
builtin and then its argument prototype would still apply. */
18187
rm -f conftest.$ac_objext conftest$ac_exeext
18188
if { (ac_try="$ac_link"
18189
case "(($ac_try" in
18190
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18191
*) ac_try_echo=$ac_try;;
18193
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18194
(eval "$ac_link") 2>conftest.er1
18196
grep -v '^ *+' conftest.er1 >conftest.err
18198
cat conftest.err >&5
18199
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200
(exit $ac_status); } && {
18201
test -z "$ac_c_werror_flag" ||
18202
test ! -s conftest.err
18203
} && test -s conftest$ac_exeext &&
18204
$as_test_x conftest$ac_exeext; then
18205
ac_cv_lib_lapack_DLARNV_=yes
18207
echo "$as_me: failed program was:" >&5
18208
sed 's/^/| /' conftest.$ac_ext >&5
18210
ac_cv_lib_lapack_DLARNV_=no
18213
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18214
conftest$ac_exeext conftest.$ac_ext
18215
LIBS=$ac_check_lib_save_LIBS
18217
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lapack_DLARNV_" >&5
18218
echo "${ECHO_T}$ac_cv_lib_lapack_DLARNV_" >&6; }
18219
if test $ac_cv_lib_lapack_DLARNV_ = yes; then
18220
cat >>confdefs.h <<_ACEOF
18221
#define HAVE_LIBLAPACK 1
18224
LIBS="-llapack $LIBS"
18228
{ echo "$as_me:$LINENO: checking for DLARNV in -llapack" >&5
18229
echo $ECHO_N "checking for DLARNV in -llapack... $ECHO_C" >&6; }
18230
if test "${ac_cv_lib_lapack_DLARNV+set}" = set; then
18231
echo $ECHO_N "(cached) $ECHO_C" >&6
18233
ac_check_lib_save_LIBS=$LIBS
18234
LIBS="-llapack $LIBS"
18235
cat >conftest.$ac_ext <<_ACEOF
18238
cat confdefs.h >>conftest.$ac_ext
18239
cat >>conftest.$ac_ext <<_ACEOF
18240
/* end confdefs.h. */
18242
/* Override any GCC internal prototype to avoid an error.
18243
Use char because int might match the return type of a GCC
18244
builtin and then its argument prototype would still apply. */
18257
rm -f conftest.$ac_objext conftest$ac_exeext
18258
if { (ac_try="$ac_link"
18259
case "(($ac_try" in
18260
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18261
*) ac_try_echo=$ac_try;;
18263
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18264
(eval "$ac_link") 2>conftest.er1
18266
grep -v '^ *+' conftest.er1 >conftest.err
18268
cat conftest.err >&5
18269
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270
(exit $ac_status); } && {
18271
test -z "$ac_c_werror_flag" ||
18272
test ! -s conftest.err
18273
} && test -s conftest$ac_exeext &&
18274
$as_test_x conftest$ac_exeext; then
18275
ac_cv_lib_lapack_DLARNV=yes
18277
echo "$as_me: failed program was:" >&5
18278
sed 's/^/| /' conftest.$ac_ext >&5
18280
ac_cv_lib_lapack_DLARNV=no
18283
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18284
conftest$ac_exeext conftest.$ac_ext
18285
LIBS=$ac_check_lib_save_LIBS
18287
{ echo "$as_me:$LINENO: result: $ac_cv_lib_lapack_DLARNV" >&5
18288
echo "${ECHO_T}$ac_cv_lib_lapack_DLARNV" >&6; }
18289
if test $ac_cv_lib_lapack_DLARNV = yes; then
18290
cat >>confdefs.h <<_ACEOF
18291
#define HAVE_LIBLAPACK 1
18294
LIBS="-llapack $LIBS"
18297
{ echo "$as_me:$LINENO: result: not found" >&5
18298
echo "${ECHO_T}not found" >&6; }
18307
LDFLAGS="${LDFLAGS} -llapack"
18310
cat >>confdefs.h <<\_ACEOF
18311
#define INTERNAL_LAPACK 1
18316
if test "$internal_arpack" == "no"; then
18318
{ echo "$as_me:$LINENO: checking for dsaupd_ in -larpack" >&5
18319
echo $ECHO_N "checking for dsaupd_ in -larpack... $ECHO_C" >&6; }
18320
if test "${ac_cv_lib_arpack_dsaupd_+set}" = set; then
18321
echo $ECHO_N "(cached) $ECHO_C" >&6
18323
ac_check_lib_save_LIBS=$LIBS
18324
LIBS="-larpack $LIBS"
18325
cat >conftest.$ac_ext <<_ACEOF
18328
cat confdefs.h >>conftest.$ac_ext
18329
cat >>conftest.$ac_ext <<_ACEOF
18330
/* end confdefs.h. */
18332
/* Override any GCC internal prototype to avoid an error.
18333
Use char because int might match the return type of a GCC
18334
builtin and then its argument prototype would still apply. */
18347
rm -f conftest.$ac_objext conftest$ac_exeext
18348
if { (ac_try="$ac_link"
18349
case "(($ac_try" in
18350
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18351
*) ac_try_echo=$ac_try;;
18353
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18354
(eval "$ac_link") 2>conftest.er1
18356
grep -v '^ *+' conftest.er1 >conftest.err
18358
cat conftest.err >&5
18359
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360
(exit $ac_status); } && {
18361
test -z "$ac_c_werror_flag" ||
18362
test ! -s conftest.err
18363
} && test -s conftest$ac_exeext &&
18364
$as_test_x conftest$ac_exeext; then
18365
ac_cv_lib_arpack_dsaupd_=yes
18367
echo "$as_me: failed program was:" >&5
18368
sed 's/^/| /' conftest.$ac_ext >&5
18370
ac_cv_lib_arpack_dsaupd_=no
18373
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18374
conftest$ac_exeext conftest.$ac_ext
18375
LIBS=$ac_check_lib_save_LIBS
18377
{ echo "$as_me:$LINENO: result: $ac_cv_lib_arpack_dsaupd_" >&5
18378
echo "${ECHO_T}$ac_cv_lib_arpack_dsaupd_" >&6; }
18379
if test $ac_cv_lib_arpack_dsaupd_ = yes; then
18380
cat >>confdefs.h <<_ACEOF
18381
#define HAVE_LIBARPACK 1
18384
LIBS="-larpack $LIBS"
18388
{ echo "$as_me:$LINENO: checking for dsaupd in -larpack" >&5
18389
echo $ECHO_N "checking for dsaupd in -larpack... $ECHO_C" >&6; }
18390
if test "${ac_cv_lib_arpack_dsaupd+set}" = set; then
18391
echo $ECHO_N "(cached) $ECHO_C" >&6
18393
ac_check_lib_save_LIBS=$LIBS
18394
LIBS="-larpack $LIBS"
18395
cat >conftest.$ac_ext <<_ACEOF
18398
cat confdefs.h >>conftest.$ac_ext
18399
cat >>conftest.$ac_ext <<_ACEOF
18400
/* end confdefs.h. */
18402
/* Override any GCC internal prototype to avoid an error.
18403
Use char because int might match the return type of a GCC
18404
builtin and then its argument prototype would still apply. */
18417
rm -f conftest.$ac_objext conftest$ac_exeext
18418
if { (ac_try="$ac_link"
18419
case "(($ac_try" in
18420
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18421
*) ac_try_echo=$ac_try;;
18423
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18424
(eval "$ac_link") 2>conftest.er1
18426
grep -v '^ *+' conftest.er1 >conftest.err
18428
cat conftest.err >&5
18429
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430
(exit $ac_status); } && {
18431
test -z "$ac_c_werror_flag" ||
18432
test ! -s conftest.err
18433
} && test -s conftest$ac_exeext &&
18434
$as_test_x conftest$ac_exeext; then
18435
ac_cv_lib_arpack_dsaupd=yes
18437
echo "$as_me: failed program was:" >&5
18438
sed 's/^/| /' conftest.$ac_ext >&5
18440
ac_cv_lib_arpack_dsaupd=no
18443
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18444
conftest$ac_exeext conftest.$ac_ext
18445
LIBS=$ac_check_lib_save_LIBS
18447
{ echo "$as_me:$LINENO: result: $ac_cv_lib_arpack_dsaupd" >&5
18448
echo "${ECHO_T}$ac_cv_lib_arpack_dsaupd" >&6; }
18449
if test $ac_cv_lib_arpack_dsaupd = yes; then
18450
cat >>confdefs.h <<_ACEOF
18451
#define HAVE_LIBARPACK 1
18454
LIBS="-larpack $LIBS"
18458
{ echo "$as_me:$LINENO: checking for DSAUPD_ in -larpack" >&5
18459
echo $ECHO_N "checking for DSAUPD_ in -larpack... $ECHO_C" >&6; }
18460
if test "${ac_cv_lib_arpack_DSAUPD_+set}" = set; then
18461
echo $ECHO_N "(cached) $ECHO_C" >&6
18463
ac_check_lib_save_LIBS=$LIBS
18464
LIBS="-larpack $LIBS"
18465
cat >conftest.$ac_ext <<_ACEOF
18468
cat confdefs.h >>conftest.$ac_ext
18469
cat >>conftest.$ac_ext <<_ACEOF
18470
/* end confdefs.h. */
18472
/* Override any GCC internal prototype to avoid an error.
18473
Use char because int might match the return type of a GCC
18474
builtin and then its argument prototype would still apply. */
18487
rm -f conftest.$ac_objext conftest$ac_exeext
18488
if { (ac_try="$ac_link"
18489
case "(($ac_try" in
18490
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18491
*) ac_try_echo=$ac_try;;
18493
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18494
(eval "$ac_link") 2>conftest.er1
18496
grep -v '^ *+' conftest.er1 >conftest.err
18498
cat conftest.err >&5
18499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500
(exit $ac_status); } && {
18501
test -z "$ac_c_werror_flag" ||
18502
test ! -s conftest.err
18503
} && test -s conftest$ac_exeext &&
18504
$as_test_x conftest$ac_exeext; then
18505
ac_cv_lib_arpack_DSAUPD_=yes
18507
echo "$as_me: failed program was:" >&5
18508
sed 's/^/| /' conftest.$ac_ext >&5
18510
ac_cv_lib_arpack_DSAUPD_=no
18513
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18514
conftest$ac_exeext conftest.$ac_ext
18515
LIBS=$ac_check_lib_save_LIBS
18517
{ echo "$as_me:$LINENO: result: $ac_cv_lib_arpack_DSAUPD_" >&5
18518
echo "${ECHO_T}$ac_cv_lib_arpack_DSAUPD_" >&6; }
18519
if test $ac_cv_lib_arpack_DSAUPD_ = yes; then
18520
cat >>confdefs.h <<_ACEOF
18521
#define HAVE_LIBARPACK 1
18524
LIBS="-larpack $LIBS"
18528
{ echo "$as_me:$LINENO: checking for DSAUPD in -larpack" >&5
18529
echo $ECHO_N "checking for DSAUPD in -larpack... $ECHO_C" >&6; }
18530
if test "${ac_cv_lib_arpack_DSAUPD+set}" = set; then
18531
echo $ECHO_N "(cached) $ECHO_C" >&6
18533
ac_check_lib_save_LIBS=$LIBS
18534
LIBS="-larpack $LIBS"
18535
cat >conftest.$ac_ext <<_ACEOF
18538
cat confdefs.h >>conftest.$ac_ext
18539
cat >>conftest.$ac_ext <<_ACEOF
18540
/* end confdefs.h. */
18542
/* Override any GCC internal prototype to avoid an error.
18543
Use char because int might match the return type of a GCC
18544
builtin and then its argument prototype would still apply. */
18557
rm -f conftest.$ac_objext conftest$ac_exeext
18558
if { (ac_try="$ac_link"
18559
case "(($ac_try" in
18560
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18561
*) ac_try_echo=$ac_try;;
18563
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18564
(eval "$ac_link") 2>conftest.er1
18566
grep -v '^ *+' conftest.er1 >conftest.err
18568
cat conftest.err >&5
18569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570
(exit $ac_status); } && {
18571
test -z "$ac_c_werror_flag" ||
18572
test ! -s conftest.err
18573
} && test -s conftest$ac_exeext &&
18574
$as_test_x conftest$ac_exeext; then
18575
ac_cv_lib_arpack_DSAUPD=yes
18577
echo "$as_me: failed program was:" >&5
18578
sed 's/^/| /' conftest.$ac_ext >&5
18580
ac_cv_lib_arpack_DSAUPD=no
18583
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18584
conftest$ac_exeext conftest.$ac_ext
18585
LIBS=$ac_check_lib_save_LIBS
18587
{ echo "$as_me:$LINENO: result: $ac_cv_lib_arpack_DSAUPD" >&5
18588
echo "${ECHO_T}$ac_cv_lib_arpack_DSAUPD" >&6; }
18589
if test $ac_cv_lib_arpack_DSAUPD = yes; then
18590
cat >>confdefs.h <<_ACEOF
18591
#define HAVE_LIBARPACK 1
18594
LIBS="-larpack $LIBS"
18597
{ echo "$as_me:$LINENO: result: not found" >&5
18598
echo "${ECHO_T}not found" >&6; }
18607
LDFLAGS="${LDFLAGS} -larpack"
18610
cat >>confdefs.h <<\_ACEOF
18611
#define INTERNAL_ARPACK 1
18616
if test x$internal_arpack = xyes; then
18617
INTERNAL_ARPACK_TRUE=
18618
INTERNAL_ARPACK_FALSE='#'
18620
INTERNAL_ARPACK_TRUE='#'
18621
INTERNAL_ARPACK_FALSE=
18624
if test x$internal_lapack = xyes; then
18625
INTERNAL_LAPACK_TRUE=
18626
INTERNAL_LAPACK_FALSE='#'
18628
INTERNAL_LAPACK_TRUE='#'
18629
INTERNAL_LAPACK_FALSE=
18632
if test x$internal_blas = xyes; then
18633
INTERNAL_BLAS_TRUE=
18634
INTERNAL_BLAS_FALSE='#'
18636
INTERNAL_BLAS_TRUE='#'
18637
INTERNAL_BLAS_FALSE=
18641
if test "$debug" == "yes"; then
18642
CFLAGS="${CFLAGS} -ggdb -DRC_DEBUG"
18643
CPPFLAGS="${CFLAGS} -ggdb -DRC_DEBUG"
18644
CXXFLAGS="${CFLAGS} -ggdb -DRC_DEBUG"
18647
if test "$use_gprof" == "yes"; then
18648
CFLAGS="${CFLAGS} -pg"
18649
CPPFLAGS="${CFLAGS} -pg"
18650
CXXFLAGS="${CFLAGS} -pg"
18653
if test "$use_shell" == "yes"; then
18654
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
18655
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
18657
if test "$LN_S" = "ln -s"; then
18658
{ echo "$as_me:$LINENO: result: yes" >&5
18659
echo "${ECHO_T}yes" >&6; }
18661
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
18662
echo "${ECHO_T}no, using $LN_S" >&6; }
18667
ac_config_files="$ac_config_files Makefile src/Makefile igraph.pc igraph_Info.plist doc/Makefile doc/book/Makefile interfaces/R/configure.in interfaces/R/Makefile interfaces/R/src/Makevars.win interfaces/R/DESCRIPTION interfaces/Makefile interfaces/shell/Makefile"
18669
cat >confcache <<\_ACEOF
18670
# This file is a shell script that caches the results of configure
18671
# tests run on this system so they can be shared between configure
18672
# scripts and configure runs, see configure's option --config-cache.
18673
# It is not useful on other systems. If it contains results you don't
18674
# want to keep, you may remove or edit it.
18676
# config.status only pays attention to the cache file if you give it
18677
# the --recheck option to rerun configure.
18679
# `ac_cv_env_foo' variables (set or unset) will be overridden when
18680
# loading this file, other *unset* `ac_cv_foo' will be assigned the
18681
# following values.
18685
# The following way of writing the cache mishandles newlines in values,
18686
# but we know of no workaround that is simple, portable, and efficient.
18687
# So, we kill variables containing newlines.
18688
# Ultrix sh set writes to stderr and can't be redirected directly,
18689
# and sets the high bit in the cache file unless we assign to the vars.
18691
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18692
eval ac_val=\$$ac_var
18696
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
18697
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
18700
_ | IFS | as_nl) ;; #(
18701
*) $as_unset $ac_var ;;
18707
case $as_nl`(ac_space=' '; set) 2>&1` in #(
18708
*${as_nl}ac_space=\ *)
18709
# `set' does not quote correctly, so add quotes (double-quote
18710
# substitution turns \\\\ into \\, and sed turns \\ into \).
18713
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18716
# `set' quotes correctly as required by POSIX, so do not add quotes.
18717
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18726
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18728
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18730
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18731
if test -w "$cache_file"; then
18732
test "x$cache_file" != "x/dev/null" &&
18733
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
18734
echo "$as_me: updating cache $cache_file" >&6;}
18735
cat confcache >$cache_file
18737
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
18738
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18743
test "x$prefix" = xNONE && prefix=$ac_default_prefix
18744
# Let make expand exec_prefix.
18745
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18747
DEFS=-DHAVE_CONFIG_H
18751
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18752
# 1. Remove the extension, and $U if already installed.
18753
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18754
ac_i=`echo "$ac_i" | sed "$ac_script"`
18755
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18756
# will be set to the directory where LIBOBJS objects are built.
18757
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18758
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
18760
LIBOBJS=$ac_libobjs
18762
LTLIBOBJS=$ac_ltlibobjs
18765
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18766
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
18767
Usually this means the macro was only invoked conditionally." >&5
18768
echo "$as_me: error: conditional \"AMDEP\" was never defined.
18769
Usually this means the macro was only invoked conditionally." >&2;}
18770
{ (exit 1); exit 1; }; }
18772
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18773
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18774
Usually this means the macro was only invoked conditionally." >&5
18775
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18776
Usually this means the macro was only invoked conditionally." >&2;}
18777
{ (exit 1); exit 1; }; }
18779
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18780
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
18781
Usually this means the macro was only invoked conditionally." >&5
18782
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
18783
Usually this means the macro was only invoked conditionally." >&2;}
18784
{ (exit 1); exit 1; }; }
18786
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18787
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
18788
Usually this means the macro was only invoked conditionally." >&5
18789
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
18790
Usually this means the macro was only invoked conditionally." >&2;}
18791
{ (exit 1); exit 1; }; }
18793
if test -z "${USE_SHELL_TRUE}" && test -z "${USE_SHELL_FALSE}"; then
18794
{ { echo "$as_me:$LINENO: error: conditional \"USE_SHELL\" was never defined.
18795
Usually this means the macro was only invoked conditionally." >&5
18796
echo "$as_me: error: conditional \"USE_SHELL\" was never defined.
18797
Usually this means the macro was only invoked conditionally." >&2;}
18798
{ (exit 1); exit 1; }; }
18800
if test -z "${INTERNAL_ARPACK_TRUE}" && test -z "${INTERNAL_ARPACK_FALSE}"; then
18801
{ { echo "$as_me:$LINENO: error: conditional \"INTERNAL_ARPACK\" was never defined.
18802
Usually this means the macro was only invoked conditionally." >&5
18803
echo "$as_me: error: conditional \"INTERNAL_ARPACK\" was never defined.
18804
Usually this means the macro was only invoked conditionally." >&2;}
18805
{ (exit 1); exit 1; }; }
18807
if test -z "${INTERNAL_LAPACK_TRUE}" && test -z "${INTERNAL_LAPACK_FALSE}"; then
18808
{ { echo "$as_me:$LINENO: error: conditional \"INTERNAL_LAPACK\" was never defined.
18809
Usually this means the macro was only invoked conditionally." >&5
18810
echo "$as_me: error: conditional \"INTERNAL_LAPACK\" was never defined.
18811
Usually this means the macro was only invoked conditionally." >&2;}
18812
{ (exit 1); exit 1; }; }
18814
if test -z "${INTERNAL_BLAS_TRUE}" && test -z "${INTERNAL_BLAS_FALSE}"; then
18815
{ { echo "$as_me:$LINENO: error: conditional \"INTERNAL_BLAS\" was never defined.
18816
Usually this means the macro was only invoked conditionally." >&5
18817
echo "$as_me: error: conditional \"INTERNAL_BLAS\" was never defined.
18818
Usually this means the macro was only invoked conditionally." >&2;}
18819
{ (exit 1); exit 1; }; }
18822
: ${CONFIG_STATUS=./config.status}
18823
ac_clean_files_save=$ac_clean_files
18824
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18825
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18826
echo "$as_me: creating $CONFIG_STATUS" >&6;}
18827
cat >$CONFIG_STATUS <<_ACEOF
18829
# Generated by $as_me.
18830
# Run this file to recreate the current configuration.
18831
# Compiler output produced by configure, useful for debugging
18832
# configure, is in config.log if it exists.
18835
ac_cs_recheck=false
18837
SHELL=\${CONFIG_SHELL-$SHELL}
18840
cat >>$CONFIG_STATUS <<\_ACEOF
18841
## --------------------- ##
18842
## M4sh Initialization. ##
18843
## --------------------- ##
18845
# Be more Bourne compatible
18846
DUALCASE=1; export DUALCASE # for MKS sh
18847
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18850
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18851
# is contrary to our usage. Disable this feature.
18852
alias -g '${1+"$@"}'='"$@"'
18853
setopt NO_GLOB_SUBST
18855
case `(set -o) 2>/dev/null` in
18856
*posix*) set -o posix ;;
18865
# Avoid depending upon Character Ranges.
18866
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18867
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18868
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18869
as_cr_digits='0123456789'
18870
as_cr_alnum=$as_cr_Letters$as_cr_digits
18872
# The user is always right.
18873
if test "${PATH_SEPARATOR+set}" != set; then
18874
echo "#! /bin/sh" >conf$$.sh
18875
echo "exit 0" >>conf$$.sh
18877
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
18885
# Support unset when possible.
18886
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18894
# We need space, tab and new line, in precisely that order. Quoting is
18895
# there to prevent editors from complaining about space-tab.
18896
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
18897
# splitting by setting IFS to empty value.)
18902
# Find who we are. Look in the path if we contain no directory separator.
18904
*[\\/]* ) as_myself=$0 ;;
18905
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18906
for as_dir in $PATH
18909
test -z "$as_dir" && as_dir=.
18910
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18916
# We did not find ourselves, most probably we were run as `sh COMMAND'
18917
# in which case we are not to be found in the path.
18918
if test "x$as_myself" = x; then
18921
if test ! -f "$as_myself"; then
18922
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18923
{ (exit 1); exit 1; }
18926
# Work around bugs in pre-3.0 UWIN ksh.
18927
for as_var in ENV MAIL MAILPATH
18928
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
18936
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
18937
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
18938
LC_TELEPHONE LC_TIME
18940
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
18941
eval $as_var=C; export $as_var
18943
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
18947
# Required to use basename.
18948
if expr a : '\(a\)' >/dev/null 2>&1 &&
18949
test "X`expr 00001 : '.*\(...\)'`" = X001; then
18955
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18956
as_basename=basename
18962
# Name of the executable.
18963
as_me=`$as_basename -- "$0" ||
18964
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18965
X"$0" : 'X\(//\)$' \| \
18966
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18968
sed '/^.*\/\([^/][^/]*\)\/*$/{
18987
as_lineno_1=$LINENO
18988
as_lineno_2=$LINENO
18989
test "x$as_lineno_1" != "x$as_lineno_2" &&
18990
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
18992
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18993
# uniformly replaced by the line number. The first 'sed' inserts a
18994
# line-number line after each line using $LINENO; the second 'sed'
18995
# does the real work. The second script uses 'N' to pair each
18996
# line-number line with the line containing $LINENO, and appends
18997
# trailing '-' during substitution so that $LINENO is not a special
18998
# case at line end.
18999
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19000
# scripts with optimization help from Paolo Bonzini. Blame Lee
19001
# E. McMahon (1931-1989) for sed's syntax. :-)
19013
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
19016
' >$as_me.lineno &&
19017
chmod +x "$as_me.lineno" ||
19018
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
19019
{ (exit 1); exit 1; }; }
19021
# Don't try to exec as it changes $[0], causing all sort of problems
19022
# (the dirname of $[0] is not the place where we might find the
19023
# original and so on. Autoconf is especially sensitive to this).
19024
. "./$as_me.lineno"
19025
# Exit status is that of the last command.
19030
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19036
ECHO_C= ECHO_N= ECHO_T=
19037
case `echo -n x` in
19039
case `echo 'x\c'` in
19040
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
19047
if expr a : '\(a\)' >/dev/null 2>&1 &&
19048
test "X`expr 00001 : '.*\(...\)'`" = X001; then
19054
rm -f conf$$ conf$$.exe conf$$.file
19055
if test -d conf$$.dir; then
19056
rm -f conf$$.dir/conf$$.file
19062
if ln -s conf$$.file conf$$ 2>/dev/null; then
19064
# ... but there are two gotchas:
19065
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19066
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19067
# In both cases, we have to default to `cp -p'.
19068
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19070
elif ln conf$$.file conf$$ 2>/dev/null; then
19075
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19076
rmdir conf$$.dir 2>/dev/null
19078
if mkdir -p . 2>/dev/null; then
19081
test -d ./-p && rmdir ./-p
19085
if test -x / >/dev/null 2>&1; then
19086
as_test_x='test -x'
19088
if ls -dL / >/dev/null 2>&1; then
19095
if test -d "$1"; then
19101
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
19102
???[sx]*):;;*)false;;esac;fi
19106
as_executable_p=$as_test_x
19108
# Sed expression to map a string onto a valid CPP name.
19109
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19111
# Sed expression to map a string onto a valid variable name.
19112
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19117
# Save the log message, to keep $[0] and so on meaningful, and to
19118
# report actual input values of CONFIG_FILES etc. instead of their
19119
# values after options handling.
19121
This file was extended by igraph $as_me 0.5.3, which was
19122
generated by GNU Autoconf 2.61. Invocation command line was
19124
CONFIG_FILES = $CONFIG_FILES
19125
CONFIG_HEADERS = $CONFIG_HEADERS
19126
CONFIG_LINKS = $CONFIG_LINKS
19127
CONFIG_COMMANDS = $CONFIG_COMMANDS
19130
on `(hostname || uname -n) 2>/dev/null | sed 1q`
19135
cat >>$CONFIG_STATUS <<_ACEOF
19136
# Files that config.status was made for.
19137
config_files="$ac_config_files"
19138
config_headers="$ac_config_headers"
19139
config_commands="$ac_config_commands"
19143
cat >>$CONFIG_STATUS <<\_ACEOF
19145
\`$as_me' instantiates files from templates according to the
19146
current configuration.
19148
Usage: $0 [OPTIONS] [FILE]...
19150
-h, --help print this help, then exit
19151
-V, --version print version number and configuration settings, then exit
19152
-q, --quiet do not print progress messages
19153
-d, --debug don't remove temporary files
19154
--recheck update $as_me by reconfiguring in the same conditions
19155
--file=FILE[:TEMPLATE]
19156
instantiate the configuration file FILE
19157
--header=FILE[:TEMPLATE]
19158
instantiate the configuration header FILE
19160
Configuration files:
19163
Configuration headers:
19166
Configuration commands:
19169
Report bugs to <bug-autoconf@gnu.org>."
19172
cat >>$CONFIG_STATUS <<_ACEOF
19174
igraph config.status 0.5.3
19175
configured by $0, generated by GNU Autoconf 2.61,
19176
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
19178
Copyright (C) 2006 Free Software Foundation, Inc.
19179
This config.status script is free software; the Free Software Foundation
19180
gives unlimited permission to copy, distribute and modify it."
19188
cat >>$CONFIG_STATUS <<\_ACEOF
19189
# If no file are specified by the user, then we need to provide default
19190
# value. By we need to know if files were specified by the user.
19196
ac_option=`expr "X$1" : 'X\([^=]*\)='`
19197
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19208
# Handling of the options.
19209
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19211
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19212
echo "$ac_cs_version"; exit ;;
19213
--debug | --debu | --deb | --de | --d | -d )
19215
--file | --fil | --fi | --f )
19217
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
19218
ac_need_defaults=false;;
19219
--header | --heade | --head | --hea )
19221
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
19222
ac_need_defaults=false;;
19224
# Conflict between --help and --header
19225
{ echo "$as_me: error: ambiguous option: $1
19226
Try \`$0 --help' for more information." >&2
19227
{ (exit 1); exit 1; }; };;
19228
--help | --hel | -h )
19229
echo "$ac_cs_usage"; exit ;;
19230
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
19231
| -silent | --silent | --silen | --sile | --sil | --si | --s)
19234
# This is an error.
19235
-*) { echo "$as_me: error: unrecognized option: $1
19236
Try \`$0 --help' for more information." >&2
19237
{ (exit 1); exit 1; }; } ;;
19239
*) ac_config_targets="$ac_config_targets $1"
19240
ac_need_defaults=false ;;
19246
ac_configure_extra_args=
19248
if $ac_cs_silent; then
19250
ac_configure_extra_args="$ac_configure_extra_args --silent"
19254
cat >>$CONFIG_STATUS <<_ACEOF
19255
if \$ac_cs_recheck; then
19256
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
19257
CONFIG_SHELL=$SHELL
19258
export CONFIG_SHELL
19259
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19263
cat >>$CONFIG_STATUS <<\_ACEOF
19267
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19268
## Running $as_me. ##
19274
cat >>$CONFIG_STATUS <<_ACEOF
19278
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19281
# The HP-UX ksh and POSIX shell print the target directory to stdout
19282
# if CDPATH is set.
19283
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19285
sed_quote_subst='$sed_quote_subst'
19286
double_quote_subst='$double_quote_subst'
19287
delay_variable_subst='$delay_variable_subst'
19288
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
19289
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
19290
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
19291
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
19292
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
19293
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
19294
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
19295
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
19296
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
19297
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
19298
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
19299
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
19300
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
19301
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
19302
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
19303
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
19304
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
19305
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
19306
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
19307
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
19308
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
19309
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
19310
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
19311
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
19312
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
19313
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
19314
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
19315
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
19316
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
19317
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
19318
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19319
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
19320
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
19321
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
19322
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19323
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
19324
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
19325
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19326
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19327
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19328
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
19329
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
19330
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
19331
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
19332
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
19333
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
19334
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"`'
19335
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"`'
19336
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
19337
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
19338
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
19339
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
19340
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
19341
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
19342
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
19343
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
19344
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
19345
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
19346
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
19347
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
19348
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
19349
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
19350
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
19351
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
19352
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19353
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19354
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
19355
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
19356
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19357
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19358
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
19359
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19360
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19361
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19362
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19363
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19364
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19365
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
19366
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19367
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19368
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19369
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
19370
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
19371
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
19372
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
19373
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
19374
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19375
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
19376
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
19377
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
19378
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
19379
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
19380
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19381
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19382
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19383
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19384
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
19385
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
19386
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
19387
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
19388
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
19389
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19390
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19391
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
19392
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19393
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
19394
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19395
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19396
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19397
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19398
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
19399
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
19400
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19401
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19402
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
19403
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
19404
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
19405
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
19406
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
19407
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
19408
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
19409
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19410
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19411
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
19412
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
19413
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
19414
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19415
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19416
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19417
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19418
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19419
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19420
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19421
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19422
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19423
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19424
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19425
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19426
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19427
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19428
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19429
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19430
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19431
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19432
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19433
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19434
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19435
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19436
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19437
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19438
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19439
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19440
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19441
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19442
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19443
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19444
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19445
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19446
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19447
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19448
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19449
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19450
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19451
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19452
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19453
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19454
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19455
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19456
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19457
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19458
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19459
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19460
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19463
LTCFLAGS='$LTCFLAGS'
19464
compiler='$compiler_DEFAULT'
19466
# Quote evaled strings.
19477
deplibs_check_method \
19486
lt_cv_sys_global_symbol_pipe \
19487
lt_cv_sys_global_symbol_to_cdecl \
19488
lt_cv_sys_global_symbol_to_c_name_address \
19489
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19492
lt_prog_compiler_no_builtin_flag \
19493
lt_prog_compiler_wl \
19494
lt_prog_compiler_pic \
19495
lt_prog_compiler_static \
19496
lt_cv_prog_compiler_c_o \
19504
export_dynamic_flag_spec \
19505
whole_archive_flag_spec \
19506
compiler_needs_object \
19508
allow_undefined_flag \
19509
no_undefined_flag \
19510
hardcode_libdir_flag_spec \
19511
hardcode_libdir_flag_spec_ld \
19512
hardcode_libdir_separator \
19517
variables_saved_for_relink \
19519
library_names_spec \
19524
compiler_lib_search_dirs \
19529
compiler_lib_search_path \
19532
lt_prog_compiler_no_builtin_flag_CXX \
19533
lt_prog_compiler_wl_CXX \
19534
lt_prog_compiler_pic_CXX \
19535
lt_prog_compiler_static_CXX \
19536
lt_cv_prog_compiler_c_o_CXX \
19537
export_dynamic_flag_spec_CXX \
19538
whole_archive_flag_spec_CXX \
19539
compiler_needs_object_CXX \
19541
allow_undefined_flag_CXX \
19542
no_undefined_flag_CXX \
19543
hardcode_libdir_flag_spec_CXX \
19544
hardcode_libdir_flag_spec_ld_CXX \
19545
hardcode_libdir_separator_CXX \
19546
fix_srcfile_path_CXX \
19547
exclude_expsyms_CXX \
19548
include_expsyms_CXX \
19549
file_list_spec_CXX \
19550
compiler_lib_search_dirs_CXX \
19551
predep_objects_CXX \
19552
postdep_objects_CXX \
19555
compiler_lib_search_path_CXX; do
19556
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19557
*[\\\\\\\`\\"\\\$]*)
19558
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19561
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19566
# Double-quote double-evaled strings.
19567
for var in reload_cmds \
19568
old_postinstall_cmds \
19569
old_postuninstall_cmds \
19571
extract_expsyms_cmds \
19572
old_archive_from_new_cmds \
19573
old_archive_from_expsyms_cmds \
19575
archive_expsym_cmds \
19577
module_expsym_cmds \
19578
export_symbols_cmds \
19581
postuninstall_cmds \
19583
sys_lib_search_path_spec \
19584
sys_lib_dlsearch_path_spec \
19585
old_archive_cmds_CXX \
19586
old_archive_from_new_cmds_CXX \
19587
old_archive_from_expsyms_cmds_CXX \
19589
archive_expsym_cmds_CXX \
19591
module_expsym_cmds_CXX \
19592
export_symbols_cmds_CXX \
19593
prelink_cmds_CXX; do
19594
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19595
*[\\\\\\\`\\"\\\$]*)
19596
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19599
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19604
# Fix-up fallback echo if it was mangled by the above quoting rules.
19606
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
19610
ac_aux_dir='$ac_aux_dir'
19611
xsi_shell='$xsi_shell'
19612
lt_shell_append='$lt_shell_append'
19614
# See if we are running on zsh, and set the options which allow our
19615
# commands through without removal of \ escapes INIT.
19616
if test -n "\${ZSH_VERSION+set}" ; then
19617
setopt NO_GLOB_SUBST
19623
TIMESTAMP='$TIMESTAMP'
19634
cat >>$CONFIG_STATUS <<\_ACEOF
19636
# Handling of arguments.
19637
for ac_config_target in $ac_config_targets
19639
case $ac_config_target in
19640
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19641
"tests/atconfig") CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
19642
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
19643
"tests/atlocal") CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
19644
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19645
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19646
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19647
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
19648
"igraph.pc") CONFIG_FILES="$CONFIG_FILES igraph.pc" ;;
19649
"igraph_Info.plist") CONFIG_FILES="$CONFIG_FILES igraph_Info.plist" ;;
19650
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
19651
"doc/book/Makefile") CONFIG_FILES="$CONFIG_FILES doc/book/Makefile" ;;
19652
"interfaces/R/configure.in") CONFIG_FILES="$CONFIG_FILES interfaces/R/configure.in" ;;
19653
"interfaces/R/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/R/Makefile" ;;
19654
"interfaces/R/src/Makevars.win") CONFIG_FILES="$CONFIG_FILES interfaces/R/src/Makevars.win" ;;
19655
"interfaces/R/DESCRIPTION") CONFIG_FILES="$CONFIG_FILES interfaces/R/DESCRIPTION" ;;
19656
"interfaces/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/Makefile" ;;
19657
"interfaces/shell/Makefile") CONFIG_FILES="$CONFIG_FILES interfaces/shell/Makefile" ;;
19659
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19660
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19661
{ (exit 1); exit 1; }; };;
19666
# If the user did not use the arguments to specify the items to instantiate,
19667
# then the envvar interface is used. Set only those that are not.
19668
# We use the long form for the default assignment because of an extremely
19669
# bizarre bug on SunOS 4.1.3.
19670
if $ac_need_defaults; then
19671
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19672
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19673
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19676
# Have a temporary directory for convenience. Make it in the build tree
19677
# simply because there is no reason against having it here, and in addition,
19678
# creating and moving files from /tmp can sometimes cause problems.
19679
# Hook for its removal unless debugging.
19680
# Note that there is a small window in which the directory will not be cleaned:
19681
# after its creation but before its name has been assigned to `$tmp'.
19685
trap 'exit_status=$?
19686
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19688
trap '{ (exit 1); exit 1; }' 1 2 13 15
19690
# Create a (secure) tmp directory for tmp files.
19693
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19694
test -n "$tmp" && test -d "$tmp"
19697
tmp=./conf$$-$RANDOM
19698
(umask 077 && mkdir "$tmp")
19701
echo "$me: cannot create a temporary directory in ." >&2
19702
{ (exit 1); exit 1; }
19706
# Set up the sed scripts for CONFIG_FILES section.
19709
# No need to generate the scripts if there are no CONFIG_FILES.
19710
# This happens for instance when ./config.status config.h
19711
if test -n "$CONFIG_FILES"; then
19718
for ac_last_try in false false false false false :; do
19719
cat >conf$$subs.sed <<_ACEOF
19720
SHELL!$SHELL$ac_delim
19721
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
19722
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
19723
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
19724
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
19725
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
19726
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
19727
exec_prefix!$exec_prefix$ac_delim
19728
prefix!$prefix$ac_delim
19729
program_transform_name!$program_transform_name$ac_delim
19730
bindir!$bindir$ac_delim
19731
sbindir!$sbindir$ac_delim
19732
libexecdir!$libexecdir$ac_delim
19733
datarootdir!$datarootdir$ac_delim
19734
datadir!$datadir$ac_delim
19735
sysconfdir!$sysconfdir$ac_delim
19736
sharedstatedir!$sharedstatedir$ac_delim
19737
localstatedir!$localstatedir$ac_delim
19738
includedir!$includedir$ac_delim
19739
oldincludedir!$oldincludedir$ac_delim
19740
docdir!$docdir$ac_delim
19741
infodir!$infodir$ac_delim
19742
htmldir!$htmldir$ac_delim
19743
dvidir!$dvidir$ac_delim
19744
pdfdir!$pdfdir$ac_delim
19745
psdir!$psdir$ac_delim
19746
libdir!$libdir$ac_delim
19747
localedir!$localedir$ac_delim
19748
mandir!$mandir$ac_delim
19749
DEFS!$DEFS$ac_delim
19750
ECHO_C!$ECHO_C$ac_delim
19751
ECHO_N!$ECHO_N$ac_delim
19752
ECHO_T!$ECHO_T$ac_delim
19753
LIBS!$LIBS$ac_delim
19754
build_alias!$build_alias$ac_delim
19755
host_alias!$host_alias$ac_delim
19756
target_alias!$target_alias$ac_delim
19757
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
19758
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
19759
INSTALL_DATA!$INSTALL_DATA$ac_delim
19760
am__isrc!$am__isrc$ac_delim
19761
CYGPATH_W!$CYGPATH_W$ac_delim
19762
PACKAGE!$PACKAGE$ac_delim
19763
VERSION!$VERSION$ac_delim
19764
ACLOCAL!$ACLOCAL$ac_delim
19765
AUTOCONF!$AUTOCONF$ac_delim
19766
AUTOMAKE!$AUTOMAKE$ac_delim
19767
AUTOHEADER!$AUTOHEADER$ac_delim
19768
MAKEINFO!$MAKEINFO$ac_delim
19769
install_sh!$install_sh$ac_delim
19770
STRIP!$STRIP$ac_delim
19771
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
19772
mkdir_p!$mkdir_p$ac_delim
19774
SET_MAKE!$SET_MAKE$ac_delim
19775
am__leading_dot!$am__leading_dot$ac_delim
19776
AMTAR!$AMTAR$ac_delim
19777
am__tar!$am__tar$ac_delim
19778
am__untar!$am__untar$ac_delim
19780
CFLAGS!$CFLAGS$ac_delim
19781
LDFLAGS!$LDFLAGS$ac_delim
19782
CPPFLAGS!$CPPFLAGS$ac_delim
19783
ac_ct_CC!$ac_ct_CC$ac_delim
19784
EXEEXT!$EXEEXT$ac_delim
19785
OBJEXT!$OBJEXT$ac_delim
19786
DEPDIR!$DEPDIR$ac_delim
19787
am__include!$am__include$ac_delim
19788
am__quote!$am__quote$ac_delim
19789
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
19790
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
19791
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
19792
CCDEPMODE!$CCDEPMODE$ac_delim
19793
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
19794
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
19796
CXXFLAGS!$CXXFLAGS$ac_delim
19797
ac_ct_CXX!$ac_ct_CXX$ac_delim
19798
CXXDEPMODE!$CXXDEPMODE$ac_delim
19799
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
19800
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
19801
CXXCPP!$CXXCPP$ac_delim
19803
LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
19804
LEXLIB!$LEXLIB$ac_delim
19805
YACC!$YACC$ac_delim
19806
YFLAGS!$YFLAGS$ac_delim
19808
GREP!$GREP$ac_delim
19809
EGREP!$EGREP$ac_delim
19810
build!$build$ac_delim
19811
build_cpu!$build_cpu$ac_delim
19812
build_vendor!$build_vendor$ac_delim
19813
build_os!$build_os$ac_delim
19814
host!$host$ac_delim
19815
host_cpu!$host_cpu$ac_delim
19816
host_vendor!$host_vendor$ac_delim
19819
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
19821
elif $ac_last_try; then
19822
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19823
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19824
{ (exit 1); exit 1; }; }
19826
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19830
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
19831
if test -n "$ac_eof"; then
19832
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
19833
ac_eof=`expr $ac_eof + 1`
19836
cat >>$CONFIG_STATUS <<_ACEOF
19837
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
19838
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19841
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
19842
s/^/s,@/; s/!/@,|#_!!_#|/
19845
s/'"$ac_delim"'$/,g/; t
19847
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
19848
' >>$CONFIG_STATUS <conf$$subs.sed
19849
rm -f conf$$subs.sed
19850
cat >>$CONFIG_STATUS <<_ACEOF
19856
for ac_last_try in false false false false false :; do
19857
cat >conf$$subs.sed <<_ACEOF
19858
host_os!$host_os$ac_delim
19860
DLLTOOL!$DLLTOOL$ac_delim
19861
OBJDUMP!$OBJDUMP$ac_delim
19862
LIBTOOL!$LIBTOOL$ac_delim
19864
FGREP!$FGREP$ac_delim
19866
DUMPBIN!$DUMPBIN$ac_delim
19867
ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
19869
LN_S!$LN_S$ac_delim
19871
RANLIB!$RANLIB$ac_delim
19872
lt_ECHO!$lt_ECHO$ac_delim
19873
DSYMUTIL!$DSYMUTIL$ac_delim
19874
NMEDIT!$NMEDIT$ac_delim
19875
LIPO!$LIPO$ac_delim
19876
OTOOL!$OTOOL$ac_delim
19877
OTOOL64!$OTOOL64$ac_delim
19878
AUTOM4TE!$AUTOM4TE$ac_delim
19879
FLOATSTORE!$FLOATSTORE$ac_delim
19880
WARNING_CFLAGS!$WARNING_CFLAGS$ac_delim
19881
WERROR_CFLAGS!$WERROR_CFLAGS$ac_delim
19882
USE_SHELL_TRUE!$USE_SHELL_TRUE$ac_delim
19883
USE_SHELL_FALSE!$USE_SHELL_FALSE$ac_delim
19884
XML2CONFIG!$XML2CONFIG$ac_delim
19885
XML2_LIBS!$XML2_LIBS$ac_delim
19886
XML2_CFLAGS!$XML2_CFLAGS$ac_delim
19887
INTERNAL_ARPACK_TRUE!$INTERNAL_ARPACK_TRUE$ac_delim
19888
INTERNAL_ARPACK_FALSE!$INTERNAL_ARPACK_FALSE$ac_delim
19889
INTERNAL_LAPACK_TRUE!$INTERNAL_LAPACK_TRUE$ac_delim
19890
INTERNAL_LAPACK_FALSE!$INTERNAL_LAPACK_FALSE$ac_delim
19891
INTERNAL_BLAS_TRUE!$INTERNAL_BLAS_TRUE$ac_delim
19892
INTERNAL_BLAS_FALSE!$INTERNAL_BLAS_FALSE$ac_delim
19893
LIBOBJS!$LIBOBJS$ac_delim
19894
LTLIBOBJS!$LTLIBOBJS$ac_delim
19897
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 37; then
19899
elif $ac_last_try; then
19900
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19901
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19902
{ (exit 1); exit 1; }; }
19904
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19908
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
19909
if test -n "$ac_eof"; then
19910
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
19911
ac_eof=`expr $ac_eof + 1`
19914
cat >>$CONFIG_STATUS <<_ACEOF
19915
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
19916
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
19919
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
19920
s/^/s,@/; s/!/@,|#_!!_#|/
19923
s/'"$ac_delim"'$/,g/; t
19925
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
19926
' >>$CONFIG_STATUS <conf$$subs.sed
19927
rm -f conf$$subs.sed
19928
cat >>$CONFIG_STATUS <<_ACEOF
19935
# VPATH may cause trouble with some makes, so we remove $(srcdir),
19936
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19937
# trailing colons and then remove the whole line if VPATH becomes empty
19938
# (actually we leave an empty line to preserve line numbers).
19939
if test "x$srcdir" = x.; then
19940
ac_vpsub='/^[ ]*VPATH[ ]*=/{
19941
s/:*\$(srcdir):*/:/
19942
s/:*\${srcdir}:*/:/
19944
s/^\([^=]*=[ ]*\):*/\1/
19950
cat >>$CONFIG_STATUS <<\_ACEOF
19951
fi # test -n "$CONFIG_FILES"
19954
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
19957
:[FHLC]) ac_mode=$ac_tag; continue;;
19959
case $ac_mode$ac_tag in
19961
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
19962
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
19963
{ (exit 1); exit 1; }; };;
19964
:[FH]-) ac_tag=-:-;;
19965
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19982
-) ac_f="$tmp/stdin";;
19983
*) # Look for the file first in the build tree, then in the source tree
19984
# (if the path is not absolute). The absolute path cannot be DOS-style,
19985
# because $ac_f cannot contain `:'.
19989
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19991
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19992
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19993
{ (exit 1); exit 1; }; };;
19995
ac_file_inputs="$ac_file_inputs $ac_f"
19998
# Let's still pretend it is `configure' which instantiates (i.e., don't
19999
# use $as_me), people would be surprised to read:
20000
# /* config.h. Generated by config.status. */
20001
configure_input="Generated from "`IFS=:
20002
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20003
if test x"$ac_file" != x-; then
20004
configure_input="$ac_file. $configure_input"
20005
{ echo "$as_me:$LINENO: creating $ac_file" >&5
20006
echo "$as_me: creating $ac_file" >&6;}
20010
*:-:* | *:-) cat >"$tmp/stdin";;
20015
ac_dir=`$as_dirname -- "$ac_file" ||
20016
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20017
X"$ac_file" : 'X\(//\)[^/]' \| \
20018
X"$ac_file" : 'X\(//\)$' \| \
20019
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20021
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20025
/^X\(\/\/\)[^/].*/{
20040
-*) as_dir=./$as_dir;;
20042
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20046
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20047
*) as_qdir=$as_dir;;
20049
as_dirs="'$as_qdir' $as_dirs"
20050
as_dir=`$as_dirname -- "$as_dir" ||
20051
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20052
X"$as_dir" : 'X\(//\)[^/]' \| \
20053
X"$as_dir" : 'X\(//\)$' \| \
20054
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20056
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20060
/^X\(\/\/\)[^/].*/{
20073
test -d "$as_dir" && break
20075
test -z "$as_dirs" || eval "mkdir $as_dirs"
20076
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20077
echo "$as_me: error: cannot create directory $as_dir" >&2;}
20078
{ (exit 1); exit 1; }; }; }
20082
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20084
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20085
# A ".." for each directory in $ac_dir_suffix.
20086
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20087
case $ac_top_builddir_sub in
20088
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20089
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20092
ac_abs_top_builddir=$ac_pwd
20093
ac_abs_builddir=$ac_pwd$ac_dir_suffix
20094
# for backward compatibility:
20095
ac_top_builddir=$ac_top_build_prefix
20098
.) # We are building in place.
20100
ac_top_srcdir=$ac_top_builddir_sub
20101
ac_abs_top_srcdir=$ac_pwd ;;
20102
[\\/]* | ?:[\\/]* ) # Absolute name.
20103
ac_srcdir=$srcdir$ac_dir_suffix;
20104
ac_top_srcdir=$srcdir
20105
ac_abs_top_srcdir=$srcdir ;;
20106
*) # Relative name.
20107
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20108
ac_top_srcdir=$ac_top_build_prefix$srcdir
20109
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20111
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20121
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20122
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20124
ac_MKDIR_P=$MKDIR_P
20126
[\\/$]* | ?:[\\/]* ) ;;
20127
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20131
cat >>$CONFIG_STATUS <<\_ACEOF
20132
# If the template does not know about datarootdir, expand it.
20133
# FIXME: This hack should be removed a few years after 2.60.
20134
ac_datarootdir_hack=; ac_datarootdir_seen=
20136
case `sed -n '/datarootdir/ {
20145
' $ac_file_inputs` in
20146
*datarootdir*) ac_datarootdir_seen=yes;;
20147
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20148
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20149
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20151
cat >>$CONFIG_STATUS <<_ACEOF
20152
ac_datarootdir_hack='
20153
s&@datadir@&$datadir&g
20154
s&@docdir@&$docdir&g
20155
s&@infodir@&$infodir&g
20156
s&@localedir@&$localedir&g
20157
s&@mandir@&$mandir&g
20158
s&\\\${datarootdir}&$datarootdir&g' ;;
20162
# Neutralize VPATH when `$srcdir' = `.'.
20163
# Shell code in configure.ac might set extrasub.
20164
# FIXME: do we really want to maintain this feature?
20165
cat >>$CONFIG_STATUS <<_ACEOF
20169
cat >>$CONFIG_STATUS <<\_ACEOF
20171
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20172
s&@configure_input@&$configure_input&;t t
20173
s&@top_builddir@&$ac_top_builddir_sub&;t t
20174
s&@srcdir@&$ac_srcdir&;t t
20175
s&@abs_srcdir@&$ac_abs_srcdir&;t t
20176
s&@top_srcdir@&$ac_top_srcdir&;t t
20177
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20178
s&@builddir@&$ac_builddir&;t t
20179
s&@abs_builddir@&$ac_abs_builddir&;t t
20180
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20181
s&@INSTALL@&$ac_INSTALL&;t t
20182
s&@MKDIR_P@&$ac_MKDIR_P&;t t
20183
$ac_datarootdir_hack
20184
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
20186
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20187
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
20188
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
20189
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20190
which seems to be undefined. Please make sure it is defined." >&5
20191
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20192
which seems to be undefined. Please make sure it is defined." >&2;}
20196
-) cat "$tmp/out"; rm -f "$tmp/out";;
20197
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
20206
# Transform confdefs.h into a sed script `conftest.defines', that
20207
# substitutes the proper values into config.h.in to produce config.h.
20208
rm -f conftest.defines conftest.tail
20209
# First, append a space to every undef/define line, to ease matching.
20210
echo 's/$/ /' >conftest.defines
20211
# Then, protect against being on the right side of a sed subst, or in
20212
# an unquoted here document, in config.status. If some macros were
20213
# called several times there might be several #defines for the same
20214
# symbol, which is useless. But do not sort them, since the last
20215
# AC_DEFINE must be honored.
20216
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20217
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
20218
# NAME is the cpp macro being defined, VALUE is the value it is being given.
20219
# PARAMS is the parameter list in the macro definition--in most cases, it's
20220
# just an empty string.
20221
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
20222
ac_dB='\\)[ (].*,\\1define\\2'
20230
s/^[ ]*#[ ]*define[ ][ ]*//
20235
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
20236
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
20237
' >>conftest.defines
20239
# Remove the space that was appended to ease matching.
20240
# Then replace #undef with comments. This is necessary, for
20241
# example, in the case of _POSIX_SOURCE, which is predefined and required
20242
# on some systems where configure will not decide to define it.
20243
# (The regexp can be short, since the line contains either #define or #undef.)
20245
s,^[ #]*u.*,/* & */,' >>conftest.defines
20247
# Break up conftest.defines:
20248
ac_max_sed_lines=50
20250
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
20251
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
20252
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
20254
ac_in='$ac_file_inputs'
20255
ac_out='"$tmp/out1"'
20256
ac_nxt='"$tmp/out2"'
20260
# Write a here document:
20261
cat >>$CONFIG_STATUS <<_ACEOF
20262
# First, check the format of the line:
20263
cat >"\$tmp/defines.sed" <<\\CEOF
20264
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
20265
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
20269
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
20271
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
20272
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
20273
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
20274
grep . conftest.tail >/dev/null || break
20275
rm -f conftest.defines
20276
mv conftest.tail conftest.defines
20278
rm -f conftest.defines conftest.tail
20280
echo "ac_result=$ac_in" >>$CONFIG_STATUS
20281
cat >>$CONFIG_STATUS <<\_ACEOF
20282
if test x"$ac_file" != x-; then
20283
echo "/* $configure_input */" >"$tmp/config.h"
20284
cat "$ac_result" >>"$tmp/config.h"
20285
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
20286
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20287
echo "$as_me: $ac_file is unchanged" >&6;}
20290
mv "$tmp/config.h" $ac_file
20293
echo "/* $configure_input */"
20297
# Compute $ac_file's index in $config_headers.
20300
for _am_header in $config_headers :; do
20301
case $_am_header in
20302
$_am_arg | $_am_arg:* )
20305
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
20308
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20309
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20310
X"$_am_arg" : 'X\(//\)[^/]' \| \
20311
X"$_am_arg" : 'X\(//\)$' \| \
20312
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20314
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20318
/^X\(\/\/\)[^/].*/{
20330
s/.*/./; q'`/stamp-h$_am_stamp_count
20333
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
20334
echo "$as_me: executing $ac_file commands" >&6;}
20339
case $ac_file$ac_mode in
20340
"tests/atconfig":C) cat >tests/atconfig <<ATEOF
20341
# Configurable variable values for building test suites.
20343
# Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
20345
# The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
20347
abs_builddir='$ac_abs_builddir'
20348
at_srcdir='$ac_srcdir'
20349
abs_srcdir='$ac_abs_srcdir'
20350
at_top_srcdir='$ac_top_srcdir'
20351
abs_top_srcdir='$ac_abs_top_srcdir'
20352
at_top_build_prefix='$ac_top_build_prefix'
20353
abs_top_builddir='$ac_abs_top_builddir'
20355
# Backward compatibility with Autotest <= 2.59b:
20356
at_top_builddir=\$at_top_build_prefix
20358
AUTOTEST_PATH='tests'
20360
SHELL=\${CONFIG_SHELL-'$SHELL'}
20363
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
20364
# Strip MF so we end up with the name of the file.
20365
mf=`echo "$mf" | sed -e 's/:.*$//'`
20366
# Check whether this is an Automake generated Makefile or not.
20367
# We used to match only the files named `Makefile.in', but
20368
# some people rename them; so instead we look at the file content.
20369
# Grep'ing the first line is not enough: some people post-process
20370
# each Makefile.in and add a new line on top of each file to say so.
20371
# Grep'ing the whole file is not good either: AIX grep has a line
20372
# limit of 2048, but all sed's we know have understand at least 4000.
20373
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20374
dirpart=`$as_dirname -- "$mf" ||
20375
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20376
X"$mf" : 'X\(//\)[^/]' \| \
20377
X"$mf" : 'X\(//\)$' \| \
20378
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20380
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20384
/^X\(\/\/\)[^/].*/{
20400
# Extract the definition of DEPDIR, am__include, and am__quote
20401
# from the Makefile without running `make'.
20402
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20403
test -z "$DEPDIR" && continue
20404
am__include=`sed -n 's/^am__include = //p' < "$mf"`
20405
test -z "am__include" && continue
20406
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20407
# When using ansi2knr, U may be empty or an underscore; expand it
20408
U=`sed -n 's/^U = //p' < "$mf"`
20409
# Find all dependency output files, they are included files with
20410
# $(DEPDIR) in their names. We invoke sed twice because it is the
20411
# simplest approach to changing $(DEPDIR) to its actual value in the
20413
for file in `sed -n "
20414
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20415
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20416
# Make sure the directory exists.
20417
test -f "$dirpart/$file" && continue
20418
fdir=`$as_dirname -- "$file" ||
20419
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20420
X"$file" : 'X\(//\)[^/]' \| \
20421
X"$file" : 'X\(//\)$' \| \
20422
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20424
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20428
/^X\(\/\/\)[^/].*/{
20441
{ as_dir=$dirpart/$fdir
20443
-*) as_dir=./$as_dir;;
20445
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20449
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20450
*) as_qdir=$as_dir;;
20452
as_dirs="'$as_qdir' $as_dirs"
20453
as_dir=`$as_dirname -- "$as_dir" ||
20454
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20455
X"$as_dir" : 'X\(//\)[^/]' \| \
20456
X"$as_dir" : 'X\(//\)$' \| \
20457
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20459
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20463
/^X\(\/\/\)[^/].*/{
20476
test -d "$as_dir" && break
20478
test -z "$as_dirs" || eval "mkdir $as_dirs"
20479
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20480
echo "$as_me: error: cannot create directory $as_dir" >&2;}
20481
{ (exit 1); exit 1; }; }; }
20482
# echo "creating $dirpart/$file"
20483
echo '# dummy' > "$dirpart/$file"
20489
# See if we are running on zsh, and set the options which allow our
20490
# commands through without removal of \ escapes.
20491
if test -n "${ZSH_VERSION+set}" ; then
20492
setopt NO_GLOB_SUBST
20495
cfgfile="${ofile}T"
20496
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20499
cat <<_LT_EOF >> "$cfgfile"
20502
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20503
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20504
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20505
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20507
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20508
# 2006, 2007, 2008 Free Software Foundation, Inc.
20509
# Written by Gordon Matzigkeit, 1996
20511
# This file is part of GNU Libtool.
20513
# GNU Libtool is free software; you can redistribute it and/or
20514
# modify it under the terms of the GNU General Public License as
20515
# published by the Free Software Foundation; either version 2 of
20516
# the License, or (at your option) any later version.
20518
# As a special exception to the GNU General Public License,
20519
# if you distribute this file as part of a program or library that
20520
# is built using GNU Libtool, you may include this file under the
20521
# same distribution terms that you use for the rest of that program.
20523
# GNU Libtool is distributed in the hope that it will be useful,
20524
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20525
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20526
# GNU General Public License for more details.
20528
# You should have received a copy of the GNU General Public License
20529
# along with GNU Libtool; see the file COPYING. If not, a copy
20530
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20531
# obtained by writing to the Free Software Foundation, Inc.,
20532
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20535
# The names of the tagged configurations supported by this script.
20536
available_tags="CXX "
20538
# ### BEGIN LIBTOOL CONFIG
20540
# Assembler program.
20543
# DLL creation program.
20546
# Object dumper program.
20549
# Which release of libtool.m4 was used?
20550
macro_version=$macro_version
20551
macro_revision=$macro_revision
20553
# Whether or not to build shared libraries.
20554
build_libtool_libs=$enable_shared
20556
# Whether or not to build static libraries.
20557
build_old_libs=$enable_static
20559
# What type of objects to build.
20562
# Whether or not to optimize for fast installation.
20563
fast_install=$enable_fast_install
20566
host_alias=$host_alias
20570
# The build system.
20571
build_alias=$build_alias
20575
# A sed program that does not truncate output.
20578
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20579
Xsed="\$SED -e 1s/^X//"
20581
# A grep program that handles long lines.
20587
# A literal string matcher.
20590
# A BSD- or MS-compatible name lister.
20593
# Whether we need soft or hard links.
20596
# What is the maximum length of a command?
20597
max_cmd_len=$max_cmd_len
20599
# Object file suffix (normally "o").
20602
# Executable file suffix (normally "").
20605
# whether the shell understands "unset".
20608
# turn spaces into newlines.
20611
# turn newlines into spaces.
20614
# How to create reloadable object files.
20615
reload_flag=$lt_reload_flag
20616
reload_cmds=$lt_reload_cmds
20618
# Method to check whether dependent libraries are shared objects.
20619
deplibs_check_method=$lt_deplibs_check_method
20621
# Command to use when deplibs_check_method == "file_magic".
20622
file_magic_cmd=$lt_file_magic_cmd
20626
AR_FLAGS=$lt_AR_FLAGS
20628
# A symbol stripping program.
20631
# Commands used to install an old-style archive.
20633
old_postinstall_cmds=$lt_old_postinstall_cmds
20634
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20639
# LTCC compiler flags.
20640
LTCFLAGS=$lt_CFLAGS
20642
# Take the output of nm and produce a listing of raw symbols and C names.
20643
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20645
# Transform the output of nm in a proper C declaration.
20646
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20648
# Transform the output of nm in a C name address pair.
20649
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20651
# Transform the output of nm in a C name address pair when lib prefix is needed.
20652
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20654
# The name of the directory that contains temporary libtool files.
20657
# Shell to use when invoking shell scripts.
20660
# An echo program that does not interpret backslashes.
20663
# Used to examine libraries when file_magic_cmd begins with "file".
20664
MAGIC_CMD=$MAGIC_CMD
20666
# Must we lock files when doing compilation?
20667
need_locks=$lt_need_locks
20669
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20670
DSYMUTIL=$lt_DSYMUTIL
20672
# Tool to change global to local symbols on Mac OS X.
20675
# Tool to manipulate fat objects and archives on Mac OS X.
20678
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
20681
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20682
OTOOL64=$lt_OTOOL64
20684
# Old archive suffix (normally "a").
20687
# Shared library suffix (normally ".so").
20688
shrext_cmds=$lt_shrext_cmds
20690
# The commands to extract the exported symbol list from a shared archive.
20691
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20693
# Variables whose values should be saved in libtool wrapper scripts and
20694
# restored at link time.
20695
variables_saved_for_relink=$lt_variables_saved_for_relink
20697
# Do we need the "lib" prefix for modules?
20698
need_lib_prefix=$need_lib_prefix
20700
# Do we need a version for libraries?
20701
need_version=$need_version
20703
# Library versioning type.
20704
version_type=$version_type
20706
# Shared library runtime path variable.
20707
runpath_var=$runpath_var
20709
# Shared library path variable.
20710
shlibpath_var=$shlibpath_var
20712
# Is shlibpath searched before the hard-coded library search path?
20713
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20715
# Format of library name prefix.
20716
libname_spec=$lt_libname_spec
20718
# List of archive names. First name is the real one, the rest are links.
20719
# The last name is the one that the linker finds with -lNAME
20720
library_names_spec=$lt_library_names_spec
20722
# The coded name of the library, if different from the real name.
20723
soname_spec=$lt_soname_spec
20725
# Command to use after installation of a shared archive.
20726
postinstall_cmds=$lt_postinstall_cmds
20728
# Command to use after uninstallation of a shared archive.
20729
postuninstall_cmds=$lt_postuninstall_cmds
20731
# Commands used to finish a libtool library installation in a directory.
20732
finish_cmds=$lt_finish_cmds
20734
# As "finish_cmds", except a single script fragment to be evaled but
20736
finish_eval=$lt_finish_eval
20738
# Whether we should hardcode library paths into libraries.
20739
hardcode_into_libs=$hardcode_into_libs
20741
# Compile-time system search path for libraries.
20742
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20744
# Run-time system search path for libraries.
20745
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20747
# Whether dlopen is supported.
20748
dlopen_support=$enable_dlopen
20750
# Whether dlopen of programs is supported.
20751
dlopen_self=$enable_dlopen_self
20753
# Whether dlopen of statically linked programs is supported.
20754
dlopen_self_static=$enable_dlopen_self_static
20756
# Commands to strip libraries.
20757
old_striplib=$lt_old_striplib
20758
striplib=$lt_striplib
20761
# The linker used to build libraries.
20764
# Commands used to build an old-style archive.
20765
old_archive_cmds=$lt_old_archive_cmds
20767
# A language specific compiler.
20770
# Is the compiler the GNU compiler?
20773
# Compiler flag to turn off builtin functions.
20774
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20776
# How to pass a linker flag through the compiler.
20777
wl=$lt_lt_prog_compiler_wl
20779
# Additional compiler flags for building library objects.
20780
pic_flag=$lt_lt_prog_compiler_pic
20782
# Compiler flag to prevent dynamic linking.
20783
link_static_flag=$lt_lt_prog_compiler_static
20785
# Does compiler simultaneously support -c and -o options?
20786
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20788
# Whether or not to add -lc for building shared libraries.
20789
build_libtool_need_lc=$archive_cmds_need_lc
20791
# Whether or not to disallow shared libs when runtime libs are static.
20792
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20794
# Compiler flag to allow reflexive dlopens.
20795
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20797
# Compiler flag to generate shared objects directly from archives.
20798
whole_archive_flag_spec=$lt_whole_archive_flag_spec
20800
# Whether the compiler copes with passing no objects directly.
20801
compiler_needs_object=$lt_compiler_needs_object
20803
# Create an old-style archive from a shared archive.
20804
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20806
# Create a temporary old-style archive to link instead of a shared archive.
20807
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20809
# Commands used to build a shared archive.
20810
archive_cmds=$lt_archive_cmds
20811
archive_expsym_cmds=$lt_archive_expsym_cmds
20813
# Commands used to build a loadable module if different from building
20814
# a shared archive.
20815
module_cmds=$lt_module_cmds
20816
module_expsym_cmds=$lt_module_expsym_cmds
20818
# Whether we are building with GNU ld or not.
20819
with_gnu_ld=$lt_with_gnu_ld
20821
# Flag that allows shared libraries with undefined symbols to be built.
20822
allow_undefined_flag=$lt_allow_undefined_flag
20824
# Flag that enforces no undefined symbols.
20825
no_undefined_flag=$lt_no_undefined_flag
20827
# Flag to hardcode \$libdir into a binary during linking.
20828
# This must work even if \$libdir does not exist
20829
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20831
# If ld is used when linking, flag to hardcode \$libdir into a binary
20832
# during linking. This must work even if \$libdir does not exist.
20833
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20835
# Whether we need a single "-rpath" flag with a separated argument.
20836
hardcode_libdir_separator=$lt_hardcode_libdir_separator
20838
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20839
# DIR into the resulting binary.
20840
hardcode_direct=$hardcode_direct
20842
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20843
# DIR into the resulting binary and the resulting library dependency is
20844
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20845
# library is relocated.
20846
hardcode_direct_absolute=$hardcode_direct_absolute
20848
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20849
# into the resulting binary.
20850
hardcode_minus_L=$hardcode_minus_L
20852
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20853
# into the resulting binary.
20854
hardcode_shlibpath_var=$hardcode_shlibpath_var
20856
# Set to "yes" if building a shared library automatically hardcodes DIR
20857
# into the library and all subsequent libraries and executables linked
20859
hardcode_automatic=$hardcode_automatic
20861
# Set to yes if linker adds runtime paths of dependent libraries
20862
# to runtime path list.
20863
inherit_rpath=$inherit_rpath
20865
# Whether libtool must link a program against all its dependency libraries.
20866
link_all_deplibs=$link_all_deplibs
20868
# Fix the shell variable \$srcfile for the compiler.
20869
fix_srcfile_path=$lt_fix_srcfile_path
20871
# Set to "yes" if exported symbols are required.
20872
always_export_symbols=$always_export_symbols
20874
# The commands to list exported symbols.
20875
export_symbols_cmds=$lt_export_symbols_cmds
20877
# Symbols that should not be listed in the preloaded symbols.
20878
exclude_expsyms=$lt_exclude_expsyms
20880
# Symbols that must always be exported.
20881
include_expsyms=$lt_include_expsyms
20883
# Commands necessary for linking programs (against libraries) with templates.
20884
prelink_cmds=$lt_prelink_cmds
20886
# Specify filename containing input files.
20887
file_list_spec=$lt_file_list_spec
20889
# How to hardcode a shared library path into an executable.
20890
hardcode_action=$hardcode_action
20892
# The directories searched by this compiler when creating a shared library.
20893
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20895
# Dependencies to place before and after the objects being linked to
20896
# create a shared library.
20897
predep_objects=$lt_predep_objects
20898
postdep_objects=$lt_postdep_objects
20899
predeps=$lt_predeps
20900
postdeps=$lt_postdeps
20902
# The library search path used internally by the compiler when linking
20903
# a shared library.
20904
compiler_lib_search_path=$lt_compiler_lib_search_path
20906
# ### END LIBTOOL CONFIG
20912
cat <<\_LT_EOF >> "$cfgfile"
20913
# AIX sometimes has problems with the GCC collect2 program. For some
20914
# reason, if we set the COLLECT_NAMES environment variable, the problems
20915
# vanish in a puff of smoke.
20916
if test "X${COLLECT_NAMES+set}" != Xset; then
20918
export COLLECT_NAMES
20925
ltmain="$ac_aux_dir/ltmain.sh"
20928
# We use sed instead of cat because bash on DJGPP gets confused if
20929
# if finds mixed CR/LF and LF-only lines. Since sed operates in
20930
# text mode, it properly converts lines to CR/LF. This bash problem
20931
# is reportedly fixed, but why not run on old versions too?
20932
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20933
|| (rm -f "$cfgfile"; exit 1)
20937
cat << \_LT_EOF >> "$cfgfile"
20939
# func_dirname file append nondir_replacement
20940
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
20941
# otherwise set result to NONDIR_REPLACEMENT.
20945
*/*) func_dirname_result="${1%/*}${2}" ;;
20946
* ) func_dirname_result="${3}" ;;
20950
# func_basename file
20953
func_basename_result="${1##*/}"
20956
# func_dirname_and_basename file append nondir_replacement
20957
# perform func_basename and func_dirname in a single function
20959
# dirname: Compute the dirname of FILE. If nonempty,
20960
# add APPEND to the result, otherwise set result
20961
# to NONDIR_REPLACEMENT.
20962
# value returned in "$func_dirname_result"
20963
# basename: Compute filename of FILE.
20964
# value retuned in "$func_basename_result"
20965
# Implementation must be kept synchronized with func_dirname
20966
# and func_basename. For efficiency, we do not delegate to
20967
# those functions but instead duplicate the functionality here.
20968
func_dirname_and_basename ()
20971
*/*) func_dirname_result="${1%/*}${2}" ;;
20972
* ) func_dirname_result="${3}" ;;
20974
func_basename_result="${1##*/}"
20977
# func_stripname prefix suffix name
20978
# strip PREFIX and SUFFIX off of NAME.
20979
# PREFIX and SUFFIX must not contain globbing or regex special
20980
# characters, hashes, percent signs, but SUFFIX may contain a leading
20981
# dot (in which case that matches only a dot).
20984
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20985
# positional parameters, so assign one to ordinary parameter first.
20986
func_stripname_result=${3}
20987
func_stripname_result=${func_stripname_result#"${1}"}
20988
func_stripname_result=${func_stripname_result%"${2}"}
20994
func_opt_split_opt=${1%%=*}
20995
func_opt_split_arg=${1#*=}
21002
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
21003
*) func_lo2o_result=${1} ;;
21007
# func_xform libobj-or-source
21010
func_xform_result=${1%.*}.lo
21013
# func_arith arithmetic-term...
21016
func_arith_result=$(( $* ))
21020
# STRING may not start with a hyphen.
21023
func_len_result=${#1}
21028
*) # Bourne compatible functions.
21029
cat << \_LT_EOF >> "$cfgfile"
21031
# func_dirname file append nondir_replacement
21032
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
21033
# otherwise set result to NONDIR_REPLACEMENT.
21036
# Extract subdirectory from the argument.
21037
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
21038
if test "X$func_dirname_result" = "X${1}"; then
21039
func_dirname_result="${3}"
21041
func_dirname_result="$func_dirname_result${2}"
21045
# func_basename file
21048
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
21052
# func_stripname prefix suffix name
21053
# strip PREFIX and SUFFIX off of NAME.
21054
# PREFIX and SUFFIX must not contain globbing or regex special
21055
# characters, hashes, percent signs, but SUFFIX may contain a leading
21056
# dot (in which case that matches only a dot).
21057
# func_strip_suffix prefix name
21061
.*) func_stripname_result=`$ECHO "X${3}" \
21062
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
21063
*) func_stripname_result=`$ECHO "X${3}" \
21064
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
21069
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
21070
my_sed_long_arg='1s/^-[^=]*=//'
21075
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
21076
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
21082
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
21085
# func_xform libobj-or-source
21088
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
21091
# func_arith arithmetic-term...
21094
func_arith_result=`expr "$@"`
21098
# STRING may not start with a hyphen.
21101
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
21107
case $lt_shell_append in
21109
cat << \_LT_EOF >> "$cfgfile"
21111
# func_append var value
21112
# Append VALUE to the end of shell variable VAR.
21120
cat << \_LT_EOF >> "$cfgfile"
21122
# func_append var value
21123
# Append VALUE to the end of shell variable VAR.
21134
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
21135
|| (rm -f "$cfgfile"; exit 1)
21137
mv -f "$cfgfile" "$ofile" ||
21138
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21142
cat <<_LT_EOF >> "$ofile"
21144
# ### BEGIN LIBTOOL TAG CONFIG: CXX
21146
# The linker used to build libraries.
21149
# Commands used to build an old-style archive.
21150
old_archive_cmds=$lt_old_archive_cmds_CXX
21152
# A language specific compiler.
21153
CC=$lt_compiler_CXX
21155
# Is the compiler the GNU compiler?
21158
# Compiler flag to turn off builtin functions.
21159
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21161
# How to pass a linker flag through the compiler.
21162
wl=$lt_lt_prog_compiler_wl_CXX
21164
# Additional compiler flags for building library objects.
21165
pic_flag=$lt_lt_prog_compiler_pic_CXX
21167
# Compiler flag to prevent dynamic linking.
21168
link_static_flag=$lt_lt_prog_compiler_static_CXX
21170
# Does compiler simultaneously support -c and -o options?
21171
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21173
# Whether or not to add -lc for building shared libraries.
21174
build_libtool_need_lc=$archive_cmds_need_lc_CXX
21176
# Whether or not to disallow shared libs when runtime libs are static.
21177
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21179
# Compiler flag to allow reflexive dlopens.
21180
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21182
# Compiler flag to generate shared objects directly from archives.
21183
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21185
# Whether the compiler copes with passing no objects directly.
21186
compiler_needs_object=$lt_compiler_needs_object_CXX
21188
# Create an old-style archive from a shared archive.
21189
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21191
# Create a temporary old-style archive to link instead of a shared archive.
21192
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21194
# Commands used to build a shared archive.
21195
archive_cmds=$lt_archive_cmds_CXX
21196
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21198
# Commands used to build a loadable module if different from building
21199
# a shared archive.
21200
module_cmds=$lt_module_cmds_CXX
21201
module_expsym_cmds=$lt_module_expsym_cmds_CXX
21203
# Whether we are building with GNU ld or not.
21204
with_gnu_ld=$lt_with_gnu_ld_CXX
21206
# Flag that allows shared libraries with undefined symbols to be built.
21207
allow_undefined_flag=$lt_allow_undefined_flag_CXX
21209
# Flag that enforces no undefined symbols.
21210
no_undefined_flag=$lt_no_undefined_flag_CXX
21212
# Flag to hardcode \$libdir into a binary during linking.
21213
# This must work even if \$libdir does not exist
21214
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21216
# If ld is used when linking, flag to hardcode \$libdir into a binary
21217
# during linking. This must work even if \$libdir does not exist.
21218
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21220
# Whether we need a single "-rpath" flag with a separated argument.
21221
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21223
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21224
# DIR into the resulting binary.
21225
hardcode_direct=$hardcode_direct_CXX
21227
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21228
# DIR into the resulting binary and the resulting library dependency is
21229
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21230
# library is relocated.
21231
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21233
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21234
# into the resulting binary.
21235
hardcode_minus_L=$hardcode_minus_L_CXX
21237
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21238
# into the resulting binary.
21239
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21241
# Set to "yes" if building a shared library automatically hardcodes DIR
21242
# into the library and all subsequent libraries and executables linked
21244
hardcode_automatic=$hardcode_automatic_CXX
21246
# Set to yes if linker adds runtime paths of dependent libraries
21247
# to runtime path list.
21248
inherit_rpath=$inherit_rpath_CXX
21250
# Whether libtool must link a program against all its dependency libraries.
21251
link_all_deplibs=$link_all_deplibs_CXX
21253
# Fix the shell variable \$srcfile for the compiler.
21254
fix_srcfile_path=$lt_fix_srcfile_path_CXX
21256
# Set to "yes" if exported symbols are required.
21257
always_export_symbols=$always_export_symbols_CXX
21259
# The commands to list exported symbols.
21260
export_symbols_cmds=$lt_export_symbols_cmds_CXX
21262
# Symbols that should not be listed in the preloaded symbols.
21263
exclude_expsyms=$lt_exclude_expsyms_CXX
21265
# Symbols that must always be exported.
21266
include_expsyms=$lt_include_expsyms_CXX
21268
# Commands necessary for linking programs (against libraries) with templates.
21269
prelink_cmds=$lt_prelink_cmds_CXX
21271
# Specify filename containing input files.
21272
file_list_spec=$lt_file_list_spec_CXX
21274
# How to hardcode a shared library path into an executable.
21275
hardcode_action=$hardcode_action_CXX
21277
# The directories searched by this compiler when creating a shared library.
21278
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21280
# Dependencies to place before and after the objects being linked to
21281
# create a shared library.
21282
predep_objects=$lt_predep_objects_CXX
21283
postdep_objects=$lt_postdep_objects_CXX
21284
predeps=$lt_predeps_CXX
21285
postdeps=$lt_postdeps_CXX
21287
# The library search path used internally by the compiler when linking
21288
# a shared library.
21289
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21291
# ### END LIBTOOL TAG CONFIG: CXX
21300
{ (exit 0); exit 0; }
21302
chmod +x $CONFIG_STATUS
21303
ac_clean_files=$ac_clean_files_save
21306
# configure is writing to config.log, and then calls config.status.
21307
# config.status does its own redirection, appending to config.log.
21308
# Unfortunately, on DOS this fails, as config.log is still kept open
21309
# by configure, so config.status won't be able to write to it; its
21310
# output is simply discarded. So we exec the FD to /dev/null,
21311
# effectively closing config.log, so it can be properly (re)opened and
21312
# appended to by config.status. When coming back to configure, we
21313
# need to make the FD available again.
21314
if test "$no_create" != yes; then
21316
ac_config_status_args=
21317
test "$silent" = yes &&
21318
ac_config_status_args="$ac_config_status_args --quiet"
21320
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21322
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
21323
# would make configure fail if this is the last instruction.
21324
$ac_cs_success || { (exit 1); exit 1; }
21328
{ echo "$as_me:$LINENO: result: igraph successfully configured." >&5
21329
echo "${ECHO_T}igraph successfully configured." >&6; }
21330
{ echo "$as_me:$LINENO: result: GraphML format support -- $graphml_support" >&5
21331
echo "${ECHO_T} GraphML format support -- $graphml_support" >&6; }
21332
{ echo "$as_me:$LINENO: result: GMP library support -- $gmp_support" >&5
21333
echo "${ECHO_T} GMP library support -- $gmp_support" >&6; }
21334
{ echo "$as_me:$LINENO: result: Use internal ARPACK -- $internal_arpack" >&5
21335
echo "${ECHO_T} Use internal ARPACK -- $internal_arpack" >&6; }
21336
{ echo "$as_me:$LINENO: result: Use internal LAPACK -- $internal_lapack" >&5
21337
echo "${ECHO_T} Use internal LAPACK -- $internal_lapack" >&6; }
21338
{ echo "$as_me:$LINENO: result: Use internal BLAS -- $internal_blas" >&5
21339
echo "${ECHO_T} Use internal BLAS -- $internal_blas" >&6; }
21340
{ echo "$as_me:$LINENO: result: Debug build -- $debug" >&5
21341
echo "${ECHO_T} Debug build -- $debug" >&6; }
21342
{ echo "$as_me:$LINENO: result: Profiling -- $use_gprof" >&5
21343
echo "${ECHO_T} Profiling -- $use_gprof" >&6; }
21344
{ echo "$as_me:$LINENO: result: Shell interface -- $use_shell" >&5
21345
echo "${ECHO_T} Shell interface -- $use_shell" >&6; }