2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.63.
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization. ##
11
## --------------------- ##
13
# Be more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
23
case `(set -o) 2>/dev/null` in
24
*posix*) set -o posix ;;
33
# Avoid depending upon Character Ranges.
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
as_echo_n='/usr/ucb/echo -n'
55
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
expr "X$arg" : "X\\(.*\\)$as_nl";
61
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
as_echo_n='sh -c $as_echo_n_body as_echo'
69
as_echo='sh -c $as_echo_body as_echo'
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
75
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
# Support unset when possible.
82
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90
# We need space, tab and new line, in precisely that order. Quoting is
91
# there to prevent editors from complaining about space-tab.
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
93
# splitting by setting IFS to empty value.)
96
# Find who we are. Look in the path if we contain no directory separator.
98
*[\\/]* ) as_myself=$0 ;;
99
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103
test -z "$as_dir" && as_dir=.
104
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110
# We did not find ourselves, most probably we were run as `sh COMMAND'
111
# in which case we are not to be found in the path.
112
if test "x$as_myself" = x; then
115
if test ! -f "$as_myself"; then
116
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
{ (exit 1); exit 1; }
120
# Work around bugs in pre-3.0 UWIN ksh.
121
for as_var in ENV MAIL MAILPATH
122
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134
# Required to use basename.
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
test "X`expr 00001 : '.*\(...\)'`" = X001; then
142
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149
# Name of the executable.
150
as_me=`$as_basename -- "$0" ||
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
X"$0" : 'X\(//\)$' \| \
153
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155
sed '/^.*\/\([^/][^/]*\)\/*$/{
173
if test "x$CONFIG_SHELL" = x; then
174
if (eval ":") 2>/dev/null; then
180
if test $as_have_required = yes && (eval ":
190
as_func_ret_success () {
193
as_func_ret_failure () {
198
if as_func_success; then
202
echo as_func_success failed.
205
if as_func_failure; then
207
echo as_func_failure succeeded.
210
if as_func_ret_success; then
214
echo as_func_ret_success failed.
217
if as_func_ret_failure; then
219
echo as_func_ret_failure succeeded.
222
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226
echo positional parameters were not saved.
229
test \$exitcode = 0) || { (exit 1); exit 1; }
234
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
") 2> /dev/null; then
240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
test -z "$as_dir" && as_dir=.
247
for as_base in sh bash ksh sh5; do
248
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255
for as_shell in $as_candidate_shells $SHELL; do
256
# Try only shells that exist, to save several forks.
257
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
{ ("$as_shell") 2> /dev/null <<\_ASEOF
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
# is contrary to our usage. Disable this feature.
264
alias -g '${1+"$@"}'='"$@"'
267
case `(set -o) 2>/dev/null` in
268
*posix*) set -o posix ;;
277
CONFIG_SHELL=$as_shell
279
if { "$as_shell" 2> /dev/null <<\_ASEOF
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
# is contrary to our usage. Disable this feature.
285
alias -g '${1+"$@"}'='"$@"'
288
case `(set -o) 2>/dev/null` in
289
*posix*) set -o posix ;;
305
as_func_ret_success () {
308
as_func_ret_failure () {
313
if as_func_success; then
317
echo as_func_success failed.
320
if as_func_failure; then
322
echo as_func_failure succeeded.
325
if as_func_ret_success; then
329
echo as_func_ret_success failed.
332
if as_func_ret_failure; then
334
echo as_func_ret_failure succeeded.
337
if ( set x; as_func_ret_success y && test x = "$1" ); then
341
echo positional parameters were not saved.
344
test $exitcode = 0) || { (exit 1); exit 1; }
349
test "x$as_lineno_1" != "x$as_lineno_2" &&
350
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361
if test "x$CONFIG_SHELL" != x; then
362
for as_var in BASH_ENV ENV
363
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370
if test $as_have_required = no; then
371
echo This script requires a shell more modern than all the
372
echo shells that I found on your system. Please install a
373
echo modern shell, or manually run the script under such a
374
echo shell if you do have one.
375
{ (exit 1); exit 1; }
385
(eval "as_func_return () {
394
as_func_ret_success () {
397
as_func_ret_failure () {
402
if as_func_success; then
406
echo as_func_success failed.
409
if as_func_failure; then
411
echo as_func_failure succeeded.
414
if as_func_ret_success; then
418
echo as_func_ret_success failed.
421
if as_func_ret_failure; then
423
echo as_func_ret_failure succeeded.
426
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430
echo positional parameters were not saved.
433
test \$exitcode = 0") || {
434
echo No shell found that supports shell functions.
435
echo Please tell bug-autoconf@gnu.org about your system,
436
echo including any error possibly output before this message.
437
echo This can help us improve future autoconf versions.
438
echo Configuration will now proceed without shell functions.
445
test "x$as_lineno_1" != "x$as_lineno_2" &&
446
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
# uniformly replaced by the line number. The first 'sed' inserts a
450
# line-number line after each line using $LINENO; the second 'sed'
451
# does the real work. The second script uses 'N' to pair each
452
# line-number line with the line containing $LINENO, and appends
453
# trailing '-' during substitution so that $LINENO is not a special
455
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
# scripts with optimization help from Paolo Bonzini. Blame Lee
457
# E. McMahon (1931-1989) for sed's syntax. :-)
469
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473
chmod +x "$as_me.lineno" ||
474
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
{ (exit 1); exit 1; }; }
477
# Don't try to exec as it changes $[0], causing all sort of problems
478
# (the dirname of $[0] is not the place where we might find the
479
# original and so on. Autoconf is especially sensitive to this).
481
# Exit status is that of the last command.
486
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492
ECHO_C= ECHO_N= ECHO_T=
496
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
503
test "X`expr 00001 : '.*\(...\)'`" = X001; then
509
rm -f conf$$ conf$$.exe conf$$.file
510
if test -d conf$$.dir; then
511
rm -f conf$$.dir/conf$$.file
514
mkdir conf$$.dir 2>/dev/null
516
if (echo >conf$$.file) 2>/dev/null; then
517
if ln -s conf$$.file conf$$ 2>/dev/null; then
519
# ... but there are two gotchas:
520
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522
# In both cases, we have to default to `cp -p'.
523
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525
elif ln conf$$.file conf$$ 2>/dev/null; then
533
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534
rmdir conf$$.dir 2>/dev/null
536
if mkdir -p . 2>/dev/null; then
539
test -d ./-p && rmdir ./-p
543
if test -x / >/dev/null 2>&1; then
546
if ls -dL / >/dev/null 2>&1; then
553
if test -d "$1"; then
559
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560
???[sx]*):;;*)false;;esac;fi
564
as_executable_p=$as_test_x
566
# Sed expression to map a string onto a valid CPP name.
567
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569
# Sed expression to map a string onto a valid variable name.
570
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575
# Check that we are running under the correct shell.
576
SHELL=${CONFIG_SHELL-/bin/sh}
580
# Remove one level of quotation (which was required for Make).
581
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
586
if test "X$1" = X--no-reexec; then
587
# Discard the --no-reexec flag, and continue.
589
elif test "X$1" = X--fallback-echo; then
590
# Avoid inline document here, it may be left over
592
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593
# Yippee, $ECHO works!
596
# Restart under the correct shell.
597
exec $SHELL "$0" --no-reexec ${1+"$@"}
600
if test "X$1" = X--fallback-echo; then
601
# used as fallback echo
609
# The HP-UX ksh and POSIX shell print the target directory to stdout
611
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
613
if test -z "$lt_ECHO"; then
614
if test "X${echo_test_string+set}" != Xset; then
615
# find a string as large as possible, as long as the shell can cope with it
616
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
619
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
626
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
test "X$echo_testing_string" = "X$echo_test_string"; then
631
# The Solaris, AIX, and Digital Unix default echo programs unquote
632
# backslashes. This makes it impossible to quote backslashes using
633
# echo "$something" | sed 's/\\/\\\\/g'
635
# So, first we look for a working echo in the user's PATH.
637
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
638
for dir in $PATH /usr/ucb; do
640
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
641
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
650
if test "X$ECHO" = Xecho; then
651
# We didn't find a better echo, so look for alternatives.
652
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654
test "X$echo_testing_string" = "X$echo_test_string"; then
655
# This shell has a builtin print -r that does the trick.
657
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
658
test "X$CONFIG_SHELL" != X/bin/ksh; then
659
# If we have ksh, try running configure again with it.
660
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
661
export ORIGINAL_CONFIG_SHELL
662
CONFIG_SHELL=/bin/ksh
664
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670
test "X$echo_testing_string" = "X$echo_test_string"; then
673
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674
test "X$echo_testing_string" = 'X\t' &&
675
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676
test "X$echo_testing_string" = "X$echo_test_string"; then
677
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
679
SHELL="$CONFIG_SHELL"
681
ECHO="$CONFIG_SHELL $0 --fallback-echo"
682
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683
test "X$echo_testing_string" = 'X\t' &&
684
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685
test "X$echo_testing_string" = "X$echo_test_string"; then
686
ECHO="$CONFIG_SHELL $0 --fallback-echo"
688
# maybe with a smaller string...
691
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
699
if test "$prev" != 'sed 50q "$0"'; then
700
echo_test_string=`eval $prev`
701
export echo_test_string
702
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
704
# Oops. We lost completely, so just stick with echo.
713
# Copy echo and quote the copy suitably for passing to libtool from
714
# the Makefile, instead of quoting the original, which is used later.
716
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
723
exec 7<&0 </dev/null 6>&1
726
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
727
# so uname gets run too.
728
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
733
ac_default_prefix=/usr/local
735
ac_config_libobj_dir=.
741
SHELL=${CONFIG_SHELL-/bin/sh}
743
# Identity of this package.
750
ac_unique_file="configure.in"
751
# Factoring default headers for most tests.
752
ac_includes_default="\
754
#ifdef HAVE_SYS_TYPES_H
755
# include <sys/types.h>
757
#ifdef HAVE_SYS_STAT_H
758
# include <sys/stat.h>
764
# ifdef HAVE_STDLIB_H
769
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
774
#ifdef HAVE_STRINGS_H
775
# include <strings.h>
777
#ifdef HAVE_INTTYPES_H
778
# include <inttypes.h>
787
ac_subst_vars='LTLIBOBJS
842
INSTALL_STRIP_PROGRAM
884
program_transform_name
896
enable_option_checking
897
enable_dependency_tracking
905
ac_precious_vars='build_alias
916
# Initialize some variables set by options.
918
ac_init_version=false
919
ac_unrecognized_opts=
921
# The variables have the same names as the options, with
922
# dashes changed to underlines.
930
program_transform_name=s,x,x,
938
# Installation directory options.
939
# These are left unexpanded so users can "make install exec_prefix=/foo"
940
# and all the variables that are supposed to be based on exec_prefix
941
# by default will actually change.
942
# Use braces instead of parens because sh, perl, etc. also accept them.
943
# (The list follows the same order as the GNU Coding Standards.)
944
bindir='${exec_prefix}/bin'
945
sbindir='${exec_prefix}/sbin'
946
libexecdir='${exec_prefix}/libexec'
947
datarootdir='${prefix}/share'
948
datadir='${datarootdir}'
949
sysconfdir='${prefix}/etc'
950
sharedstatedir='${prefix}/com'
951
localstatedir='${prefix}/var'
952
includedir='${prefix}/include'
953
oldincludedir='/usr/include'
954
docdir='${datarootdir}/doc/${PACKAGE}'
955
infodir='${datarootdir}/info'
960
libdir='${exec_prefix}/lib'
961
localedir='${datarootdir}/locale'
962
mandir='${datarootdir}/man'
968
# If the previous option needs an argument, assign it.
969
if test -n "$ac_prev"; then
970
eval $ac_prev=\$ac_option
976
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
980
# Accept the important Cygnus configure options, so we can diagnose typos.
982
case $ac_dashdash$ac_option in
986
-bindir | --bindir | --bindi | --bind | --bin | --bi)
988
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
991
-build | --build | --buil | --bui | --bu)
992
ac_prev=build_alias ;;
993
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
994
build_alias=$ac_optarg ;;
996
-cache-file | --cache-file | --cache-fil | --cache-fi \
997
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
998
ac_prev=cache_file ;;
999
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1000
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1001
cache_file=$ac_optarg ;;
1003
--config-cache | -C)
1004
cache_file=config.cache ;;
1006
-datadir | --datadir | --datadi | --datad)
1008
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1009
datadir=$ac_optarg ;;
1011
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1012
| --dataroo | --dataro | --datar)
1013
ac_prev=datarootdir ;;
1014
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1015
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1016
datarootdir=$ac_optarg ;;
1018
-disable-* | --disable-*)
1019
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1020
# Reject names that are not valid shell variable names.
1021
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1023
{ (exit 1); exit 1; }; }
1024
ac_useropt_orig=$ac_useropt
1025
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026
case $ac_user_opts in
1028
"enable_$ac_useropt"
1030
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1031
ac_unrecognized_sep=', ';;
1033
eval enable_$ac_useropt=no ;;
1035
-docdir | --docdir | --docdi | --doc | --do)
1037
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1038
docdir=$ac_optarg ;;
1040
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1042
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1043
dvidir=$ac_optarg ;;
1045
-enable-* | --enable-*)
1046
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1047
# Reject names that are not valid shell variable names.
1048
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1050
{ (exit 1); exit 1; }; }
1051
ac_useropt_orig=$ac_useropt
1052
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1053
case $ac_user_opts in
1055
"enable_$ac_useropt"
1057
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1058
ac_unrecognized_sep=', ';;
1060
eval enable_$ac_useropt=\$ac_optarg ;;
1062
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1063
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1064
| --exec | --exe | --ex)
1065
ac_prev=exec_prefix ;;
1066
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1067
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1068
| --exec=* | --exe=* | --ex=*)
1069
exec_prefix=$ac_optarg ;;
1071
-gas | --gas | --ga | --g)
1072
# Obsolete; use --with-gas.
1075
-help | --help | --hel | --he | -h)
1076
ac_init_help=long ;;
1077
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1078
ac_init_help=recursive ;;
1079
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1080
ac_init_help=short ;;
1082
-host | --host | --hos | --ho)
1083
ac_prev=host_alias ;;
1084
-host=* | --host=* | --hos=* | --ho=*)
1085
host_alias=$ac_optarg ;;
1087
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1089
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1091
htmldir=$ac_optarg ;;
1093
-includedir | --includedir | --includedi | --included | --include \
1094
| --includ | --inclu | --incl | --inc)
1095
ac_prev=includedir ;;
1096
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1097
| --includ=* | --inclu=* | --incl=* | --inc=*)
1098
includedir=$ac_optarg ;;
1100
-infodir | --infodir | --infodi | --infod | --info | --inf)
1102
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1103
infodir=$ac_optarg ;;
1105
-libdir | --libdir | --libdi | --libd)
1107
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1108
libdir=$ac_optarg ;;
1110
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1111
| --libexe | --libex | --libe)
1112
ac_prev=libexecdir ;;
1113
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1114
| --libexe=* | --libex=* | --libe=*)
1115
libexecdir=$ac_optarg ;;
1117
-localedir | --localedir | --localedi | --localed | --locale)
1118
ac_prev=localedir ;;
1119
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1120
localedir=$ac_optarg ;;
1122
-localstatedir | --localstatedir | --localstatedi | --localstated \
1123
| --localstate | --localstat | --localsta | --localst | --locals)
1124
ac_prev=localstatedir ;;
1125
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1126
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1127
localstatedir=$ac_optarg ;;
1129
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1131
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1132
mandir=$ac_optarg ;;
1134
-nfp | --nfp | --nf)
1135
# Obsolete; use --without-fp.
1138
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1139
| --no-cr | --no-c | -n)
1142
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1143
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1146
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1147
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1148
| --oldin | --oldi | --old | --ol | --o)
1149
ac_prev=oldincludedir ;;
1150
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1151
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1152
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1153
oldincludedir=$ac_optarg ;;
1155
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1157
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1158
prefix=$ac_optarg ;;
1160
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1161
| --program-pre | --program-pr | --program-p)
1162
ac_prev=program_prefix ;;
1163
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1164
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1165
program_prefix=$ac_optarg ;;
1167
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1168
| --program-suf | --program-su | --program-s)
1169
ac_prev=program_suffix ;;
1170
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1171
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1172
program_suffix=$ac_optarg ;;
1174
-program-transform-name | --program-transform-name \
1175
| --program-transform-nam | --program-transform-na \
1176
| --program-transform-n | --program-transform- \
1177
| --program-transform | --program-transfor \
1178
| --program-transfo | --program-transf \
1179
| --program-trans | --program-tran \
1180
| --progr-tra | --program-tr | --program-t)
1181
ac_prev=program_transform_name ;;
1182
-program-transform-name=* | --program-transform-name=* \
1183
| --program-transform-nam=* | --program-transform-na=* \
1184
| --program-transform-n=* | --program-transform-=* \
1185
| --program-transform=* | --program-transfor=* \
1186
| --program-transfo=* | --program-transf=* \
1187
| --program-trans=* | --program-tran=* \
1188
| --progr-tra=* | --program-tr=* | --program-t=*)
1189
program_transform_name=$ac_optarg ;;
1191
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1193
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1194
pdfdir=$ac_optarg ;;
1196
-psdir | --psdir | --psdi | --psd | --ps)
1198
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1201
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1202
| -silent | --silent | --silen | --sile | --sil)
1205
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1207
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1209
sbindir=$ac_optarg ;;
1211
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1212
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1213
| --sharedst | --shareds | --shared | --share | --shar \
1215
ac_prev=sharedstatedir ;;
1216
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1217
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1218
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1220
sharedstatedir=$ac_optarg ;;
1222
-site | --site | --sit)
1224
-site=* | --site=* | --sit=*)
1227
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1229
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1230
srcdir=$ac_optarg ;;
1232
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1233
| --syscon | --sysco | --sysc | --sys | --sy)
1234
ac_prev=sysconfdir ;;
1235
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1236
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1237
sysconfdir=$ac_optarg ;;
1239
-target | --target | --targe | --targ | --tar | --ta | --t)
1240
ac_prev=target_alias ;;
1241
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1242
target_alias=$ac_optarg ;;
1244
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1247
-version | --version | --versio | --versi | --vers | -V)
1248
ac_init_version=: ;;
1251
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1252
# Reject names that are not valid shell variable names.
1253
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1254
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1255
{ (exit 1); exit 1; }; }
1256
ac_useropt_orig=$ac_useropt
1257
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258
case $ac_user_opts in
1262
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1263
ac_unrecognized_sep=', ';;
1265
eval with_$ac_useropt=\$ac_optarg ;;
1267
-without-* | --without-*)
1268
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1269
# Reject names that are not valid shell variable names.
1270
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1271
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1272
{ (exit 1); exit 1; }; }
1273
ac_useropt_orig=$ac_useropt
1274
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275
case $ac_user_opts in
1279
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1280
ac_unrecognized_sep=', ';;
1282
eval with_$ac_useropt=no ;;
1285
# Obsolete; use --with-x.
1288
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1289
| --x-incl | --x-inc | --x-in | --x-i)
1290
ac_prev=x_includes ;;
1291
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1292
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1293
x_includes=$ac_optarg ;;
1295
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1296
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1297
ac_prev=x_libraries ;;
1298
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1299
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1300
x_libraries=$ac_optarg ;;
1302
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1303
Try \`$0 --help' for more information." >&2
1304
{ (exit 1); exit 1; }; }
1308
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1309
# Reject names that are not valid shell variable names.
1310
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1311
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1312
{ (exit 1); exit 1; }; }
1313
eval $ac_envvar=\$ac_optarg
1314
export $ac_envvar ;;
1317
# FIXME: should be removed in autoconf 3.0.
1318
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1319
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1320
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1321
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1327
if test -n "$ac_prev"; then
1328
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1329
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
1330
{ (exit 1); exit 1; }; }
1333
if test -n "$ac_unrecognized_opts"; then
1334
case $enable_option_checking in
1336
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1337
{ (exit 1); exit 1; }; } ;;
1338
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1342
# Check all directory arguments for consistency.
1343
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1344
datadir sysconfdir sharedstatedir localstatedir includedir \
1345
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1346
libdir localedir mandir
1348
eval ac_val=\$$ac_var
1349
# Remove trailing slashes.
1352
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1353
eval $ac_var=\$ac_val;;
1355
# Be sure to have absolute directory names.
1357
[\\/$]* | ?:[\\/]* ) continue;;
1358
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1360
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1361
{ (exit 1); exit 1; }; }
1364
# There might be people who depend on the old broken behavior: `$host'
1365
# used to hold the argument of --host etc.
1366
# FIXME: To remove some day.
1369
target=$target_alias
1371
# FIXME: To remove some day.
1372
if test "x$host_alias" != x; then
1373
if test "x$build_alias" = x; then
1374
cross_compiling=maybe
1375
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1376
If a cross compiler is detected then cross compile mode will be used." >&2
1377
elif test "x$build_alias" != "x$host_alias"; then
1383
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1385
test "$silent" = yes && exec 6>/dev/null
1388
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1389
ac_ls_di=`ls -di .` &&
1390
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1391
{ $as_echo "$as_me: error: working directory cannot be determined" >&2
1392
{ (exit 1); exit 1; }; }
1393
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1394
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1395
{ (exit 1); exit 1; }; }
1398
# Find the source files, if location was not specified.
1399
if test -z "$srcdir"; then
1400
ac_srcdir_defaulted=yes
1401
# Try the directory containing this script, then the parent directory.
1402
ac_confdir=`$as_dirname -- "$as_myself" ||
1403
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1404
X"$as_myself" : 'X\(//\)[^/]' \| \
1405
X"$as_myself" : 'X\(//\)$' \| \
1406
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1407
$as_echo X"$as_myself" |
1408
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1426
if test ! -r "$srcdir/$ac_unique_file"; then
1430
ac_srcdir_defaulted=no
1432
if test ! -r "$srcdir/$ac_unique_file"; then
1433
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1434
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1435
{ (exit 1); exit 1; }; }
1437
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1439
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1440
{ (exit 1); exit 1; }; }
1442
# When building in place, set srcdir=.
1443
if test "$ac_abs_confdir" = "$ac_pwd"; then
1446
# Remove unnecessary trailing slashes from srcdir.
1447
# Double slashes in file names in object file debugging info
1448
# mess up M-x gdb in Emacs.
1450
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1452
for ac_var in $ac_precious_vars; do
1453
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1454
eval ac_env_${ac_var}_value=\$${ac_var}
1455
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1456
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1460
# Report the --help message.
1462
if test "$ac_init_help" = "long"; then
1463
# Omit some internal or obsolete options to make the list less imposing.
1464
# This message is too long to be a string in the A/UX 3.1 sh.
1466
\`configure' configures this package to adapt to many kinds of systems.
1468
Usage: $0 [OPTION]... [VAR=VALUE]...
1470
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1471
VAR=VALUE. See below for descriptions of some of the useful variables.
1473
Defaults for the options are specified in brackets.
1476
-h, --help display this help and exit
1477
--help=short display options specific to this package
1478
--help=recursive display the short help of all the included packages
1479
-V, --version display version information and exit
1480
-q, --quiet, --silent do not print \`checking...' messages
1481
--cache-file=FILE cache test results in FILE [disabled]
1482
-C, --config-cache alias for \`--cache-file=config.cache'
1483
-n, --no-create do not create output files
1484
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1486
Installation directories:
1487
--prefix=PREFIX install architecture-independent files in PREFIX
1488
[$ac_default_prefix]
1489
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1492
By default, \`make install' will install all the files in
1493
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1494
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1495
for instance \`--prefix=\$HOME'.
1497
For better control, use the options below.
1499
Fine tuning of the installation directories:
1500
--bindir=DIR user executables [EPREFIX/bin]
1501
--sbindir=DIR system admin executables [EPREFIX/sbin]
1502
--libexecdir=DIR program executables [EPREFIX/libexec]
1503
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1504
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1505
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1506
--libdir=DIR object code libraries [EPREFIX/lib]
1507
--includedir=DIR C header files [PREFIX/include]
1508
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1509
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1510
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1511
--infodir=DIR info documentation [DATAROOTDIR/info]
1512
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1513
--mandir=DIR man documentation [DATAROOTDIR/man]
1514
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1515
--htmldir=DIR html documentation [DOCDIR]
1516
--dvidir=DIR dvi documentation [DOCDIR]
1517
--pdfdir=DIR pdf documentation [DOCDIR]
1518
--psdir=DIR ps documentation [DOCDIR]
1524
--program-prefix=PREFIX prepend PREFIX to installed program names
1525
--program-suffix=SUFFIX append SUFFIX to installed program names
1526
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1529
--build=BUILD configure for building on BUILD [guessed]
1530
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1534
if test -n "$ac_init_help"; then
1539
--disable-option-checking ignore unrecognized --enable/--with options
1540
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1541
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1542
--disable-dependency-tracking speeds up one-time build
1543
--enable-dependency-tracking do not reject slow dependency extractors
1544
--enable-shared[=PKGS] build shared libraries [default=yes]
1545
--enable-static[=PKGS] build static libraries [default=yes]
1546
--enable-fast-install[=PKGS]
1547
optimize for fast installation [default=yes]
1548
--disable-libtool-lock avoid locking (might break parallel builds)
1551
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1552
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1553
--with-pic try to use only PIC/non-PIC objects [default=use
1555
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1557
Some influential environment variables:
1558
CC C compiler command
1559
CFLAGS C compiler flags
1560
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1561
nonstandard directory <lib dir>
1562
LIBS libraries to pass to the linker, e.g. -l<library>
1563
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1564
you have headers in a nonstandard directory <include dir>
1567
Use these variables to override the choices made by `configure' or to help
1568
it to find libraries and programs with nonstandard names/locations.
1574
if test "$ac_init_help" = "recursive"; then
1575
# If there are subdirs, report their specific --help.
1576
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1577
test -d "$ac_dir" ||
1578
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1583
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1585
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1586
# A ".." for each directory in $ac_dir_suffix.
1587
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1588
case $ac_top_builddir_sub in
1589
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1593
ac_abs_top_builddir=$ac_pwd
1594
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1595
# for backward compatibility:
1596
ac_top_builddir=$ac_top_build_prefix
1599
.) # We are building in place.
1601
ac_top_srcdir=$ac_top_builddir_sub
1602
ac_abs_top_srcdir=$ac_pwd ;;
1603
[\\/]* | ?:[\\/]* ) # Absolute name.
1604
ac_srcdir=$srcdir$ac_dir_suffix;
1605
ac_top_srcdir=$srcdir
1606
ac_abs_top_srcdir=$srcdir ;;
1608
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1609
ac_top_srcdir=$ac_top_build_prefix$srcdir
1610
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1612
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1614
cd "$ac_dir" || { ac_status=$?; continue; }
1615
# Check for guested configure.
1616
if test -f "$ac_srcdir/configure.gnu"; then
1618
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1619
elif test -f "$ac_srcdir/configure"; then
1621
$SHELL "$ac_srcdir/configure" --help=recursive
1623
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1625
cd "$ac_pwd" || { ac_status=$?; break; }
1629
test -n "$ac_init_help" && exit $ac_status
1630
if $ac_init_version; then
1633
generated by GNU Autoconf 2.63
1635
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1636
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1637
This configure script is free software; the Free Software Foundation
1638
gives unlimited permission to copy, distribute and modify it.
1642
cat >config.log <<_ACEOF
1643
This file contains any messages produced by compilers while
1644
running configure, to aid debugging if configure makes a mistake.
1646
It was created by $as_me, which was
1647
generated by GNU Autoconf 2.63. Invocation command line was
1659
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1660
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1661
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1662
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1663
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1665
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1666
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1668
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1669
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1670
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1671
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1672
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1673
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1674
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1678
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1682
test -z "$as_dir" && as_dir=.
1683
$as_echo "PATH: $as_dir"
1699
# Keep a trace of the command line.
1700
# Strip out --no-create and --no-recursion so they do not pile up.
1701
# Strip out --silent because we don't want to record it for future runs.
1702
# Also quote any args containing shell meta-characters.
1703
# Make two passes to allow for proper duplicate-argument suppression.
1707
ac_must_keep_next=false
1713
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1714
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1715
| -silent | --silent | --silen | --sile | --sil)
1718
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1721
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1723
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1724
if test $ac_must_keep_next = true; then
1725
ac_must_keep_next=false # Got value, back to normal.
1728
*=* | --config-cache | -C | -disable-* | --disable-* \
1729
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1730
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1731
| -with-* | --with-* | -without-* | --without-* | --x)
1732
case "$ac_configure_args0 " in
1733
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1736
-* ) ac_must_keep_next=true ;;
1739
ac_configure_args="$ac_configure_args '$ac_arg'"
1744
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1745
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1747
# When interrupted or exit'd, cleanup temporary files, and complete
1748
# config.log. We remove comments because anyway the quotes in there
1749
# would cause problems or look ugly.
1750
# WARNING: Use '\'' to represent an apostrophe within the trap.
1751
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1752
trap 'exit_status=$?
1753
# Save into config.log some information that might help in debugging.
1758
## ---------------- ##
1759
## Cache variables. ##
1760
## ---------------- ##
1763
# The following way of writing the cache mishandles newlines in values,
1765
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1766
eval ac_val=\$$ac_var
1770
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1771
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1774
_ | IFS | as_nl) ;; #(
1775
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1776
*) $as_unset $ac_var ;;
1781
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1782
*${as_nl}ac_space=\ *)
1784
"s/'\''/'\''\\\\'\'''\''/g;
1785
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1788
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1796
## ----------------- ##
1797
## Output variables. ##
1798
## ----------------- ##
1801
for ac_var in $ac_subst_vars
1803
eval ac_val=\$$ac_var
1805
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1807
$as_echo "$ac_var='\''$ac_val'\''"
1811
if test -n "$ac_subst_files"; then
1813
## ------------------- ##
1814
## File substitutions. ##
1815
## ------------------- ##
1818
for ac_var in $ac_subst_files
1820
eval ac_val=\$$ac_var
1822
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1824
$as_echo "$ac_var='\''$ac_val'\''"
1829
if test -s confdefs.h; then
1839
test "$ac_signal" != 0 &&
1840
$as_echo "$as_me: caught signal $ac_signal"
1841
$as_echo "$as_me: exit $exit_status"
1843
rm -f core *.core core.conftest.* &&
1844
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1847
for ac_signal in 1 2 13 15; do
1848
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1852
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1853
rm -f -r conftest* confdefs.h
1855
# Predefined preprocessor variables.
1857
cat >>confdefs.h <<_ACEOF
1858
#define PACKAGE_NAME "$PACKAGE_NAME"
1862
cat >>confdefs.h <<_ACEOF
1863
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1867
cat >>confdefs.h <<_ACEOF
1868
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1872
cat >>confdefs.h <<_ACEOF
1873
#define PACKAGE_STRING "$PACKAGE_STRING"
1877
cat >>confdefs.h <<_ACEOF
1878
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1882
# Let the site file select an alternate cache file if it wants to.
1883
# Prefer an explicitly selected file to automatically selected ones.
1886
if test -n "$CONFIG_SITE"; then
1887
ac_site_file1=$CONFIG_SITE
1888
elif test "x$prefix" != xNONE; then
1889
ac_site_file1=$prefix/share/config.site
1890
ac_site_file2=$prefix/etc/config.site
1892
ac_site_file1=$ac_default_prefix/share/config.site
1893
ac_site_file2=$ac_default_prefix/etc/config.site
1895
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1897
test "x$ac_site_file" = xNONE && continue
1898
if test -r "$ac_site_file"; then
1899
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1900
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1901
sed 's/^/| /' "$ac_site_file" >&5
1906
if test -r "$cache_file"; then
1907
# Some versions of bash will fail to source /dev/null (special
1908
# files actually), so we avoid doing that.
1909
if test -f "$cache_file"; then
1910
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1911
$as_echo "$as_me: loading cache $cache_file" >&6;}
1913
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1914
*) . "./$cache_file";;
1918
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1919
$as_echo "$as_me: creating cache $cache_file" >&6;}
1923
# Check that the precious variables saved in the cache have kept the same
1925
ac_cache_corrupted=false
1926
for ac_var in $ac_precious_vars; do
1927
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1928
eval ac_new_set=\$ac_env_${ac_var}_set
1929
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1930
eval ac_new_val=\$ac_env_${ac_var}_value
1931
case $ac_old_set,$ac_new_set in
1933
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1934
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1935
ac_cache_corrupted=: ;;
1937
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1938
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1939
ac_cache_corrupted=: ;;
1942
if test "x$ac_old_val" != "x$ac_new_val"; then
1943
# differences in whitespace do not lead to failure.
1944
ac_old_val_w=`echo x $ac_old_val`
1945
ac_new_val_w=`echo x $ac_new_val`
1946
if test "$ac_old_val_w" != "$ac_new_val_w"; then
1947
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1948
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1949
ac_cache_corrupted=:
1951
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1952
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1953
eval $ac_var=\$ac_old_val
1955
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1956
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1957
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1958
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1961
# Pass precious variables to config.status.
1962
if test "$ac_new_set" = set; then
1964
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1965
*) ac_arg=$ac_var=$ac_new_val ;;
1967
case " $ac_configure_args " in
1968
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1969
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1973
if $ac_cache_corrupted; then
1974
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1975
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1976
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1977
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1978
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1979
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1980
{ (exit 1); exit 1; }; }
2000
ac_cpp='$CPP $CPPFLAGS'
2001
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2002
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2003
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2007
for ac_dir in config "$srcdir"/config; do
2008
if test -f "$ac_dir/install-sh"; then
2010
ac_install_sh="$ac_aux_dir/install-sh -c"
2012
elif test -f "$ac_dir/install.sh"; then
2014
ac_install_sh="$ac_aux_dir/install.sh -c"
2016
elif test -f "$ac_dir/shtool"; then
2018
ac_install_sh="$ac_aux_dir/shtool install -c"
2022
if test -z "$ac_aux_dir"; then
2023
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
2024
$as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2025
{ (exit 1); exit 1; }; }
2028
# These three variables are undocumented and unsupported,
2029
# and are intended to be withdrawn in a future Autoconf release.
2030
# They can cause serious problems if a builder's source tree is in a directory
2031
# whose full name contains unusual characters.
2032
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2033
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2034
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2038
ac_config_headers="$ac_config_headers include/config.h"
2040
am__api_version='1.10'
2042
# Find a good install program. We prefer a C program (faster),
2043
# so one script is as good as another. But avoid the broken or
2044
# incompatible versions:
2045
# SysV /etc/install, /usr/sbin/install
2046
# SunOS /usr/etc/install
2047
# IRIX /sbin/install
2049
# AmigaOS /C/install, which installs bootblocks on floppy discs
2050
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2051
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2052
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2053
# OS/2's system install, which has a completely different semantic
2054
# ./install, which can be erroneously created by make from ./install.sh.
2055
# Reject install programs that cannot install multiple files.
2056
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2057
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2058
if test -z "$INSTALL"; then
2059
if test "${ac_cv_path_install+set}" = set; then
2060
$as_echo_n "(cached) " >&6
2062
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066
test -z "$as_dir" && as_dir=.
2067
# Account for people who put trailing slashes in PATH elements.
2069
./ | .// | /cC/* | \
2070
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2071
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2074
# OSF1 and SCO ODT 3.0 have their own names for install.
2075
# Don't use installbsd from OSF since it installs stuff as root
2077
for ac_prog in ginstall scoinst install; do
2078
for ac_exec_ext in '' $ac_executable_extensions; do
2079
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2080
if test $ac_prog = install &&
2081
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2082
# AIX install. It has an incompatible calling convention.
2084
elif test $ac_prog = install &&
2085
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2086
# program-specific install script used by HP pwplus--don't use.
2089
rm -rf conftest.one conftest.two conftest.dir
2090
echo one > conftest.one
2091
echo two > conftest.two
2093
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2094
test -s conftest.one && test -s conftest.two &&
2095
test -s conftest.dir/conftest.one &&
2096
test -s conftest.dir/conftest.two
2098
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2111
rm -rf conftest.one conftest.two conftest.dir
2114
if test "${ac_cv_path_install+set}" = set; then
2115
INSTALL=$ac_cv_path_install
2117
# As a last resort, use the slow shell script. Don't cache a
2118
# value for INSTALL within a source directory, because that will
2119
# break other packages using the cache if that directory is
2120
# removed, or if the value is a relative name.
2121
INSTALL=$ac_install_sh
2124
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2125
$as_echo "$INSTALL" >&6; }
2127
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2128
# It thinks the first close brace ends the variable substitution.
2129
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2131
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2133
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2135
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2136
$as_echo_n "checking whether build environment is sane... " >&6; }
2139
echo timestamp > conftest.file
2140
# Do `set' in a subshell so we don't clobber the current shell's
2141
# arguments. Must try -L first in case configure is actually a
2142
# symlink; some systems play weird games with the mod time of symlinks
2143
# (eg FreeBSD returns the mod time of the symlink's containing
2146
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2147
if test "$*" = "X"; then
2149
set X `ls -t $srcdir/configure conftest.file`
2152
if test "$*" != "X $srcdir/configure conftest.file" \
2153
&& test "$*" != "X conftest.file $srcdir/configure"; then
2155
# If neither matched, then we have a broken ls. This can happen
2156
# if, for instance, CONFIG_SHELL is bash and it inherits a
2157
# broken ls alias from the environment. This has actually
2158
# happened. Such a system could not be considered "sane".
2159
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2160
alias in your environment" >&5
2161
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2162
alias in your environment" >&2;}
2163
{ (exit 1); exit 1; }; }
2166
test "$2" = conftest.file
2172
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2173
Check your system clock" >&5
2174
$as_echo "$as_me: error: newly created file is older than distributed files!
2175
Check your system clock" >&2;}
2176
{ (exit 1); exit 1; }; }
2178
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2179
$as_echo "yes" >&6; }
2180
test "$program_prefix" != NONE &&
2181
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2182
# Use a double $ so make ignores it.
2183
test "$program_suffix" != NONE &&
2184
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2185
# Double any \ or $.
2186
# By default was `s,x,x', remove it if useless.
2187
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2188
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2190
# expand $ac_aux_dir to an absolute path
2191
am_aux_dir=`cd $ac_aux_dir && pwd`
2193
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2194
# Use eval to expand $SHELL
2195
if eval "$MISSING --run true"; then
2196
am_missing_run="$MISSING --run "
2199
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2200
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2203
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2204
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2205
if test -z "$MKDIR_P"; then
2206
if test "${ac_cv_path_mkdir+set}" = set; then
2207
$as_echo_n "(cached) " >&6
2209
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2213
test -z "$as_dir" && as_dir=.
2214
for ac_prog in mkdir gmkdir; do
2215
for ac_exec_ext in '' $ac_executable_extensions; do
2216
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2217
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2218
'mkdir (GNU coreutils) '* | \
2219
'mkdir (coreutils) '* | \
2220
'mkdir (fileutils) '4.1*)
2221
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2231
if test "${ac_cv_path_mkdir+set}" = set; then
2232
MKDIR_P="$ac_cv_path_mkdir -p"
2234
# As a last resort, use the slow shell script. Don't cache a
2235
# value for MKDIR_P within a source directory, because that will
2236
# break other packages using the cache if that directory is
2237
# removed, or if the value is a relative name.
2238
test -d ./--version && rmdir ./--version
2239
MKDIR_P="$ac_install_sh -d"
2242
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2243
$as_echo "$MKDIR_P" >&6; }
2247
[\\/$]* | ?:[\\/]*) ;;
2248
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2251
for ac_prog in gawk mawk nawk awk
2253
# Extract the first word of "$ac_prog", so it can be a program name with args.
2254
set dummy $ac_prog; ac_word=$2
2255
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2256
$as_echo_n "checking for $ac_word... " >&6; }
2257
if test "${ac_cv_prog_AWK+set}" = set; then
2258
$as_echo_n "(cached) " >&6
2260
if test -n "$AWK"; then
2261
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2263
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267
test -z "$as_dir" && as_dir=.
2268
for ac_exec_ext in '' $ac_executable_extensions; do
2269
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2270
ac_cv_prog_AWK="$ac_prog"
2271
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2281
if test -n "$AWK"; then
2282
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5
2283
$as_echo "$AWK" >&6; }
2285
{ $as_echo "$as_me:$LINENO: result: no" >&5
2286
$as_echo "no" >&6; }
2290
test -n "$AWK" && break
2293
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2294
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2296
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2297
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2298
$as_echo_n "(cached) " >&6
2300
cat >conftest.make <<\_ACEOF
2303
@echo '@@@%%%=$(MAKE)=@@@%%%'
2305
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2306
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2308
eval ac_cv_prog_make_${ac_make}_set=yes;;
2310
eval ac_cv_prog_make_${ac_make}_set=no;;
2314
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2315
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2316
$as_echo "yes" >&6; }
2319
{ $as_echo "$as_me:$LINENO: result: no" >&5
2320
$as_echo "no" >&6; }
2321
SET_MAKE="MAKE=${MAKE-make}"
2324
rm -rf .tst 2>/dev/null
2325
mkdir .tst 2>/dev/null
2326
if test -d .tst; then
2331
rmdir .tst 2>/dev/null
2333
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2334
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2335
# is not polluted with repeated "-I."
2336
am__isrc=' -I$(srcdir)'
2337
# test to see if srcdir already configured
2338
if test -f $srcdir/config.status; then
2339
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2340
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2341
{ (exit 1); exit 1; }; }
2345
# test whether we have cygpath
2346
if test -z "$CYGPATH_W"; then
2347
if (cygpath --version) >/dev/null 2>/dev/null; then
2348
CYGPATH_W='cygpath -w'
2355
# Define the identity of the package.
2360
cat >>confdefs.h <<_ACEOF
2361
#define PACKAGE "$PACKAGE"
2365
cat >>confdefs.h <<_ACEOF
2366
#define VERSION "$VERSION"
2369
# Some tools Automake needs.
2371
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2374
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2377
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2380
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2383
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2385
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2387
# Installed binaries are usually stripped using `strip' when the user
2388
# run `make install-strip'. However `strip' might not be the right
2389
# tool to use in cross-compilation environments, therefore Automake
2390
# will honor the `STRIP' environment variable to overrule this program.
2391
if test "$cross_compiling" != no; then
2392
if test -n "$ac_tool_prefix"; then
2393
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2394
set dummy ${ac_tool_prefix}strip; ac_word=$2
2395
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2396
$as_echo_n "checking for $ac_word... " >&6; }
2397
if test "${ac_cv_prog_STRIP+set}" = set; then
2398
$as_echo_n "(cached) " >&6
2400
if test -n "$STRIP"; then
2401
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2403
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407
test -z "$as_dir" && as_dir=.
2408
for ac_exec_ext in '' $ac_executable_extensions; do
2409
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2410
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2411
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2420
STRIP=$ac_cv_prog_STRIP
2421
if test -n "$STRIP"; then
2422
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2423
$as_echo "$STRIP" >&6; }
2425
{ $as_echo "$as_me:$LINENO: result: no" >&5
2426
$as_echo "no" >&6; }
2431
if test -z "$ac_cv_prog_STRIP"; then
2433
# Extract the first word of "strip", so it can be a program name with args.
2434
set dummy strip; ac_word=$2
2435
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2436
$as_echo_n "checking for $ac_word... " >&6; }
2437
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2438
$as_echo_n "(cached) " >&6
2440
if test -n "$ac_ct_STRIP"; then
2441
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2443
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2447
test -z "$as_dir" && as_dir=.
2448
for ac_exec_ext in '' $ac_executable_extensions; do
2449
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2450
ac_cv_prog_ac_ct_STRIP="strip"
2451
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2460
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2461
if test -n "$ac_ct_STRIP"; then
2462
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2463
$as_echo "$ac_ct_STRIP" >&6; }
2465
{ $as_echo "$as_me:$LINENO: result: no" >&5
2466
$as_echo "no" >&6; }
2469
if test "x$ac_ct_STRIP" = x; then
2472
case $cross_compiling:$ac_tool_warned in
2474
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2475
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2476
ac_tool_warned=yes ;;
2481
STRIP="$ac_cv_prog_STRIP"
2485
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2487
# We need awk for the "check" target. The system "awk" is bad on
2489
# Always define AMTAR for backward compatibility.
2491
AMTAR=${AMTAR-"${am_missing_run}tar"}
2493
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2501
ac_cpp='$CPP $CPPFLAGS'
2502
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2503
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2504
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2507
ac_cpp='$CPP $CPPFLAGS'
2508
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2509
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2510
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2511
if test -n "$ac_tool_prefix"; then
2512
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2513
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2514
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2515
$as_echo_n "checking for $ac_word... " >&6; }
2516
if test "${ac_cv_prog_CC+set}" = set; then
2517
$as_echo_n "(cached) " >&6
2519
if test -n "$CC"; then
2520
ac_cv_prog_CC="$CC" # Let the user override the test.
2522
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526
test -z "$as_dir" && as_dir=.
2527
for ac_exec_ext in '' $ac_executable_extensions; do
2528
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2529
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2530
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2540
if test -n "$CC"; then
2541
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2542
$as_echo "$CC" >&6; }
2544
{ $as_echo "$as_me:$LINENO: result: no" >&5
2545
$as_echo "no" >&6; }
2550
if test -z "$ac_cv_prog_CC"; then
2552
# Extract the first word of "gcc", so it can be a program name with args.
2553
set dummy gcc; ac_word=$2
2554
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2555
$as_echo_n "checking for $ac_word... " >&6; }
2556
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2557
$as_echo_n "(cached) " >&6
2559
if test -n "$ac_ct_CC"; then
2560
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2562
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2566
test -z "$as_dir" && as_dir=.
2567
for ac_exec_ext in '' $ac_executable_extensions; do
2568
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2569
ac_cv_prog_ac_ct_CC="gcc"
2570
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2580
if test -n "$ac_ct_CC"; then
2581
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2582
$as_echo "$ac_ct_CC" >&6; }
2584
{ $as_echo "$as_me:$LINENO: result: no" >&5
2585
$as_echo "no" >&6; }
2588
if test "x$ac_ct_CC" = x; then
2591
case $cross_compiling:$ac_tool_warned in
2593
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2594
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2595
ac_tool_warned=yes ;;
2603
if test -z "$CC"; then
2604
if test -n "$ac_tool_prefix"; then
2605
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2606
set dummy ${ac_tool_prefix}cc; ac_word=$2
2607
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2608
$as_echo_n "checking for $ac_word... " >&6; }
2609
if test "${ac_cv_prog_CC+set}" = set; then
2610
$as_echo_n "(cached) " >&6
2612
if test -n "$CC"; then
2613
ac_cv_prog_CC="$CC" # Let the user override the test.
2615
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619
test -z "$as_dir" && as_dir=.
2620
for ac_exec_ext in '' $ac_executable_extensions; do
2621
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2622
ac_cv_prog_CC="${ac_tool_prefix}cc"
2623
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2633
if test -n "$CC"; then
2634
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2635
$as_echo "$CC" >&6; }
2637
{ $as_echo "$as_me:$LINENO: result: no" >&5
2638
$as_echo "no" >&6; }
2644
if test -z "$CC"; then
2645
# Extract the first word of "cc", so it can be a program name with args.
2646
set dummy cc; ac_word=$2
2647
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2648
$as_echo_n "checking for $ac_word... " >&6; }
2649
if test "${ac_cv_prog_CC+set}" = set; then
2650
$as_echo_n "(cached) " >&6
2652
if test -n "$CC"; then
2653
ac_cv_prog_CC="$CC" # Let the user override the test.
2656
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660
test -z "$as_dir" && as_dir=.
2661
for ac_exec_ext in '' $ac_executable_extensions; do
2662
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2663
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2664
ac_prog_rejected=yes
2668
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2675
if test $ac_prog_rejected = yes; then
2676
# We found a bogon in the path, so make sure we never use it.
2677
set dummy $ac_cv_prog_CC
2679
if test $# != 0; then
2680
# We chose a different compiler from the bogus one.
2681
# However, it has the same basename, so the bogon will be chosen
2682
# first if we set CC to just the basename; use the full file name.
2684
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2690
if test -n "$CC"; then
2691
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2692
$as_echo "$CC" >&6; }
2694
{ $as_echo "$as_me:$LINENO: result: no" >&5
2695
$as_echo "no" >&6; }
2700
if test -z "$CC"; then
2701
if test -n "$ac_tool_prefix"; then
2702
for ac_prog in cl.exe
2704
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2705
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2706
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2707
$as_echo_n "checking for $ac_word... " >&6; }
2708
if test "${ac_cv_prog_CC+set}" = set; then
2709
$as_echo_n "(cached) " >&6
2711
if test -n "$CC"; then
2712
ac_cv_prog_CC="$CC" # Let the user override the test.
2714
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718
test -z "$as_dir" && as_dir=.
2719
for ac_exec_ext in '' $ac_executable_extensions; do
2720
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2721
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2722
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2732
if test -n "$CC"; then
2733
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2734
$as_echo "$CC" >&6; }
2736
{ $as_echo "$as_me:$LINENO: result: no" >&5
2737
$as_echo "no" >&6; }
2741
test -n "$CC" && break
2744
if test -z "$CC"; then
2746
for ac_prog in cl.exe
2748
# Extract the first word of "$ac_prog", so it can be a program name with args.
2749
set dummy $ac_prog; ac_word=$2
2750
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2751
$as_echo_n "checking for $ac_word... " >&6; }
2752
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2753
$as_echo_n "(cached) " >&6
2755
if test -n "$ac_ct_CC"; then
2756
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2758
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2762
test -z "$as_dir" && as_dir=.
2763
for ac_exec_ext in '' $ac_executable_extensions; do
2764
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2765
ac_cv_prog_ac_ct_CC="$ac_prog"
2766
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2775
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2776
if test -n "$ac_ct_CC"; then
2777
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2778
$as_echo "$ac_ct_CC" >&6; }
2780
{ $as_echo "$as_me:$LINENO: result: no" >&5
2781
$as_echo "no" >&6; }
2785
test -n "$ac_ct_CC" && break
2788
if test "x$ac_ct_CC" = x; then
2791
case $cross_compiling:$ac_tool_warned in
2793
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2794
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2795
ac_tool_warned=yes ;;
2804
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2805
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2806
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2807
See \`config.log' for more details." >&5
2808
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2809
See \`config.log' for more details." >&2;}
2810
{ (exit 1); exit 1; }; }; }
2812
# Provide some information about the compiler.
2813
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2816
{ (ac_try="$ac_compiler --version >&5"
2818
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2819
*) ac_try_echo=$ac_try;;
2821
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2822
$as_echo "$ac_try_echo") >&5
2823
(eval "$ac_compiler --version >&5") 2>&5
2825
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826
(exit $ac_status); }
2827
{ (ac_try="$ac_compiler -v >&5"
2829
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2830
*) ac_try_echo=$ac_try;;
2832
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2833
$as_echo "$ac_try_echo") >&5
2834
(eval "$ac_compiler -v >&5") 2>&5
2836
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837
(exit $ac_status); }
2838
{ (ac_try="$ac_compiler -V >&5"
2840
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841
*) ac_try_echo=$ac_try;;
2843
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2844
$as_echo "$ac_try_echo") >&5
2845
(eval "$ac_compiler -V >&5") 2>&5
2847
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848
(exit $ac_status); }
2850
cat >conftest.$ac_ext <<_ACEOF
2853
cat confdefs.h >>conftest.$ac_ext
2854
cat >>conftest.$ac_ext <<_ACEOF
2855
/* end confdefs.h. */
2865
ac_clean_files_save=$ac_clean_files
2866
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2867
# Try to create an executable without -o first, disregard a.out.
2868
# It will help us diagnose broken compilers, and finding out an intuition
2870
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2871
$as_echo_n "checking for C compiler default output file name... " >&6; }
2872
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2874
# The possible output files:
2875
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2878
for ac_file in $ac_files
2881
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2882
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2887
if { (ac_try="$ac_link_default"
2889
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890
*) ac_try_echo=$ac_try;;
2892
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2893
$as_echo "$ac_try_echo") >&5
2894
(eval "$ac_link_default") 2>&5
2896
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897
(exit $ac_status); }; then
2898
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2899
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2900
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2901
# so that the user can short-circuit this test for compilers unknown to
2903
for ac_file in $ac_files ''
2905
test -f "$ac_file" || continue
2907
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2910
# We found the default executable, but exeext='' is most
2914
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2916
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2918
# We set ac_cv_exeext here because the later test for it is not
2919
# safe: cross compilers may not add the suffix if given an `-o'
2920
# argument, so we may need to know it at that point already.
2921
# Even if this section looks crufty: it has the advantage of
2928
test "$ac_cv_exeext" = no && ac_cv_exeext=
2934
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2935
$as_echo "$ac_file" >&6; }
2936
if test -z "$ac_file"; then
2937
$as_echo "$as_me: failed program was:" >&5
2938
sed 's/^/| /' conftest.$ac_ext >&5
2940
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2941
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2942
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2943
See \`config.log' for more details." >&5
2944
$as_echo "$as_me: error: C compiler cannot create executables
2945
See \`config.log' for more details." >&2;}
2946
{ (exit 77); exit 77; }; }; }
2949
ac_exeext=$ac_cv_exeext
2951
# Check that the compiler produces executables we can run. If not, either
2952
# the compiler is broken, or we cross compile.
2953
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2954
$as_echo_n "checking whether the C compiler works... " >&6; }
2955
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2956
# If not cross compiling, check that we can run a simple program.
2957
if test "$cross_compiling" != yes; then
2958
if { ac_try='./$ac_file'
2959
{ (case "(($ac_try" in
2960
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961
*) ac_try_echo=$ac_try;;
2963
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2964
$as_echo "$ac_try_echo") >&5
2965
(eval "$ac_try") 2>&5
2967
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968
(exit $ac_status); }; }; then
2971
if test "$cross_compiling" = maybe; then
2974
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2975
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2976
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2977
If you meant to cross compile, use \`--host'.
2978
See \`config.log' for more details." >&5
2979
$as_echo "$as_me: error: cannot run C compiled programs.
2980
If you meant to cross compile, use \`--host'.
2981
See \`config.log' for more details." >&2;}
2982
{ (exit 1); exit 1; }; }; }
2986
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2987
$as_echo "yes" >&6; }
2989
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2990
ac_clean_files=$ac_clean_files_save
2991
# Check that the compiler produces executables we can run. If not, either
2992
# the compiler is broken, or we cross compile.
2993
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2994
$as_echo_n "checking whether we are cross compiling... " >&6; }
2995
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2996
$as_echo "$cross_compiling" >&6; }
2998
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2999
$as_echo_n "checking for suffix of executables... " >&6; }
3000
if { (ac_try="$ac_link"
3002
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3003
*) ac_try_echo=$ac_try;;
3005
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3006
$as_echo "$ac_try_echo") >&5
3007
(eval "$ac_link") 2>&5
3009
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010
(exit $ac_status); }; then
3011
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3012
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3013
# work properly (i.e., refer to `conftest.exe'), while it won't with
3015
for ac_file in conftest.exe conftest conftest.*; do
3016
test -f "$ac_file" || continue
3018
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3019
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3025
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3026
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3027
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3028
See \`config.log' for more details." >&5
3029
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3030
See \`config.log' for more details." >&2;}
3031
{ (exit 1); exit 1; }; }; }
3034
rm -f conftest$ac_cv_exeext
3035
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3036
$as_echo "$ac_cv_exeext" >&6; }
3038
rm -f conftest.$ac_ext
3039
EXEEXT=$ac_cv_exeext
3041
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3042
$as_echo_n "checking for suffix of object files... " >&6; }
3043
if test "${ac_cv_objext+set}" = set; then
3044
$as_echo_n "(cached) " >&6
3046
cat >conftest.$ac_ext <<_ACEOF
3049
cat confdefs.h >>conftest.$ac_ext
3050
cat >>conftest.$ac_ext <<_ACEOF
3051
/* end confdefs.h. */
3061
rm -f conftest.o conftest.obj
3062
if { (ac_try="$ac_compile"
3064
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065
*) ac_try_echo=$ac_try;;
3067
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3068
$as_echo "$ac_try_echo") >&5
3069
(eval "$ac_compile") 2>&5
3071
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072
(exit $ac_status); }; then
3073
for ac_file in conftest.o conftest.obj conftest.*; do
3074
test -f "$ac_file" || continue;
3076
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3077
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3082
$as_echo "$as_me: failed program was:" >&5
3083
sed 's/^/| /' conftest.$ac_ext >&5
3085
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3086
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3088
See \`config.log' for more details." >&5
3089
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3090
See \`config.log' for more details." >&2;}
3091
{ (exit 1); exit 1; }; }; }
3094
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3096
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3097
$as_echo "$ac_cv_objext" >&6; }
3098
OBJEXT=$ac_cv_objext
3100
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3101
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3102
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3103
$as_echo_n "(cached) " >&6
3105
cat >conftest.$ac_ext <<_ACEOF
3108
cat confdefs.h >>conftest.$ac_ext
3109
cat >>conftest.$ac_ext <<_ACEOF
3110
/* end confdefs.h. */
3123
rm -f conftest.$ac_objext
3124
if { (ac_try="$ac_compile"
3126
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127
*) ac_try_echo=$ac_try;;
3129
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3130
$as_echo "$ac_try_echo") >&5
3131
(eval "$ac_compile") 2>conftest.er1
3133
grep -v '^ *+' conftest.er1 >conftest.err
3135
cat conftest.err >&5
3136
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137
(exit $ac_status); } && {
3138
test -z "$ac_c_werror_flag" ||
3139
test ! -s conftest.err
3140
} && test -s conftest.$ac_objext; then
3143
$as_echo "$as_me: failed program was:" >&5
3144
sed 's/^/| /' conftest.$ac_ext >&5
3149
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3150
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3153
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3154
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3155
if test $ac_compiler_gnu = yes; then
3160
ac_test_CFLAGS=${CFLAGS+set}
3161
ac_save_CFLAGS=$CFLAGS
3162
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3163
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3164
if test "${ac_cv_prog_cc_g+set}" = set; then
3165
$as_echo_n "(cached) " >&6
3167
ac_save_c_werror_flag=$ac_c_werror_flag
3168
ac_c_werror_flag=yes
3171
cat >conftest.$ac_ext <<_ACEOF
3174
cat confdefs.h >>conftest.$ac_ext
3175
cat >>conftest.$ac_ext <<_ACEOF
3176
/* end confdefs.h. */
3186
rm -f conftest.$ac_objext
3187
if { (ac_try="$ac_compile"
3189
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3190
*) ac_try_echo=$ac_try;;
3192
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3193
$as_echo "$ac_try_echo") >&5
3194
(eval "$ac_compile") 2>conftest.er1
3196
grep -v '^ *+' conftest.er1 >conftest.err
3198
cat conftest.err >&5
3199
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200
(exit $ac_status); } && {
3201
test -z "$ac_c_werror_flag" ||
3202
test ! -s conftest.err
3203
} && test -s conftest.$ac_objext; then
3206
$as_echo "$as_me: failed program was:" >&5
3207
sed 's/^/| /' conftest.$ac_ext >&5
3210
cat >conftest.$ac_ext <<_ACEOF
3213
cat confdefs.h >>conftest.$ac_ext
3214
cat >>conftest.$ac_ext <<_ACEOF
3215
/* end confdefs.h. */
3225
rm -f conftest.$ac_objext
3226
if { (ac_try="$ac_compile"
3228
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3229
*) ac_try_echo=$ac_try;;
3231
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3232
$as_echo "$ac_try_echo") >&5
3233
(eval "$ac_compile") 2>conftest.er1
3235
grep -v '^ *+' conftest.er1 >conftest.err
3237
cat conftest.err >&5
3238
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239
(exit $ac_status); } && {
3240
test -z "$ac_c_werror_flag" ||
3241
test ! -s conftest.err
3242
} && test -s conftest.$ac_objext; then
3245
$as_echo "$as_me: failed program was:" >&5
3246
sed 's/^/| /' conftest.$ac_ext >&5
3248
ac_c_werror_flag=$ac_save_c_werror_flag
3250
cat >conftest.$ac_ext <<_ACEOF
3253
cat confdefs.h >>conftest.$ac_ext
3254
cat >>conftest.$ac_ext <<_ACEOF
3255
/* end confdefs.h. */
3265
rm -f conftest.$ac_objext
3266
if { (ac_try="$ac_compile"
3268
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269
*) ac_try_echo=$ac_try;;
3271
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3272
$as_echo "$ac_try_echo") >&5
3273
(eval "$ac_compile") 2>conftest.er1
3275
grep -v '^ *+' conftest.er1 >conftest.err
3277
cat conftest.err >&5
3278
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279
(exit $ac_status); } && {
3280
test -z "$ac_c_werror_flag" ||
3281
test ! -s conftest.err
3282
} && test -s conftest.$ac_objext; then
3285
$as_echo "$as_me: failed program was:" >&5
3286
sed 's/^/| /' conftest.$ac_ext >&5
3291
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298
ac_c_werror_flag=$ac_save_c_werror_flag
3300
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3301
$as_echo "$ac_cv_prog_cc_g" >&6; }
3302
if test "$ac_test_CFLAGS" = set; then
3303
CFLAGS=$ac_save_CFLAGS
3304
elif test $ac_cv_prog_cc_g = yes; then
3305
if test "$GCC" = yes; then
3311
if test "$GCC" = yes; then
3317
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3318
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3319
if test "${ac_cv_prog_cc_c89+set}" = set; then
3320
$as_echo_n "(cached) " >&6
3322
ac_cv_prog_cc_c89=no
3324
cat >conftest.$ac_ext <<_ACEOF
3327
cat confdefs.h >>conftest.$ac_ext
3328
cat >>conftest.$ac_ext <<_ACEOF
3329
/* end confdefs.h. */
3332
#include <sys/types.h>
3333
#include <sys/stat.h>
3334
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3335
struct buf { int x; };
3336
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3337
static char *e (p, i)
3343
static char *f (char * (*g) (char **, int), char **p, ...)
3348
s = g (p, va_arg (v,int));
3353
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3354
function prototypes and stuff, but not '\xHH' hex character constants.
3355
These don't provoke an error unfortunately, instead are silently treated
3356
as 'x'. The following induces an error, until -std is added to get
3357
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3358
array size at least. It's necessary to write '\x00'==0 to get something
3359
that's true only with -std. */
3360
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3362
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3363
inside strings and character constants. */
3365
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3367
int test (int i, double x);
3368
struct s1 {int (*f) (int a);};
3369
struct s2 {int (*f) (double a);};
3370
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3376
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3381
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3382
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3384
CC="$ac_save_CC $ac_arg"
3385
rm -f conftest.$ac_objext
3386
if { (ac_try="$ac_compile"
3388
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389
*) ac_try_echo=$ac_try;;
3391
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3392
$as_echo "$ac_try_echo") >&5
3393
(eval "$ac_compile") 2>conftest.er1
3395
grep -v '^ *+' conftest.er1 >conftest.err
3397
cat conftest.err >&5
3398
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399
(exit $ac_status); } && {
3400
test -z "$ac_c_werror_flag" ||
3401
test ! -s conftest.err
3402
} && test -s conftest.$ac_objext; then
3403
ac_cv_prog_cc_c89=$ac_arg
3405
$as_echo "$as_me: failed program was:" >&5
3406
sed 's/^/| /' conftest.$ac_ext >&5
3411
rm -f core conftest.err conftest.$ac_objext
3412
test "x$ac_cv_prog_cc_c89" != "xno" && break
3414
rm -f conftest.$ac_ext
3419
case "x$ac_cv_prog_cc_c89" in
3421
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
3422
$as_echo "none needed" >&6; } ;;
3424
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
3425
$as_echo "unsupported" >&6; } ;;
3427
CC="$CC $ac_cv_prog_cc_c89"
3428
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3429
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3434
ac_cpp='$CPP $CPPFLAGS'
3435
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3436
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3437
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3438
DEPDIR="${am__leading_dot}deps"
3440
ac_config_commands="$ac_config_commands depfiles"
3443
am_make=${MAKE-make}
3444
cat > confinc << 'END'
3449
# If we don't find an include directive, just comment out the code.
3450
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3451
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3455
# First try GNU make style include.
3456
echo "include confinc" > confmf
3457
# We grep out `Entering directory' and `Leaving directory'
3458
# messages which can occur if `w' ends up in MAKEFLAGS.
3459
# In particular we don't look at `^make:' because GNU make might
3460
# be invoked under some other name (usually "gmake"), in which
3461
# case it prints its new name instead of `make'.
3462
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3467
# Now try BSD make style include.
3468
if test "$am__include" = "#"; then
3469
echo '.include "confinc"' > confmf
3470
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3471
am__include=.include
3478
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3479
$as_echo "$_am_result" >&6; }
3480
rm -f confinc confmf
3482
# Check whether --enable-dependency-tracking was given.
3483
if test "${enable_dependency_tracking+set}" = set; then
3484
enableval=$enable_dependency_tracking;
3487
if test "x$enable_dependency_tracking" != xno; then
3488
am_depcomp="$ac_aux_dir/depcomp"
3491
if test "x$enable_dependency_tracking" != xno; then
3501
depcc="$CC" am_compiler_list=
3503
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3504
$as_echo_n "checking dependency style of $depcc... " >&6; }
3505
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3506
$as_echo_n "(cached) " >&6
3508
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3509
# We make a subdir and do the tests there. Otherwise we can end up
3510
# making bogus files that we don't know about and never remove. For
3511
# instance it was reported that on HP-UX the gcc test will end up
3512
# making a dummy file named `D' -- because `-MD' means `put the output
3515
# Copy depcomp to subdir because otherwise we won't find it if we're
3516
# using a relative directory.
3517
cp "$am_depcomp" conftest.dir
3519
# We will build objects and dependencies in a subdirectory because
3520
# it helps to detect inapplicable dependency modes. For instance
3521
# both Tru64's cc and ICC support -MD to output dependencies as a
3522
# side effect of compilation, but ICC will put the dependencies in
3523
# the current directory while Tru64 will put them in the object
3527
am_cv_CC_dependencies_compiler_type=none
3528
if test "$am_compiler_list" = ""; then
3529
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3531
for depmode in $am_compiler_list; do
3532
# Setup a source with many dependencies, because some compilers
3533
# like to wrap large dependency lists on column 80 (with \), and
3534
# we should not choose a depcomp mode which is confused by this.
3536
# We need to recreate these files for each test, as the compiler may
3537
# overwrite some of them when testing with obscure command lines.
3538
# This happens at least with the AIX C compiler.
3540
for i in 1 2 3 4 5 6; do
3541
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3542
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3543
# Solaris 8's {/usr,}/bin/sh.
3544
touch sub/conftst$i.h
3546
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3550
# after this tag, mechanisms are not by side-effect, so they'll
3551
# only be used when explicitly requested
3552
if test "x$enable_dependency_tracking" = xyes; then
3560
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3561
# mode. It turns out that the SunPro C++ compiler does not properly
3562
# handle `-M -o', and we need to detect this.
3563
if depmode=$depmode \
3564
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3565
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3566
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3567
>/dev/null 2>conftest.err &&
3568
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3569
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3570
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3571
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3572
# icc doesn't choke on unknown options, it will just issue warnings
3573
# or remarks (even with -Werror). So we grep stderr for any message
3574
# that says an option was ignored or not supported.
3575
# When given -MP, icc 7.0 and 7.1 complain thusly:
3576
# icc: Command line warning: ignoring option '-M'; no argument required
3577
# The diagnosis changed in icc 8.0:
3578
# icc: Command line remark: option '-MP' not supported
3579
if (grep 'ignoring option' conftest.err ||
3580
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3581
am_cv_CC_dependencies_compiler_type=$depmode
3590
am_cv_CC_dependencies_compiler_type=none
3594
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3595
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3596
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3599
test "x$enable_dependency_tracking" != xno \
3600
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3602
am__fastdepCC_FALSE='#'
3604
am__fastdepCC_TRUE='#'
3605
am__fastdepCC_FALSE=
3611
{ $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3612
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3617
macro_version='2.2.6'
3618
macro_revision='1.3012'
3632
ltmain="$ac_aux_dir/ltmain.sh"
3634
# Make sure we can run config.sub.
3635
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3636
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3637
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3638
{ (exit 1); exit 1; }; }
3640
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
3641
$as_echo_n "checking build system type... " >&6; }
3642
if test "${ac_cv_build+set}" = set; then
3643
$as_echo_n "(cached) " >&6
3645
ac_build_alias=$build_alias
3646
test "x$ac_build_alias" = x &&
3647
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3648
test "x$ac_build_alias" = x &&
3649
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3650
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3651
{ (exit 1); exit 1; }; }
3652
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3653
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3654
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3655
{ (exit 1); exit 1; }; }
3658
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3659
$as_echo "$ac_cv_build" >&6; }
3660
case $ac_cv_build in
3662
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3663
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
3664
{ (exit 1); exit 1; }; };;
3667
ac_save_IFS=$IFS; IFS='-'
3673
# Remember, the first character of IFS is used to create $*,
3674
# except with old shells:
3677
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3680
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
3681
$as_echo_n "checking host system type... " >&6; }
3682
if test "${ac_cv_host+set}" = set; then
3683
$as_echo_n "(cached) " >&6
3685
if test "x$host_alias" = x; then
3686
ac_cv_host=$ac_cv_build
3688
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3689
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3690
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3691
{ (exit 1); exit 1; }; }
3695
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3696
$as_echo "$ac_cv_host" >&6; }
3699
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3700
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
3701
{ (exit 1); exit 1; }; };;
3704
ac_save_IFS=$IFS; IFS='-'
3710
# Remember, the first character of IFS is used to create $*,
3711
# except with old shells:
3714
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3717
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3718
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3719
if test "${ac_cv_path_SED+set}" = set; then
3720
$as_echo_n "(cached) " >&6
3722
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3723
for ac_i in 1 2 3 4 5 6 7; do
3724
ac_script="$ac_script$as_nl$ac_script"
3726
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3727
$as_unset ac_script || ac_script=
3728
if test -z "$SED"; then
3729
ac_path_SED_found=false
3730
# Loop through the user's path and test for each of PROGNAME-LIST
3731
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3735
test -z "$as_dir" && as_dir=.
3736
for ac_prog in sed gsed; do
3737
for ac_exec_ext in '' $ac_executable_extensions; do
3738
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3739
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3740
# Check for GNU ac_path_SED and select it if it is found.
3741
# Check for GNU $ac_path_SED
3742
case `"$ac_path_SED" --version 2>&1` in
3744
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3747
$as_echo_n 0123456789 >"conftest.in"
3750
cat "conftest.in" "conftest.in" >"conftest.tmp"
3751
mv "conftest.tmp" "conftest.in"
3752
cp "conftest.in" "conftest.nl"
3753
$as_echo '' >> "conftest.nl"
3754
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3755
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3756
ac_count=`expr $ac_count + 1`
3757
if test $ac_count -gt ${ac_path_SED_max-0}; then
3758
# Best one so far, save it but keep looking for a better one
3759
ac_cv_path_SED="$ac_path_SED"
3760
ac_path_SED_max=$ac_count
3762
# 10*(2^10) chars as input seems more than enough
3763
test $ac_count -gt 10 && break
3765
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3768
$ac_path_SED_found && break 3
3773
if test -z "$ac_cv_path_SED"; then
3774
{ { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3775
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3776
{ (exit 1); exit 1; }; }
3783
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3784
$as_echo "$ac_cv_path_SED" >&6; }
3785
SED="$ac_cv_path_SED"
3788
test -z "$SED" && SED=sed
3789
Xsed="$SED -e 1s/^X//"
3801
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3802
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3803
if test "${ac_cv_path_GREP+set}" = set; then
3804
$as_echo_n "(cached) " >&6
3806
if test -z "$GREP"; then
3807
ac_path_GREP_found=false
3808
# Loop through the user's path and test for each of PROGNAME-LIST
3809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3810
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3813
test -z "$as_dir" && as_dir=.
3814
for ac_prog in grep ggrep; do
3815
for ac_exec_ext in '' $ac_executable_extensions; do
3816
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3817
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3818
# Check for GNU ac_path_GREP and select it if it is found.
3819
# Check for GNU $ac_path_GREP
3820
case `"$ac_path_GREP" --version 2>&1` in
3822
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3825
$as_echo_n 0123456789 >"conftest.in"
3828
cat "conftest.in" "conftest.in" >"conftest.tmp"
3829
mv "conftest.tmp" "conftest.in"
3830
cp "conftest.in" "conftest.nl"
3831
$as_echo 'GREP' >> "conftest.nl"
3832
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3833
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3834
ac_count=`expr $ac_count + 1`
3835
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3836
# Best one so far, save it but keep looking for a better one
3837
ac_cv_path_GREP="$ac_path_GREP"
3838
ac_path_GREP_max=$ac_count
3840
# 10*(2^10) chars as input seems more than enough
3841
test $ac_count -gt 10 && break
3843
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3846
$ac_path_GREP_found && break 3
3851
if test -z "$ac_cv_path_GREP"; then
3852
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3853
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3854
{ (exit 1); exit 1; }; }
3857
ac_cv_path_GREP=$GREP
3861
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3862
$as_echo "$ac_cv_path_GREP" >&6; }
3863
GREP="$ac_cv_path_GREP"
3866
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3867
$as_echo_n "checking for egrep... " >&6; }
3868
if test "${ac_cv_path_EGREP+set}" = set; then
3869
$as_echo_n "(cached) " >&6
3871
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3872
then ac_cv_path_EGREP="$GREP -E"
3874
if test -z "$EGREP"; then
3875
ac_path_EGREP_found=false
3876
# Loop through the user's path and test for each of PROGNAME-LIST
3877
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3878
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3881
test -z "$as_dir" && as_dir=.
3882
for ac_prog in egrep; do
3883
for ac_exec_ext in '' $ac_executable_extensions; do
3884
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3885
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3886
# Check for GNU ac_path_EGREP and select it if it is found.
3887
# Check for GNU $ac_path_EGREP
3888
case `"$ac_path_EGREP" --version 2>&1` in
3890
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3893
$as_echo_n 0123456789 >"conftest.in"
3896
cat "conftest.in" "conftest.in" >"conftest.tmp"
3897
mv "conftest.tmp" "conftest.in"
3898
cp "conftest.in" "conftest.nl"
3899
$as_echo 'EGREP' >> "conftest.nl"
3900
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3901
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3902
ac_count=`expr $ac_count + 1`
3903
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3904
# Best one so far, save it but keep looking for a better one
3905
ac_cv_path_EGREP="$ac_path_EGREP"
3906
ac_path_EGREP_max=$ac_count
3908
# 10*(2^10) chars as input seems more than enough
3909
test $ac_count -gt 10 && break
3911
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3914
$ac_path_EGREP_found && break 3
3919
if test -z "$ac_cv_path_EGREP"; then
3920
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3921
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3922
{ (exit 1); exit 1; }; }
3925
ac_cv_path_EGREP=$EGREP
3930
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3931
$as_echo "$ac_cv_path_EGREP" >&6; }
3932
EGREP="$ac_cv_path_EGREP"
3935
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
3936
$as_echo_n "checking for fgrep... " >&6; }
3937
if test "${ac_cv_path_FGREP+set}" = set; then
3938
$as_echo_n "(cached) " >&6
3940
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3941
then ac_cv_path_FGREP="$GREP -F"
3943
if test -z "$FGREP"; then
3944
ac_path_FGREP_found=false
3945
# Loop through the user's path and test for each of PROGNAME-LIST
3946
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3947
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3950
test -z "$as_dir" && as_dir=.
3951
for ac_prog in fgrep; do
3952
for ac_exec_ext in '' $ac_executable_extensions; do
3953
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
3954
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
3955
# Check for GNU ac_path_FGREP and select it if it is found.
3956
# Check for GNU $ac_path_FGREP
3957
case `"$ac_path_FGREP" --version 2>&1` in
3959
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
3962
$as_echo_n 0123456789 >"conftest.in"
3965
cat "conftest.in" "conftest.in" >"conftest.tmp"
3966
mv "conftest.tmp" "conftest.in"
3967
cp "conftest.in" "conftest.nl"
3968
$as_echo 'FGREP' >> "conftest.nl"
3969
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
3970
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3971
ac_count=`expr $ac_count + 1`
3972
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
3973
# Best one so far, save it but keep looking for a better one
3974
ac_cv_path_FGREP="$ac_path_FGREP"
3975
ac_path_FGREP_max=$ac_count
3977
# 10*(2^10) chars as input seems more than enough
3978
test $ac_count -gt 10 && break
3980
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3983
$ac_path_FGREP_found && break 3
3988
if test -z "$ac_cv_path_FGREP"; then
3989
{ { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3990
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3991
{ (exit 1); exit 1; }; }
3994
ac_cv_path_FGREP=$FGREP
3999
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4000
$as_echo "$ac_cv_path_FGREP" >&6; }
4001
FGREP="$ac_cv_path_FGREP"
4004
test -z "$GREP" && GREP=grep
4024
# Check whether --with-gnu-ld was given.
4025
if test "${with_gnu_ld+set}" = set; then
4026
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4032
if test "$GCC" = yes; then
4033
# Check if gcc -print-prog-name=ld gives a path.
4034
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4035
$as_echo_n "checking for ld used by $CC... " >&6; }
4038
# gcc leaves a trailing carriage return which upsets mingw
4039
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4041
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4044
# Accept absolute paths.
4046
re_direlt='/[^/][^/]*/\.\./'
4047
# Canonicalize the pathname of ld
4048
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4049
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4050
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4052
test -z "$LD" && LD="$ac_prog"
4055
# If it fails, then pretend we aren't using GCC.
4059
# If it is relative, then search for the first ld in PATH.
4063
elif test "$with_gnu_ld" = yes; then
4064
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4065
$as_echo_n "checking for GNU ld... " >&6; }
4067
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4068
$as_echo_n "checking for non-GNU ld... " >&6; }
4070
if test "${lt_cv_path_LD+set}" = set; then
4071
$as_echo_n "(cached) " >&6
4073
if test -z "$LD"; then
4074
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4075
for ac_dir in $PATH; do
4077
test -z "$ac_dir" && ac_dir=.
4078
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4079
lt_cv_path_LD="$ac_dir/$ac_prog"
4080
# Check to see if the program is GNU ld. I'd rather use --version,
4081
# but apparently some variants of GNU ld only accept -v.
4082
# Break only if it was the GNU/non-GNU ld that we prefer.
4083
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4084
*GNU* | *'with BFD'*)
4085
test "$with_gnu_ld" != no && break
4088
test "$with_gnu_ld" != yes && break
4095
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4100
if test -n "$LD"; then
4101
{ $as_echo "$as_me:$LINENO: result: $LD" >&5
4102
$as_echo "$LD" >&6; }
4104
{ $as_echo "$as_me:$LINENO: result: no" >&5
4105
$as_echo "no" >&6; }
4107
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4108
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4109
{ (exit 1); exit 1; }; }
4110
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4111
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4112
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4113
$as_echo_n "(cached) " >&6
4115
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4116
case `$LD -v 2>&1 </dev/null` in
4117
*GNU* | *'with BFD'*)
4118
lt_cv_prog_gnu_ld=yes
4121
lt_cv_prog_gnu_ld=no
4125
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4126
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4127
with_gnu_ld=$lt_cv_prog_gnu_ld
4137
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4138
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4139
if test "${lt_cv_path_NM+set}" = set; then
4140
$as_echo_n "(cached) " >&6
4142
if test -n "$NM"; then
4143
# Let the user override the test.
4146
lt_nm_to_check="${ac_tool_prefix}nm"
4147
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4148
lt_nm_to_check="$lt_nm_to_check nm"
4150
for lt_tmp_nm in $lt_nm_to_check; do
4151
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4152
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4154
test -z "$ac_dir" && ac_dir=.
4155
tmp_nm="$ac_dir/$lt_tmp_nm"
4156
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4157
# Check to see if the nm accepts a BSD-compat flag.
4158
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4159
# nm: unknown option "B" ignored
4160
# Tru64's nm complains that /dev/null is an invalid object file
4161
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4162
*/dev/null* | *'Invalid file or object type'*)
4163
lt_cv_path_NM="$tmp_nm -B"
4167
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4169
lt_cv_path_NM="$tmp_nm -p"
4173
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4174
continue # so that we can try to find one that supports BSD flags
4183
: ${lt_cv_path_NM=no}
4186
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4187
$as_echo "$lt_cv_path_NM" >&6; }
4188
if test "$lt_cv_path_NM" != "no"; then
4191
# Didn't find any BSD compatible name lister, look for dumpbin.
4192
if test -n "$ac_tool_prefix"; then
4193
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4195
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4196
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4197
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4198
$as_echo_n "checking for $ac_word... " >&6; }
4199
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4200
$as_echo_n "(cached) " >&6
4202
if test -n "$DUMPBIN"; then
4203
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4205
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209
test -z "$as_dir" && as_dir=.
4210
for ac_exec_ext in '' $ac_executable_extensions; do
4211
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4212
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4213
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4222
DUMPBIN=$ac_cv_prog_DUMPBIN
4223
if test -n "$DUMPBIN"; then
4224
{ $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4225
$as_echo "$DUMPBIN" >&6; }
4227
{ $as_echo "$as_me:$LINENO: result: no" >&5
4228
$as_echo "no" >&6; }
4232
test -n "$DUMPBIN" && break
4235
if test -z "$DUMPBIN"; then
4236
ac_ct_DUMPBIN=$DUMPBIN
4237
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4239
# Extract the first word of "$ac_prog", so it can be a program name with args.
4240
set dummy $ac_prog; ac_word=$2
4241
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4242
$as_echo_n "checking for $ac_word... " >&6; }
4243
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4244
$as_echo_n "(cached) " >&6
4246
if test -n "$ac_ct_DUMPBIN"; then
4247
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4249
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4253
test -z "$as_dir" && as_dir=.
4254
for ac_exec_ext in '' $ac_executable_extensions; do
4255
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4256
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4257
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4266
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4267
if test -n "$ac_ct_DUMPBIN"; then
4268
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4269
$as_echo "$ac_ct_DUMPBIN" >&6; }
4271
{ $as_echo "$as_me:$LINENO: result: no" >&5
4272
$as_echo "no" >&6; }
4276
test -n "$ac_ct_DUMPBIN" && break
4279
if test "x$ac_ct_DUMPBIN" = x; then
4282
case $cross_compiling:$ac_tool_warned in
4284
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4285
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4286
ac_tool_warned=yes ;;
4288
DUMPBIN=$ac_ct_DUMPBIN
4293
if test "$DUMPBIN" != ":"; then
4297
test -z "$NM" && NM=nm
4304
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4305
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4306
if test "${lt_cv_nm_interface+set}" = set; then
4307
$as_echo_n "(cached) " >&6
4309
lt_cv_nm_interface="BSD nm"
4310
echo "int some_variable = 0;" > conftest.$ac_ext
4311
(eval echo "\"\$as_me:4311: $ac_compile\"" >&5)
4312
(eval "$ac_compile" 2>conftest.err)
4313
cat conftest.err >&5
4314
(eval echo "\"\$as_me:4314: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4315
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4316
cat conftest.err >&5
4317
(eval echo "\"\$as_me:4317: output\"" >&5)
4318
cat conftest.out >&5
4319
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4320
lt_cv_nm_interface="MS dumpbin"
4324
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4325
$as_echo "$lt_cv_nm_interface" >&6; }
4327
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4328
$as_echo_n "checking whether ln -s works... " >&6; }
4330
if test "$LN_S" = "ln -s"; then
4331
{ $as_echo "$as_me:$LINENO: result: yes" >&5
4332
$as_echo "yes" >&6; }
4334
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4335
$as_echo "no, using $LN_S" >&6; }
4338
# find the maximum length of command line arguments
4339
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4340
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4341
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4342
$as_echo_n "(cached) " >&6
4349
# On DJGPP, this test can blow up pretty badly due to problems in libc
4350
# (any single argument exceeding 2000 bytes causes a buffer overrun
4351
# during glob expansion). Even if it were fixed, the result of this
4352
# check would be larger than it should be.
4353
lt_cv_sys_max_cmd_len=12288; # 12K is about right
4357
# Under GNU Hurd, this test is not required because there is
4358
# no limit to the length of command line arguments.
4359
# Libtool will interpret -1 as no limit whatsoever
4360
lt_cv_sys_max_cmd_len=-1;
4363
cygwin* | mingw* | cegcc*)
4364
# On Win9x/ME, this test blows up -- it succeeds, but takes
4365
# about 5 minutes as the teststring grows exponentially.
4366
# Worse, since 9x/ME are not pre-emptively multitasking,
4367
# you end up with a "frozen" computer, even though with patience
4368
# the test eventually succeeds (with a max line length of 256k).
4369
# Instead, let's just punt: use the minimum linelength reported by
4370
# all of the supported platforms: 8192 (on NT/2K/XP).
4371
lt_cv_sys_max_cmd_len=8192;
4375
# On AmigaOS with pdksh, this test takes hours, literally.
4376
# So we just punt and use a minimum line length of 8192.
4377
lt_cv_sys_max_cmd_len=8192;
4380
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4381
# This has been around since 386BSD, at least. Likely further.
4382
if test -x /sbin/sysctl; then
4383
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4384
elif test -x /usr/sbin/sysctl; then
4385
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4387
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4389
# And add a safety zone
4390
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4391
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4395
# We know the value 262144 and hardcode it with a safety zone (like BSD)
4396
lt_cv_sys_max_cmd_len=196608
4400
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4401
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4402
# nice to cause kernel panics so lets avoid the loop below.
4403
# First set a reasonable default.
4404
lt_cv_sys_max_cmd_len=16384
4406
if test -x /sbin/sysconfig; then
4407
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4408
*1*) lt_cv_sys_max_cmd_len=-1 ;;
4413
lt_cv_sys_max_cmd_len=102400
4415
sysv5* | sco5v6* | sysv4.2uw2*)
4416
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4417
if test -n "$kargmax"; then
4418
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4420
lt_cv_sys_max_cmd_len=32768
4424
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4425
if test -n "$lt_cv_sys_max_cmd_len"; then
4426
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4427
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4429
# Make teststring a little bigger before we do anything with it.
4430
# a 1K string should be a reasonable start.
4431
for i in 1 2 3 4 5 6 7 8 ; do
4432
teststring=$teststring$teststring
4434
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4435
# If test is not a shell built-in, we'll probably end up computing a
4436
# maximum length that is only half of the actual maximum length, but
4438
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4439
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4440
test $i != 17 # 1/2 MB should be enough
4443
teststring=$teststring$teststring
4445
# Only check the string length outside the loop.
4446
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4448
# Add a significant safety factor because C++ compilers can tack on
4449
# massive amounts of additional arguments before passing them to the
4450
# linker. It appears as though 1/2 is a usable value.
4451
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4458
if test -n $lt_cv_sys_max_cmd_len ; then
4459
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4460
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4462
{ $as_echo "$as_me:$LINENO: result: none" >&5
4463
$as_echo "none" >&6; }
4465
max_cmd_len=$lt_cv_sys_max_cmd_len
4476
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4477
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4478
# Try some XSI features
4481
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4483
&& eval 'test $(( 1 + 1 )) -eq 2 \
4484
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4486
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
4487
$as_echo "$xsi_shell" >&6; }
4490
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4491
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4493
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4495
&& lt_shell_append=yes
4496
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4497
$as_echo "$lt_shell_append" >&6; }
4500
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4510
# test EBCDIC or ASCII
4511
case `echo X|tr X '\101'` in
4512
A) # ASCII based system
4513
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4514
lt_SP2NL='tr \040 \012'
4515
lt_NL2SP='tr \015\012 \040\040'
4517
*) # EBCDIC based system
4518
lt_SP2NL='tr \100 \n'
4519
lt_NL2SP='tr \r\n \100\100'
4531
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4532
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4533
if test "${lt_cv_ld_reload_flag+set}" = set; then
4534
$as_echo_n "(cached) " >&6
4536
lt_cv_ld_reload_flag='-r'
4538
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4539
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4540
reload_flag=$lt_cv_ld_reload_flag
4541
case $reload_flag in
4543
*) reload_flag=" $reload_flag" ;;
4545
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4548
if test "$GCC" = yes; then
4549
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4551
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4564
if test -n "$ac_tool_prefix"; then
4565
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4566
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4567
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4568
$as_echo_n "checking for $ac_word... " >&6; }
4569
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4570
$as_echo_n "(cached) " >&6
4572
if test -n "$OBJDUMP"; then
4573
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4575
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579
test -z "$as_dir" && as_dir=.
4580
for ac_exec_ext in '' $ac_executable_extensions; do
4581
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4582
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4583
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4592
OBJDUMP=$ac_cv_prog_OBJDUMP
4593
if test -n "$OBJDUMP"; then
4594
{ $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4595
$as_echo "$OBJDUMP" >&6; }
4597
{ $as_echo "$as_me:$LINENO: result: no" >&5
4598
$as_echo "no" >&6; }
4603
if test -z "$ac_cv_prog_OBJDUMP"; then
4604
ac_ct_OBJDUMP=$OBJDUMP
4605
# Extract the first word of "objdump", so it can be a program name with args.
4606
set dummy objdump; ac_word=$2
4607
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4608
$as_echo_n "checking for $ac_word... " >&6; }
4609
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4610
$as_echo_n "(cached) " >&6
4612
if test -n "$ac_ct_OBJDUMP"; then
4613
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4615
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619
test -z "$as_dir" && as_dir=.
4620
for ac_exec_ext in '' $ac_executable_extensions; do
4621
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4622
ac_cv_prog_ac_ct_OBJDUMP="objdump"
4623
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4632
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4633
if test -n "$ac_ct_OBJDUMP"; then
4634
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4635
$as_echo "$ac_ct_OBJDUMP" >&6; }
4637
{ $as_echo "$as_me:$LINENO: result: no" >&5
4638
$as_echo "no" >&6; }
4641
if test "x$ac_ct_OBJDUMP" = x; then
4644
case $cross_compiling:$ac_tool_warned in
4646
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4647
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4648
ac_tool_warned=yes ;;
4650
OBJDUMP=$ac_ct_OBJDUMP
4653
OBJDUMP="$ac_cv_prog_OBJDUMP"
4656
test -z "$OBJDUMP" && OBJDUMP=objdump
4666
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4667
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4668
if test "${lt_cv_deplibs_check_method+set}" = set; then
4669
$as_echo_n "(cached) " >&6
4671
lt_cv_file_magic_cmd='$MAGIC_CMD'
4672
lt_cv_file_magic_test_file=
4673
lt_cv_deplibs_check_method='unknown'
4674
# Need to set the preceding variable on all platforms that support
4675
# interlibrary dependencies.
4676
# 'none' -- dependencies not supported.
4677
# `unknown' -- same as none, but documents that we really don't know.
4678
# 'pass_all' -- all dependencies passed with no checks.
4679
# 'test_compile' -- check by making test program.
4680
# 'file_magic [[regex]]' -- check by looking for files in library path
4681
# which responds to the $file_magic_cmd with a given extended regex.
4682
# If you have `file' or equivalent on your system and you're not sure
4683
# whether `pass_all' will *always* work, you probably want this one.
4687
lt_cv_deplibs_check_method=pass_all
4691
lt_cv_deplibs_check_method=pass_all
4695
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4696
lt_cv_file_magic_cmd='/usr/bin/file -L'
4697
lt_cv_file_magic_test_file=/shlib/libc.so
4701
# func_win32_libid is a shell function defined in ltmain.sh
4702
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4703
lt_cv_file_magic_cmd='func_win32_libid'
4707
# Base MSYS/MinGW do not provide the 'file' command needed by
4708
# func_win32_libid shell function, so use a weaker test based on 'objdump',
4709
# unless we find 'file', for example because we are cross-compiling.
4710
if ( file / ) >/dev/null 2>&1; then
4711
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4712
lt_cv_file_magic_cmd='func_win32_libid'
4714
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4715
lt_cv_file_magic_cmd='$OBJDUMP -f'
4720
# use the weaker test based on 'objdump'. See mingw*.
4721
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4722
lt_cv_file_magic_cmd='$OBJDUMP -f'
4725
darwin* | rhapsody*)
4726
lt_cv_deplibs_check_method=pass_all
4729
freebsd* | dragonfly*)
4730
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4733
# Not sure whether the presence of OpenBSD here was a mistake.
4734
# Let's accept both of them until this is cleared up.
4735
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4736
lt_cv_file_magic_cmd=/usr/bin/file
4737
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4741
lt_cv_deplibs_check_method=pass_all
4746
lt_cv_deplibs_check_method=pass_all
4749
hpux10.20* | hpux11*)
4750
lt_cv_file_magic_cmd=/usr/bin/file
4753
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4754
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4757
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]'
4758
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4761
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4762
lt_cv_file_magic_test_file=/usr/lib/libc.sl
4768
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4769
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4772
irix5* | irix6* | nonstopux*)
4774
*-32|*"-32 ") libmagic=32-bit;;
4775
*-n32|*"-n32 ") libmagic=N32;;
4776
*-64|*"-64 ") libmagic=64-bit;;
4777
*) libmagic=never-match;;
4779
lt_cv_deplibs_check_method=pass_all
4782
# This must be Linux ELF.
4783
linux* | k*bsd*-gnu)
4784
lt_cv_deplibs_check_method=pass_all
4787
netbsd* | netbsdelf*-gnu)
4788
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4789
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4791
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4796
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4797
lt_cv_file_magic_cmd=/usr/bin/file
4798
lt_cv_file_magic_test_file=/usr/lib/libnls.so
4802
lt_cv_deplibs_check_method=pass_all
4806
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4807
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4809
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4813
osf3* | osf4* | osf5*)
4814
lt_cv_deplibs_check_method=pass_all
4818
lt_cv_deplibs_check_method=pass_all
4822
lt_cv_deplibs_check_method=pass_all
4825
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4826
lt_cv_deplibs_check_method=pass_all
4830
case $host_vendor in
4832
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]'
4833
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4836
lt_cv_deplibs_check_method=pass_all
4839
lt_cv_file_magic_cmd='/bin/file'
4840
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4843
lt_cv_file_magic_cmd='/bin/file'
4844
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4845
lt_cv_file_magic_test_file=/lib/libc.so
4848
lt_cv_deplibs_check_method=pass_all
4851
lt_cv_deplibs_check_method=pass_all
4857
lt_cv_deplibs_check_method=pass_all
4862
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4863
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4864
file_magic_cmd=$lt_cv_file_magic_cmd
4865
deplibs_check_method=$lt_cv_deplibs_check_method
4866
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4879
if test -n "$ac_tool_prefix"; then
4880
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4881
set dummy ${ac_tool_prefix}ar; ac_word=$2
4882
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4883
$as_echo_n "checking for $ac_word... " >&6; }
4884
if test "${ac_cv_prog_AR+set}" = set; then
4885
$as_echo_n "(cached) " >&6
4887
if test -n "$AR"; then
4888
ac_cv_prog_AR="$AR" # Let the user override the test.
4890
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4894
test -z "$as_dir" && as_dir=.
4895
for ac_exec_ext in '' $ac_executable_extensions; do
4896
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4897
ac_cv_prog_AR="${ac_tool_prefix}ar"
4898
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4908
if test -n "$AR"; then
4909
{ $as_echo "$as_me:$LINENO: result: $AR" >&5
4910
$as_echo "$AR" >&6; }
4912
{ $as_echo "$as_me:$LINENO: result: no" >&5
4913
$as_echo "no" >&6; }
4918
if test -z "$ac_cv_prog_AR"; then
4920
# Extract the first word of "ar", so it can be a program name with args.
4921
set dummy ar; ac_word=$2
4922
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4923
$as_echo_n "checking for $ac_word... " >&6; }
4924
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4925
$as_echo_n "(cached) " >&6
4927
if test -n "$ac_ct_AR"; then
4928
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4930
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934
test -z "$as_dir" && as_dir=.
4935
for ac_exec_ext in '' $ac_executable_extensions; do
4936
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937
ac_cv_prog_ac_ct_AR="ar"
4938
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4947
ac_ct_AR=$ac_cv_prog_ac_ct_AR
4948
if test -n "$ac_ct_AR"; then
4949
{ $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4950
$as_echo "$ac_ct_AR" >&6; }
4952
{ $as_echo "$as_me:$LINENO: result: no" >&5
4953
$as_echo "no" >&6; }
4956
if test "x$ac_ct_AR" = x; then
4959
case $cross_compiling:$ac_tool_warned in
4961
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4962
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4963
ac_tool_warned=yes ;;
4971
test -z "$AR" && AR=ar
4972
test -z "$AR_FLAGS" && AR_FLAGS=cru
4984
if test -n "$ac_tool_prefix"; then
4985
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4986
set dummy ${ac_tool_prefix}strip; ac_word=$2
4987
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4988
$as_echo_n "checking for $ac_word... " >&6; }
4989
if test "${ac_cv_prog_STRIP+set}" = set; then
4990
$as_echo_n "(cached) " >&6
4992
if test -n "$STRIP"; then
4993
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4995
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999
test -z "$as_dir" && as_dir=.
5000
for ac_exec_ext in '' $ac_executable_extensions; do
5001
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5002
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5003
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5012
STRIP=$ac_cv_prog_STRIP
5013
if test -n "$STRIP"; then
5014
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5015
$as_echo "$STRIP" >&6; }
5017
{ $as_echo "$as_me:$LINENO: result: no" >&5
5018
$as_echo "no" >&6; }
5023
if test -z "$ac_cv_prog_STRIP"; then
5025
# Extract the first word of "strip", so it can be a program name with args.
5026
set dummy strip; ac_word=$2
5027
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5028
$as_echo_n "checking for $ac_word... " >&6; }
5029
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5030
$as_echo_n "(cached) " >&6
5032
if test -n "$ac_ct_STRIP"; then
5033
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5035
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039
test -z "$as_dir" && as_dir=.
5040
for ac_exec_ext in '' $ac_executable_extensions; do
5041
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042
ac_cv_prog_ac_ct_STRIP="strip"
5043
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5052
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5053
if test -n "$ac_ct_STRIP"; then
5054
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5055
$as_echo "$ac_ct_STRIP" >&6; }
5057
{ $as_echo "$as_me:$LINENO: result: no" >&5
5058
$as_echo "no" >&6; }
5061
if test "x$ac_ct_STRIP" = x; then
5064
case $cross_compiling:$ac_tool_warned in
5066
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5067
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5068
ac_tool_warned=yes ;;
5073
STRIP="$ac_cv_prog_STRIP"
5076
test -z "$STRIP" && STRIP=:
5083
if test -n "$ac_tool_prefix"; then
5084
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5085
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5086
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5087
$as_echo_n "checking for $ac_word... " >&6; }
5088
if test "${ac_cv_prog_RANLIB+set}" = set; then
5089
$as_echo_n "(cached) " >&6
5091
if test -n "$RANLIB"; then
5092
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5094
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5098
test -z "$as_dir" && as_dir=.
5099
for ac_exec_ext in '' $ac_executable_extensions; do
5100
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5101
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5102
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5111
RANLIB=$ac_cv_prog_RANLIB
5112
if test -n "$RANLIB"; then
5113
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5114
$as_echo "$RANLIB" >&6; }
5116
{ $as_echo "$as_me:$LINENO: result: no" >&5
5117
$as_echo "no" >&6; }
5122
if test -z "$ac_cv_prog_RANLIB"; then
5123
ac_ct_RANLIB=$RANLIB
5124
# Extract the first word of "ranlib", so it can be a program name with args.
5125
set dummy ranlib; ac_word=$2
5126
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5127
$as_echo_n "checking for $ac_word... " >&6; }
5128
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5129
$as_echo_n "(cached) " >&6
5131
if test -n "$ac_ct_RANLIB"; then
5132
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5134
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138
test -z "$as_dir" && as_dir=.
5139
for ac_exec_ext in '' $ac_executable_extensions; do
5140
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5141
ac_cv_prog_ac_ct_RANLIB="ranlib"
5142
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5151
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5152
if test -n "$ac_ct_RANLIB"; then
5153
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5154
$as_echo "$ac_ct_RANLIB" >&6; }
5156
{ $as_echo "$as_me:$LINENO: result: no" >&5
5157
$as_echo "no" >&6; }
5160
if test "x$ac_ct_RANLIB" = x; then
5163
case $cross_compiling:$ac_tool_warned in
5165
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5166
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5167
ac_tool_warned=yes ;;
5169
RANLIB=$ac_ct_RANLIB
5172
RANLIB="$ac_cv_prog_RANLIB"
5175
test -z "$RANLIB" && RANLIB=:
5182
# Determine commands to create old-style static archives.
5183
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5184
old_postinstall_cmds='chmod 644 $oldlib'
5185
old_postuninstall_cmds=
5187
if test -n "$RANLIB"; then
5190
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5193
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5196
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5232
# If no C compiler was specified, use CC.
5235
# If no C compiler flags were specified, use CFLAGS.
5236
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5238
# Allow CC to be a program name with arguments.
5242
# Check for command to grab the raw symbol name followed by C symbol from nm.
5243
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5244
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5245
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5246
$as_echo_n "(cached) " >&6
5249
# These are sane defaults that work on at least a few old systems.
5250
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
5252
# Character class describing NM global symbol codes.
5253
symcode='[BCDEGRST]'
5255
# Regexp to match symbols that can be accessed directly from C.
5256
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5258
# Define system-specific variables.
5263
cygwin* | mingw* | pw32* | cegcc*)
5264
symcode='[ABCDGISTW]'
5267
if test "$host_cpu" = ia64; then
5268
symcode='[ABCDEGRST]'
5272
symcode='[BCDEGRST]'
5275
symcode='[BCDEGQRST]'
5286
sysv5* | sco5v6* | unixware* | OpenUNIX*)
5294
# If we're using GNU nm, then use its standard symbol codes.
5295
case `$NM -V 2>&1` in
5296
*GNU* | *'with BFD'*)
5297
symcode='[ABCDGIRSTW]' ;;
5300
# Transform an extracted symbol line into a proper C declaration.
5301
# Some systems (esp. on ia64) link data and code symbols differently,
5302
# so use this general approach.
5303
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5305
# Transform an extracted symbol line into symbol name and symbol address
5306
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5307
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'"
5309
# Handle CRLF in mingw tool chain
5313
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5317
# Try without a prefix underscore, then with it.
5318
for ac_symprfx in "" "_"; do
5320
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5321
symxfrm="\\1 $ac_symprfx\\2 \\2"
5323
# Write the raw and C identifiers.
5324
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5325
# Fake it for dumpbin and say T for any non-static function
5326
# and D for any global variable.
5327
# Also find C++ and __fastcall symbols from MSVC++,
5328
# which start with @ or ?.
5329
lt_cv_sys_global_symbol_pipe="$AWK '"\
5330
" {last_section=section; section=\$ 3};"\
5331
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5332
" \$ 0!~/External *\|/{next};"\
5333
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5334
" {if(hide[section]) next};"\
5335
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5336
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5337
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
5338
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5339
" ' prfx=^$ac_symprfx"
5341
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5344
# Check to see that the pipe works correctly.
5348
cat > conftest.$ac_ext <<_LT_EOF
5353
void nm_test_func(void);
5354
void nm_test_func(void){}
5358
int main(){nm_test_var='a';nm_test_func();return(0);}
5361
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5362
(eval $ac_compile) 2>&5
5364
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365
(exit $ac_status); }; then
5366
# Now try to grab the symbols.
5368
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5369
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5371
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372
(exit $ac_status); } && test -s "$nlist"; then
5373
# Try sorting and uniquifying the output.
5374
if sort "$nlist" | uniq > "$nlist"T; then
5375
mv -f "$nlist"T "$nlist"
5380
# Make sure that we snagged all the symbols we need.
5381
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5382
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5383
cat <<_LT_EOF > conftest.$ac_ext
5389
# Now generate the symbol file.
5390
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5392
cat <<_LT_EOF >> conftest.$ac_ext
5394
/* The mapping between symbol names and symbols. */
5399
lt__PROGRAM__LTX_preloaded_symbols[] =
5401
{ "@PROGRAM@", (void *) 0 },
5403
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5404
cat <<\_LT_EOF >> conftest.$ac_ext
5408
/* This works around a problem in FreeBSD linker */
5409
#ifdef FREEBSD_WORKAROUND
5410
static const void *lt_preloaded_setup() {
5411
return lt__PROGRAM__LTX_preloaded_symbols;
5419
# Now try linking the two files.
5420
mv conftest.$ac_objext conftstm.$ac_objext
5421
lt_save_LIBS="$LIBS"
5422
lt_save_CFLAGS="$CFLAGS"
5423
LIBS="conftstm.$ac_objext"
5424
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5425
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5426
(eval $ac_link) 2>&5
5428
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5429
(exit $ac_status); } && test -s conftest${ac_exeext}; then
5432
LIBS="$lt_save_LIBS"
5433
CFLAGS="$lt_save_CFLAGS"
5435
echo "cannot find nm_test_func in $nlist" >&5
5438
echo "cannot find nm_test_var in $nlist" >&5
5441
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5444
echo "$progname: failed program was:" >&5
5445
cat conftest.$ac_ext >&5
5447
rm -rf conftest* conftst*
5449
# Do not use the global_symbol_pipe unless it works.
5450
if test "$pipe_works" = yes; then
5453
lt_cv_sys_global_symbol_pipe=
5459
if test -z "$lt_cv_sys_global_symbol_pipe"; then
5460
lt_cv_sys_global_symbol_to_cdecl=
5462
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5463
{ $as_echo "$as_me:$LINENO: result: failed" >&5
5464
$as_echo "failed" >&6; }
5466
{ $as_echo "$as_me:$LINENO: result: ok" >&5
5467
$as_echo "ok" >&6; }
5492
# Check whether --enable-libtool-lock was given.
5493
if test "${enable_libtool_lock+set}" = set; then
5494
enableval=$enable_libtool_lock;
5497
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5499
# Some flags need to be propagated to the compiler or linker for good
5503
# Find out which ABI we are using.
5504
echo 'int i;' > conftest.$ac_ext
5505
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5506
(eval $ac_compile) 2>&5
5508
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5509
(exit $ac_status); }; then
5510
case `/usr/bin/file conftest.$ac_objext` in
5522
# Find out which ABI we are using.
5523
echo '#line 5523 "configure"' > conftest.$ac_ext
5524
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5525
(eval $ac_compile) 2>&5
5527
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528
(exit $ac_status); }; then
5529
if test "$lt_cv_prog_gnu_ld" = yes; then
5530
case `/usr/bin/file conftest.$ac_objext` in
5532
LD="${LD-ld} -melf32bsmip"
5535
LD="${LD-ld} -melf32bmipn32"
5538
LD="${LD-ld} -melf64bmip"
5542
case `/usr/bin/file conftest.$ac_objext` in
5558
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5559
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5560
# Find out which ABI we are using.
5561
echo 'int i;' > conftest.$ac_ext
5562
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5563
(eval $ac_compile) 2>&5
5565
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566
(exit $ac_status); }; then
5567
case `/usr/bin/file conftest.o` in
5570
x86_64-*kfreebsd*-gnu)
5571
LD="${LD-ld} -m elf_i386_fbsd"
5574
LD="${LD-ld} -m elf_i386"
5576
ppc64-*linux*|powerpc64-*linux*)
5577
LD="${LD-ld} -m elf32ppclinux"
5580
LD="${LD-ld} -m elf_s390"
5583
LD="${LD-ld} -m elf32_sparc"
5589
x86_64-*kfreebsd*-gnu)
5590
LD="${LD-ld} -m elf_x86_64_fbsd"
5593
LD="${LD-ld} -m elf_x86_64"
5595
ppc*-*linux*|powerpc*-*linux*)
5596
LD="${LD-ld} -m elf64ppc"
5598
s390*-*linux*|s390*-*tpf*)
5599
LD="${LD-ld} -m elf64_s390"
5602
LD="${LD-ld} -m elf64_sparc"
5612
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
5613
SAVE_CFLAGS="$CFLAGS"
5614
CFLAGS="$CFLAGS -belf"
5615
{ $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5616
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5617
if test "${lt_cv_cc_needs_belf+set}" = set; then
5618
$as_echo_n "(cached) " >&6
5621
ac_cpp='$CPP $CPPFLAGS'
5622
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5623
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5624
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5626
cat >conftest.$ac_ext <<_ACEOF
5629
cat confdefs.h >>conftest.$ac_ext
5630
cat >>conftest.$ac_ext <<_ACEOF
5631
/* end confdefs.h. */
5641
rm -f conftest.$ac_objext conftest$ac_exeext
5642
if { (ac_try="$ac_link"
5644
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5645
*) ac_try_echo=$ac_try;;
5647
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5648
$as_echo "$ac_try_echo") >&5
5649
(eval "$ac_link") 2>conftest.er1
5651
grep -v '^ *+' conftest.er1 >conftest.err
5653
cat conftest.err >&5
5654
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655
(exit $ac_status); } && {
5656
test -z "$ac_c_werror_flag" ||
5657
test ! -s conftest.err
5658
} && test -s conftest$ac_exeext && {
5659
test "$cross_compiling" = yes ||
5660
$as_test_x conftest$ac_exeext
5662
lt_cv_cc_needs_belf=yes
5664
$as_echo "$as_me: failed program was:" >&5
5665
sed 's/^/| /' conftest.$ac_ext >&5
5667
lt_cv_cc_needs_belf=no
5670
rm -rf conftest.dSYM
5671
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5672
conftest$ac_exeext conftest.$ac_ext
5674
ac_cpp='$CPP $CPPFLAGS'
5675
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5676
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5677
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5680
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5681
$as_echo "$lt_cv_cc_needs_belf" >&6; }
5682
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5683
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5684
CFLAGS="$SAVE_CFLAGS"
5688
# Find out which ABI we are using.
5689
echo 'int i;' > conftest.$ac_ext
5690
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5691
(eval $ac_compile) 2>&5
5693
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694
(exit $ac_status); }; then
5695
case `/usr/bin/file conftest.o` in
5697
case $lt_cv_prog_gnu_ld in
5698
yes*) LD="${LD-ld} -m elf64_sparc" ;;
5700
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5712
need_locks="$enable_libtool_lock"
5716
rhapsody* | darwin*)
5717
if test -n "$ac_tool_prefix"; then
5718
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5719
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5720
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5721
$as_echo_n "checking for $ac_word... " >&6; }
5722
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5723
$as_echo_n "(cached) " >&6
5725
if test -n "$DSYMUTIL"; then
5726
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5728
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732
test -z "$as_dir" && as_dir=.
5733
for ac_exec_ext in '' $ac_executable_extensions; do
5734
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5735
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5736
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5745
DSYMUTIL=$ac_cv_prog_DSYMUTIL
5746
if test -n "$DSYMUTIL"; then
5747
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5748
$as_echo "$DSYMUTIL" >&6; }
5750
{ $as_echo "$as_me:$LINENO: result: no" >&5
5751
$as_echo "no" >&6; }
5756
if test -z "$ac_cv_prog_DSYMUTIL"; then
5757
ac_ct_DSYMUTIL=$DSYMUTIL
5758
# Extract the first word of "dsymutil", so it can be a program name with args.
5759
set dummy dsymutil; ac_word=$2
5760
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5761
$as_echo_n "checking for $ac_word... " >&6; }
5762
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5763
$as_echo_n "(cached) " >&6
5765
if test -n "$ac_ct_DSYMUTIL"; then
5766
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5768
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5772
test -z "$as_dir" && as_dir=.
5773
for ac_exec_ext in '' $ac_executable_extensions; do
5774
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5775
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5776
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5785
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5786
if test -n "$ac_ct_DSYMUTIL"; then
5787
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5788
$as_echo "$ac_ct_DSYMUTIL" >&6; }
5790
{ $as_echo "$as_me:$LINENO: result: no" >&5
5791
$as_echo "no" >&6; }
5794
if test "x$ac_ct_DSYMUTIL" = x; then
5797
case $cross_compiling:$ac_tool_warned in
5799
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5800
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5801
ac_tool_warned=yes ;;
5803
DSYMUTIL=$ac_ct_DSYMUTIL
5806
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5809
if test -n "$ac_tool_prefix"; then
5810
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5811
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5812
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5813
$as_echo_n "checking for $ac_word... " >&6; }
5814
if test "${ac_cv_prog_NMEDIT+set}" = set; then
5815
$as_echo_n "(cached) " >&6
5817
if test -n "$NMEDIT"; then
5818
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5820
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824
test -z "$as_dir" && as_dir=.
5825
for ac_exec_ext in '' $ac_executable_extensions; do
5826
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5827
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5828
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5837
NMEDIT=$ac_cv_prog_NMEDIT
5838
if test -n "$NMEDIT"; then
5839
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
5840
$as_echo "$NMEDIT" >&6; }
5842
{ $as_echo "$as_me:$LINENO: result: no" >&5
5843
$as_echo "no" >&6; }
5848
if test -z "$ac_cv_prog_NMEDIT"; then
5849
ac_ct_NMEDIT=$NMEDIT
5850
# Extract the first word of "nmedit", so it can be a program name with args.
5851
set dummy nmedit; ac_word=$2
5852
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5853
$as_echo_n "checking for $ac_word... " >&6; }
5854
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5855
$as_echo_n "(cached) " >&6
5857
if test -n "$ac_ct_NMEDIT"; then
5858
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5860
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864
test -z "$as_dir" && as_dir=.
5865
for ac_exec_ext in '' $ac_executable_extensions; do
5866
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867
ac_cv_prog_ac_ct_NMEDIT="nmedit"
5868
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5877
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5878
if test -n "$ac_ct_NMEDIT"; then
5879
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5880
$as_echo "$ac_ct_NMEDIT" >&6; }
5882
{ $as_echo "$as_me:$LINENO: result: no" >&5
5883
$as_echo "no" >&6; }
5886
if test "x$ac_ct_NMEDIT" = x; then
5889
case $cross_compiling:$ac_tool_warned in
5891
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5892
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5893
ac_tool_warned=yes ;;
5895
NMEDIT=$ac_ct_NMEDIT
5898
NMEDIT="$ac_cv_prog_NMEDIT"
5901
if test -n "$ac_tool_prefix"; then
5902
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5903
set dummy ${ac_tool_prefix}lipo; ac_word=$2
5904
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5905
$as_echo_n "checking for $ac_word... " >&6; }
5906
if test "${ac_cv_prog_LIPO+set}" = set; then
5907
$as_echo_n "(cached) " >&6
5909
if test -n "$LIPO"; then
5910
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5912
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916
test -z "$as_dir" && as_dir=.
5917
for ac_exec_ext in '' $ac_executable_extensions; do
5918
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5919
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5920
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5929
LIPO=$ac_cv_prog_LIPO
5930
if test -n "$LIPO"; then
5931
{ $as_echo "$as_me:$LINENO: result: $LIPO" >&5
5932
$as_echo "$LIPO" >&6; }
5934
{ $as_echo "$as_me:$LINENO: result: no" >&5
5935
$as_echo "no" >&6; }
5940
if test -z "$ac_cv_prog_LIPO"; then
5942
# Extract the first word of "lipo", so it can be a program name with args.
5943
set dummy lipo; ac_word=$2
5944
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5945
$as_echo_n "checking for $ac_word... " >&6; }
5946
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5947
$as_echo_n "(cached) " >&6
5949
if test -n "$ac_ct_LIPO"; then
5950
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5952
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5956
test -z "$as_dir" && as_dir=.
5957
for ac_exec_ext in '' $ac_executable_extensions; do
5958
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5959
ac_cv_prog_ac_ct_LIPO="lipo"
5960
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5969
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5970
if test -n "$ac_ct_LIPO"; then
5971
{ $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
5972
$as_echo "$ac_ct_LIPO" >&6; }
5974
{ $as_echo "$as_me:$LINENO: result: no" >&5
5975
$as_echo "no" >&6; }
5978
if test "x$ac_ct_LIPO" = x; then
5981
case $cross_compiling:$ac_tool_warned in
5983
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5984
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5985
ac_tool_warned=yes ;;
5990
LIPO="$ac_cv_prog_LIPO"
5993
if test -n "$ac_tool_prefix"; then
5994
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5995
set dummy ${ac_tool_prefix}otool; ac_word=$2
5996
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5997
$as_echo_n "checking for $ac_word... " >&6; }
5998
if test "${ac_cv_prog_OTOOL+set}" = set; then
5999
$as_echo_n "(cached) " >&6
6001
if test -n "$OTOOL"; then
6002
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6004
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6008
test -z "$as_dir" && as_dir=.
6009
for ac_exec_ext in '' $ac_executable_extensions; do
6010
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6011
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6012
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6021
OTOOL=$ac_cv_prog_OTOOL
6022
if test -n "$OTOOL"; then
6023
{ $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6024
$as_echo "$OTOOL" >&6; }
6026
{ $as_echo "$as_me:$LINENO: result: no" >&5
6027
$as_echo "no" >&6; }
6032
if test -z "$ac_cv_prog_OTOOL"; then
6034
# Extract the first word of "otool", so it can be a program name with args.
6035
set dummy otool; ac_word=$2
6036
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6037
$as_echo_n "checking for $ac_word... " >&6; }
6038
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6039
$as_echo_n "(cached) " >&6
6041
if test -n "$ac_ct_OTOOL"; then
6042
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6044
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048
test -z "$as_dir" && as_dir=.
6049
for ac_exec_ext in '' $ac_executable_extensions; do
6050
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6051
ac_cv_prog_ac_ct_OTOOL="otool"
6052
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6061
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6062
if test -n "$ac_ct_OTOOL"; then
6063
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6064
$as_echo "$ac_ct_OTOOL" >&6; }
6066
{ $as_echo "$as_me:$LINENO: result: no" >&5
6067
$as_echo "no" >&6; }
6070
if test "x$ac_ct_OTOOL" = x; then
6073
case $cross_compiling:$ac_tool_warned in
6075
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6076
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6077
ac_tool_warned=yes ;;
6082
OTOOL="$ac_cv_prog_OTOOL"
6085
if test -n "$ac_tool_prefix"; then
6086
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6087
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6088
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6089
$as_echo_n "checking for $ac_word... " >&6; }
6090
if test "${ac_cv_prog_OTOOL64+set}" = set; then
6091
$as_echo_n "(cached) " >&6
6093
if test -n "$OTOOL64"; then
6094
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6096
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100
test -z "$as_dir" && as_dir=.
6101
for ac_exec_ext in '' $ac_executable_extensions; do
6102
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6103
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6104
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6113
OTOOL64=$ac_cv_prog_OTOOL64
6114
if test -n "$OTOOL64"; then
6115
{ $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6116
$as_echo "$OTOOL64" >&6; }
6118
{ $as_echo "$as_me:$LINENO: result: no" >&5
6119
$as_echo "no" >&6; }
6124
if test -z "$ac_cv_prog_OTOOL64"; then
6125
ac_ct_OTOOL64=$OTOOL64
6126
# Extract the first word of "otool64", so it can be a program name with args.
6127
set dummy otool64; ac_word=$2
6128
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6129
$as_echo_n "checking for $ac_word... " >&6; }
6130
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6131
$as_echo_n "(cached) " >&6
6133
if test -n "$ac_ct_OTOOL64"; then
6134
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6136
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140
test -z "$as_dir" && as_dir=.
6141
for ac_exec_ext in '' $ac_executable_extensions; do
6142
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6143
ac_cv_prog_ac_ct_OTOOL64="otool64"
6144
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6153
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6154
if test -n "$ac_ct_OTOOL64"; then
6155
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6156
$as_echo "$ac_ct_OTOOL64" >&6; }
6158
{ $as_echo "$as_me:$LINENO: result: no" >&5
6159
$as_echo "no" >&6; }
6162
if test "x$ac_ct_OTOOL64" = x; then
6165
case $cross_compiling:$ac_tool_warned in
6167
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6168
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6169
ac_tool_warned=yes ;;
6171
OTOOL64=$ac_ct_OTOOL64
6174
OTOOL64="$ac_cv_prog_OTOOL64"
6203
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6204
$as_echo_n "checking for -single_module linker flag... " >&6; }
6205
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6206
$as_echo_n "(cached) " >&6
6208
lt_cv_apple_cc_single_mod=no
6209
if test -z "${LT_MULTI_MODULE}"; then
6210
# By default we will add the -single_module flag. You can override
6211
# by either setting the environment variable LT_MULTI_MODULE
6212
# non-empty at configure time, or by adding -multi_module to the
6214
rm -rf libconftest.dylib*
6215
echo "int foo(void){return 1;}" > conftest.c
6216
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6217
-dynamiclib -Wl,-single_module conftest.c" >&5
6218
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6219
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6221
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6222
lt_cv_apple_cc_single_mod=yes
6224
cat conftest.err >&5
6226
rm -rf libconftest.dylib*
6230
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6231
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6232
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6233
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6234
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6235
$as_echo_n "(cached) " >&6
6237
lt_cv_ld_exported_symbols_list=no
6238
save_LDFLAGS=$LDFLAGS
6239
echo "_main" > conftest.sym
6240
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6241
cat >conftest.$ac_ext <<_ACEOF
6244
cat confdefs.h >>conftest.$ac_ext
6245
cat >>conftest.$ac_ext <<_ACEOF
6246
/* end confdefs.h. */
6256
rm -f conftest.$ac_objext conftest$ac_exeext
6257
if { (ac_try="$ac_link"
6259
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6260
*) ac_try_echo=$ac_try;;
6262
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6263
$as_echo "$ac_try_echo") >&5
6264
(eval "$ac_link") 2>conftest.er1
6266
grep -v '^ *+' conftest.er1 >conftest.err
6268
cat conftest.err >&5
6269
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270
(exit $ac_status); } && {
6271
test -z "$ac_c_werror_flag" ||
6272
test ! -s conftest.err
6273
} && test -s conftest$ac_exeext && {
6274
test "$cross_compiling" = yes ||
6275
$as_test_x conftest$ac_exeext
6277
lt_cv_ld_exported_symbols_list=yes
6279
$as_echo "$as_me: failed program was:" >&5
6280
sed 's/^/| /' conftest.$ac_ext >&5
6282
lt_cv_ld_exported_symbols_list=no
6285
rm -rf conftest.dSYM
6286
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6287
conftest$ac_exeext conftest.$ac_ext
6288
LDFLAGS="$save_LDFLAGS"
6291
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6292
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6294
rhapsody* | darwin1.[012])
6295
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6297
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6298
darwin*) # darwin 5.x on
6299
# if running on 10.5 or later, the deployment target defaults
6300
# to the OS version, if on x86, and 10.4, the deployment
6301
# target defaults to 10.4. Don't you love it?
6302
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6303
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6304
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6306
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6308
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6312
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6313
_lt_dar_single_mod='$single_module'
6315
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6316
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6318
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6320
if test "$DSYMUTIL" != ":"; then
6321
_lt_dsymutil='~$DSYMUTIL $lib || :'
6329
ac_cpp='$CPP $CPPFLAGS'
6330
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6331
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6332
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6333
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6334
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6335
# On Suns, sometimes $CPP names a directory.
6336
if test -n "$CPP" && test -d "$CPP"; then
6339
if test -z "$CPP"; then
6340
if test "${ac_cv_prog_CPP+set}" = set; then
6341
$as_echo_n "(cached) " >&6
6343
# Double quotes because CPP needs to be expanded
6344
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6347
for ac_c_preproc_warn_flag in '' yes
6349
# Use a header file that comes with gcc, so configuring glibc
6350
# with a fresh cross-compiler works.
6351
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6352
# <limits.h> exists even on freestanding compilers.
6353
# On the NeXT, cc -E runs the code through the compiler's parser,
6354
# not just through cpp. "Syntax error" is here to catch this case.
6355
cat >conftest.$ac_ext <<_ACEOF
6358
cat confdefs.h >>conftest.$ac_ext
6359
cat >>conftest.$ac_ext <<_ACEOF
6360
/* end confdefs.h. */
6362
# include <limits.h>
6364
# include <assert.h>
6368
if { (ac_try="$ac_cpp conftest.$ac_ext"
6370
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6371
*) ac_try_echo=$ac_try;;
6373
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6374
$as_echo "$ac_try_echo") >&5
6375
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6377
grep -v '^ *+' conftest.er1 >conftest.err
6379
cat conftest.err >&5
6380
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381
(exit $ac_status); } >/dev/null && {
6382
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6383
test ! -s conftest.err
6387
$as_echo "$as_me: failed program was:" >&5
6388
sed 's/^/| /' conftest.$ac_ext >&5
6390
# Broken: fails on valid input.
6394
rm -f conftest.err conftest.$ac_ext
6396
# OK, works on sane cases. Now check whether nonexistent headers
6397
# can be detected and how.
6398
cat >conftest.$ac_ext <<_ACEOF
6401
cat confdefs.h >>conftest.$ac_ext
6402
cat >>conftest.$ac_ext <<_ACEOF
6403
/* end confdefs.h. */
6404
#include <ac_nonexistent.h>
6406
if { (ac_try="$ac_cpp conftest.$ac_ext"
6408
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6409
*) ac_try_echo=$ac_try;;
6411
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6412
$as_echo "$ac_try_echo") >&5
6413
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6415
grep -v '^ *+' conftest.er1 >conftest.err
6417
cat conftest.err >&5
6418
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6419
(exit $ac_status); } >/dev/null && {
6420
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6421
test ! -s conftest.err
6423
# Broken: success on invalid input.
6426
$as_echo "$as_me: failed program was:" >&5
6427
sed 's/^/| /' conftest.$ac_ext >&5
6429
# Passes both tests.
6434
rm -f conftest.err conftest.$ac_ext
6437
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6438
rm -f conftest.err conftest.$ac_ext
6439
if $ac_preproc_ok; then
6451
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
6452
$as_echo "$CPP" >&6; }
6454
for ac_c_preproc_warn_flag in '' yes
6456
# Use a header file that comes with gcc, so configuring glibc
6457
# with a fresh cross-compiler works.
6458
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6459
# <limits.h> exists even on freestanding compilers.
6460
# On the NeXT, cc -E runs the code through the compiler's parser,
6461
# not just through cpp. "Syntax error" is here to catch this case.
6462
cat >conftest.$ac_ext <<_ACEOF
6465
cat confdefs.h >>conftest.$ac_ext
6466
cat >>conftest.$ac_ext <<_ACEOF
6467
/* end confdefs.h. */
6469
# include <limits.h>
6471
# include <assert.h>
6475
if { (ac_try="$ac_cpp conftest.$ac_ext"
6477
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6478
*) ac_try_echo=$ac_try;;
6480
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6481
$as_echo "$ac_try_echo") >&5
6482
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6484
grep -v '^ *+' conftest.er1 >conftest.err
6486
cat conftest.err >&5
6487
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488
(exit $ac_status); } >/dev/null && {
6489
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6490
test ! -s conftest.err
6494
$as_echo "$as_me: failed program was:" >&5
6495
sed 's/^/| /' conftest.$ac_ext >&5
6497
# Broken: fails on valid input.
6501
rm -f conftest.err conftest.$ac_ext
6503
# OK, works on sane cases. Now check whether nonexistent headers
6504
# can be detected and how.
6505
cat >conftest.$ac_ext <<_ACEOF
6508
cat confdefs.h >>conftest.$ac_ext
6509
cat >>conftest.$ac_ext <<_ACEOF
6510
/* end confdefs.h. */
6511
#include <ac_nonexistent.h>
6513
if { (ac_try="$ac_cpp conftest.$ac_ext"
6515
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6516
*) ac_try_echo=$ac_try;;
6518
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6519
$as_echo "$ac_try_echo") >&5
6520
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6522
grep -v '^ *+' conftest.er1 >conftest.err
6524
cat conftest.err >&5
6525
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526
(exit $ac_status); } >/dev/null && {
6527
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6528
test ! -s conftest.err
6530
# Broken: success on invalid input.
6533
$as_echo "$as_me: failed program was:" >&5
6534
sed 's/^/| /' conftest.$ac_ext >&5
6536
# Passes both tests.
6541
rm -f conftest.err conftest.$ac_ext
6544
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6545
rm -f conftest.err conftest.$ac_ext
6546
if $ac_preproc_ok; then
6549
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6550
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6551
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6552
See \`config.log' for more details." >&5
6553
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6554
See \`config.log' for more details." >&2;}
6555
{ (exit 1); exit 1; }; }; }
6559
ac_cpp='$CPP $CPPFLAGS'
6560
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6561
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6562
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6565
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6566
$as_echo_n "checking for ANSI C header files... " >&6; }
6567
if test "${ac_cv_header_stdc+set}" = set; then
6568
$as_echo_n "(cached) " >&6
6570
cat >conftest.$ac_ext <<_ACEOF
6573
cat confdefs.h >>conftest.$ac_ext
6574
cat >>conftest.$ac_ext <<_ACEOF
6575
/* end confdefs.h. */
6589
rm -f conftest.$ac_objext
6590
if { (ac_try="$ac_compile"
6592
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6593
*) ac_try_echo=$ac_try;;
6595
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6596
$as_echo "$ac_try_echo") >&5
6597
(eval "$ac_compile") 2>conftest.er1
6599
grep -v '^ *+' conftest.er1 >conftest.err
6601
cat conftest.err >&5
6602
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603
(exit $ac_status); } && {
6604
test -z "$ac_c_werror_flag" ||
6605
test ! -s conftest.err
6606
} && test -s conftest.$ac_objext; then
6607
ac_cv_header_stdc=yes
6609
$as_echo "$as_me: failed program was:" >&5
6610
sed 's/^/| /' conftest.$ac_ext >&5
6612
ac_cv_header_stdc=no
6615
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6617
if test $ac_cv_header_stdc = yes; then
6618
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6619
cat >conftest.$ac_ext <<_ACEOF
6622
cat confdefs.h >>conftest.$ac_ext
6623
cat >>conftest.$ac_ext <<_ACEOF
6624
/* end confdefs.h. */
6628
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6629
$EGREP "memchr" >/dev/null 2>&1; then
6632
ac_cv_header_stdc=no
6638
if test $ac_cv_header_stdc = yes; then
6639
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6640
cat >conftest.$ac_ext <<_ACEOF
6643
cat confdefs.h >>conftest.$ac_ext
6644
cat >>conftest.$ac_ext <<_ACEOF
6645
/* end confdefs.h. */
6649
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6650
$EGREP "free" >/dev/null 2>&1; then
6653
ac_cv_header_stdc=no
6659
if test $ac_cv_header_stdc = yes; then
6660
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6661
if test "$cross_compiling" = yes; then
6664
cat >conftest.$ac_ext <<_ACEOF
6667
cat confdefs.h >>conftest.$ac_ext
6668
cat >>conftest.$ac_ext <<_ACEOF
6669
/* end confdefs.h. */
6672
#if ((' ' & 0x0FF) == 0x020)
6673
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6674
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6676
# define ISLOWER(c) \
6677
(('a' <= (c) && (c) <= 'i') \
6678
|| ('j' <= (c) && (c) <= 'r') \
6679
|| ('s' <= (c) && (c) <= 'z'))
6680
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6683
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6688
for (i = 0; i < 256; i++)
6689
if (XOR (islower (i), ISLOWER (i))
6690
|| toupper (i) != TOUPPER (i))
6695
rm -f conftest$ac_exeext
6696
if { (ac_try="$ac_link"
6698
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6699
*) ac_try_echo=$ac_try;;
6701
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6702
$as_echo "$ac_try_echo") >&5
6703
(eval "$ac_link") 2>&5
6705
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6707
{ (case "(($ac_try" in
6708
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6709
*) ac_try_echo=$ac_try;;
6711
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6712
$as_echo "$ac_try_echo") >&5
6713
(eval "$ac_try") 2>&5
6715
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716
(exit $ac_status); }; }; then
6719
$as_echo "$as_me: program exited with status $ac_status" >&5
6720
$as_echo "$as_me: failed program was:" >&5
6721
sed 's/^/| /' conftest.$ac_ext >&5
6724
ac_cv_header_stdc=no
6726
rm -rf conftest.dSYM
6727
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6733
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6734
$as_echo "$ac_cv_header_stdc" >&6; }
6735
if test $ac_cv_header_stdc = yes; then
6737
cat >>confdefs.h <<\_ACEOF
6738
#define STDC_HEADERS 1
6743
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6753
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6754
inttypes.h stdint.h unistd.h
6756
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6757
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6758
$as_echo_n "checking for $ac_header... " >&6; }
6759
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6760
$as_echo_n "(cached) " >&6
6762
cat >conftest.$ac_ext <<_ACEOF
6765
cat confdefs.h >>conftest.$ac_ext
6766
cat >>conftest.$ac_ext <<_ACEOF
6767
/* end confdefs.h. */
6768
$ac_includes_default
6770
#include <$ac_header>
6772
rm -f conftest.$ac_objext
6773
if { (ac_try="$ac_compile"
6775
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6776
*) ac_try_echo=$ac_try;;
6778
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6779
$as_echo "$ac_try_echo") >&5
6780
(eval "$ac_compile") 2>conftest.er1
6782
grep -v '^ *+' conftest.er1 >conftest.err
6784
cat conftest.err >&5
6785
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786
(exit $ac_status); } && {
6787
test -z "$ac_c_werror_flag" ||
6788
test ! -s conftest.err
6789
} && test -s conftest.$ac_objext; then
6790
eval "$as_ac_Header=yes"
6792
$as_echo "$as_me: failed program was:" >&5
6793
sed 's/^/| /' conftest.$ac_ext >&5
6795
eval "$as_ac_Header=no"
6798
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6800
ac_res=`eval 'as_val=${'$as_ac_Header'}
6801
$as_echo "$as_val"'`
6802
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6803
$as_echo "$ac_res" >&6; }
6804
as_val=`eval 'as_val=${'$as_ac_Header'}
6805
$as_echo "$as_val"'`
6806
if test "x$as_val" = x""yes; then
6807
cat >>confdefs.h <<_ACEOF
6808
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6817
for ac_header in dlfcn.h
6819
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6820
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6821
$as_echo_n "checking for $ac_header... " >&6; }
6822
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6823
$as_echo_n "(cached) " >&6
6825
cat >conftest.$ac_ext <<_ACEOF
6828
cat confdefs.h >>conftest.$ac_ext
6829
cat >>conftest.$ac_ext <<_ACEOF
6830
/* end confdefs.h. */
6831
$ac_includes_default
6833
#include <$ac_header>
6835
rm -f conftest.$ac_objext
6836
if { (ac_try="$ac_compile"
6838
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6839
*) ac_try_echo=$ac_try;;
6841
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6842
$as_echo "$ac_try_echo") >&5
6843
(eval "$ac_compile") 2>conftest.er1
6845
grep -v '^ *+' conftest.er1 >conftest.err
6847
cat conftest.err >&5
6848
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849
(exit $ac_status); } && {
6850
test -z "$ac_c_werror_flag" ||
6851
test ! -s conftest.err
6852
} && test -s conftest.$ac_objext; then
6853
eval "$as_ac_Header=yes"
6855
$as_echo "$as_me: failed program was:" >&5
6856
sed 's/^/| /' conftest.$ac_ext >&5
6858
eval "$as_ac_Header=no"
6861
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6863
ac_res=`eval 'as_val=${'$as_ac_Header'}
6864
$as_echo "$as_val"'`
6865
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6866
$as_echo "$ac_res" >&6; }
6867
as_val=`eval 'as_val=${'$as_ac_Header'}
6868
$as_echo "$as_val"'`
6869
if test "x$as_val" = x""yes; then
6870
cat >>confdefs.h <<_ACEOF
6871
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6890
# Check whether --enable-shared was given.
6891
if test "${enable_shared+set}" = set; then
6892
enableval=$enable_shared; p=${PACKAGE-default}
6894
yes) enable_shared=yes ;;
6895
no) enable_shared=no ;;
6898
# Look at the argument we got. We use all the common list separators.
6899
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6900
for pkg in $enableval; do
6902
if test "X$pkg" = "X$p"; then
6921
# Check whether --enable-static was given.
6922
if test "${enable_static+set}" = set; then
6923
enableval=$enable_static; p=${PACKAGE-default}
6925
yes) enable_static=yes ;;
6926
no) enable_static=no ;;
6929
# Look at the argument we got. We use all the common list separators.
6930
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6931
for pkg in $enableval; do
6933
if test "X$pkg" = "X$p"; then
6953
# Check whether --with-pic was given.
6954
if test "${with_pic+set}" = set; then
6955
withval=$with_pic; pic_mode="$withval"
6961
test -z "$pic_mode" && pic_mode=default
6969
# Check whether --enable-fast-install was given.
6970
if test "${enable_fast_install+set}" = set; then
6971
enableval=$enable_fast_install; p=${PACKAGE-default}
6973
yes) enable_fast_install=yes ;;
6974
no) enable_fast_install=no ;;
6976
enable_fast_install=no
6977
# Look at the argument we got. We use all the common list separators.
6978
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6979
for pkg in $enableval; do
6981
if test "X$pkg" = "X$p"; then
6982
enable_fast_install=yes
6989
enable_fast_install=yes
7002
# This can be used to rebuild libtool when needed
7003
LIBTOOL_DEPS="$ltmain"
7005
# Always use our own libtool.
7006
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7032
test -z "$LN_S" && LN_S="ln -s"
7047
if test -n "${ZSH_VERSION+set}" ; then
7048
setopt NO_GLOB_SUBST
7051
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
7052
$as_echo_n "checking for objdir... " >&6; }
7053
if test "${lt_cv_objdir+set}" = set; then
7054
$as_echo_n "(cached) " >&6
7056
rm -f .libs 2>/dev/null
7057
mkdir .libs 2>/dev/null
7058
if test -d .libs; then
7061
# MS-DOS does not allow filenames that begin with a dot.
7064
rmdir .libs 2>/dev/null
7066
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7067
$as_echo "$lt_cv_objdir" >&6; }
7068
objdir=$lt_cv_objdir
7074
cat >>confdefs.h <<_ACEOF
7075
#define LT_OBJDIR "$lt_cv_objdir/"
7096
# AIX sometimes has problems with the GCC collect2 program. For some
7097
# reason, if we set the COLLECT_NAMES environment variable, the problems
7098
# vanish in a puff of smoke.
7099
if test "X${COLLECT_NAMES+set}" != Xset; then
7101
export COLLECT_NAMES
7106
# Sed substitution that helps us do robust quoting. It backslashifies
7107
# metacharacters that are still active within double-quoted strings.
7108
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7110
# Same as above, but do not quote variable references.
7111
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7113
# Sed substitution to delay expansion of an escaped shell variable in a
7114
# double_quote_subst'ed string.
7115
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7117
# Sed substitution to delay expansion of an escaped single quote.
7118
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7120
# Sed substitution to avoid accidental globbing in evaled expressions
7121
no_glob_subst='s/\*/\\\*/g'
7125
can_build_shared=yes
7127
# All known linkers require a `.a' archive for static linking (except MSVC,
7128
# which needs '.lib').
7131
with_gnu_ld="$lt_cv_prog_gnu_ld"
7134
old_CFLAGS="$CFLAGS"
7136
# Set sane defaults for various variables
7137
test -z "$CC" && CC=cc
7138
test -z "$LTCC" && LTCC=$CC
7139
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7140
test -z "$LD" && LD=ld
7141
test -z "$ac_objext" && ac_objext=o
7143
for cc_temp in $compiler""; do
7145
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7146
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7151
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7154
# Only perform the check for file, if the check method requires it
7155
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7156
case $deplibs_check_method in
7158
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7159
{ $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7160
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7161
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7162
$as_echo_n "(cached) " >&6
7166
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7169
lt_save_MAGIC_CMD="$MAGIC_CMD"
7170
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7171
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7172
for ac_dir in $ac_dummy; do
7174
test -z "$ac_dir" && ac_dir=.
7175
if test -f $ac_dir/${ac_tool_prefix}file; then
7176
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7177
if test -n "$file_magic_test_file"; then
7178
case $deplibs_check_method in
7180
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7181
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7182
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7183
$EGREP "$file_magic_regex" > /dev/null; then
7188
*** Warning: the command libtool uses to detect shared libraries,
7189
*** $file_magic_cmd, produces output that libtool cannot recognize.
7190
*** The result is that libtool may fail to recognize shared libraries
7191
*** as such. This will affect the creation of libtool libraries that
7192
*** depend on shared libraries, but programs linked with such libtool
7193
*** libraries will work regardless of this problem. Nevertheless, you
7194
*** may want to report the problem to your system manager and/or to
7195
*** bug-libtool@gnu.org
7205
MAGIC_CMD="$lt_save_MAGIC_CMD"
7210
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7211
if test -n "$MAGIC_CMD"; then
7212
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7213
$as_echo "$MAGIC_CMD" >&6; }
7215
{ $as_echo "$as_me:$LINENO: result: no" >&5
7216
$as_echo "no" >&6; }
7223
if test -z "$lt_cv_path_MAGIC_CMD"; then
7224
if test -n "$ac_tool_prefix"; then
7225
{ $as_echo "$as_me:$LINENO: checking for file" >&5
7226
$as_echo_n "checking for file... " >&6; }
7227
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7228
$as_echo_n "(cached) " >&6
7232
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7235
lt_save_MAGIC_CMD="$MAGIC_CMD"
7236
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7237
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7238
for ac_dir in $ac_dummy; do
7240
test -z "$ac_dir" && ac_dir=.
7241
if test -f $ac_dir/file; then
7242
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7243
if test -n "$file_magic_test_file"; then
7244
case $deplibs_check_method in
7246
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7247
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7248
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7249
$EGREP "$file_magic_regex" > /dev/null; then
7254
*** Warning: the command libtool uses to detect shared libraries,
7255
*** $file_magic_cmd, produces output that libtool cannot recognize.
7256
*** The result is that libtool may fail to recognize shared libraries
7257
*** as such. This will affect the creation of libtool libraries that
7258
*** depend on shared libraries, but programs linked with such libtool
7259
*** libraries will work regardless of this problem. Nevertheless, you
7260
*** may want to report the problem to your system manager and/or to
7261
*** bug-libtool@gnu.org
7271
MAGIC_CMD="$lt_save_MAGIC_CMD"
7276
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7277
if test -n "$MAGIC_CMD"; then
7278
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7279
$as_echo "$MAGIC_CMD" >&6; }
7281
{ $as_echo "$as_me:$LINENO: result: no" >&5
7282
$as_echo "no" >&6; }
7295
# Use C for the default configuration in the libtool script
7299
ac_cpp='$CPP $CPPFLAGS'
7300
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7301
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7302
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7305
# Source file extension for C test sources.
7308
# Object file extension for compiled C test sources.
7312
# Code to be used in simple compile tests
7313
lt_simple_compile_test_code="int some_variable = 0;"
7315
# Code to be used in simple link tests
7316
lt_simple_link_test_code='int main(){return(0);}'
7324
# If no C compiler was specified, use CC.
7327
# If no C compiler flags were specified, use CFLAGS.
7328
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7330
# Allow CC to be a program name with arguments.
7333
# Save the default compiler, since it gets overwritten when the other
7334
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7335
compiler_DEFAULT=$CC
7337
# save warnings/boilerplate of simple test code
7338
ac_outfile=conftest.$ac_objext
7339
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7340
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7341
_lt_compiler_boilerplate=`cat conftest.err`
7344
ac_outfile=conftest.$ac_objext
7345
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7346
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7347
_lt_linker_boilerplate=`cat conftest.err`
7351
if test -n "$compiler"; then
7353
lt_prog_compiler_no_builtin_flag=
7355
if test "$GCC" = yes; then
7356
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7358
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7359
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7360
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7361
$as_echo_n "(cached) " >&6
7363
lt_cv_prog_compiler_rtti_exceptions=no
7364
ac_outfile=conftest.$ac_objext
7365
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7366
lt_compiler_flag="-fno-rtti -fno-exceptions"
7367
# Insert the option either (1) after the last *FLAGS variable, or
7368
# (2) before a word containing "conftest.", or (3) at the end.
7369
# Note that $ac_compile itself does not contain backslashes and begins
7370
# with a dollar sign (not a hyphen), so the echo should work correctly.
7371
# The option is referenced via a variable to avoid confusing sed.
7372
lt_compile=`echo "$ac_compile" | $SED \
7373
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7374
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7375
-e 's:$: $lt_compiler_flag:'`
7376
(eval echo "\"\$as_me:7376: $lt_compile\"" >&5)
7377
(eval "$lt_compile" 2>conftest.err)
7379
cat conftest.err >&5
7380
echo "$as_me:7380: \$? = $ac_status" >&5
7381
if (exit $ac_status) && test -s "$ac_outfile"; then
7382
# The compiler can only warn and ignore the option if not recognized
7383
# So say no if there are warnings other than the usual output.
7384
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7385
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7386
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7387
lt_cv_prog_compiler_rtti_exceptions=yes
7393
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7394
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7396
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7397
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7409
lt_prog_compiler_wl=
7410
lt_prog_compiler_pic=
7411
lt_prog_compiler_static=
7413
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7414
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7416
if test "$GCC" = yes; then
7417
lt_prog_compiler_wl='-Wl,'
7418
lt_prog_compiler_static='-static'
7422
# All AIX code is PIC.
7423
if test "$host_cpu" = ia64; then
7424
# AIX 5 now supports IA64 processor
7425
lt_prog_compiler_static='-Bstatic'
7432
# see comment about AmigaOS4 .so support
7433
lt_prog_compiler_pic='-fPIC'
7436
# FIXME: we need at least 68020 code to build shared libraries, but
7437
# adding the `-m68020' flag to GCC prevents building anything better,
7439
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7444
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7445
# PIC is the default for these OSes.
7448
mingw* | cygwin* | pw32* | os2* | cegcc*)
7449
# This hack is so that the source file can tell whether it is being
7450
# built for inclusion in a dll (and should export symbols for example).
7451
# Although the cygwin gcc ignores -fPIC, still need this for old-style
7452
# (--disable-auto-import) libraries
7453
lt_prog_compiler_pic='-DDLL_EXPORT'
7456
darwin* | rhapsody*)
7457
# PIC is the default on this platform
7458
# Common symbols not allowed in MH_DYLIB files
7459
lt_prog_compiler_pic='-fno-common'
7463
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7464
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7465
# sets the default TLS model and affects inlining.
7471
lt_prog_compiler_pic='-fPIC'
7477
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
7478
# Instead, we relocate shared libraries at runtime.
7482
# Just because we use GCC doesn't mean we suddenly get shared libraries
7483
# on systems that don't support them.
7484
lt_prog_compiler_can_build_shared=no
7489
# QNX uses GNU C++, but need to define -shared option too, otherwise
7491
lt_prog_compiler_pic='-fPIC -shared'
7495
if test -d /usr/nec; then
7496
lt_prog_compiler_pic=-Kconform_pic
7501
lt_prog_compiler_pic='-fPIC'
7505
# PORTME Check for flag to pass linker flags through the system compiler.
7508
lt_prog_compiler_wl='-Wl,'
7509
if test "$host_cpu" = ia64; then
7510
# AIX 5 now supports IA64 processor
7511
lt_prog_compiler_static='-Bstatic'
7513
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7517
mingw* | cygwin* | pw32* | os2* | cegcc*)
7518
# This hack is so that the source file can tell whether it is being
7519
# built for inclusion in a dll (and should export symbols for example).
7520
lt_prog_compiler_pic='-DDLL_EXPORT'
7523
hpux9* | hpux10* | hpux11*)
7524
lt_prog_compiler_wl='-Wl,'
7525
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7532
lt_prog_compiler_pic='+Z'
7535
# Is there a better lt_prog_compiler_static that works with the bundled CC?
7536
lt_prog_compiler_static='${wl}-a ${wl}archive'
7539
irix5* | irix6* | nonstopux*)
7540
lt_prog_compiler_wl='-Wl,'
7541
# PIC (with -KPIC) is the default.
7542
lt_prog_compiler_static='-non_shared'
7545
linux* | k*bsd*-gnu)
7546
case $cc_basename in
7547
# old Intel for x86_64 which still supported -KPIC.
7549
lt_prog_compiler_wl='-Wl,'
7550
lt_prog_compiler_pic='-KPIC'
7551
lt_prog_compiler_static='-static'
7553
# icc used to be incompatible with GCC.
7554
# ICC 10 doesn't accept -KPIC any more.
7556
lt_prog_compiler_wl='-Wl,'
7557
lt_prog_compiler_pic='-fPIC'
7558
lt_prog_compiler_static='-static'
7560
# Lahey Fortran 8.1.
7562
lt_prog_compiler_wl='-Wl,'
7563
lt_prog_compiler_pic='--shared'
7564
lt_prog_compiler_static='--static'
7566
pgcc* | pgf77* | pgf90* | pgf95*)
7567
# Portland Group compilers (*not* the Pentium gcc compiler,
7568
# which looks to be a dead project)
7569
lt_prog_compiler_wl='-Wl,'
7570
lt_prog_compiler_pic='-fpic'
7571
lt_prog_compiler_static='-Bstatic'
7574
lt_prog_compiler_wl='-Wl,'
7575
# All Alpha code is PIC.
7576
lt_prog_compiler_static='-non_shared'
7579
# IBM XL C 8.0/Fortran 10.1 on PPC
7580
lt_prog_compiler_wl='-Wl,'
7581
lt_prog_compiler_pic='-qpic'
7582
lt_prog_compiler_static='-qstaticlink'
7585
case `$CC -V 2>&1 | sed 5q` in
7588
lt_prog_compiler_pic='-KPIC'
7589
lt_prog_compiler_static='-Bstatic'
7590
lt_prog_compiler_wl='-Wl,'
7593
# Sun Fortran 8.3 passes all unrecognized flags to the linker
7594
lt_prog_compiler_pic='-KPIC'
7595
lt_prog_compiler_static='-Bstatic'
7596
lt_prog_compiler_wl=''
7604
lt_prog_compiler_pic='-KPIC'
7605
lt_prog_compiler_static='-Bstatic'
7609
# QNX uses GNU C++, but need to define -shared option too, otherwise
7611
lt_prog_compiler_pic='-fPIC -shared'
7614
osf3* | osf4* | osf5*)
7615
lt_prog_compiler_wl='-Wl,'
7616
# All OSF/1 code is PIC.
7617
lt_prog_compiler_static='-non_shared'
7621
lt_prog_compiler_static='-non_shared'
7625
lt_prog_compiler_pic='-KPIC'
7626
lt_prog_compiler_static='-Bstatic'
7627
case $cc_basename in
7629
lt_prog_compiler_wl='-Qoption ld ';;
7631
lt_prog_compiler_wl='-Wl,';;
7636
lt_prog_compiler_wl='-Qoption ld '
7637
lt_prog_compiler_pic='-PIC'
7638
lt_prog_compiler_static='-Bstatic'
7641
sysv4 | sysv4.2uw2* | sysv4.3*)
7642
lt_prog_compiler_wl='-Wl,'
7643
lt_prog_compiler_pic='-KPIC'
7644
lt_prog_compiler_static='-Bstatic'
7648
if test -d /usr/nec ;then
7649
lt_prog_compiler_pic='-Kconform_pic'
7650
lt_prog_compiler_static='-Bstatic'
7654
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7655
lt_prog_compiler_wl='-Wl,'
7656
lt_prog_compiler_pic='-KPIC'
7657
lt_prog_compiler_static='-Bstatic'
7661
lt_prog_compiler_wl='-Wl,'
7662
lt_prog_compiler_can_build_shared=no
7666
lt_prog_compiler_pic='-pic'
7667
lt_prog_compiler_static='-Bstatic'
7671
lt_prog_compiler_can_build_shared=no
7677
# For platforms which do not support PIC, -DPIC is meaningless:
7679
lt_prog_compiler_pic=
7682
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7685
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7686
$as_echo "$lt_prog_compiler_pic" >&6; }
7694
# Check to make sure the PIC flag actually works.
7696
if test -n "$lt_prog_compiler_pic"; then
7697
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7698
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7699
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7700
$as_echo_n "(cached) " >&6
7702
lt_cv_prog_compiler_pic_works=no
7703
ac_outfile=conftest.$ac_objext
7704
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7705
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7706
# Insert the option either (1) after the last *FLAGS variable, or
7707
# (2) before a word containing "conftest.", or (3) at the end.
7708
# Note that $ac_compile itself does not contain backslashes and begins
7709
# with a dollar sign (not a hyphen), so the echo should work correctly.
7710
# The option is referenced via a variable to avoid confusing sed.
7711
lt_compile=`echo "$ac_compile" | $SED \
7712
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7713
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7714
-e 's:$: $lt_compiler_flag:'`
7715
(eval echo "\"\$as_me:7715: $lt_compile\"" >&5)
7716
(eval "$lt_compile" 2>conftest.err)
7718
cat conftest.err >&5
7719
echo "$as_me:7719: \$? = $ac_status" >&5
7720
if (exit $ac_status) && test -s "$ac_outfile"; then
7721
# The compiler can only warn and ignore the option if not recognized
7722
# So say no if there are warnings other than the usual output.
7723
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7724
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7725
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7726
lt_cv_prog_compiler_pic_works=yes
7732
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7733
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7735
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7736
case $lt_prog_compiler_pic in
7738
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7741
lt_prog_compiler_pic=
7742
lt_prog_compiler_can_build_shared=no
7753
# Check to make sure the static flag actually works.
7755
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7756
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7757
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7758
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7759
$as_echo_n "(cached) " >&6
7761
lt_cv_prog_compiler_static_works=no
7762
save_LDFLAGS="$LDFLAGS"
7763
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7764
echo "$lt_simple_link_test_code" > conftest.$ac_ext
7765
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7766
# The linker can only warn and ignore the option if not recognized
7767
# So say no if there are warnings
7768
if test -s conftest.err; then
7769
# Append any errors to the config.log.
7770
cat conftest.err 1>&5
7771
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7772
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7773
if diff conftest.exp conftest.er2 >/dev/null; then
7774
lt_cv_prog_compiler_static_works=yes
7777
lt_cv_prog_compiler_static_works=yes
7781
LDFLAGS="$save_LDFLAGS"
7784
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7785
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7787
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7790
lt_prog_compiler_static=
7799
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7800
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7801
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7802
$as_echo_n "(cached) " >&6
7804
lt_cv_prog_compiler_c_o=no
7805
$RM -r conftest 2>/dev/null
7809
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7811
lt_compiler_flag="-o out/conftest2.$ac_objext"
7812
# Insert the option either (1) after the last *FLAGS variable, or
7813
# (2) before a word containing "conftest.", or (3) at the end.
7814
# Note that $ac_compile itself does not contain backslashes and begins
7815
# with a dollar sign (not a hyphen), so the echo should work correctly.
7816
lt_compile=`echo "$ac_compile" | $SED \
7817
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7818
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7819
-e 's:$: $lt_compiler_flag:'`
7820
(eval echo "\"\$as_me:7820: $lt_compile\"" >&5)
7821
(eval "$lt_compile" 2>out/conftest.err)
7823
cat out/conftest.err >&5
7824
echo "$as_me:7824: \$? = $ac_status" >&5
7825
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7827
# The compiler can only warn and ignore the option if not recognized
7828
# So say no if there are warnings
7829
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7830
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7831
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7832
lt_cv_prog_compiler_c_o=yes
7837
# SGI C++ compiler will create directory out/ii_files/ for
7838
# template instantiation
7839
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7840
$RM out/* && rmdir out
7846
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7847
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7854
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7855
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7856
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7857
$as_echo_n "(cached) " >&6
7859
lt_cv_prog_compiler_c_o=no
7860
$RM -r conftest 2>/dev/null
7864
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7866
lt_compiler_flag="-o out/conftest2.$ac_objext"
7867
# Insert the option either (1) after the last *FLAGS variable, or
7868
# (2) before a word containing "conftest.", or (3) at the end.
7869
# Note that $ac_compile itself does not contain backslashes and begins
7870
# with a dollar sign (not a hyphen), so the echo should work correctly.
7871
lt_compile=`echo "$ac_compile" | $SED \
7872
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7873
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7874
-e 's:$: $lt_compiler_flag:'`
7875
(eval echo "\"\$as_me:7875: $lt_compile\"" >&5)
7876
(eval "$lt_compile" 2>out/conftest.err)
7878
cat out/conftest.err >&5
7879
echo "$as_me:7879: \$? = $ac_status" >&5
7880
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7882
# The compiler can only warn and ignore the option if not recognized
7883
# So say no if there are warnings
7884
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7885
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7886
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7887
lt_cv_prog_compiler_c_o=yes
7892
# SGI C++ compiler will create directory out/ii_files/ for
7893
# template instantiation
7894
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7895
$RM out/* && rmdir out
7901
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7902
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7907
hard_links="nottested"
7908
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7909
# do not overwrite the value of need_locks provided by the user
7910
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7911
$as_echo_n "checking if we can lock with hard links... " >&6; }
7914
ln conftest.a conftest.b 2>/dev/null && hard_links=no
7916
ln conftest.a conftest.b 2>&5 || hard_links=no
7917
ln conftest.a conftest.b 2>/dev/null && hard_links=no
7918
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5
7919
$as_echo "$hard_links" >&6; }
7920
if test "$hard_links" = no; then
7921
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7922
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7934
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7935
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
7938
allow_undefined_flag=
7939
always_export_symbols=no
7941
archive_expsym_cmds=
7942
compiler_needs_object=no
7943
enable_shared_with_static_runtimes=no
7944
export_dynamic_flag_spec=
7945
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7946
hardcode_automatic=no
7948
hardcode_direct_absolute=no
7949
hardcode_libdir_flag_spec=
7950
hardcode_libdir_flag_spec_ld=
7951
hardcode_libdir_separator=
7953
hardcode_shlibpath_var=unsupported
7955
link_all_deplibs=unknown
7958
old_archive_from_new_cmds=
7959
old_archive_from_expsyms_cmds=
7960
thread_safe_flag_spec=
7961
whole_archive_flag_spec=
7962
# include_expsyms should be a list of space-separated symbols to be *always*
7963
# included in the symbol list
7965
# exclude_expsyms can be an extended regexp of symbols to exclude
7966
# it will be wrapped by ` (' and `)$', so one must not match beginning or
7967
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7968
# as well as any symbol that contains `d'.
7969
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7970
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7971
# platforms (ab)use it in PIC code, but their linkers get confused if
7972
# the symbol is explicitly referenced. Since portable code cannot
7973
# rely on this symbol name, it's probably fine to never include it in
7974
# preloaded symbol tables.
7975
# Exclude shared library initialization/finalization symbols.
7976
extract_expsyms_cmds=
7979
cygwin* | mingw* | pw32* | cegcc*)
7980
# FIXME: the MSVC++ port hasn't been tested in a loooong time
7981
# When not using gcc, we currently assume that we are using
7982
# Microsoft Visual C++.
7983
if test "$GCC" != yes; then
7988
# we just hope/assume this is gcc and not c89 (= MSVC++)
7997
if test "$with_gnu_ld" = yes; then
7998
# If archive_cmds runs LD, not CC, wlarc should be empty
8001
# Set some defaults for GNU ld with shared library support. These
8002
# are reset later if shared libraries are not supported. Putting them
8003
# here allows them to be overridden if necessary.
8004
runpath_var=LD_RUN_PATH
8005
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8006
export_dynamic_flag_spec='${wl}--export-dynamic'
8007
# ancient GNU ld didn't support --whole-archive et. al.
8008
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8009
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8011
whole_archive_flag_spec=
8013
supports_anon_versioning=no
8014
case `$LD -v 2>&1` in
8015
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8016
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8017
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8018
*\ 2.11.*) ;; # other 2.11 versions
8019
*) supports_anon_versioning=yes ;;
8022
# See if GNU ld supports shared libraries.
8025
# On AIX/PPC, the GNU linker is very broken
8026
if test "$host_cpu" != ia64; then
8030
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8031
*** to be unable to reliably create shared libraries on AIX.
8032
*** Therefore, libtool is disabling shared libraries support. If you
8033
*** really care for shared libraries, you may want to modify your PATH
8034
*** so that a non-GNU linker is found, and then restart.
8043
# see comment about AmigaOS4 .so support
8044
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8045
archive_expsym_cmds=''
8048
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)'
8049
hardcode_libdir_flag_spec='-L$libdir'
8050
hardcode_minus_L=yes
8056
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8057
allow_undefined_flag=unsupported
8058
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8059
# support --undefined. This deserves some investigation. FIXME
8060
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8066
cygwin* | mingw* | pw32* | cegcc*)
8067
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8068
# as there is no search path for DLLs.
8069
hardcode_libdir_flag_spec='-L$libdir'
8070
allow_undefined_flag=unsupported
8071
always_export_symbols=no
8072
enable_shared_with_static_runtimes=yes
8073
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8075
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8076
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8077
# If the export-symbols file already is a .def file (1st line
8078
# is EXPORTS), use it as is; otherwise, prepend...
8079
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8080
cp $export_symbols $output_objdir/$soname.def;
8082
echo EXPORTS > $output_objdir/$soname.def;
8083
cat $export_symbols >> $output_objdir/$soname.def;
8085
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8093
hardcode_shlibpath_var=no
8094
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8095
export_dynamic_flag_spec='${wl}-E'
8096
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8097
# Instead, shared libraries are loaded at an image base (0x10000000 by
8098
# default) and relocated if they conflict, which is a slow very memory
8099
# consuming and fragmenting process. To avoid this, we pick a random,
8100
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8101
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8102
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8103
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'
8106
gnu* | linux* | tpf* | k*bsd*-gnu)
8108
if test "$host_os" = linux-dietlibc; then
8109
case $cc_basename in
8110
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8113
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8114
&& test "$tmp_diet" = no
8117
tmp_sharedflag='-shared'
8118
case $cc_basename,$host_cpu in
8119
pgcc*) # Portland Group C compiler
8120
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'
8121
tmp_addflag=' $pic_flag'
8123
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8124
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'
8125
tmp_addflag=' $pic_flag -Mnomain' ;;
8126
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8127
tmp_addflag=' -i_dynamic' ;;
8128
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8129
tmp_addflag=' -i_dynamic -nofor_main' ;;
8130
ifc* | ifort*) # Intel Fortran compiler
8131
tmp_addflag=' -nofor_main' ;;
8132
lf95*) # Lahey Fortran 8.1
8133
whole_archive_flag_spec=
8134
tmp_sharedflag='--shared' ;;
8135
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8136
tmp_sharedflag='-qmkshrobj'
8139
case `$CC -V 2>&1 | sed 5q` in
8140
*Sun\ C*) # Sun C 5.9
8141
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'
8142
compiler_needs_object=yes
8143
tmp_sharedflag='-G' ;;
8144
*Sun\ F*) # Sun Fortran 8.3
8145
tmp_sharedflag='-G' ;;
8147
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8149
if test "x$supports_anon_versioning" = xyes; then
8150
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8151
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8152
echo "local: *; };" >> $output_objdir/$libname.ver~
8153
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8156
case $cc_basename in
8158
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8159
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8160
hardcode_libdir_flag_spec=
8161
hardcode_libdir_flag_spec_ld='-rpath $libdir'
8162
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8163
if test "x$supports_anon_versioning" = xyes; then
8164
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8165
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8166
echo "local: *; };" >> $output_objdir/$libname.ver~
8167
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8176
netbsd* | netbsdelf*-gnu)
8177
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8178
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8181
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8182
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8187
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8191
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8192
*** create shared libraries on Solaris systems. Therefore, libtool
8193
*** is disabling shared libraries support. We urge you to upgrade GNU
8194
*** binutils to release 2.9.1 or newer. Another option is to modify
8195
*** your PATH or compiler configuration so that the native linker is
8196
*** used, and then restart.
8199
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8200
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8201
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8207
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8208
case `$LD -v 2>&1` in
8209
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8213
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8214
*** reliably create shared libraries on SCO systems. Therefore, libtool
8215
*** is disabling shared libraries support. We urge you to upgrade GNU
8216
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8217
*** your PATH or compiler configuration so that the native linker is
8218
*** used, and then restart.
8223
# For security reasons, it is highly recommended that you always
8224
# use absolute paths for naming shared libraries, and exclude the
8225
# DT_RUNPATH tag from executables and libraries. But doing so
8226
# requires that you compile everything twice, which is a pain.
8227
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8228
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8229
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8230
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8239
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8242
hardcode_shlibpath_var=no
8246
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8247
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8248
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8255
if test "$ld_shlibs" = no; then
8257
hardcode_libdir_flag_spec=
8258
export_dynamic_flag_spec=
8259
whole_archive_flag_spec=
8262
# PORTME fill in a description of your system's linker (not GNU ld)
8265
allow_undefined_flag=unsupported
8266
always_export_symbols=yes
8267
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'
8268
# Note: this linker hardcodes the directories in LIBPATH if there
8269
# are no directories specified by -L.
8270
hardcode_minus_L=yes
8271
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8272
# Neither direct hardcoding nor static linking is supported with a
8274
hardcode_direct=unsupported
8279
if test "$host_cpu" = ia64; then
8280
# On IA64, the linker does run time linking by default, so we don't
8281
# have to do anything special.
8282
aix_use_runtimelinking=no
8283
exp_sym_flag='-Bexport'
8286
# If we're using GNU nm, then we don't want the "-C" option.
8287
# -C means demangle to AIX nm, but means don't demangle with GNU nm
8288
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8289
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'
8291
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'
8293
aix_use_runtimelinking=no
8295
# Test if we are trying to use run time linking or normal
8296
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8297
# need to do runtime linking.
8298
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8299
for ld_flag in $LDFLAGS; do
8300
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8301
aix_use_runtimelinking=yes
8308
exp_sym_flag='-bexport'
8309
no_entry_flag='-bnoentry'
8312
# When large executables or shared objects are built, AIX ld can
8313
# have problems creating the table of contents. If linking a library
8314
# or program results in "error TOC overflow" add -mminimal-toc to
8315
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8316
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8320
hardcode_direct_absolute=yes
8321
hardcode_libdir_separator=':'
8322
link_all_deplibs=yes
8323
file_list_spec='${wl}-f,'
8325
if test "$GCC" = yes; then
8326
case $host_os in aix4.[012]|aix4.[012].*)
8327
# We only want to do this on AIX 4.2 and lower, the check
8328
# below for broken collect2 doesn't work under 4.3+
8329
collect2name=`${CC} -print-prog-name=collect2`
8330
if test -f "$collect2name" &&
8331
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8333
# We have reworked collect2
8336
# We have old collect2
8337
hardcode_direct=unsupported
8338
# It fails to find uninstalled libraries when the uninstalled
8339
# path is not listed in the libpath. Setting hardcode_minus_L
8340
# to unsupported forces relinking
8341
hardcode_minus_L=yes
8342
hardcode_libdir_flag_spec='-L$libdir'
8343
hardcode_libdir_separator=
8347
shared_flag='-shared'
8348
if test "$aix_use_runtimelinking" = yes; then
8349
shared_flag="$shared_flag "'${wl}-G'
8354
if test "$host_cpu" = ia64; then
8355
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8356
# chokes on -Wl,-G. The following line is correct:
8359
if test "$aix_use_runtimelinking" = yes; then
8360
shared_flag='${wl}-G'
8362
shared_flag='${wl}-bM:SRE'
8367
export_dynamic_flag_spec='${wl}-bexpall'
8368
# It seems that -bexpall does not export symbols beginning with
8369
# underscore (_), so it is better to generate a list of symbols to export.
8370
always_export_symbols=yes
8371
if test "$aix_use_runtimelinking" = yes; then
8372
# Warning - without using the other runtime loading flags (-brtl),
8373
# -berok will link without error, but may produce a broken library.
8374
allow_undefined_flag='-berok'
8375
# Determine the default libpath from the value encoded in an
8377
cat >conftest.$ac_ext <<_ACEOF
8380
cat confdefs.h >>conftest.$ac_ext
8381
cat >>conftest.$ac_ext <<_ACEOF
8382
/* end confdefs.h. */
8392
rm -f conftest.$ac_objext conftest$ac_exeext
8393
if { (ac_try="$ac_link"
8395
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8396
*) ac_try_echo=$ac_try;;
8398
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8399
$as_echo "$ac_try_echo") >&5
8400
(eval "$ac_link") 2>conftest.er1
8402
grep -v '^ *+' conftest.er1 >conftest.err
8404
cat conftest.err >&5
8405
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406
(exit $ac_status); } && {
8407
test -z "$ac_c_werror_flag" ||
8408
test ! -s conftest.err
8409
} && test -s conftest$ac_exeext && {
8410
test "$cross_compiling" = yes ||
8411
$as_test_x conftest$ac_exeext
8414
lt_aix_libpath_sed='
8415
/Import File Strings/,/^$/ {
8421
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8422
# Check for a 64-bit object if we didn't find anything.
8423
if test -z "$aix_libpath"; then
8424
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8427
$as_echo "$as_me: failed program was:" >&5
8428
sed 's/^/| /' conftest.$ac_ext >&5
8433
rm -rf conftest.dSYM
8434
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8435
conftest$ac_exeext conftest.$ac_ext
8436
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8438
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8439
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"
8441
if test "$host_cpu" = ia64; then
8442
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8443
allow_undefined_flag="-z nodefs"
8444
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"
8446
# Determine the default libpath from the value encoded in an
8448
cat >conftest.$ac_ext <<_ACEOF
8451
cat confdefs.h >>conftest.$ac_ext
8452
cat >>conftest.$ac_ext <<_ACEOF
8453
/* end confdefs.h. */
8463
rm -f conftest.$ac_objext conftest$ac_exeext
8464
if { (ac_try="$ac_link"
8466
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8467
*) ac_try_echo=$ac_try;;
8469
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8470
$as_echo "$ac_try_echo") >&5
8471
(eval "$ac_link") 2>conftest.er1
8473
grep -v '^ *+' conftest.er1 >conftest.err
8475
cat conftest.err >&5
8476
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8477
(exit $ac_status); } && {
8478
test -z "$ac_c_werror_flag" ||
8479
test ! -s conftest.err
8480
} && test -s conftest$ac_exeext && {
8481
test "$cross_compiling" = yes ||
8482
$as_test_x conftest$ac_exeext
8485
lt_aix_libpath_sed='
8486
/Import File Strings/,/^$/ {
8492
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8493
# Check for a 64-bit object if we didn't find anything.
8494
if test -z "$aix_libpath"; then
8495
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8498
$as_echo "$as_me: failed program was:" >&5
8499
sed 's/^/| /' conftest.$ac_ext >&5
8504
rm -rf conftest.dSYM
8505
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8506
conftest$ac_exeext conftest.$ac_ext
8507
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8509
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8510
# Warning - without using the other run time loading flags,
8511
# -berok will link without error, but may produce a broken library.
8512
no_undefined_flag=' ${wl}-bernotok'
8513
allow_undefined_flag=' ${wl}-berok'
8514
# Exported symbols can be pulled into shared objects from archives
8515
whole_archive_flag_spec='$convenience'
8516
archive_cmds_need_lc=yes
8517
# This is similar to how AIX traditionally builds its shared libraries.
8518
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'
8526
# see comment about AmigaOS4 .so support
8527
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8528
archive_expsym_cmds=''
8531
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)'
8532
hardcode_libdir_flag_spec='-L$libdir'
8533
hardcode_minus_L=yes
8539
export_dynamic_flag_spec=-rdynamic
8542
cygwin* | mingw* | pw32* | cegcc*)
8543
# When not using gcc, we currently assume that we are using
8544
# Microsoft Visual C++.
8545
# hardcode_libdir_flag_spec is actually meaningless, as there is
8546
# no search path for DLLs.
8547
hardcode_libdir_flag_spec=' '
8548
allow_undefined_flag=unsupported
8549
# Tell ltmain to make .lib files, not .a files.
8551
# Tell ltmain to make .dll files, not .so files.
8553
# FIXME: Setting linknames here is a bad hack.
8554
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8555
# The linker will automatically build a .lib file if we build a DLL.
8556
old_archive_from_new_cmds='true'
8557
# FIXME: Should let the user specify the lib program.
8558
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8559
fix_srcfile_path='`cygpath -w "$srcfile"`'
8560
enable_shared_with_static_runtimes=yes
8563
darwin* | rhapsody*)
8566
archive_cmds_need_lc=no
8568
hardcode_automatic=yes
8569
hardcode_shlibpath_var=unsupported
8570
whole_archive_flag_spec=''
8571
link_all_deplibs=yes
8572
allow_undefined_flag="$_lt_dar_allow_undefined"
8573
case $cc_basename in
8574
ifort*) _lt_dar_can_shared=yes ;;
8575
*) _lt_dar_can_shared=$GCC ;;
8577
if test "$_lt_dar_can_shared" = "yes"; then
8578
output_verbose_link_cmd=echo
8579
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8580
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8581
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}"
8582
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}"
8591
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8592
hardcode_libdir_flag_spec='-L$libdir'
8593
hardcode_shlibpath_var=no
8600
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8601
# support. Future versions do this automatically, but an explicit c++rt0.o
8602
# does not break anything, and helps significantly (at the cost of a little
8605
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8606
hardcode_libdir_flag_spec='-R$libdir'
8608
hardcode_shlibpath_var=no
8611
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
8613
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8615
hardcode_minus_L=yes
8616
hardcode_shlibpath_var=no
8619
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8620
freebsd* | dragonfly*)
8621
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8622
hardcode_libdir_flag_spec='-R$libdir'
8624
hardcode_shlibpath_var=no
8628
if test "$GCC" = yes; then
8629
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'
8631
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'
8633
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8634
hardcode_libdir_separator=:
8637
# hardcode_minus_L: Not really in the search PATH,
8638
# but as the default location of the library.
8639
hardcode_minus_L=yes
8640
export_dynamic_flag_spec='${wl}-E'
8644
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8645
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8647
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8649
if test "$with_gnu_ld" = no; then
8650
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8651
hardcode_libdir_flag_spec_ld='+b $libdir'
8652
hardcode_libdir_separator=:
8654
hardcode_direct_absolute=yes
8655
export_dynamic_flag_spec='${wl}-E'
8656
# hardcode_minus_L: Not really in the search PATH,
8657
# but as the default location of the library.
8658
hardcode_minus_L=yes
8663
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8666
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8669
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8672
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8678
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8681
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8684
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8688
if test "$with_gnu_ld" = no; then
8689
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8690
hardcode_libdir_separator=:
8695
hardcode_shlibpath_var=no
8699
hardcode_direct_absolute=yes
8700
export_dynamic_flag_spec='${wl}-E'
8702
# hardcode_minus_L: Not really in the search PATH,
8703
# but as the default location of the library.
8704
hardcode_minus_L=yes
8710
irix5* | irix6* | nonstopux*)
8711
if test "$GCC" = yes; then
8712
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'
8713
# Try to use the -exported_symbol ld option, if it does not
8714
# work, assume that -exports_file does not work either and
8715
# implicitly export all symbols.
8716
save_LDFLAGS="$LDFLAGS"
8717
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8718
cat >conftest.$ac_ext <<_ACEOF
8721
rm -f conftest.$ac_objext conftest$ac_exeext
8722
if { (ac_try="$ac_link"
8724
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8725
*) ac_try_echo=$ac_try;;
8727
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8728
$as_echo "$ac_try_echo") >&5
8729
(eval "$ac_link") 2>conftest.er1
8731
grep -v '^ *+' conftest.er1 >conftest.err
8733
cat conftest.err >&5
8734
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735
(exit $ac_status); } && {
8736
test -z "$ac_c_werror_flag" ||
8737
test ! -s conftest.err
8738
} && test -s conftest$ac_exeext && {
8739
test "$cross_compiling" = yes ||
8740
$as_test_x conftest$ac_exeext
8742
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'
8745
$as_echo "$as_me: failed program was:" >&5
8746
sed 's/^/| /' conftest.$ac_ext >&5
8751
rm -rf conftest.dSYM
8752
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8753
conftest$ac_exeext conftest.$ac_ext
8754
LDFLAGS="$save_LDFLAGS"
8756
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'
8757
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'
8759
archive_cmds_need_lc='no'
8760
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8761
hardcode_libdir_separator=:
8763
link_all_deplibs=yes
8766
netbsd* | netbsdelf*-gnu)
8767
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8768
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8770
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8772
hardcode_libdir_flag_spec='-R$libdir'
8774
hardcode_shlibpath_var=no
8778
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8780
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8781
hardcode_libdir_separator=:
8782
hardcode_shlibpath_var=no
8789
if test -f /usr/libexec/ld.so; then
8791
hardcode_shlibpath_var=no
8792
hardcode_direct_absolute=yes
8793
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8794
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8795
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8796
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8797
export_dynamic_flag_spec='${wl}-E'
8800
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8801
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8802
hardcode_libdir_flag_spec='-R$libdir'
8805
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8806
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8816
hardcode_libdir_flag_spec='-L$libdir'
8817
hardcode_minus_L=yes
8818
allow_undefined_flag=unsupported
8819
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'
8820
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8824
if test "$GCC" = yes; then
8825
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8826
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'
8828
allow_undefined_flag=' -expect_unresolved \*'
8829
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'
8831
archive_cmds_need_lc='no'
8832
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8833
hardcode_libdir_separator=:
8836
osf4* | osf5*) # as osf3* with the addition of -msym flag
8837
if test "$GCC" = yes; then
8838
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8839
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'
8840
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8842
allow_undefined_flag=' -expect_unresolved \*'
8843
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'
8844
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~
8845
$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'
8847
# Both c and cxx compiler support -rpath directly
8848
hardcode_libdir_flag_spec='-rpath $libdir'
8850
archive_cmds_need_lc='no'
8851
hardcode_libdir_separator=:
8855
no_undefined_flag=' -z defs'
8856
if test "$GCC" = yes; then
8858
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8859
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8860
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8862
case `$CC -V 2>&1` in
8865
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8866
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8867
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8871
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8872
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8873
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8877
hardcode_libdir_flag_spec='-R$libdir'
8878
hardcode_shlibpath_var=no
8880
solaris2.[0-5] | solaris2.[0-5].*) ;;
8882
# The compiler driver will combine and reorder linker options,
8883
# but understands `-z linker_flag'. GCC discards it without `$wl',
8884
# but is careful enough not to reorder.
8885
# Supported since Solaris 2.6 (maybe 2.5.1?)
8886
if test "$GCC" = yes; then
8887
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8889
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8893
link_all_deplibs=yes
8897
if test "x$host_vendor" = xsequent; then
8898
# Use $CC to link under sequent, because it throws in some extra .o
8899
# files that make .init and .fini sections work.
8900
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8902
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8904
hardcode_libdir_flag_spec='-L$libdir'
8906
hardcode_minus_L=yes
8907
hardcode_shlibpath_var=no
8911
case $host_vendor in
8913
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8914
hardcode_direct=yes # is this really true???
8917
## LD is ld it makes a PLAMLIB
8918
## CC just makes a GrossModule.
8919
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8920
reload_cmds='$CC -r -o $output$reload_objs'
8924
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8925
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8928
runpath_var='LD_RUN_PATH'
8929
hardcode_shlibpath_var=no
8933
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8934
hardcode_shlibpath_var=no
8935
export_dynamic_flag_spec='-Bexport'
8939
if test -d /usr/nec; then
8940
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8941
hardcode_shlibpath_var=no
8942
runpath_var=LD_RUN_PATH
8943
hardcode_runpath_var=yes
8948
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8949
no_undefined_flag='${wl}-z,text'
8950
archive_cmds_need_lc=no
8951
hardcode_shlibpath_var=no
8952
runpath_var='LD_RUN_PATH'
8954
if test "$GCC" = yes; then
8955
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8956
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8958
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8959
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8963
sysv5* | sco3.2v5* | sco5v6*)
8964
# Note: We can NOT use -z defs as we might desire, because we do not
8965
# link with -lc, and that would cause any symbols used from libc to
8966
# always be unresolved, which means just about no library would
8967
# ever link correctly. If we're not using GNU ld we use -z text
8968
# though, which does catch some bad symbols but isn't as heavy-handed
8970
no_undefined_flag='${wl}-z,text'
8971
allow_undefined_flag='${wl}-z,nodefs'
8972
archive_cmds_need_lc=no
8973
hardcode_shlibpath_var=no
8974
hardcode_libdir_flag_spec='${wl}-R,$libdir'
8975
hardcode_libdir_separator=':'
8976
link_all_deplibs=yes
8977
export_dynamic_flag_spec='${wl}-Bexport'
8978
runpath_var='LD_RUN_PATH'
8980
if test "$GCC" = yes; then
8981
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8982
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8984
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8985
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8990
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8991
hardcode_libdir_flag_spec='-L$libdir'
8992
hardcode_shlibpath_var=no
9000
if test x$host_vendor = xsni; then
9002
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9003
export_dynamic_flag_spec='${wl}-Blargedynsym'
9009
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9010
$as_echo "$ld_shlibs" >&6; }
9011
test "$ld_shlibs" = no && can_build_shared=no
9013
with_gnu_ld=$with_gnu_ld
9030
# Do we need to explicitly link libc?
9032
case "x$archive_cmds_need_lc" in
9034
# Assume -lc should be added
9035
archive_cmds_need_lc=yes
9037
if test "$enable_shared" = yes && test "$GCC" = yes; then
9038
case $archive_cmds in
9040
# FIXME: we may have to deal with multi-command sequences.
9043
# Test whether the compiler implicitly links with -lc since on some
9044
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9045
# to ld, don't add -lc before -lgcc.
9046
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9047
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9049
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9051
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9052
(eval $ac_compile) 2>&5
9054
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055
(exit $ac_status); } 2>conftest.err; then
9058
libobjs=conftest.$ac_objext
9060
wl=$lt_prog_compiler_wl
9061
pic_flag=$lt_prog_compiler_pic
9067
lt_save_allow_undefined_flag=$allow_undefined_flag
9068
allow_undefined_flag=
9069
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9070
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9072
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073
(exit $ac_status); }
9075
archive_cmds_need_lc=no
9077
archive_cmds_need_lc=yes
9079
allow_undefined_flag=$lt_save_allow_undefined_flag
9081
cat conftest.err 1>&5
9084
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9085
$as_echo "$archive_cmds_need_lc" >&6; }
9248
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9249
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9251
if test "$GCC" = yes; then
9253
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9254
*) lt_awk_arg="/^libraries:/" ;;
9256
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9257
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9258
# if the path contains ";" then we assume it to be the separator
9259
# otherwise default to the standard path separator (i.e. ":") - it is
9260
# assumed that no part of a normal pathname contains ";" but that should
9261
# okay in the real world where ";" in dirpaths is itself problematic.
9262
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9264
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9266
# Ok, now we have the path, separated by spaces, we can step through it
9267
# and add multilib dir if necessary.
9268
lt_tmp_lt_search_path_spec=
9269
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9270
for lt_sys_path in $lt_search_path_spec; do
9271
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9272
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9274
test -d "$lt_sys_path" && \
9275
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9278
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9279
BEGIN {RS=" "; FS="/|\n";} {
9282
for (lt_i = NF; lt_i > 0; lt_i--) {
9283
if ($lt_i != "" && $lt_i != ".") {
9284
if ($lt_i == "..") {
9287
if (lt_count == 0) {
9288
lt_foo="/" $lt_i lt_foo;
9295
if (lt_foo != "") { lt_freq[lt_foo]++; }
9296
if (lt_freq[lt_foo] == 1) { print lt_foo; }
9298
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9300
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9303
libname_spec='lib$name'
9311
shlibpath_overrides_runpath=unknown
9313
dynamic_linker="$host_os ld.so"
9314
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9315
need_lib_prefix=unknown
9316
hardcode_into_libs=no
9318
# when you set need_version to no, make sure it does not cause -set_version
9319
# flags to be left without arguments
9320
need_version=unknown
9325
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9326
shlibpath_var=LIBPATH
9328
# AIX 3 has no versioning support, so we append a major version to the name.
9329
soname_spec='${libname}${release}${shared_ext}$major'
9336
hardcode_into_libs=yes
9337
if test "$host_cpu" = ia64; then
9338
# AIX 5 supports IA64
9339
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9340
shlibpath_var=LD_LIBRARY_PATH
9342
# With GCC up to 2.95.x, collect2 would create an import file
9343
# for dependence libraries. The import file would start with
9344
# the line `#! .'. This would cause the generated library to
9345
# depend on `.', always an invalid library. This was fixed in
9346
# development snapshots of GCC prior to 3.0.
9348
aix4 | aix4.[01] | aix4.[01].*)
9349
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9351
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9358
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9359
# soname into executable. Probably we can add versioning support to
9360
# collect2, so additional links can be useful in future.
9361
if test "$aix_use_runtimelinking" = yes; then
9362
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
9363
# instead of lib<name>.a to let people know that these are not
9364
# typical AIX shared libraries.
9365
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9367
# We preserve .a as extension for shared libraries through AIX4.2
9368
# and later when we are not doing run time linking.
9369
library_names_spec='${libname}${release}.a $libname.a'
9370
soname_spec='${libname}${release}${shared_ext}$major'
9372
shlibpath_var=LIBPATH
9379
# Since July 2007 AmigaOS4 officially supports .so libraries.
9380
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9381
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9384
library_names_spec='$libname.ixlibrary $libname.a'
9385
# Create ${libname}_ixlibrary.a entries in /sys/libs.
9386
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'
9392
library_names_spec='${libname}${shared_ext}'
9393
dynamic_linker="$host_os ld.so"
9394
shlibpath_var=LIBRARY_PATH
9400
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9401
soname_spec='${libname}${release}${shared_ext}$major'
9402
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9403
shlibpath_var=LD_LIBRARY_PATH
9404
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9405
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9406
# the default ld.so.conf also contains /usr/contrib/lib and
9407
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9408
# libtool to hard-code these into programs
9411
cygwin* | mingw* | pw32* | cegcc*)
9412
version_type=windows
9417
case $GCC,$host_os in
9418
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9419
library_names_spec='$libname.dll.a'
9420
# DLL is installed to $(libdir)/../bin by postinstall_cmds
9421
postinstall_cmds='base_file=`basename \${file}`~
9422
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9423
dldir=$destdir/`dirname \$dlpath`~
9424
test -d \$dldir || mkdir -p \$dldir~
9425
$install_prog $dir/$dlname \$dldir/$dlname~
9426
chmod a+x \$dldir/$dlname~
9427
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9428
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9430
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9431
dlpath=$dir/\$dldll~
9433
shlibpath_overrides_runpath=yes
9437
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9438
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9439
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9442
# MinGW DLLs use traditional 'lib' prefix
9443
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9444
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9445
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9446
# It is most probably a Windows format PATH printed by
9447
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9448
# path with ; separators, and with drive letters. We can handle the
9449
# drive letters (cygwin fileutils understands them), so leave them,
9450
# especially as we might pass files found there to a mingw objdump,
9451
# which wouldn't understand a cygwinified path. Ahh.
9452
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9454
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9458
# pw32 DLLs use 'pw' prefix rather than 'lib'
9459
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9465
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9468
dynamic_linker='Win32 ld.exe'
9469
# FIXME: first we should search . and the directory the executable is in
9473
darwin* | rhapsody*)
9474
dynamic_linker="$host_os dyld"
9478
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9479
soname_spec='${libname}${release}${major}$shared_ext'
9480
shlibpath_overrides_runpath=yes
9481
shlibpath_var=DYLD_LIBRARY_PATH
9482
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9484
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9485
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9492
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9493
soname_spec='${libname}${release}${shared_ext}$major'
9494
shlibpath_var=LD_LIBRARY_PATH
9501
freebsd* | dragonfly*)
9502
# DragonFly does not have aout. When/if they implement a new
9503
# versioning mechanism, adjust this.
9504
if test -x /usr/bin/objformat; then
9505
objformat=`/usr/bin/objformat`
9508
freebsd[123]*) objformat=aout ;;
9512
version_type=freebsd-$objformat
9513
case $version_type in
9515
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9520
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9524
shlibpath_var=LD_LIBRARY_PATH
9527
shlibpath_overrides_runpath=yes
9529
freebsd3.[01]* | freebsdelf3.[01]*)
9530
shlibpath_overrides_runpath=yes
9531
hardcode_into_libs=yes
9533
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9534
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9535
shlibpath_overrides_runpath=no
9536
hardcode_into_libs=yes
9538
*) # from 4.6 on, and DragonFly
9539
shlibpath_overrides_runpath=yes
9540
hardcode_into_libs=yes
9549
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9550
soname_spec='${libname}${release}${shared_ext}$major'
9551
shlibpath_var=LD_LIBRARY_PATH
9552
hardcode_into_libs=yes
9555
hpux9* | hpux10* | hpux11*)
9556
# Give a soname corresponding to the major version so that dld.sl refuses to
9557
# link against other versions.
9564
hardcode_into_libs=yes
9565
dynamic_linker="$host_os dld.so"
9566
shlibpath_var=LD_LIBRARY_PATH
9567
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9568
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9569
soname_spec='${libname}${release}${shared_ext}$major'
9570
if test "X$HPUX_IA64_MODE" = X32; then
9571
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9573
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9575
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9579
hardcode_into_libs=yes
9580
dynamic_linker="$host_os dld.sl"
9581
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9582
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9583
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9584
soname_spec='${libname}${release}${shared_ext}$major'
9585
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9586
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9590
dynamic_linker="$host_os dld.sl"
9591
shlibpath_var=SHLIB_PATH
9592
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9593
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9594
soname_spec='${libname}${release}${shared_ext}$major'
9597
# HP-UX runs *really* slowly unless shared libraries are mode 555.
9598
postinstall_cmds='chmod 555 $lib'
9605
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9606
soname_spec='${libname}${release}${shared_ext}$major'
9607
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9608
shlibpath_var=LD_LIBRARY_PATH
9609
shlibpath_overrides_runpath=no
9610
hardcode_into_libs=yes
9613
irix5* | irix6* | nonstopux*)
9615
nonstopux*) version_type=nonstopux ;;
9617
if test "$lt_cv_prog_gnu_ld" = yes; then
9625
soname_spec='${libname}${release}${shared_ext}$major'
9626
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9628
irix5* | nonstopux*)
9632
case $LD in # libtool.m4 will add one of these switches to LD
9633
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9634
libsuff= shlibsuff= libmagic=32-bit;;
9635
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9636
libsuff=32 shlibsuff=N32 libmagic=N32;;
9637
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9638
libsuff=64 shlibsuff=64 libmagic=64-bit;;
9639
*) libsuff= shlibsuff= libmagic=never-match;;
9643
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9644
shlibpath_overrides_runpath=no
9645
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9646
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9647
hardcode_into_libs=yes
9650
# No shared lib support for Linux oldld, aout, or coff.
9651
linux*oldld* | linux*aout* | linux*coff*)
9655
# This must be Linux ELF.
9656
linux* | k*bsd*-gnu)
9660
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9661
soname_spec='${libname}${release}${shared_ext}$major'
9662
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9663
shlibpath_var=LD_LIBRARY_PATH
9664
shlibpath_overrides_runpath=no
9665
# Some binutils ld are patched to set DT_RUNPATH
9666
save_LDFLAGS=$LDFLAGS
9668
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9669
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9670
cat >conftest.$ac_ext <<_ACEOF
9673
cat confdefs.h >>conftest.$ac_ext
9674
cat >>conftest.$ac_ext <<_ACEOF
9675
/* end confdefs.h. */
9685
rm -f conftest.$ac_objext conftest$ac_exeext
9686
if { (ac_try="$ac_link"
9688
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9689
*) ac_try_echo=$ac_try;;
9691
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9692
$as_echo "$ac_try_echo") >&5
9693
(eval "$ac_link") 2>conftest.er1
9695
grep -v '^ *+' conftest.er1 >conftest.err
9697
cat conftest.err >&5
9698
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9699
(exit $ac_status); } && {
9700
test -z "$ac_c_werror_flag" ||
9701
test ! -s conftest.err
9702
} && test -s conftest$ac_exeext && {
9703
test "$cross_compiling" = yes ||
9704
$as_test_x conftest$ac_exeext
9706
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9707
shlibpath_overrides_runpath=yes
9711
$as_echo "$as_me: failed program was:" >&5
9712
sed 's/^/| /' conftest.$ac_ext >&5
9717
rm -rf conftest.dSYM
9718
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9719
conftest$ac_exeext conftest.$ac_ext
9720
LDFLAGS=$save_LDFLAGS
9723
# This implies no fast_install, which is unacceptable.
9724
# Some rework will be needed to allow for fast_install
9725
# before this can be enabled.
9726
hardcode_into_libs=yes
9728
# Append ld.so.conf contents to the search path
9729
if test -f /etc/ld.so.conf; then
9730
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' ' '`
9731
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9734
# We used to test for /lib/ld.so.1 and disable shared libraries on
9735
# powerpc, because MkLinux only supported shared libraries with the
9736
# GNU dynamic linker. Since this was broken with cross compilers,
9737
# most powerpc-linux boxes support dynamic linking these days and
9738
# people can always --disable-shared, the test was removed, and we
9739
# assume the GNU/Linux dynamic linker is in use.
9740
dynamic_linker='GNU/Linux ld.so'
9747
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9748
soname_spec='${libname}${release}${shared_ext}$major'
9749
shlibpath_var=LD_LIBRARY_PATH
9750
shlibpath_overrides_runpath=no
9751
hardcode_into_libs=yes
9752
dynamic_linker='NetBSD ld.elf_so'
9759
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9760
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9761
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9762
dynamic_linker='NetBSD (a.out) ld.so'
9764
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9765
soname_spec='${libname}${release}${shared_ext}$major'
9766
dynamic_linker='NetBSD ld.elf_so'
9768
shlibpath_var=LD_LIBRARY_PATH
9769
shlibpath_overrides_runpath=yes
9770
hardcode_into_libs=yes
9775
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9776
shlibpath_var=LD_LIBRARY_PATH
9777
shlibpath_overrides_runpath=yes
9784
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9785
soname_spec='${libname}${release}${shared_ext}$major'
9786
shlibpath_var=LD_LIBRARY_PATH
9787
shlibpath_overrides_runpath=no
9788
hardcode_into_libs=yes
9789
dynamic_linker='ldqnx.so'
9794
sys_lib_dlsearch_path_spec="/usr/lib"
9796
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9798
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9799
*) need_version=no ;;
9801
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9802
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9803
shlibpath_var=LD_LIBRARY_PATH
9804
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9806
openbsd2.[89] | openbsd2.[89].*)
9807
shlibpath_overrides_runpath=no
9810
shlibpath_overrides_runpath=yes
9814
shlibpath_overrides_runpath=yes
9819
libname_spec='$name'
9822
library_names_spec='$libname${shared_ext} $libname.a'
9823
dynamic_linker='OS/2 ld.exe'
9824
shlibpath_var=LIBPATH
9827
osf3* | osf4* | osf5*)
9831
soname_spec='${libname}${release}${shared_ext}$major'
9832
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9833
shlibpath_var=LD_LIBRARY_PATH
9834
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9835
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9846
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9847
soname_spec='${libname}${release}${shared_ext}$major'
9848
shlibpath_var=LD_LIBRARY_PATH
9849
shlibpath_overrides_runpath=yes
9850
hardcode_into_libs=yes
9851
# ldd complains unless libraries are executable
9852
postinstall_cmds='chmod +x $lib'
9857
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9858
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9859
shlibpath_var=LD_LIBRARY_PATH
9860
shlibpath_overrides_runpath=yes
9861
if test "$with_gnu_ld" = yes; then
9869
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9870
soname_spec='${libname}${release}${shared_ext}$major'
9871
shlibpath_var=LD_LIBRARY_PATH
9872
case $host_vendor in
9874
shlibpath_overrides_runpath=no
9876
runpath_var=LD_RUN_PATH
9884
shlibpath_overrides_runpath=no
9885
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9891
if test -d /usr/nec ;then
9893
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9894
soname_spec='$libname${shared_ext}.$major'
9895
shlibpath_var=LD_LIBRARY_PATH
9899
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9900
version_type=freebsd-elf
9903
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9904
soname_spec='${libname}${release}${shared_ext}$major'
9905
shlibpath_var=LD_LIBRARY_PATH
9906
shlibpath_overrides_runpath=yes
9907
hardcode_into_libs=yes
9908
if test "$with_gnu_ld" = yes; then
9909
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9911
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9914
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9918
sys_lib_dlsearch_path_spec='/usr/lib'
9922
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9926
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9927
shlibpath_var=LD_LIBRARY_PATH
9928
shlibpath_overrides_runpath=no
9929
hardcode_into_libs=yes
9934
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9935
soname_spec='${libname}${release}${shared_ext}$major'
9936
shlibpath_var=LD_LIBRARY_PATH
9943
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9944
$as_echo "$dynamic_linker" >&6; }
9945
test "$dynamic_linker" = no && can_build_shared=no
9947
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9948
if test "$GCC" = yes; then
9949
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9952
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9953
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9955
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9956
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10045
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10046
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10048
if test -n "$hardcode_libdir_flag_spec" ||
10049
test -n "$runpath_var" ||
10050
test "X$hardcode_automatic" = "Xyes" ; then
10052
# We can hardcode non-existent directories.
10053
if test "$hardcode_direct" != no &&
10054
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10055
# have to relink, otherwise we might link with an installed library
10056
# when we should be linking with a yet-to-be-installed one
10057
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10058
test "$hardcode_minus_L" != no; then
10059
# Linking always hardcodes the temporary library directory.
10060
hardcode_action=relink
10062
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10063
hardcode_action=immediate
10066
# We cannot hardcode anything, or else we can only hardcode existing
10068
hardcode_action=unsupported
10070
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10071
$as_echo "$hardcode_action" >&6; }
10073
if test "$hardcode_action" = relink ||
10074
test "$inherit_rpath" = yes; then
10075
# Fast installation is not supported
10076
enable_fast_install=no
10077
elif test "$shlibpath_overrides_runpath" = yes ||
10078
test "$enable_shared" = no; then
10079
# Fast installation is not necessary
10080
enable_fast_install=needless
10088
if test "x$enable_dlopen" != xyes; then
10089
enable_dlopen=unknown
10090
enable_dlopen_self=unknown
10091
enable_dlopen_self_static=unknown
10098
lt_cv_dlopen="load_add_on"
10100
lt_cv_dlopen_self=yes
10103
mingw* | pw32* | cegcc*)
10104
lt_cv_dlopen="LoadLibrary"
10109
lt_cv_dlopen="dlopen"
10114
# if libdl is installed we need to link against it
10115
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10116
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10117
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10118
$as_echo_n "(cached) " >&6
10120
ac_check_lib_save_LIBS=$LIBS
10122
cat >conftest.$ac_ext <<_ACEOF
10125
cat confdefs.h >>conftest.$ac_ext
10126
cat >>conftest.$ac_ext <<_ACEOF
10127
/* end confdefs.h. */
10129
/* Override any GCC internal prototype to avoid an error.
10130
Use char because int might match the return type of a GCC
10131
builtin and then its argument prototype would still apply. */
10144
rm -f conftest.$ac_objext conftest$ac_exeext
10145
if { (ac_try="$ac_link"
10146
case "(($ac_try" in
10147
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10148
*) ac_try_echo=$ac_try;;
10150
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10151
$as_echo "$ac_try_echo") >&5
10152
(eval "$ac_link") 2>conftest.er1
10154
grep -v '^ *+' conftest.er1 >conftest.err
10156
cat conftest.err >&5
10157
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158
(exit $ac_status); } && {
10159
test -z "$ac_c_werror_flag" ||
10160
test ! -s conftest.err
10161
} && test -s conftest$ac_exeext && {
10162
test "$cross_compiling" = yes ||
10163
$as_test_x conftest$ac_exeext
10165
ac_cv_lib_dl_dlopen=yes
10167
$as_echo "$as_me: failed program was:" >&5
10168
sed 's/^/| /' conftest.$ac_ext >&5
10170
ac_cv_lib_dl_dlopen=no
10173
rm -rf conftest.dSYM
10174
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10175
conftest$ac_exeext conftest.$ac_ext
10176
LIBS=$ac_check_lib_save_LIBS
10178
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10179
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10180
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10181
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10184
lt_cv_dlopen="dyld"
10186
lt_cv_dlopen_self=yes
10193
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10194
$as_echo_n "checking for shl_load... " >&6; }
10195
if test "${ac_cv_func_shl_load+set}" = set; then
10196
$as_echo_n "(cached) " >&6
10198
cat >conftest.$ac_ext <<_ACEOF
10201
cat confdefs.h >>conftest.$ac_ext
10202
cat >>conftest.$ac_ext <<_ACEOF
10203
/* end confdefs.h. */
10204
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10205
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10206
#define shl_load innocuous_shl_load
10208
/* System header to define __stub macros and hopefully few prototypes,
10209
which can conflict with char shl_load (); below.
10210
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10211
<limits.h> exists even on freestanding compilers. */
10214
# include <limits.h>
10216
# include <assert.h>
10221
/* Override any GCC internal prototype to avoid an error.
10222
Use char because int might match the return type of a GCC
10223
builtin and then its argument prototype would still apply. */
10228
/* The GNU C library defines this for functions which it implements
10229
to always fail with ENOSYS. Some functions are actually named
10230
something starting with __ and the normal name is an alias. */
10231
#if defined __stub_shl_load || defined __stub___shl_load
10238
return shl_load ();
10243
rm -f conftest.$ac_objext conftest$ac_exeext
10244
if { (ac_try="$ac_link"
10245
case "(($ac_try" in
10246
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10247
*) ac_try_echo=$ac_try;;
10249
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10250
$as_echo "$ac_try_echo") >&5
10251
(eval "$ac_link") 2>conftest.er1
10253
grep -v '^ *+' conftest.er1 >conftest.err
10255
cat conftest.err >&5
10256
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10257
(exit $ac_status); } && {
10258
test -z "$ac_c_werror_flag" ||
10259
test ! -s conftest.err
10260
} && test -s conftest$ac_exeext && {
10261
test "$cross_compiling" = yes ||
10262
$as_test_x conftest$ac_exeext
10264
ac_cv_func_shl_load=yes
10266
$as_echo "$as_me: failed program was:" >&5
10267
sed 's/^/| /' conftest.$ac_ext >&5
10269
ac_cv_func_shl_load=no
10272
rm -rf conftest.dSYM
10273
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10274
conftest$ac_exeext conftest.$ac_ext
10276
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10277
$as_echo "$ac_cv_func_shl_load" >&6; }
10278
if test "x$ac_cv_func_shl_load" = x""yes; then
10279
lt_cv_dlopen="shl_load"
10281
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10282
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10283
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10284
$as_echo_n "(cached) " >&6
10286
ac_check_lib_save_LIBS=$LIBS
10288
cat >conftest.$ac_ext <<_ACEOF
10291
cat confdefs.h >>conftest.$ac_ext
10292
cat >>conftest.$ac_ext <<_ACEOF
10293
/* end confdefs.h. */
10295
/* Override any GCC internal prototype to avoid an error.
10296
Use char because int might match the return type of a GCC
10297
builtin and then its argument prototype would still apply. */
10305
return shl_load ();
10310
rm -f conftest.$ac_objext conftest$ac_exeext
10311
if { (ac_try="$ac_link"
10312
case "(($ac_try" in
10313
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10314
*) ac_try_echo=$ac_try;;
10316
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10317
$as_echo "$ac_try_echo") >&5
10318
(eval "$ac_link") 2>conftest.er1
10320
grep -v '^ *+' conftest.er1 >conftest.err
10322
cat conftest.err >&5
10323
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324
(exit $ac_status); } && {
10325
test -z "$ac_c_werror_flag" ||
10326
test ! -s conftest.err
10327
} && test -s conftest$ac_exeext && {
10328
test "$cross_compiling" = yes ||
10329
$as_test_x conftest$ac_exeext
10331
ac_cv_lib_dld_shl_load=yes
10333
$as_echo "$as_me: failed program was:" >&5
10334
sed 's/^/| /' conftest.$ac_ext >&5
10336
ac_cv_lib_dld_shl_load=no
10339
rm -rf conftest.dSYM
10340
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10341
conftest$ac_exeext conftest.$ac_ext
10342
LIBS=$ac_check_lib_save_LIBS
10344
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10345
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10346
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10347
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10349
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10350
$as_echo_n "checking for dlopen... " >&6; }
10351
if test "${ac_cv_func_dlopen+set}" = set; then
10352
$as_echo_n "(cached) " >&6
10354
cat >conftest.$ac_ext <<_ACEOF
10357
cat confdefs.h >>conftest.$ac_ext
10358
cat >>conftest.$ac_ext <<_ACEOF
10359
/* end confdefs.h. */
10360
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10361
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10362
#define dlopen innocuous_dlopen
10364
/* System header to define __stub macros and hopefully few prototypes,
10365
which can conflict with char dlopen (); below.
10366
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10367
<limits.h> exists even on freestanding compilers. */
10370
# include <limits.h>
10372
# include <assert.h>
10377
/* Override any GCC internal prototype to avoid an error.
10378
Use char because int might match the return type of a GCC
10379
builtin and then its argument prototype would still apply. */
10384
/* The GNU C library defines this for functions which it implements
10385
to always fail with ENOSYS. Some functions are actually named
10386
something starting with __ and the normal name is an alias. */
10387
#if defined __stub_dlopen || defined __stub___dlopen
10399
rm -f conftest.$ac_objext conftest$ac_exeext
10400
if { (ac_try="$ac_link"
10401
case "(($ac_try" in
10402
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10403
*) ac_try_echo=$ac_try;;
10405
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10406
$as_echo "$ac_try_echo") >&5
10407
(eval "$ac_link") 2>conftest.er1
10409
grep -v '^ *+' conftest.er1 >conftest.err
10411
cat conftest.err >&5
10412
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10413
(exit $ac_status); } && {
10414
test -z "$ac_c_werror_flag" ||
10415
test ! -s conftest.err
10416
} && test -s conftest$ac_exeext && {
10417
test "$cross_compiling" = yes ||
10418
$as_test_x conftest$ac_exeext
10420
ac_cv_func_dlopen=yes
10422
$as_echo "$as_me: failed program was:" >&5
10423
sed 's/^/| /' conftest.$ac_ext >&5
10425
ac_cv_func_dlopen=no
10428
rm -rf conftest.dSYM
10429
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10430
conftest$ac_exeext conftest.$ac_ext
10432
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10433
$as_echo "$ac_cv_func_dlopen" >&6; }
10434
if test "x$ac_cv_func_dlopen" = x""yes; then
10435
lt_cv_dlopen="dlopen"
10437
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10438
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10439
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10440
$as_echo_n "(cached) " >&6
10442
ac_check_lib_save_LIBS=$LIBS
10444
cat >conftest.$ac_ext <<_ACEOF
10447
cat confdefs.h >>conftest.$ac_ext
10448
cat >>conftest.$ac_ext <<_ACEOF
10449
/* end confdefs.h. */
10451
/* Override any GCC internal prototype to avoid an error.
10452
Use char because int might match the return type of a GCC
10453
builtin and then its argument prototype would still apply. */
10466
rm -f conftest.$ac_objext conftest$ac_exeext
10467
if { (ac_try="$ac_link"
10468
case "(($ac_try" in
10469
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10470
*) ac_try_echo=$ac_try;;
10472
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10473
$as_echo "$ac_try_echo") >&5
10474
(eval "$ac_link") 2>conftest.er1
10476
grep -v '^ *+' conftest.er1 >conftest.err
10478
cat conftest.err >&5
10479
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480
(exit $ac_status); } && {
10481
test -z "$ac_c_werror_flag" ||
10482
test ! -s conftest.err
10483
} && test -s conftest$ac_exeext && {
10484
test "$cross_compiling" = yes ||
10485
$as_test_x conftest$ac_exeext
10487
ac_cv_lib_dl_dlopen=yes
10489
$as_echo "$as_me: failed program was:" >&5
10490
sed 's/^/| /' conftest.$ac_ext >&5
10492
ac_cv_lib_dl_dlopen=no
10495
rm -rf conftest.dSYM
10496
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10497
conftest$ac_exeext conftest.$ac_ext
10498
LIBS=$ac_check_lib_save_LIBS
10500
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10501
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10502
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10503
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10505
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10506
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10507
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10508
$as_echo_n "(cached) " >&6
10510
ac_check_lib_save_LIBS=$LIBS
10511
LIBS="-lsvld $LIBS"
10512
cat >conftest.$ac_ext <<_ACEOF
10515
cat confdefs.h >>conftest.$ac_ext
10516
cat >>conftest.$ac_ext <<_ACEOF
10517
/* end confdefs.h. */
10519
/* Override any GCC internal prototype to avoid an error.
10520
Use char because int might match the return type of a GCC
10521
builtin and then its argument prototype would still apply. */
10534
rm -f conftest.$ac_objext conftest$ac_exeext
10535
if { (ac_try="$ac_link"
10536
case "(($ac_try" in
10537
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10538
*) ac_try_echo=$ac_try;;
10540
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10541
$as_echo "$ac_try_echo") >&5
10542
(eval "$ac_link") 2>conftest.er1
10544
grep -v '^ *+' conftest.er1 >conftest.err
10546
cat conftest.err >&5
10547
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548
(exit $ac_status); } && {
10549
test -z "$ac_c_werror_flag" ||
10550
test ! -s conftest.err
10551
} && test -s conftest$ac_exeext && {
10552
test "$cross_compiling" = yes ||
10553
$as_test_x conftest$ac_exeext
10555
ac_cv_lib_svld_dlopen=yes
10557
$as_echo "$as_me: failed program was:" >&5
10558
sed 's/^/| /' conftest.$ac_ext >&5
10560
ac_cv_lib_svld_dlopen=no
10563
rm -rf conftest.dSYM
10564
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10565
conftest$ac_exeext conftest.$ac_ext
10566
LIBS=$ac_check_lib_save_LIBS
10568
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10569
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10570
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10571
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10573
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10574
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10575
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10576
$as_echo_n "(cached) " >&6
10578
ac_check_lib_save_LIBS=$LIBS
10580
cat >conftest.$ac_ext <<_ACEOF
10583
cat confdefs.h >>conftest.$ac_ext
10584
cat >>conftest.$ac_ext <<_ACEOF
10585
/* end confdefs.h. */
10587
/* Override any GCC internal prototype to avoid an error.
10588
Use char because int might match the return type of a GCC
10589
builtin and then its argument prototype would still apply. */
10597
return dld_link ();
10602
rm -f conftest.$ac_objext conftest$ac_exeext
10603
if { (ac_try="$ac_link"
10604
case "(($ac_try" in
10605
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10606
*) ac_try_echo=$ac_try;;
10608
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10609
$as_echo "$ac_try_echo") >&5
10610
(eval "$ac_link") 2>conftest.er1
10612
grep -v '^ *+' conftest.er1 >conftest.err
10614
cat conftest.err >&5
10615
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10616
(exit $ac_status); } && {
10617
test -z "$ac_c_werror_flag" ||
10618
test ! -s conftest.err
10619
} && test -s conftest$ac_exeext && {
10620
test "$cross_compiling" = yes ||
10621
$as_test_x conftest$ac_exeext
10623
ac_cv_lib_dld_dld_link=yes
10625
$as_echo "$as_me: failed program was:" >&5
10626
sed 's/^/| /' conftest.$ac_ext >&5
10628
ac_cv_lib_dld_dld_link=no
10631
rm -rf conftest.dSYM
10632
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10633
conftest$ac_exeext conftest.$ac_ext
10634
LIBS=$ac_check_lib_save_LIBS
10636
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10637
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10638
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10639
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10660
if test "x$lt_cv_dlopen" != xno; then
10666
case $lt_cv_dlopen in
10668
save_CPPFLAGS="$CPPFLAGS"
10669
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10671
save_LDFLAGS="$LDFLAGS"
10672
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10675
LIBS="$lt_cv_dlopen_libs $LIBS"
10677
{ $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10678
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10679
if test "${lt_cv_dlopen_self+set}" = set; then
10680
$as_echo_n "(cached) " >&6
10682
if test "$cross_compiling" = yes; then :
10683
lt_cv_dlopen_self=cross
10685
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10686
lt_status=$lt_dlunknown
10687
cat > conftest.$ac_ext <<_LT_EOF
10688
#line 10688 "configure"
10689
#include "confdefs.h"
10698
# define LT_DLGLOBAL RTLD_GLOBAL
10701
# define LT_DLGLOBAL DL_GLOBAL
10703
# define LT_DLGLOBAL 0
10707
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10708
find out it does not work in some platform. */
10709
#ifndef LT_DLLAZY_OR_NOW
10711
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10714
# define LT_DLLAZY_OR_NOW DL_LAZY
10717
# define LT_DLLAZY_OR_NOW RTLD_NOW
10720
# define LT_DLLAZY_OR_NOW DL_NOW
10722
# define LT_DLLAZY_OR_NOW 0
10729
void fnord() { int i=42;}
10732
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10733
int status = $lt_dlunknown;
10737
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10738
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10739
/* dlclose (self); */
10747
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10748
(eval $ac_link) 2>&5
10750
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10751
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10752
(./conftest; exit; ) >&5 2>/dev/null
10754
case x$lt_status in
10755
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10756
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10757
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10760
# compilation failed
10761
lt_cv_dlopen_self=no
10768
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10769
$as_echo "$lt_cv_dlopen_self" >&6; }
10771
if test "x$lt_cv_dlopen_self" = xyes; then
10772
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10773
{ $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10774
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10775
if test "${lt_cv_dlopen_self_static+set}" = set; then
10776
$as_echo_n "(cached) " >&6
10778
if test "$cross_compiling" = yes; then :
10779
lt_cv_dlopen_self_static=cross
10781
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10782
lt_status=$lt_dlunknown
10783
cat > conftest.$ac_ext <<_LT_EOF
10784
#line 10784 "configure"
10785
#include "confdefs.h"
10794
# define LT_DLGLOBAL RTLD_GLOBAL
10797
# define LT_DLGLOBAL DL_GLOBAL
10799
# define LT_DLGLOBAL 0
10803
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10804
find out it does not work in some platform. */
10805
#ifndef LT_DLLAZY_OR_NOW
10807
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10810
# define LT_DLLAZY_OR_NOW DL_LAZY
10813
# define LT_DLLAZY_OR_NOW RTLD_NOW
10816
# define LT_DLLAZY_OR_NOW DL_NOW
10818
# define LT_DLLAZY_OR_NOW 0
10825
void fnord() { int i=42;}
10828
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10829
int status = $lt_dlunknown;
10833
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10834
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10835
/* dlclose (self); */
10843
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10844
(eval $ac_link) 2>&5
10846
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10848
(./conftest; exit; ) >&5 2>/dev/null
10850
case x$lt_status in
10851
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10852
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10853
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10856
# compilation failed
10857
lt_cv_dlopen_self_static=no
10864
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10865
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10868
CPPFLAGS="$save_CPPFLAGS"
10869
LDFLAGS="$save_LDFLAGS"
10874
case $lt_cv_dlopen_self in
10875
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10876
*) enable_dlopen_self=unknown ;;
10879
case $lt_cv_dlopen_self_static in
10880
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10881
*) enable_dlopen_self_static=unknown ;;
10903
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10904
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10905
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10906
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10907
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10908
{ $as_echo "$as_me:$LINENO: result: yes" >&5
10909
$as_echo "yes" >&6; }
10911
# FIXME - insert some real tests, host_os isn't really good enough
10914
if test -n "$STRIP" ; then
10915
striplib="$STRIP -x"
10916
old_striplib="$STRIP -S"
10917
{ $as_echo "$as_me:$LINENO: result: yes" >&5
10918
$as_echo "yes" >&6; }
10920
{ $as_echo "$as_me:$LINENO: result: no" >&5
10921
$as_echo "no" >&6; }
10925
{ $as_echo "$as_me:$LINENO: result: no" >&5
10926
$as_echo "no" >&6; }
10942
# Report which library types will actually be built
10943
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10944
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
10945
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10946
$as_echo "$can_build_shared" >&6; }
10948
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10949
$as_echo_n "checking whether to build shared libraries... " >&6; }
10950
test "$can_build_shared" = "no" && enable_shared=no
10952
# On AIX, shared libraries and static libraries use the same namespace, and
10953
# are all built from PIC.
10956
test "$enable_shared" = yes && enable_static=no
10957
if test -n "$RANLIB"; then
10958
archive_cmds="$archive_cmds~\$RANLIB \$lib"
10959
postinstall_cmds='$RANLIB $lib'
10964
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10965
test "$enable_shared" = yes && enable_static=no
10969
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10970
$as_echo "$enable_shared" >&6; }
10972
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10973
$as_echo_n "checking whether to build static libraries... " >&6; }
10974
# Make sure either enable_shared or enable_static is yes.
10975
test "$enable_shared" = yes || enable_static=yes
10976
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10977
$as_echo "$enable_static" >&6; }
10984
ac_cpp='$CPP $CPPFLAGS'
10985
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10986
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10987
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11003
ac_config_commands="$ac_config_commands libtool"
11008
# Only expand once:
11013
for ac_header in replaygain/gain_analysis.h
11015
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11016
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11017
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11018
$as_echo_n "checking for $ac_header... " >&6; }
11019
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11020
$as_echo_n "(cached) " >&6
11022
ac_res=`eval 'as_val=${'$as_ac_Header'}
11023
$as_echo "$as_val"'`
11024
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11025
$as_echo "$ac_res" >&6; }
11027
# Is the header compilable?
11028
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11029
$as_echo_n "checking $ac_header usability... " >&6; }
11030
cat >conftest.$ac_ext <<_ACEOF
11033
cat confdefs.h >>conftest.$ac_ext
11034
cat >>conftest.$ac_ext <<_ACEOF
11035
/* end confdefs.h. */
11036
$ac_includes_default
11037
#include <$ac_header>
11039
rm -f conftest.$ac_objext
11040
if { (ac_try="$ac_compile"
11041
case "(($ac_try" in
11042
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11043
*) ac_try_echo=$ac_try;;
11045
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11046
$as_echo "$ac_try_echo") >&5
11047
(eval "$ac_compile") 2>conftest.er1
11049
grep -v '^ *+' conftest.er1 >conftest.err
11051
cat conftest.err >&5
11052
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053
(exit $ac_status); } && {
11054
test -z "$ac_c_werror_flag" ||
11055
test ! -s conftest.err
11056
} && test -s conftest.$ac_objext; then
11057
ac_header_compiler=yes
11059
$as_echo "$as_me: failed program was:" >&5
11060
sed 's/^/| /' conftest.$ac_ext >&5
11062
ac_header_compiler=no
11065
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11066
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11067
$as_echo "$ac_header_compiler" >&6; }
11069
# Is the header present?
11070
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11071
$as_echo_n "checking $ac_header presence... " >&6; }
11072
cat >conftest.$ac_ext <<_ACEOF
11075
cat confdefs.h >>conftest.$ac_ext
11076
cat >>conftest.$ac_ext <<_ACEOF
11077
/* end confdefs.h. */
11078
#include <$ac_header>
11080
if { (ac_try="$ac_cpp conftest.$ac_ext"
11081
case "(($ac_try" in
11082
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11083
*) ac_try_echo=$ac_try;;
11085
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11086
$as_echo "$ac_try_echo") >&5
11087
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11089
grep -v '^ *+' conftest.er1 >conftest.err
11091
cat conftest.err >&5
11092
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11093
(exit $ac_status); } >/dev/null && {
11094
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11095
test ! -s conftest.err
11097
ac_header_preproc=yes
11099
$as_echo "$as_me: failed program was:" >&5
11100
sed 's/^/| /' conftest.$ac_ext >&5
11102
ac_header_preproc=no
11105
rm -f conftest.err conftest.$ac_ext
11106
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11107
$as_echo "$ac_header_preproc" >&6; }
11109
# So? What about this header?
11110
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11112
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11113
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11114
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11115
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11116
ac_header_preproc=yes
11119
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11120
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11121
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11122
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11123
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11124
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11125
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11126
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11127
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11128
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11129
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11130
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11134
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11135
$as_echo_n "checking for $ac_header... " >&6; }
11136
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11137
$as_echo_n "(cached) " >&6
11139
eval "$as_ac_Header=\$ac_header_preproc"
11141
ac_res=`eval 'as_val=${'$as_ac_Header'}
11142
$as_echo "$as_val"'`
11143
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11144
$as_echo "$ac_res" >&6; }
11147
as_val=`eval 'as_val=${'$as_ac_Header'}
11148
$as_echo "$as_val"'`
11149
if test "x$as_val" = x""yes; then
11150
cat >>confdefs.h <<_ACEOF
11151
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11159
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
11160
$as_echo_n "checking host system type... " >&6; }
11161
if test "${ac_cv_host+set}" = set; then
11162
$as_echo_n "(cached) " >&6
11164
if test "x$host_alias" = x; then
11165
ac_cv_host=$ac_cv_build
11167
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
11168
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
11169
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
11170
{ (exit 1); exit 1; }; }
11174
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
11175
$as_echo "$ac_cv_host" >&6; }
11176
case $ac_cv_host in
11178
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
11179
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
11180
{ (exit 1); exit 1; }; };;
11183
ac_save_IFS=$IFS; IFS='-'
11189
# Remember, the first character of IFS is used to create $*,
11190
# except with old shells:
11193
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
11198
LDFLAGS="${LDFLAGS} -mwindows"
11199
EXTRALIBS="-lwinmm"
11208
ac_config_files="$ac_config_files Makefile include/Makefile libmpcdec/Makefile libmpcenc/Makefile libmpcpsy/Makefile libwavformat/Makefile mpc2sv8/Makefile mpcchap/Makefile mpccut/Makefile mpcdec/Makefile mpcenc/Makefile mpcgain/Makefile wavcmp/Makefile"
11210
cat >confcache <<\_ACEOF
11211
# This file is a shell script that caches the results of configure
11212
# tests run on this system so they can be shared between configure
11213
# scripts and configure runs, see configure's option --config-cache.
11214
# It is not useful on other systems. If it contains results you don't
11215
# want to keep, you may remove or edit it.
11217
# config.status only pays attention to the cache file if you give it
11218
# the --recheck option to rerun configure.
11220
# `ac_cv_env_foo' variables (set or unset) will be overridden when
11221
# loading this file, other *unset* `ac_cv_foo' will be assigned the
11222
# following values.
11226
# The following way of writing the cache mishandles newlines in values,
11227
# but we know of no workaround that is simple, portable, and efficient.
11228
# So, we kill variables containing newlines.
11229
# Ultrix sh set writes to stderr and can't be redirected directly,
11230
# and sets the high bit in the cache file unless we assign to the vars.
11232
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11233
eval ac_val=\$$ac_var
11237
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
11238
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11241
_ | IFS | as_nl) ;; #(
11242
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11243
*) $as_unset $ac_var ;;
11249
case $as_nl`(ac_space=' '; set) 2>&1` in #(
11250
*${as_nl}ac_space=\ *)
11251
# `set' does not quote correctly, so add quotes (double-quote
11252
# substitution turns \\\\ into \\, and sed turns \\ into \).
11255
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11258
# `set' quotes correctly as required by POSIX, so do not add quotes.
11259
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11268
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11270
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11272
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11273
if test -w "$cache_file"; then
11274
test "x$cache_file" != "x/dev/null" &&
11275
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
11276
$as_echo "$as_me: updating cache $cache_file" >&6;}
11277
cat confcache >$cache_file
11279
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11280
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11285
test "x$prefix" = xNONE && prefix=$ac_default_prefix
11286
# Let make expand exec_prefix.
11287
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11289
DEFS=-DHAVE_CONFIG_H
11293
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11294
# 1. Remove the extension, and $U if already installed.
11295
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11296
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11297
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11298
# will be set to the directory where LIBOBJS objects are built.
11299
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11300
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11302
LIBOBJS=$ac_libobjs
11304
LTLIBOBJS=$ac_ltlibobjs
11307
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11308
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11309
Usually this means the macro was only invoked conditionally." >&5
11310
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
11311
Usually this means the macro was only invoked conditionally." >&2;}
11312
{ (exit 1); exit 1; }; }
11314
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11315
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11316
Usually this means the macro was only invoked conditionally." >&5
11317
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11318
Usually this means the macro was only invoked conditionally." >&2;}
11319
{ (exit 1); exit 1; }; }
11322
: ${CONFIG_STATUS=./config.status}
11324
ac_clean_files_save=$ac_clean_files
11325
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11326
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11327
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11328
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11330
# Generated by $as_me.
11331
# Run this file to recreate the current configuration.
11332
# Compiler output produced by configure, useful for debugging
11333
# configure, is in config.log if it exists.
11336
ac_cs_recheck=false
11338
SHELL=\${CONFIG_SHELL-$SHELL}
11341
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11342
## --------------------- ##
11343
## M4sh Initialization. ##
11344
## --------------------- ##
11346
# Be more Bourne compatible
11347
DUALCASE=1; export DUALCASE # for MKS sh
11348
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11351
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11352
# is contrary to our usage. Disable this feature.
11353
alias -g '${1+"$@"}'='"$@"'
11354
setopt NO_GLOB_SUBST
11356
case `(set -o) 2>/dev/null` in
11357
*posix*) set -o posix ;;
11366
# Avoid depending upon Character Ranges.
11367
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11368
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11369
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11370
as_cr_digits='0123456789'
11371
as_cr_alnum=$as_cr_Letters$as_cr_digits
11376
# Printing a long string crashes Solaris 7 /usr/bin/printf.
11377
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11378
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11379
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11380
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11381
as_echo='printf %s\n'
11382
as_echo_n='printf %s'
11384
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11385
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11386
as_echo_n='/usr/ucb/echo -n'
11388
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11389
as_echo_n_body='eval
11393
expr "X$arg" : "X\\(.*\\)$as_nl";
11394
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11396
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11398
export as_echo_n_body
11399
as_echo_n='sh -c $as_echo_n_body as_echo'
11401
export as_echo_body
11402
as_echo='sh -c $as_echo_body as_echo'
11405
# The user is always right.
11406
if test "${PATH_SEPARATOR+set}" != set; then
11408
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11409
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11414
# Support unset when possible.
11415
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11423
# We need space, tab and new line, in precisely that order. Quoting is
11424
# there to prevent editors from complaining about space-tab.
11425
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11426
# splitting by setting IFS to empty value.)
11429
# Find who we are. Look in the path if we contain no directory separator.
11431
*[\\/]* ) as_myself=$0 ;;
11432
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11433
for as_dir in $PATH
11436
test -z "$as_dir" && as_dir=.
11437
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11443
# We did not find ourselves, most probably we were run as `sh COMMAND'
11444
# in which case we are not to be found in the path.
11445
if test "x$as_myself" = x; then
11448
if test ! -f "$as_myself"; then
11449
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11450
{ (exit 1); exit 1; }
11453
# Work around bugs in pre-3.0 UWIN ksh.
11454
for as_var in ENV MAIL MAILPATH
11455
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11467
# Required to use basename.
11468
if expr a : '\(a\)' >/dev/null 2>&1 &&
11469
test "X`expr 00001 : '.*\(...\)'`" = X001; then
11475
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11476
as_basename=basename
11482
# Name of the executable.
11483
as_me=`$as_basename -- "$0" ||
11484
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11485
X"$0" : 'X\(//\)$' \| \
11486
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11488
sed '/^.*\/\([^/][^/]*\)\/*$/{
11507
as_lineno_1=$LINENO
11508
as_lineno_2=$LINENO
11509
test "x$as_lineno_1" != "x$as_lineno_2" &&
11510
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11512
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11513
# uniformly replaced by the line number. The first 'sed' inserts a
11514
# line-number line after each line using $LINENO; the second 'sed'
11515
# does the real work. The second script uses 'N' to pair each
11516
# line-number line with the line containing $LINENO, and appends
11517
# trailing '-' during substitution so that $LINENO is not a special
11518
# case at line end.
11519
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11520
# scripts with optimization help from Paolo Bonzini. Blame Lee
11521
# E. McMahon (1931-1989) for sed's syntax. :-)
11533
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11536
' >$as_me.lineno &&
11537
chmod +x "$as_me.lineno" ||
11538
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11539
{ (exit 1); exit 1; }; }
11541
# Don't try to exec as it changes $[0], causing all sort of problems
11542
# (the dirname of $[0] is not the place where we might find the
11543
# original and so on. Autoconf is especially sensitive to this).
11544
. "./$as_me.lineno"
11545
# Exit status is that of the last command.
11550
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11556
ECHO_C= ECHO_N= ECHO_T=
11557
case `echo -n x` in
11559
case `echo 'x\c'` in
11560
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
11566
if expr a : '\(a\)' >/dev/null 2>&1 &&
11567
test "X`expr 00001 : '.*\(...\)'`" = X001; then
11573
rm -f conf$$ conf$$.exe conf$$.file
11574
if test -d conf$$.dir; then
11575
rm -f conf$$.dir/conf$$.file
11578
mkdir conf$$.dir 2>/dev/null
11580
if (echo >conf$$.file) 2>/dev/null; then
11581
if ln -s conf$$.file conf$$ 2>/dev/null; then
11583
# ... but there are two gotchas:
11584
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11585
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11586
# In both cases, we have to default to `cp -p'.
11587
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11589
elif ln conf$$.file conf$$ 2>/dev/null; then
11597
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11598
rmdir conf$$.dir 2>/dev/null
11600
if mkdir -p . 2>/dev/null; then
11603
test -d ./-p && rmdir ./-p
11607
if test -x / >/dev/null 2>&1; then
11608
as_test_x='test -x'
11610
if ls -dL / >/dev/null 2>&1; then
11617
if test -d "$1"; then
11623
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11624
???[sx]*):;;*)false;;esac;fi
11628
as_executable_p=$as_test_x
11630
# Sed expression to map a string onto a valid CPP name.
11631
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11633
# Sed expression to map a string onto a valid variable name.
11634
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11639
# Save the log message, to keep $[0] and so on meaningful, and to
11640
# report actual input values of CONFIG_FILES etc. instead of their
11641
# values after options handling.
11643
This file was extended by $as_me, which was
11644
generated by GNU Autoconf 2.63. Invocation command line was
11646
CONFIG_FILES = $CONFIG_FILES
11647
CONFIG_HEADERS = $CONFIG_HEADERS
11648
CONFIG_LINKS = $CONFIG_LINKS
11649
CONFIG_COMMANDS = $CONFIG_COMMANDS
11652
on `(hostname || uname -n) 2>/dev/null | sed 1q`
11657
case $ac_config_files in *"
11658
"*) set x $ac_config_files; shift; ac_config_files=$*;;
11661
case $ac_config_headers in *"
11662
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11666
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11667
# Files that config.status was made for.
11668
config_files="$ac_config_files"
11669
config_headers="$ac_config_headers"
11670
config_commands="$ac_config_commands"
11674
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11676
\`$as_me' instantiates files from templates according to the
11677
current configuration.
11679
Usage: $0 [OPTION]... [FILE]...
11681
-h, --help print this help, then exit
11682
-V, --version print version number and configuration settings, then exit
11683
-q, --quiet, --silent
11684
do not print progress messages
11685
-d, --debug don't remove temporary files
11686
--recheck update $as_me by reconfiguring in the same conditions
11687
--file=FILE[:TEMPLATE]
11688
instantiate the configuration file FILE
11689
--header=FILE[:TEMPLATE]
11690
instantiate the configuration header FILE
11692
Configuration files:
11695
Configuration headers:
11698
Configuration commands:
11701
Report bugs to <bug-autoconf@gnu.org>."
11704
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11707
configured by $0, generated by GNU Autoconf 2.63,
11708
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11710
Copyright (C) 2008 Free Software Foundation, Inc.
11711
This config.status script is free software; the Free Software Foundation
11712
gives unlimited permission to copy, distribute and modify it."
11719
test -n "\$AWK" || AWK=awk
11722
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11723
# The default lists apply if the user does not specify any file.
11729
ac_option=`expr "X$1" : 'X\([^=]*\)='`
11730
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11741
# Handling of the options.
11742
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11744
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11745
$as_echo "$ac_cs_version"; exit ;;
11746
--debug | --debu | --deb | --de | --d | -d )
11748
--file | --fil | --fi | --f )
11751
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11753
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
11754
ac_need_defaults=false;;
11755
--header | --heade | --head | --hea )
11758
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11760
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
11761
ac_need_defaults=false;;
11763
# Conflict between --help and --header
11764
{ $as_echo "$as_me: error: ambiguous option: $1
11765
Try \`$0 --help' for more information." >&2
11766
{ (exit 1); exit 1; }; };;
11767
--help | --hel | -h )
11768
$as_echo "$ac_cs_usage"; exit ;;
11769
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
11770
| -silent | --silent | --silen | --sile | --sil | --si | --s)
11773
# This is an error.
11774
-*) { $as_echo "$as_me: error: unrecognized option: $1
11775
Try \`$0 --help' for more information." >&2
11776
{ (exit 1); exit 1; }; } ;;
11778
*) ac_config_targets="$ac_config_targets $1"
11779
ac_need_defaults=false ;;
11785
ac_configure_extra_args=
11787
if $ac_cs_silent; then
11789
ac_configure_extra_args="$ac_configure_extra_args --silent"
11793
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11794
if \$ac_cs_recheck; then
11795
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11797
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11798
CONFIG_SHELL='$SHELL'
11799
export CONFIG_SHELL
11804
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11808
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11809
## Running $as_me. ##
11815
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11819
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11822
# The HP-UX ksh and POSIX shell print the target directory to stdout
11823
# if CDPATH is set.
11824
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11826
sed_quote_subst='$sed_quote_subst'
11827
double_quote_subst='$double_quote_subst'
11828
delay_variable_subst='$delay_variable_subst'
11829
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11830
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11831
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11832
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11833
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11834
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11835
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11836
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11837
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11838
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11839
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11840
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11841
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11842
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11843
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11844
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11845
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11846
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11847
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11848
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11849
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11850
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11851
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11852
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11853
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11854
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11855
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11856
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11857
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11858
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11859
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11860
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11861
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11862
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11863
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11864
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11865
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11866
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11867
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11868
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11869
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11870
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11871
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11872
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11873
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"`'
11874
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"`'
11875
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11876
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11877
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11878
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11879
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11880
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11881
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11882
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11883
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11884
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11885
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
11886
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
11887
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
11888
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11889
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
11890
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11891
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11892
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11893
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11894
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11895
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11896
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11897
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11898
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11899
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11900
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11901
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11902
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11903
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11904
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11905
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11906
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11907
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11908
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11909
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11910
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11911
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11912
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11913
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11914
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11915
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11916
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11917
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11918
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11919
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11920
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11921
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11922
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11923
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11924
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11925
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11926
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11927
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11928
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11929
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11930
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11931
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11932
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11933
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11934
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11935
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11936
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11937
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11938
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11939
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11940
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11941
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11942
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11943
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11944
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11945
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11946
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11949
LTCFLAGS='$LTCFLAGS'
11950
compiler='$compiler_DEFAULT'
11952
# Quote evaled strings.
11964
deplibs_check_method \
11973
lt_cv_sys_global_symbol_pipe \
11974
lt_cv_sys_global_symbol_to_cdecl \
11975
lt_cv_sys_global_symbol_to_c_name_address \
11976
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11979
lt_prog_compiler_no_builtin_flag \
11980
lt_prog_compiler_wl \
11981
lt_prog_compiler_pic \
11982
lt_prog_compiler_static \
11983
lt_cv_prog_compiler_c_o \
11991
export_dynamic_flag_spec \
11992
whole_archive_flag_spec \
11993
compiler_needs_object \
11995
allow_undefined_flag \
11996
no_undefined_flag \
11997
hardcode_libdir_flag_spec \
11998
hardcode_libdir_flag_spec_ld \
11999
hardcode_libdir_separator \
12004
variables_saved_for_relink \
12006
library_names_spec \
12011
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12012
*[\\\\\\\`\\"\\\$]*)
12013
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12016
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12021
# Double-quote double-evaled strings.
12022
for var in reload_cmds \
12023
old_postinstall_cmds \
12024
old_postuninstall_cmds \
12026
extract_expsyms_cmds \
12027
old_archive_from_new_cmds \
12028
old_archive_from_expsyms_cmds \
12030
archive_expsym_cmds \
12032
module_expsym_cmds \
12033
export_symbols_cmds \
12036
postuninstall_cmds \
12038
sys_lib_search_path_spec \
12039
sys_lib_dlsearch_path_spec; do
12040
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12041
*[\\\\\\\`\\"\\\$]*)
12042
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12045
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12050
# Fix-up fallback echo if it was mangled by the above quoting rules.
12052
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12056
ac_aux_dir='$ac_aux_dir'
12057
xsi_shell='$xsi_shell'
12058
lt_shell_append='$lt_shell_append'
12060
# See if we are running on zsh, and set the options which allow our
12061
# commands through without removal of \ escapes INIT.
12062
if test -n "\${ZSH_VERSION+set}" ; then
12063
setopt NO_GLOB_SUBST
12069
TIMESTAMP='$TIMESTAMP'
12078
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12080
# Handling of arguments.
12081
for ac_config_target in $ac_config_targets
12083
case $ac_config_target in
12084
"include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
12085
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12086
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12087
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12088
"include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
12089
"libmpcdec/Makefile") CONFIG_FILES="$CONFIG_FILES libmpcdec/Makefile" ;;
12090
"libmpcenc/Makefile") CONFIG_FILES="$CONFIG_FILES libmpcenc/Makefile" ;;
12091
"libmpcpsy/Makefile") CONFIG_FILES="$CONFIG_FILES libmpcpsy/Makefile" ;;
12092
"libwavformat/Makefile") CONFIG_FILES="$CONFIG_FILES libwavformat/Makefile" ;;
12093
"mpc2sv8/Makefile") CONFIG_FILES="$CONFIG_FILES mpc2sv8/Makefile" ;;
12094
"mpcchap/Makefile") CONFIG_FILES="$CONFIG_FILES mpcchap/Makefile" ;;
12095
"mpccut/Makefile") CONFIG_FILES="$CONFIG_FILES mpccut/Makefile" ;;
12096
"mpcdec/Makefile") CONFIG_FILES="$CONFIG_FILES mpcdec/Makefile" ;;
12097
"mpcenc/Makefile") CONFIG_FILES="$CONFIG_FILES mpcenc/Makefile" ;;
12098
"mpcgain/Makefile") CONFIG_FILES="$CONFIG_FILES mpcgain/Makefile" ;;
12099
"wavcmp/Makefile") CONFIG_FILES="$CONFIG_FILES wavcmp/Makefile" ;;
12101
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12102
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12103
{ (exit 1); exit 1; }; };;
12108
# If the user did not use the arguments to specify the items to instantiate,
12109
# then the envvar interface is used. Set only those that are not.
12110
# We use the long form for the default assignment because of an extremely
12111
# bizarre bug on SunOS 4.1.3.
12112
if $ac_need_defaults; then
12113
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12114
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12115
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12118
# Have a temporary directory for convenience. Make it in the build tree
12119
# simply because there is no reason against having it here, and in addition,
12120
# creating and moving files from /tmp can sometimes cause problems.
12121
# Hook for its removal unless debugging.
12122
# Note that there is a small window in which the directory will not be cleaned:
12123
# after its creation but before its name has been assigned to `$tmp'.
12127
trap 'exit_status=$?
12128
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12130
trap '{ (exit 1); exit 1; }' 1 2 13 15
12132
# Create a (secure) tmp directory for tmp files.
12135
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12136
test -n "$tmp" && test -d "$tmp"
12139
tmp=./conf$$-$RANDOM
12140
(umask 077 && mkdir "$tmp")
12143
$as_echo "$as_me: cannot create a temporary directory in ." >&2
12144
{ (exit 1); exit 1; }
12147
# Set up the scripts for CONFIG_FILES section.
12148
# No need to generate them if there are no CONFIG_FILES.
12149
# This happens for instance with `./config.status config.h'.
12150
if test -n "$CONFIG_FILES"; then
12154
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12155
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12158
ac_cs_awk_cr=$ac_cr
12161
echo 'BEGIN {' >"$tmp/subs1.awk" &&
12166
echo "cat >conf$$subs.awk <<_ACEOF" &&
12167
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12169
} >conf$$subs.sh ||
12170
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12171
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12172
{ (exit 1); exit 1; }; }
12173
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12175
for ac_last_try in false false false false false :; do
12176
. ./conf$$subs.sh ||
12177
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12178
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12179
{ (exit 1); exit 1; }; }
12181
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12182
if test $ac_delim_n = $ac_delim_num; then
12184
elif $ac_last_try; then
12185
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12186
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12187
{ (exit 1); exit 1; }; }
12189
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12192
rm -f conf$$subs.sh
12194
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12195
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
12199
s/^/S["/; s/!.*/"]=/
12209
s/\(.\{148\}\).*/\1/
12211
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12216
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12223
s/\(.\{148\}\).*/\1/
12225
s/["\\]/\\&/g; s/^/"/; s/$/"/
12229
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12234
' <conf$$subs.awk | sed '
12239
' >>$CONFIG_STATUS || ac_write_fail=1
12240
rm -f conf$$subs.awk
12241
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12243
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12244
for (key in S) S_is_set[key] = 1
12250
nfields = split(line, field, "@")
12252
len = length(field[1])
12253
for (i = 2; i < nfields; i++) {
12255
keylen = length(key)
12256
if (S_is_set[key]) {
12258
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12259
len += length(value) + length(field[++i])
12270
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12271
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12272
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12275
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12276
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
12277
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
12278
{ (exit 1); exit 1; }; }
12281
# VPATH may cause trouble with some makes, so we remove $(srcdir),
12282
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12283
# trailing colons and then remove the whole line if VPATH becomes empty
12284
# (actually we leave an empty line to preserve line numbers).
12285
if test "x$srcdir" = x.; then
12286
ac_vpsub='/^[ ]*VPATH[ ]*=/{
12287
s/:*\$(srcdir):*/:/
12288
s/:*\${srcdir}:*/:/
12290
s/^\([^=]*=[ ]*\):*/\1/
12296
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12297
fi # test -n "$CONFIG_FILES"
12299
# Set up the scripts for CONFIG_HEADERS section.
12300
# No need to generate them if there are no CONFIG_HEADERS.
12301
# This happens for instance with `./config.status Makefile'.
12302
if test -n "$CONFIG_HEADERS"; then
12303
cat >"$tmp/defines.awk" <<\_ACAWK ||
12307
# Transform confdefs.h into an awk script `defines.awk', embedded as
12308
# here-document in config.status, that substitutes the proper values into
12309
# config.h.in to produce config.h.
12311
# Create a delimiter string that does not exist in confdefs.h, to ease
12312
# handling of long lines.
12314
for ac_last_try in false false :; do
12315
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12316
if test -z "$ac_t"; then
12318
elif $ac_last_try; then
12319
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
12320
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
12321
{ (exit 1); exit 1; }; }
12323
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12327
# For the awk script, D is an array of macro values keyed by name,
12328
# likewise P contains macro parameters if any. Preserve backslash
12329
# newline sequences.
12331
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12333
s/.\{148\}/&'"$ac_delim"'/g
12336
s/^[ ]*#[ ]*define[ ][ ]*/ /
12343
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12345
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
12349
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12350
D["\1"]=" \3\\\\\\n"\\/p
12352
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12357
s/.\{148\}/&'"$ac_delim"'/g
12362
s/["\\]/\\&/g; s/^/"/; s/$/"/p
12365
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12367
' <confdefs.h | sed '
12368
s/'"$ac_delim"'/"\\\
12369
"/g' >>$CONFIG_STATUS || ac_write_fail=1
12371
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12372
for (key in D) D_is_set[key] = 1
12375
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12377
split(line, arg, " ")
12378
if (arg[1] == "#") {
12382
defundef = substr(arg[1], 2)
12385
split(mac1, mac2, "(") #)
12387
prefix = substr(line, 1, index(line, defundef) - 1)
12388
if (D_is_set[macro]) {
12389
# Preserve the white space surrounding the "#".
12390
print prefix "define", macro P[macro] D[macro]
12393
# Replace #undef with comments. This is necessary, for example,
12394
# in the case of _POSIX_SOURCE, which is predefined and required
12395
# on some systems where configure will not decide to define it.
12396
if (defundef == "undef") {
12397
print "/*", prefix defundef, macro, "*/"
12405
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12406
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
12407
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
12408
{ (exit 1); exit 1; }; }
12409
fi # test -n "$CONFIG_HEADERS"
12412
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12417
:[FHLC]) ac_mode=$ac_tag; continue;;
12419
case $ac_mode$ac_tag in
12421
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
12422
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
12423
{ (exit 1); exit 1; }; };;
12424
:[FH]-) ac_tag=-:-;;
12425
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12442
-) ac_f="$tmp/stdin";;
12443
*) # Look for the file first in the build tree, then in the source tree
12444
# (if the path is not absolute). The absolute path cannot be DOS-style,
12445
# because $ac_f cannot contain `:'.
12449
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12451
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12452
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12453
{ (exit 1); exit 1; }; };;
12455
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12456
ac_file_inputs="$ac_file_inputs '$ac_f'"
12459
# Let's still pretend it is `configure' which instantiates (i.e., don't
12460
# use $as_me), people would be surprised to read:
12461
# /* config.h. Generated by config.status. */
12462
configure_input='Generated from '`
12463
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12465
if test x"$ac_file" != x-; then
12466
configure_input="$ac_file. $configure_input"
12467
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
12468
$as_echo "$as_me: creating $ac_file" >&6;}
12470
# Neutralize special characters interpreted by sed in replacement strings.
12471
case $configure_input in #(
12472
*\&* | *\|* | *\\* )
12473
ac_sed_conf_input=`$as_echo "$configure_input" |
12474
sed 's/[\\\\&|]/\\\\&/g'`;; #(
12475
*) ac_sed_conf_input=$configure_input;;
12479
*:-:* | *:-) cat >"$tmp/stdin" \
12480
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12481
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12482
{ (exit 1); exit 1; }; } ;;
12487
ac_dir=`$as_dirname -- "$ac_file" ||
12488
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12489
X"$ac_file" : 'X\(//\)[^/]' \| \
12490
X"$ac_file" : 'X\(//\)$' \| \
12491
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12492
$as_echo X"$ac_file" |
12493
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12497
/^X\(\/\/\)[^/].*/{
12512
-*) as_dir=./$as_dir;;
12514
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12518
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12519
*) as_qdir=$as_dir;;
12521
as_dirs="'$as_qdir' $as_dirs"
12522
as_dir=`$as_dirname -- "$as_dir" ||
12523
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12524
X"$as_dir" : 'X\(//\)[^/]' \| \
12525
X"$as_dir" : 'X\(//\)$' \| \
12526
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12527
$as_echo X"$as_dir" |
12528
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12532
/^X\(\/\/\)[^/].*/{
12545
test -d "$as_dir" && break
12547
test -z "$as_dirs" || eval "mkdir $as_dirs"
12548
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12549
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
12550
{ (exit 1); exit 1; }; }; }
12554
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12556
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12557
# A ".." for each directory in $ac_dir_suffix.
12558
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12559
case $ac_top_builddir_sub in
12560
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12561
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12564
ac_abs_top_builddir=$ac_pwd
12565
ac_abs_builddir=$ac_pwd$ac_dir_suffix
12566
# for backward compatibility:
12567
ac_top_builddir=$ac_top_build_prefix
12570
.) # We are building in place.
12572
ac_top_srcdir=$ac_top_builddir_sub
12573
ac_abs_top_srcdir=$ac_pwd ;;
12574
[\\/]* | ?:[\\/]* ) # Absolute name.
12575
ac_srcdir=$srcdir$ac_dir_suffix;
12576
ac_top_srcdir=$srcdir
12577
ac_abs_top_srcdir=$srcdir ;;
12578
*) # Relative name.
12579
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12580
ac_top_srcdir=$ac_top_build_prefix$srcdir
12581
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12583
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12593
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12594
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12596
ac_MKDIR_P=$MKDIR_P
12598
[\\/$]* | ?:[\\/]* ) ;;
12599
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12603
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12604
# If the template does not know about datarootdir, expand it.
12605
# FIXME: This hack should be removed a few years after 2.60.
12606
ac_datarootdir_hack=; ac_datarootdir_seen=
12619
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12620
*datarootdir*) ac_datarootdir_seen=yes;;
12621
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12622
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12623
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12625
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12626
ac_datarootdir_hack='
12627
s&@datadir@&$datadir&g
12628
s&@docdir@&$docdir&g
12629
s&@infodir@&$infodir&g
12630
s&@localedir@&$localedir&g
12631
s&@mandir@&$mandir&g
12632
s&\\\${datarootdir}&$datarootdir&g' ;;
12636
# Neutralize VPATH when `$srcdir' = `.'.
12637
# Shell code in configure.ac might set extrasub.
12638
# FIXME: do we really want to maintain this feature?
12639
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12640
ac_sed_extra="$ac_vpsub
12643
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12645
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12646
s|@configure_input@|$ac_sed_conf_input|;t t
12647
s&@top_builddir@&$ac_top_builddir_sub&;t t
12648
s&@top_build_prefix@&$ac_top_build_prefix&;t t
12649
s&@srcdir@&$ac_srcdir&;t t
12650
s&@abs_srcdir@&$ac_abs_srcdir&;t t
12651
s&@top_srcdir@&$ac_top_srcdir&;t t
12652
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12653
s&@builddir@&$ac_builddir&;t t
12654
s&@abs_builddir@&$ac_abs_builddir&;t t
12655
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12656
s&@INSTALL@&$ac_INSTALL&;t t
12657
s&@MKDIR_P@&$ac_MKDIR_P&;t t
12658
$ac_datarootdir_hack
12660
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12661
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12662
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12663
{ (exit 1); exit 1; }; }
12665
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12666
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12667
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12668
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12669
which seems to be undefined. Please make sure it is defined." >&5
12670
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12671
which seems to be undefined. Please make sure it is defined." >&2;}
12675
-) cat "$tmp/out" && rm -f "$tmp/out";;
12676
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12678
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12679
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12680
{ (exit 1); exit 1; }; }
12686
if test x"$ac_file" != x-; then
12688
$as_echo "/* $configure_input */" \
12689
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12690
} >"$tmp/config.h" \
12691
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12692
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12693
{ (exit 1); exit 1; }; }
12694
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12695
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12696
$as_echo "$as_me: $ac_file is unchanged" >&6;}
12699
mv "$tmp/config.h" "$ac_file" \
12700
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12701
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12702
{ (exit 1); exit 1; }; }
12705
$as_echo "/* $configure_input */" \
12706
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12707
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
12708
$as_echo "$as_me: error: could not create -" >&2;}
12709
{ (exit 1); exit 1; }; }
12711
# Compute "$ac_file"'s index in $config_headers.
12714
for _am_header in $config_headers :; do
12715
case $_am_header in
12716
$_am_arg | $_am_arg:* )
12719
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
12722
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12723
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12724
X"$_am_arg" : 'X\(//\)[^/]' \| \
12725
X"$_am_arg" : 'X\(//\)$' \| \
12726
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12727
$as_echo X"$_am_arg" |
12728
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12732
/^X\(\/\/\)[^/].*/{
12744
s/.*/./; q'`/stamp-h$_am_stamp_count
12747
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
12748
$as_echo "$as_me: executing $ac_file commands" >&6;}
12753
case $ac_file$ac_mode in
12754
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
12755
# Strip MF so we end up with the name of the file.
12756
mf=`echo "$mf" | sed -e 's/:.*$//'`
12757
# Check whether this is an Automake generated Makefile or not.
12758
# We used to match only the files named `Makefile.in', but
12759
# some people rename them; so instead we look at the file content.
12760
# Grep'ing the first line is not enough: some people post-process
12761
# each Makefile.in and add a new line on top of each file to say so.
12762
# Grep'ing the whole file is not good either: AIX grep has a line
12763
# limit of 2048, but all sed's we know have understand at least 4000.
12764
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12765
dirpart=`$as_dirname -- "$mf" ||
12766
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12767
X"$mf" : 'X\(//\)[^/]' \| \
12768
X"$mf" : 'X\(//\)$' \| \
12769
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12771
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12775
/^X\(\/\/\)[^/].*/{
12791
# Extract the definition of DEPDIR, am__include, and am__quote
12792
# from the Makefile without running `make'.
12793
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12794
test -z "$DEPDIR" && continue
12795
am__include=`sed -n 's/^am__include = //p' < "$mf"`
12796
test -z "am__include" && continue
12797
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12798
# When using ansi2knr, U may be empty or an underscore; expand it
12799
U=`sed -n 's/^U = //p' < "$mf"`
12800
# Find all dependency output files, they are included files with
12801
# $(DEPDIR) in their names. We invoke sed twice because it is the
12802
# simplest approach to changing $(DEPDIR) to its actual value in the
12804
for file in `sed -n "
12805
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12806
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12807
# Make sure the directory exists.
12808
test -f "$dirpart/$file" && continue
12809
fdir=`$as_dirname -- "$file" ||
12810
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12811
X"$file" : 'X\(//\)[^/]' \| \
12812
X"$file" : 'X\(//\)$' \| \
12813
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12814
$as_echo X"$file" |
12815
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12819
/^X\(\/\/\)[^/].*/{
12832
{ as_dir=$dirpart/$fdir
12834
-*) as_dir=./$as_dir;;
12836
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12840
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12841
*) as_qdir=$as_dir;;
12843
as_dirs="'$as_qdir' $as_dirs"
12844
as_dir=`$as_dirname -- "$as_dir" ||
12845
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12846
X"$as_dir" : 'X\(//\)[^/]' \| \
12847
X"$as_dir" : 'X\(//\)$' \| \
12848
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12849
$as_echo X"$as_dir" |
12850
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12854
/^X\(\/\/\)[^/].*/{
12867
test -d "$as_dir" && break
12869
test -z "$as_dirs" || eval "mkdir $as_dirs"
12870
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12871
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
12872
{ (exit 1); exit 1; }; }; }
12873
# echo "creating $dirpart/$file"
12874
echo '# dummy' > "$dirpart/$file"
12880
# See if we are running on zsh, and set the options which allow our
12881
# commands through without removal of \ escapes.
12882
if test -n "${ZSH_VERSION+set}" ; then
12883
setopt NO_GLOB_SUBST
12886
cfgfile="${ofile}T"
12887
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12890
cat <<_LT_EOF >> "$cfgfile"
12893
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12894
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12895
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12896
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12898
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12899
# 2006, 2007, 2008 Free Software Foundation, Inc.
12900
# Written by Gordon Matzigkeit, 1996
12902
# This file is part of GNU Libtool.
12904
# GNU Libtool is free software; you can redistribute it and/or
12905
# modify it under the terms of the GNU General Public License as
12906
# published by the Free Software Foundation; either version 2 of
12907
# the License, or (at your option) any later version.
12909
# As a special exception to the GNU General Public License,
12910
# if you distribute this file as part of a program or library that
12911
# is built using GNU Libtool, you may include this file under the
12912
# same distribution terms that you use for the rest of that program.
12914
# GNU Libtool is distributed in the hope that it will be useful,
12915
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12916
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12917
# GNU General Public License for more details.
12919
# You should have received a copy of the GNU General Public License
12920
# along with GNU Libtool; see the file COPYING. If not, a copy
12921
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12922
# obtained by writing to the Free Software Foundation, Inc.,
12923
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12926
# The names of the tagged configurations supported by this script.
12929
# ### BEGIN LIBTOOL CONFIG
12931
# Which release of libtool.m4 was used?
12932
macro_version=$macro_version
12933
macro_revision=$macro_revision
12935
# Whether or not to build shared libraries.
12936
build_libtool_libs=$enable_shared
12938
# Whether or not to build static libraries.
12939
build_old_libs=$enable_static
12941
# What type of objects to build.
12944
# Whether or not to optimize for fast installation.
12945
fast_install=$enable_fast_install
12948
host_alias=$host_alias
12952
# The build system.
12953
build_alias=$build_alias
12957
# A sed program that does not truncate output.
12960
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12961
Xsed="\$SED -e 1s/^X//"
12963
# A grep program that handles long lines.
12969
# A literal string matcher.
12972
# A BSD- or MS-compatible name lister.
12975
# Whether we need soft or hard links.
12978
# What is the maximum length of a command?
12979
max_cmd_len=$max_cmd_len
12981
# Object file suffix (normally "o").
12984
# Executable file suffix (normally "").
12987
# whether the shell understands "unset".
12990
# turn spaces into newlines.
12993
# turn newlines into spaces.
12996
# How to create reloadable object files.
12997
reload_flag=$lt_reload_flag
12998
reload_cmds=$lt_reload_cmds
13000
# An object symbol dumper.
13001
OBJDUMP=$lt_OBJDUMP
13003
# Method to check whether dependent libraries are shared objects.
13004
deplibs_check_method=$lt_deplibs_check_method
13006
# Command to use when deplibs_check_method == "file_magic".
13007
file_magic_cmd=$lt_file_magic_cmd
13011
AR_FLAGS=$lt_AR_FLAGS
13013
# A symbol stripping program.
13016
# Commands used to install an old-style archive.
13018
old_postinstall_cmds=$lt_old_postinstall_cmds
13019
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13024
# LTCC compiler flags.
13025
LTCFLAGS=$lt_CFLAGS
13027
# Take the output of nm and produce a listing of raw symbols and C names.
13028
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13030
# Transform the output of nm in a proper C declaration.
13031
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13033
# Transform the output of nm in a C name address pair.
13034
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13036
# Transform the output of nm in a C name address pair when lib prefix is needed.
13037
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13039
# The name of the directory that contains temporary libtool files.
13042
# Shell to use when invoking shell scripts.
13045
# An echo program that does not interpret backslashes.
13048
# Used to examine libraries when file_magic_cmd begins with "file".
13049
MAGIC_CMD=$MAGIC_CMD
13051
# Must we lock files when doing compilation?
13052
need_locks=$lt_need_locks
13054
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13055
DSYMUTIL=$lt_DSYMUTIL
13057
# Tool to change global to local symbols on Mac OS X.
13060
# Tool to manipulate fat objects and archives on Mac OS X.
13063
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
13066
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13067
OTOOL64=$lt_OTOOL64
13069
# Old archive suffix (normally "a").
13072
# Shared library suffix (normally ".so").
13073
shrext_cmds=$lt_shrext_cmds
13075
# The commands to extract the exported symbol list from a shared archive.
13076
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13078
# Variables whose values should be saved in libtool wrapper scripts and
13079
# restored at link time.
13080
variables_saved_for_relink=$lt_variables_saved_for_relink
13082
# Do we need the "lib" prefix for modules?
13083
need_lib_prefix=$need_lib_prefix
13085
# Do we need a version for libraries?
13086
need_version=$need_version
13088
# Library versioning type.
13089
version_type=$version_type
13091
# Shared library runtime path variable.
13092
runpath_var=$runpath_var
13094
# Shared library path variable.
13095
shlibpath_var=$shlibpath_var
13097
# Is shlibpath searched before the hard-coded library search path?
13098
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13100
# Format of library name prefix.
13101
libname_spec=$lt_libname_spec
13103
# List of archive names. First name is the real one, the rest are links.
13104
# The last name is the one that the linker finds with -lNAME
13105
library_names_spec=$lt_library_names_spec
13107
# The coded name of the library, if different from the real name.
13108
soname_spec=$lt_soname_spec
13110
# Command to use after installation of a shared archive.
13111
postinstall_cmds=$lt_postinstall_cmds
13113
# Command to use after uninstallation of a shared archive.
13114
postuninstall_cmds=$lt_postuninstall_cmds
13116
# Commands used to finish a libtool library installation in a directory.
13117
finish_cmds=$lt_finish_cmds
13119
# As "finish_cmds", except a single script fragment to be evaled but
13121
finish_eval=$lt_finish_eval
13123
# Whether we should hardcode library paths into libraries.
13124
hardcode_into_libs=$hardcode_into_libs
13126
# Compile-time system search path for libraries.
13127
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13129
# Run-time system search path for libraries.
13130
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13132
# Whether dlopen is supported.
13133
dlopen_support=$enable_dlopen
13135
# Whether dlopen of programs is supported.
13136
dlopen_self=$enable_dlopen_self
13138
# Whether dlopen of statically linked programs is supported.
13139
dlopen_self_static=$enable_dlopen_self_static
13141
# Commands to strip libraries.
13142
old_striplib=$lt_old_striplib
13143
striplib=$lt_striplib
13146
# The linker used to build libraries.
13149
# Commands used to build an old-style archive.
13150
old_archive_cmds=$lt_old_archive_cmds
13152
# A language specific compiler.
13155
# Is the compiler the GNU compiler?
13158
# Compiler flag to turn off builtin functions.
13159
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13161
# How to pass a linker flag through the compiler.
13162
wl=$lt_lt_prog_compiler_wl
13164
# Additional compiler flags for building library objects.
13165
pic_flag=$lt_lt_prog_compiler_pic
13167
# Compiler flag to prevent dynamic linking.
13168
link_static_flag=$lt_lt_prog_compiler_static
13170
# Does compiler simultaneously support -c and -o options?
13171
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13173
# Whether or not to add -lc for building shared libraries.
13174
build_libtool_need_lc=$archive_cmds_need_lc
13176
# Whether or not to disallow shared libs when runtime libs are static.
13177
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13179
# Compiler flag to allow reflexive dlopens.
13180
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13182
# Compiler flag to generate shared objects directly from archives.
13183
whole_archive_flag_spec=$lt_whole_archive_flag_spec
13185
# Whether the compiler copes with passing no objects directly.
13186
compiler_needs_object=$lt_compiler_needs_object
13188
# Create an old-style archive from a shared archive.
13189
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13191
# Create a temporary old-style archive to link instead of a shared archive.
13192
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13194
# Commands used to build a shared archive.
13195
archive_cmds=$lt_archive_cmds
13196
archive_expsym_cmds=$lt_archive_expsym_cmds
13198
# Commands used to build a loadable module if different from building
13199
# a shared archive.
13200
module_cmds=$lt_module_cmds
13201
module_expsym_cmds=$lt_module_expsym_cmds
13203
# Whether we are building with GNU ld or not.
13204
with_gnu_ld=$lt_with_gnu_ld
13206
# Flag that allows shared libraries with undefined symbols to be built.
13207
allow_undefined_flag=$lt_allow_undefined_flag
13209
# Flag that enforces no undefined symbols.
13210
no_undefined_flag=$lt_no_undefined_flag
13212
# Flag to hardcode \$libdir into a binary during linking.
13213
# This must work even if \$libdir does not exist
13214
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13216
# If ld is used when linking, flag to hardcode \$libdir into a binary
13217
# during linking. This must work even if \$libdir does not exist.
13218
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13220
# Whether we need a single "-rpath" flag with a separated argument.
13221
hardcode_libdir_separator=$lt_hardcode_libdir_separator
13223
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13224
# DIR into the resulting binary.
13225
hardcode_direct=$hardcode_direct
13227
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13228
# DIR into the resulting binary and the resulting library dependency is
13229
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13230
# library is relocated.
13231
hardcode_direct_absolute=$hardcode_direct_absolute
13233
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13234
# into the resulting binary.
13235
hardcode_minus_L=$hardcode_minus_L
13237
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13238
# into the resulting binary.
13239
hardcode_shlibpath_var=$hardcode_shlibpath_var
13241
# Set to "yes" if building a shared library automatically hardcodes DIR
13242
# into the library and all subsequent libraries and executables linked
13244
hardcode_automatic=$hardcode_automatic
13246
# Set to yes if linker adds runtime paths of dependent libraries
13247
# to runtime path list.
13248
inherit_rpath=$inherit_rpath
13250
# Whether libtool must link a program against all its dependency libraries.
13251
link_all_deplibs=$link_all_deplibs
13253
# Fix the shell variable \$srcfile for the compiler.
13254
fix_srcfile_path=$lt_fix_srcfile_path
13256
# Set to "yes" if exported symbols are required.
13257
always_export_symbols=$always_export_symbols
13259
# The commands to list exported symbols.
13260
export_symbols_cmds=$lt_export_symbols_cmds
13262
# Symbols that should not be listed in the preloaded symbols.
13263
exclude_expsyms=$lt_exclude_expsyms
13265
# Symbols that must always be exported.
13266
include_expsyms=$lt_include_expsyms
13268
# Commands necessary for linking programs (against libraries) with templates.
13269
prelink_cmds=$lt_prelink_cmds
13271
# Specify filename containing input files.
13272
file_list_spec=$lt_file_list_spec
13274
# How to hardcode a shared library path into an executable.
13275
hardcode_action=$hardcode_action
13277
# ### END LIBTOOL CONFIG
13283
cat <<\_LT_EOF >> "$cfgfile"
13284
# AIX sometimes has problems with the GCC collect2 program. For some
13285
# reason, if we set the COLLECT_NAMES environment variable, the problems
13286
# vanish in a puff of smoke.
13287
if test "X${COLLECT_NAMES+set}" != Xset; then
13289
export COLLECT_NAMES
13296
ltmain="$ac_aux_dir/ltmain.sh"
13299
# We use sed instead of cat because bash on DJGPP gets confused if
13300
# if finds mixed CR/LF and LF-only lines. Since sed operates in
13301
# text mode, it properly converts lines to CR/LF. This bash problem
13302
# is reportedly fixed, but why not run on old versions too?
13303
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13304
|| (rm -f "$cfgfile"; exit 1)
13308
cat << \_LT_EOF >> "$cfgfile"
13310
# func_dirname file append nondir_replacement
13311
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
13312
# otherwise set result to NONDIR_REPLACEMENT.
13316
*/*) func_dirname_result="${1%/*}${2}" ;;
13317
* ) func_dirname_result="${3}" ;;
13321
# func_basename file
13324
func_basename_result="${1##*/}"
13327
# func_dirname_and_basename file append nondir_replacement
13328
# perform func_basename and func_dirname in a single function
13330
# dirname: Compute the dirname of FILE. If nonempty,
13331
# add APPEND to the result, otherwise set result
13332
# to NONDIR_REPLACEMENT.
13333
# value returned in "$func_dirname_result"
13334
# basename: Compute filename of FILE.
13335
# value retuned in "$func_basename_result"
13336
# Implementation must be kept synchronized with func_dirname
13337
# and func_basename. For efficiency, we do not delegate to
13338
# those functions but instead duplicate the functionality here.
13339
func_dirname_and_basename ()
13342
*/*) func_dirname_result="${1%/*}${2}" ;;
13343
* ) func_dirname_result="${3}" ;;
13345
func_basename_result="${1##*/}"
13348
# func_stripname prefix suffix name
13349
# strip PREFIX and SUFFIX off of NAME.
13350
# PREFIX and SUFFIX must not contain globbing or regex special
13351
# characters, hashes, percent signs, but SUFFIX may contain a leading
13352
# dot (in which case that matches only a dot).
13355
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13356
# positional parameters, so assign one to ordinary parameter first.
13357
func_stripname_result=${3}
13358
func_stripname_result=${func_stripname_result#"${1}"}
13359
func_stripname_result=${func_stripname_result%"${2}"}
13365
func_opt_split_opt=${1%%=*}
13366
func_opt_split_arg=${1#*=}
13373
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13374
*) func_lo2o_result=${1} ;;
13378
# func_xform libobj-or-source
13381
func_xform_result=${1%.*}.lo
13384
# func_arith arithmetic-term...
13387
func_arith_result=$(( $* ))
13391
# STRING may not start with a hyphen.
13394
func_len_result=${#1}
13399
*) # Bourne compatible functions.
13400
cat << \_LT_EOF >> "$cfgfile"
13402
# func_dirname file append nondir_replacement
13403
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
13404
# otherwise set result to NONDIR_REPLACEMENT.
13407
# Extract subdirectory from the argument.
13408
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13409
if test "X$func_dirname_result" = "X${1}"; then
13410
func_dirname_result="${3}"
13412
func_dirname_result="$func_dirname_result${2}"
13416
# func_basename file
13419
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13423
# func_stripname prefix suffix name
13424
# strip PREFIX and SUFFIX off of NAME.
13425
# PREFIX and SUFFIX must not contain globbing or regex special
13426
# characters, hashes, percent signs, but SUFFIX may contain a leading
13427
# dot (in which case that matches only a dot).
13428
# func_strip_suffix prefix name
13432
.*) func_stripname_result=`$ECHO "X${3}" \
13433
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13434
*) func_stripname_result=`$ECHO "X${3}" \
13435
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13440
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13441
my_sed_long_arg='1s/^-[^=]*=//'
13446
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13447
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13453
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13456
# func_xform libobj-or-source
13459
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13462
# func_arith arithmetic-term...
13465
func_arith_result=`expr "$@"`
13469
# STRING may not start with a hyphen.
13472
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13478
case $lt_shell_append in
13480
cat << \_LT_EOF >> "$cfgfile"
13482
# func_append var value
13483
# Append VALUE to the end of shell variable VAR.
13491
cat << \_LT_EOF >> "$cfgfile"
13493
# func_append var value
13494
# Append VALUE to the end of shell variable VAR.
13505
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13506
|| (rm -f "$cfgfile"; exit 1)
13508
mv -f "$cfgfile" "$ofile" ||
13509
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13518
{ (exit 0); exit 0; }
13520
chmod +x $CONFIG_STATUS
13521
ac_clean_files=$ac_clean_files_save
13523
test $ac_write_fail = 0 ||
13524
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
13525
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
13526
{ (exit 1); exit 1; }; }
13529
# configure is writing to config.log, and then calls config.status.
13530
# config.status does its own redirection, appending to config.log.
13531
# Unfortunately, on DOS this fails, as config.log is still kept open
13532
# by configure, so config.status won't be able to write to it; its
13533
# output is simply discarded. So we exec the FD to /dev/null,
13534
# effectively closing config.log, so it can be properly (re)opened and
13535
# appended to by config.status. When coming back to configure, we
13536
# need to make the FD available again.
13537
if test "$no_create" != yes; then
13539
ac_config_status_args=
13540
test "$silent" = yes &&
13541
ac_config_status_args="$ac_config_status_args --quiet"
13543
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13545
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
13546
# would make configure fail if this is the last instruction.
13547
$ac_cs_success || { (exit 1); exit 1; }
13549
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13550
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13551
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}