2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.63 for libltdl 2.2.6.
5
# Report bugs to <bug-libtool@gnu.org>.
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83
# Support unset when possible.
84
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92
# We need space, tab and new line, in precisely that order. Quoting is
93
# there to prevent editors from complaining about space-tab.
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95
# splitting by setting IFS to empty value.)
98
# Find who we are. Look in the path if we contain no directory separator.
100
*[\\/]* ) as_myself=$0 ;;
101
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105
test -z "$as_dir" && as_dir=.
106
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112
# We did not find ourselves, most probably we were run as `sh COMMAND'
113
# in which case we are not to be found in the path.
114
if test "x$as_myself" = x; then
117
if test ! -f "$as_myself"; then
118
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
{ (exit 1); exit 1; }
122
# Work around bugs in pre-3.0 UWIN ksh.
123
for as_var in ENV MAIL MAILPATH
124
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136
# Required to use basename.
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
test "X`expr 00001 : '.*\(...\)'`" = X001; then
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151
# Name of the executable.
152
as_me=`$as_basename -- "$0" ||
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
X"$0" : 'X\(//\)$' \| \
155
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157
sed '/^.*\/\([^/][^/]*\)\/*$/{
175
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; then
182
if test $as_have_required = yes && (eval ":
192
as_func_ret_success () {
195
as_func_ret_failure () {
200
if as_func_success; then
204
echo as_func_success failed.
207
if as_func_failure; then
209
echo as_func_failure succeeded.
212
if as_func_ret_success; then
216
echo as_func_ret_success failed.
219
if as_func_ret_failure; then
221
echo as_func_ret_failure succeeded.
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228
echo positional parameters were not saved.
231
test \$exitcode = 0) || { (exit 1); exit 1; }
236
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
") 2> /dev/null; then
242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
test -z "$as_dir" && as_dir=.
249
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257
for as_shell in $as_candidate_shells $SHELL; do
258
# Try only shells that exist, to save several forks.
259
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
{ ("$as_shell") 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
279
CONFIG_SHELL=$as_shell
281
if { "$as_shell" 2> /dev/null <<\_ASEOF
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
# is contrary to our usage. Disable this feature.
287
alias -g '${1+"$@"}'='"$@"'
290
case `(set -o) 2>/dev/null` in
291
*posix*) set -o posix ;;
307
as_func_ret_success () {
310
as_func_ret_failure () {
315
if as_func_success; then
319
echo as_func_success failed.
322
if as_func_failure; then
324
echo as_func_failure succeeded.
327
if as_func_ret_success; then
331
echo as_func_ret_success failed.
334
if as_func_ret_failure; then
336
echo as_func_ret_failure succeeded.
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
343
echo positional parameters were not saved.
346
test $exitcode = 0) || { (exit 1); exit 1; }
351
test "x$as_lineno_1" != "x$as_lineno_2" &&
352
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363
if test "x$CONFIG_SHELL" != x; then
364
for as_var in BASH_ENV ENV
365
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372
if test $as_have_required = no; then
373
echo This script requires a shell more modern than all the
374
echo shells that I found on your system. Please install a
375
echo modern shell, or manually run the script under such a
376
echo shell if you do have one.
377
{ (exit 1); exit 1; }
387
(eval "as_func_return () {
396
as_func_ret_success () {
399
as_func_ret_failure () {
404
if as_func_success; then
408
echo as_func_success failed.
411
if as_func_failure; then
413
echo as_func_failure succeeded.
416
if as_func_ret_success; then
420
echo as_func_ret_success failed.
423
if as_func_ret_failure; then
425
echo as_func_ret_failure succeeded.
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432
echo positional parameters were not saved.
435
test \$exitcode = 0") || {
436
echo No shell found that supports shell functions.
437
echo Please tell bug-autoconf@gnu.org about your system,
438
echo including any error possibly output before this message.
439
echo This can help us improve future autoconf versions.
440
echo Configuration will now proceed without shell functions.
447
test "x$as_lineno_1" != "x$as_lineno_2" &&
448
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
# uniformly replaced by the line number. The first 'sed' inserts a
452
# line-number line after each line using $LINENO; the second 'sed'
453
# does the real work. The second script uses 'N' to pair each
454
# line-number line with the line containing $LINENO, and appends
455
# trailing '-' during substitution so that $LINENO is not a special
457
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
# scripts with optimization help from Paolo Bonzini. Blame Lee
459
# E. McMahon (1931-1989) for sed's syntax. :-)
471
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475
chmod +x "$as_me.lineno" ||
476
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
{ (exit 1); exit 1; }; }
479
# Don't try to exec as it changes $[0], causing all sort of problems
480
# (the dirname of $[0] is not the place where we might find the
481
# original and so on. Autoconf is especially sensitive to this).
483
# Exit status is that of the last command.
488
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494
ECHO_C= ECHO_N= ECHO_T=
498
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
test "X`expr 00001 : '.*\(...\)'`" = X001; then
511
rm -f conf$$ conf$$.exe conf$$.file
512
if test -d conf$$.dir; then
513
rm -f conf$$.dir/conf$$.file
516
mkdir conf$$.dir 2>/dev/null
518
if (echo >conf$$.file) 2>/dev/null; then
519
if ln -s conf$$.file conf$$ 2>/dev/null; then
521
# ... but there are two gotchas:
522
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524
# In both cases, we have to default to `cp -p'.
525
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527
elif ln conf$$.file conf$$ 2>/dev/null; then
535
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536
rmdir conf$$.dir 2>/dev/null
538
if mkdir -p . 2>/dev/null; then
541
test -d ./-p && rmdir ./-p
545
if test -x / >/dev/null 2>&1; then
548
if ls -dL / >/dev/null 2>&1; then
555
if test -d "$1"; then
561
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562
???[sx]*):;;*)false;;esac;fi
566
as_executable_p=$as_test_x
568
# Sed expression to map a string onto a valid CPP name.
569
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571
# Sed expression to map a string onto a valid variable name.
572
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577
# Check that we are running under the correct shell.
578
SHELL=${CONFIG_SHELL-/bin/sh}
582
# Remove one level of quotation (which was required for Make).
583
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
588
if test "X$1" = X--no-reexec; then
589
# Discard the --no-reexec flag, and continue.
591
elif test "X$1" = X--fallback-echo; then
592
# Avoid inline document here, it may be left over
594
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595
# Yippee, $ECHO works!
598
# Restart under the correct shell.
599
exec $SHELL "$0" --no-reexec ${1+"$@"}
602
if test "X$1" = X--fallback-echo; then
603
# used as fallback echo
611
# The HP-UX ksh and POSIX shell print the target directory to stdout
613
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
615
if test -z "$lt_ECHO"; then
616
if test "X${echo_test_string+set}" != Xset; then
617
# find a string as large as possible, as long as the shell can cope with it
618
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
628
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630
test "X$echo_testing_string" = "X$echo_test_string"; then
633
# The Solaris, AIX, and Digital Unix default echo programs unquote
634
# backslashes. This makes it impossible to quote backslashes using
635
# echo "$something" | sed 's/\\/\\\\/g'
637
# So, first we look for a working echo in the user's PATH.
639
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640
for dir in $PATH /usr/ucb; do
642
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645
test "X$echo_testing_string" = "X$echo_test_string"; then
652
if test "X$ECHO" = Xecho; then
653
# We didn't find a better echo, so look for alternatives.
654
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656
test "X$echo_testing_string" = "X$echo_test_string"; then
657
# This shell has a builtin print -r that does the trick.
659
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660
test "X$CONFIG_SHELL" != X/bin/ksh; then
661
# If we have ksh, try running configure again with it.
662
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663
export ORIGINAL_CONFIG_SHELL
664
CONFIG_SHELL=/bin/ksh
666
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
670
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672
test "X$echo_testing_string" = "X$echo_test_string"; then
675
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676
test "X$echo_testing_string" = 'X\t' &&
677
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678
test "X$echo_testing_string" = "X$echo_test_string"; then
679
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
681
SHELL="$CONFIG_SHELL"
683
ECHO="$CONFIG_SHELL $0 --fallback-echo"
684
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685
test "X$echo_testing_string" = 'X\t' &&
686
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687
test "X$echo_testing_string" = "X$echo_test_string"; then
688
ECHO="$CONFIG_SHELL $0 --fallback-echo"
690
# maybe with a smaller string...
693
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
701
if test "$prev" != 'sed 50q "$0"'; then
702
echo_test_string=`eval $prev`
703
export echo_test_string
704
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706
# Oops. We lost completely, so just stick with echo.
715
# Copy echo and quote the copy suitably for passing to libtool from
716
# the Makefile, instead of quoting the original, which is used later.
718
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
725
exec 7<&0 </dev/null 6>&1
728
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729
# so uname gets run too.
730
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
735
ac_default_prefix=/usr/local
737
ac_config_libobj_dir=.
743
SHELL=${CONFIG_SHELL-/bin/sh}
745
# Identity of this package.
746
PACKAGE_NAME='libltdl'
747
PACKAGE_TARNAME='libltdl'
748
PACKAGE_VERSION='2.2.6'
749
PACKAGE_STRING='libltdl 2.2.6'
750
PACKAGE_BUGREPORT='bug-libtool@gnu.org'
752
ac_unique_file="ltdl.c"
753
# Factoring default headers for most tests.
754
ac_includes_default="\
756
#ifdef HAVE_SYS_TYPES_H
757
# include <sys/types.h>
759
#ifdef HAVE_SYS_STAT_H
760
# include <sys/stat.h>
766
# ifdef HAVE_STDLIB_H
771
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
776
#ifdef HAVE_STRINGS_H
777
# include <strings.h>
779
#ifdef HAVE_INTTYPES_H
780
# include <inttypes.h>
789
ac_subst_vars='LTLIBOBJS
792
CONVENIENCE_LTDL_FALSE
793
CONVENIENCE_LTDL_TRUE
798
sys_symbol_underscore
859
INSTALL_STRIP_PROGRAM
901
program_transform_name
913
enable_option_checking
918
enable_dependency_tracking
923
ac_precious_vars='build_alias
934
# Initialize some variables set by options.
936
ac_init_version=false
937
ac_unrecognized_opts=
939
# The variables have the same names as the options, with
940
# dashes changed to underlines.
948
program_transform_name=s,x,x,
956
# Installation directory options.
957
# These are left unexpanded so users can "make install exec_prefix=/foo"
958
# and all the variables that are supposed to be based on exec_prefix
959
# by default will actually change.
960
# Use braces instead of parens because sh, perl, etc. also accept them.
961
# (The list follows the same order as the GNU Coding Standards.)
962
bindir='${exec_prefix}/bin'
963
sbindir='${exec_prefix}/sbin'
964
libexecdir='${exec_prefix}/libexec'
965
datarootdir='${prefix}/share'
966
datadir='${datarootdir}'
967
sysconfdir='${prefix}/etc'
968
sharedstatedir='${prefix}/com'
969
localstatedir='${prefix}/var'
970
includedir='${prefix}/include'
971
oldincludedir='/usr/include'
972
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
973
infodir='${datarootdir}/info'
978
libdir='${exec_prefix}/lib'
979
localedir='${datarootdir}/locale'
980
mandir='${datarootdir}/man'
986
# If the previous option needs an argument, assign it.
987
if test -n "$ac_prev"; then
988
eval $ac_prev=\$ac_option
994
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
998
# Accept the important Cygnus configure options, so we can diagnose typos.
1000
case $ac_dashdash$ac_option in
1004
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1006
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1007
bindir=$ac_optarg ;;
1009
-build | --build | --buil | --bui | --bu)
1010
ac_prev=build_alias ;;
1011
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1012
build_alias=$ac_optarg ;;
1014
-cache-file | --cache-file | --cache-fil | --cache-fi \
1015
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1016
ac_prev=cache_file ;;
1017
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1018
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1019
cache_file=$ac_optarg ;;
1021
--config-cache | -C)
1022
cache_file=config.cache ;;
1024
-datadir | --datadir | --datadi | --datad)
1026
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1027
datadir=$ac_optarg ;;
1029
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1030
| --dataroo | --dataro | --datar)
1031
ac_prev=datarootdir ;;
1032
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1033
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1034
datarootdir=$ac_optarg ;;
1036
-disable-* | --disable-*)
1037
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1038
# Reject names that are not valid shell variable names.
1039
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1040
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1041
{ (exit 1); exit 1; }; }
1042
ac_useropt_orig=$ac_useropt
1043
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1044
case $ac_user_opts in
1046
"enable_$ac_useropt"
1048
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1049
ac_unrecognized_sep=', ';;
1051
eval enable_$ac_useropt=no ;;
1053
-docdir | --docdir | --docdi | --doc | --do)
1055
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1056
docdir=$ac_optarg ;;
1058
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1060
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1061
dvidir=$ac_optarg ;;
1063
-enable-* | --enable-*)
1064
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1065
# Reject names that are not valid shell variable names.
1066
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1068
{ (exit 1); exit 1; }; }
1069
ac_useropt_orig=$ac_useropt
1070
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1071
case $ac_user_opts in
1073
"enable_$ac_useropt"
1075
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1076
ac_unrecognized_sep=', ';;
1078
eval enable_$ac_useropt=\$ac_optarg ;;
1080
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1081
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1082
| --exec | --exe | --ex)
1083
ac_prev=exec_prefix ;;
1084
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1085
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1086
| --exec=* | --exe=* | --ex=*)
1087
exec_prefix=$ac_optarg ;;
1089
-gas | --gas | --ga | --g)
1090
# Obsolete; use --with-gas.
1093
-help | --help | --hel | --he | -h)
1094
ac_init_help=long ;;
1095
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1096
ac_init_help=recursive ;;
1097
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1098
ac_init_help=short ;;
1100
-host | --host | --hos | --ho)
1101
ac_prev=host_alias ;;
1102
-host=* | --host=* | --hos=* | --ho=*)
1103
host_alias=$ac_optarg ;;
1105
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1107
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1109
htmldir=$ac_optarg ;;
1111
-includedir | --includedir | --includedi | --included | --include \
1112
| --includ | --inclu | --incl | --inc)
1113
ac_prev=includedir ;;
1114
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1115
| --includ=* | --inclu=* | --incl=* | --inc=*)
1116
includedir=$ac_optarg ;;
1118
-infodir | --infodir | --infodi | --infod | --info | --inf)
1120
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1121
infodir=$ac_optarg ;;
1123
-libdir | --libdir | --libdi | --libd)
1125
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1126
libdir=$ac_optarg ;;
1128
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1129
| --libexe | --libex | --libe)
1130
ac_prev=libexecdir ;;
1131
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1132
| --libexe=* | --libex=* | --libe=*)
1133
libexecdir=$ac_optarg ;;
1135
-localedir | --localedir | --localedi | --localed | --locale)
1136
ac_prev=localedir ;;
1137
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1138
localedir=$ac_optarg ;;
1140
-localstatedir | --localstatedir | --localstatedi | --localstated \
1141
| --localstate | --localstat | --localsta | --localst | --locals)
1142
ac_prev=localstatedir ;;
1143
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1144
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1145
localstatedir=$ac_optarg ;;
1147
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1149
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1150
mandir=$ac_optarg ;;
1152
-nfp | --nfp | --nf)
1153
# Obsolete; use --without-fp.
1156
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1157
| --no-cr | --no-c | -n)
1160
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1161
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1164
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1165
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1166
| --oldin | --oldi | --old | --ol | --o)
1167
ac_prev=oldincludedir ;;
1168
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1169
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1170
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1171
oldincludedir=$ac_optarg ;;
1173
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1175
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1176
prefix=$ac_optarg ;;
1178
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1179
| --program-pre | --program-pr | --program-p)
1180
ac_prev=program_prefix ;;
1181
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1182
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1183
program_prefix=$ac_optarg ;;
1185
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1186
| --program-suf | --program-su | --program-s)
1187
ac_prev=program_suffix ;;
1188
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1189
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1190
program_suffix=$ac_optarg ;;
1192
-program-transform-name | --program-transform-name \
1193
| --program-transform-nam | --program-transform-na \
1194
| --program-transform-n | --program-transform- \
1195
| --program-transform | --program-transfor \
1196
| --program-transfo | --program-transf \
1197
| --program-trans | --program-tran \
1198
| --progr-tra | --program-tr | --program-t)
1199
ac_prev=program_transform_name ;;
1200
-program-transform-name=* | --program-transform-name=* \
1201
| --program-transform-nam=* | --program-transform-na=* \
1202
| --program-transform-n=* | --program-transform-=* \
1203
| --program-transform=* | --program-transfor=* \
1204
| --program-transfo=* | --program-transf=* \
1205
| --program-trans=* | --program-tran=* \
1206
| --progr-tra=* | --program-tr=* | --program-t=*)
1207
program_transform_name=$ac_optarg ;;
1209
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1211
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1212
pdfdir=$ac_optarg ;;
1214
-psdir | --psdir | --psdi | --psd | --ps)
1216
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1219
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1220
| -silent | --silent | --silen | --sile | --sil)
1223
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1225
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1227
sbindir=$ac_optarg ;;
1229
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1230
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1231
| --sharedst | --shareds | --shared | --share | --shar \
1233
ac_prev=sharedstatedir ;;
1234
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1235
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1236
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1238
sharedstatedir=$ac_optarg ;;
1240
-site | --site | --sit)
1242
-site=* | --site=* | --sit=*)
1245
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1247
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1248
srcdir=$ac_optarg ;;
1250
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1251
| --syscon | --sysco | --sysc | --sys | --sy)
1252
ac_prev=sysconfdir ;;
1253
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1254
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1255
sysconfdir=$ac_optarg ;;
1257
-target | --target | --targe | --targ | --tar | --ta | --t)
1258
ac_prev=target_alias ;;
1259
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1260
target_alias=$ac_optarg ;;
1262
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1265
-version | --version | --versio | --versi | --vers | -V)
1266
ac_init_version=: ;;
1269
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1270
# Reject names that are not valid shell variable names.
1271
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1272
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1273
{ (exit 1); exit 1; }; }
1274
ac_useropt_orig=$ac_useropt
1275
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1276
case $ac_user_opts in
1280
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1281
ac_unrecognized_sep=', ';;
1283
eval with_$ac_useropt=\$ac_optarg ;;
1285
-without-* | --without-*)
1286
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1287
# Reject names that are not valid shell variable names.
1288
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1289
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1290
{ (exit 1); exit 1; }; }
1291
ac_useropt_orig=$ac_useropt
1292
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1293
case $ac_user_opts in
1297
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1298
ac_unrecognized_sep=', ';;
1300
eval with_$ac_useropt=no ;;
1303
# Obsolete; use --with-x.
1306
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1307
| --x-incl | --x-inc | --x-in | --x-i)
1308
ac_prev=x_includes ;;
1309
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1310
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1311
x_includes=$ac_optarg ;;
1313
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1314
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1315
ac_prev=x_libraries ;;
1316
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1317
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1318
x_libraries=$ac_optarg ;;
1320
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1321
Try \`$0 --help' for more information." >&2
1322
{ (exit 1); exit 1; }; }
1326
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1327
# Reject names that are not valid shell variable names.
1328
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1329
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1330
{ (exit 1); exit 1; }; }
1331
eval $ac_envvar=\$ac_optarg
1332
export $ac_envvar ;;
1335
# FIXME: should be removed in autoconf 3.0.
1336
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1337
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1338
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1339
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1345
if test -n "$ac_prev"; then
1346
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1347
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
1348
{ (exit 1); exit 1; }; }
1351
if test -n "$ac_unrecognized_opts"; then
1352
case $enable_option_checking in
1354
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1355
{ (exit 1); exit 1; }; } ;;
1356
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1360
# Check all directory arguments for consistency.
1361
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1362
datadir sysconfdir sharedstatedir localstatedir includedir \
1363
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1364
libdir localedir mandir
1366
eval ac_val=\$$ac_var
1367
# Remove trailing slashes.
1370
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1371
eval $ac_var=\$ac_val;;
1373
# Be sure to have absolute directory names.
1375
[\\/$]* | ?:[\\/]* ) continue;;
1376
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1378
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1379
{ (exit 1); exit 1; }; }
1382
# There might be people who depend on the old broken behavior: `$host'
1383
# used to hold the argument of --host etc.
1384
# FIXME: To remove some day.
1387
target=$target_alias
1389
# FIXME: To remove some day.
1390
if test "x$host_alias" != x; then
1391
if test "x$build_alias" = x; then
1392
cross_compiling=maybe
1393
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1394
If a cross compiler is detected then cross compile mode will be used." >&2
1395
elif test "x$build_alias" != "x$host_alias"; then
1401
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1403
test "$silent" = yes && exec 6>/dev/null
1406
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1407
ac_ls_di=`ls -di .` &&
1408
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1409
{ $as_echo "$as_me: error: working directory cannot be determined" >&2
1410
{ (exit 1); exit 1; }; }
1411
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1412
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1413
{ (exit 1); exit 1; }; }
1416
# Find the source files, if location was not specified.
1417
if test -z "$srcdir"; then
1418
ac_srcdir_defaulted=yes
1419
# Try the directory containing this script, then the parent directory.
1420
ac_confdir=`$as_dirname -- "$as_myself" ||
1421
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1422
X"$as_myself" : 'X\(//\)[^/]' \| \
1423
X"$as_myself" : 'X\(//\)$' \| \
1424
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1425
$as_echo X"$as_myself" |
1426
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1444
if test ! -r "$srcdir/$ac_unique_file"; then
1448
ac_srcdir_defaulted=no
1450
if test ! -r "$srcdir/$ac_unique_file"; then
1451
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1452
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1453
{ (exit 1); exit 1; }; }
1455
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1457
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1458
{ (exit 1); exit 1; }; }
1460
# When building in place, set srcdir=.
1461
if test "$ac_abs_confdir" = "$ac_pwd"; then
1464
# Remove unnecessary trailing slashes from srcdir.
1465
# Double slashes in file names in object file debugging info
1466
# mess up M-x gdb in Emacs.
1468
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1470
for ac_var in $ac_precious_vars; do
1471
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1472
eval ac_env_${ac_var}_value=\$${ac_var}
1473
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1474
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1478
# Report the --help message.
1480
if test "$ac_init_help" = "long"; then
1481
# Omit some internal or obsolete options to make the list less imposing.
1482
# This message is too long to be a string in the A/UX 3.1 sh.
1484
\`configure' configures libltdl 2.2.6 to adapt to many kinds of systems.
1486
Usage: $0 [OPTION]... [VAR=VALUE]...
1488
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1489
VAR=VALUE. See below for descriptions of some of the useful variables.
1491
Defaults for the options are specified in brackets.
1494
-h, --help display this help and exit
1495
--help=short display options specific to this package
1496
--help=recursive display the short help of all the included packages
1497
-V, --version display version information and exit
1498
-q, --quiet, --silent do not print \`checking...' messages
1499
--cache-file=FILE cache test results in FILE [disabled]
1500
-C, --config-cache alias for \`--cache-file=config.cache'
1501
-n, --no-create do not create output files
1502
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1504
Installation directories:
1505
--prefix=PREFIX install architecture-independent files in PREFIX
1506
[$ac_default_prefix]
1507
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1510
By default, \`make install' will install all the files in
1511
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1512
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1513
for instance \`--prefix=\$HOME'.
1515
For better control, use the options below.
1517
Fine tuning of the installation directories:
1518
--bindir=DIR user executables [EPREFIX/bin]
1519
--sbindir=DIR system admin executables [EPREFIX/sbin]
1520
--libexecdir=DIR program executables [EPREFIX/libexec]
1521
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1522
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1523
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1524
--libdir=DIR object code libraries [EPREFIX/lib]
1525
--includedir=DIR C header files [PREFIX/include]
1526
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1527
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1528
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1529
--infodir=DIR info documentation [DATAROOTDIR/info]
1530
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1531
--mandir=DIR man documentation [DATAROOTDIR/man]
1532
--docdir=DIR documentation root [DATAROOTDIR/doc/libltdl]
1533
--htmldir=DIR html documentation [DOCDIR]
1534
--dvidir=DIR dvi documentation [DOCDIR]
1535
--pdfdir=DIR pdf documentation [DOCDIR]
1536
--psdir=DIR ps documentation [DOCDIR]
1542
--program-prefix=PREFIX prepend PREFIX to installed program names
1543
--program-suffix=SUFFIX append SUFFIX to installed program names
1544
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1547
--build=BUILD configure for building on BUILD [guessed]
1548
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1552
if test -n "$ac_init_help"; then
1553
case $ac_init_help in
1554
short | recursive ) echo "Configuration of libltdl 2.2.6:";;
1559
--disable-option-checking ignore unrecognized --enable/--with options
1560
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1561
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1562
--enable-shared[=PKGS] build shared libraries [default=yes]
1563
--enable-static[=PKGS] build static libraries [default=yes]
1564
--enable-fast-install[=PKGS]
1565
optimize for fast installation [default=yes]
1566
--disable-dependency-tracking speeds up one-time build
1567
--enable-dependency-tracking do not reject slow dependency extractors
1568
--disable-libtool-lock avoid locking (might break parallel builds)
1569
--enable-ltdl-install install libltdl
1572
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1573
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1574
--with-pic try to use only PIC/non-PIC objects [default=use
1576
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1578
Some influential environment variables:
1579
CC C compiler command
1580
CFLAGS C compiler flags
1581
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1582
nonstandard directory <lib dir>
1583
LIBS libraries to pass to the linker, e.g. -l<library>
1584
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1585
you have headers in a nonstandard directory <include dir>
1588
Use these variables to override the choices made by `configure' or to help
1589
it to find libraries and programs with nonstandard names/locations.
1591
Report bugs to <bug-libtool@gnu.org>.
1596
if test "$ac_init_help" = "recursive"; then
1597
# If there are subdirs, report their specific --help.
1598
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1599
test -d "$ac_dir" ||
1600
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1605
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1607
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1608
# A ".." for each directory in $ac_dir_suffix.
1609
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1610
case $ac_top_builddir_sub in
1611
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1615
ac_abs_top_builddir=$ac_pwd
1616
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1617
# for backward compatibility:
1618
ac_top_builddir=$ac_top_build_prefix
1621
.) # We are building in place.
1623
ac_top_srcdir=$ac_top_builddir_sub
1624
ac_abs_top_srcdir=$ac_pwd ;;
1625
[\\/]* | ?:[\\/]* ) # Absolute name.
1626
ac_srcdir=$srcdir$ac_dir_suffix;
1627
ac_top_srcdir=$srcdir
1628
ac_abs_top_srcdir=$srcdir ;;
1630
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1631
ac_top_srcdir=$ac_top_build_prefix$srcdir
1632
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1634
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1636
cd "$ac_dir" || { ac_status=$?; continue; }
1637
# Check for guested configure.
1638
if test -f "$ac_srcdir/configure.gnu"; then
1640
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1641
elif test -f "$ac_srcdir/configure"; then
1643
$SHELL "$ac_srcdir/configure" --help=recursive
1645
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1647
cd "$ac_pwd" || { ac_status=$?; break; }
1651
test -n "$ac_init_help" && exit $ac_status
1652
if $ac_init_version; then
1654
libltdl configure 2.2.6
1655
generated by GNU Autoconf 2.63
1657
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1658
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1659
This configure script is free software; the Free Software Foundation
1660
gives unlimited permission to copy, distribute and modify it.
1664
cat >config.log <<_ACEOF
1665
This file contains any messages produced by compilers while
1666
running configure, to aid debugging if configure makes a mistake.
1668
It was created by libltdl $as_me 2.2.6, which was
1669
generated by GNU Autoconf 2.63. Invocation command line was
1681
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1682
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1683
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1684
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1685
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1687
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1688
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1690
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1691
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1692
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1693
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1694
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1695
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1696
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1700
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1704
test -z "$as_dir" && as_dir=.
1705
$as_echo "PATH: $as_dir"
1721
# Keep a trace of the command line.
1722
# Strip out --no-create and --no-recursion so they do not pile up.
1723
# Strip out --silent because we don't want to record it for future runs.
1724
# Also quote any args containing shell meta-characters.
1725
# Make two passes to allow for proper duplicate-argument suppression.
1729
ac_must_keep_next=false
1735
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1736
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1737
| -silent | --silent | --silen | --sile | --sil)
1740
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1743
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1745
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1746
if test $ac_must_keep_next = true; then
1747
ac_must_keep_next=false # Got value, back to normal.
1750
*=* | --config-cache | -C | -disable-* | --disable-* \
1751
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1752
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1753
| -with-* | --with-* | -without-* | --without-* | --x)
1754
case "$ac_configure_args0 " in
1755
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1758
-* ) ac_must_keep_next=true ;;
1761
ac_configure_args="$ac_configure_args '$ac_arg'"
1766
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1767
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1769
# When interrupted or exit'd, cleanup temporary files, and complete
1770
# config.log. We remove comments because anyway the quotes in there
1771
# would cause problems or look ugly.
1772
# WARNING: Use '\'' to represent an apostrophe within the trap.
1773
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1774
trap 'exit_status=$?
1775
# Save into config.log some information that might help in debugging.
1780
## ---------------- ##
1781
## Cache variables. ##
1782
## ---------------- ##
1785
# The following way of writing the cache mishandles newlines in values,
1787
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1788
eval ac_val=\$$ac_var
1792
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1793
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1796
_ | IFS | as_nl) ;; #(
1797
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1798
*) $as_unset $ac_var ;;
1803
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1804
*${as_nl}ac_space=\ *)
1806
"s/'\''/'\''\\\\'\'''\''/g;
1807
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1810
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1818
## ----------------- ##
1819
## Output variables. ##
1820
## ----------------- ##
1823
for ac_var in $ac_subst_vars
1825
eval ac_val=\$$ac_var
1827
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1829
$as_echo "$ac_var='\''$ac_val'\''"
1833
if test -n "$ac_subst_files"; then
1835
## ------------------- ##
1836
## File substitutions. ##
1837
## ------------------- ##
1840
for ac_var in $ac_subst_files
1842
eval ac_val=\$$ac_var
1844
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1846
$as_echo "$ac_var='\''$ac_val'\''"
1851
if test -s confdefs.h; then
1861
test "$ac_signal" != 0 &&
1862
$as_echo "$as_me: caught signal $ac_signal"
1863
$as_echo "$as_me: exit $exit_status"
1865
rm -f core *.core core.conftest.* &&
1866
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1869
for ac_signal in 1 2 13 15; do
1870
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1874
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1875
rm -f -r conftest* confdefs.h
1877
# Predefined preprocessor variables.
1879
cat >>confdefs.h <<_ACEOF
1880
#define PACKAGE_NAME "$PACKAGE_NAME"
1884
cat >>confdefs.h <<_ACEOF
1885
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1889
cat >>confdefs.h <<_ACEOF
1890
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1894
cat >>confdefs.h <<_ACEOF
1895
#define PACKAGE_STRING "$PACKAGE_STRING"
1899
cat >>confdefs.h <<_ACEOF
1900
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1904
# Let the site file select an alternate cache file if it wants to.
1905
# Prefer an explicitly selected file to automatically selected ones.
1908
if test -n "$CONFIG_SITE"; then
1909
ac_site_file1=$CONFIG_SITE
1910
elif test "x$prefix" != xNONE; then
1911
ac_site_file1=$prefix/share/config.site
1912
ac_site_file2=$prefix/etc/config.site
1914
ac_site_file1=$ac_default_prefix/share/config.site
1915
ac_site_file2=$ac_default_prefix/etc/config.site
1917
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1919
test "x$ac_site_file" = xNONE && continue
1920
if test -r "$ac_site_file"; then
1921
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1922
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1923
sed 's/^/| /' "$ac_site_file" >&5
1928
if test -r "$cache_file"; then
1929
# Some versions of bash will fail to source /dev/null (special
1930
# files actually), so we avoid doing that.
1931
if test -f "$cache_file"; then
1932
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1933
$as_echo "$as_me: loading cache $cache_file" >&6;}
1935
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1936
*) . "./$cache_file";;
1940
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1941
$as_echo "$as_me: creating cache $cache_file" >&6;}
1945
# Check that the precious variables saved in the cache have kept the same
1947
ac_cache_corrupted=false
1948
for ac_var in $ac_precious_vars; do
1949
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1950
eval ac_new_set=\$ac_env_${ac_var}_set
1951
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1952
eval ac_new_val=\$ac_env_${ac_var}_value
1953
case $ac_old_set,$ac_new_set in
1955
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1956
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1957
ac_cache_corrupted=: ;;
1959
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1960
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1961
ac_cache_corrupted=: ;;
1964
if test "x$ac_old_val" != "x$ac_new_val"; then
1965
# differences in whitespace do not lead to failure.
1966
ac_old_val_w=`echo x $ac_old_val`
1967
ac_new_val_w=`echo x $ac_new_val`
1968
if test "$ac_old_val_w" != "$ac_new_val_w"; then
1969
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1970
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1971
ac_cache_corrupted=:
1973
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1974
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1975
eval $ac_var=\$ac_old_val
1977
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1978
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1979
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1980
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1983
# Pass precious variables to config.status.
1984
if test "$ac_new_set" = set; then
1986
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1987
*) ac_arg=$ac_var=$ac_new_val ;;
1989
case " $ac_configure_args " in
1990
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1991
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1995
if $ac_cache_corrupted; then
1996
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1997
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1998
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1999
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2000
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2001
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2002
{ (exit 1); exit 1; }; }
2030
ac_cpp='$CPP $CPPFLAGS'
2031
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2032
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2033
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2036
ac_config_headers="$ac_config_headers config.h:config-h.in"
2040
for ac_dir in config "$srcdir"/config; do
2041
if test -f "$ac_dir/install-sh"; then
2043
ac_install_sh="$ac_aux_dir/install-sh -c"
2045
elif test -f "$ac_dir/install.sh"; then
2047
ac_install_sh="$ac_aux_dir/install.sh -c"
2049
elif test -f "$ac_dir/shtool"; then
2051
ac_install_sh="$ac_aux_dir/shtool install -c"
2055
if test -z "$ac_aux_dir"; then
2056
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&5
2057
$as_echo "$as_me: error: cannot find install-sh or install.sh in config \"$srcdir\"/config" >&2;}
2058
{ (exit 1); exit 1; }; }
2061
# These three variables are undocumented and unsupported,
2062
# and are intended to be withdrawn in a future Autoconf release.
2063
# They can cause serious problems if a builder's source tree is in a directory
2064
# whose full name contains unusual characters.
2065
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2066
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2067
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2079
## ------------------------ ##
2080
## Automake Initialisation. ##
2081
## ------------------------ ##
2083
am__api_version='1.10'
2085
# Find a good install program. We prefer a C program (faster),
2086
# so one script is as good as another. But avoid the broken or
2087
# incompatible versions:
2088
# SysV /etc/install, /usr/sbin/install
2089
# SunOS /usr/etc/install
2090
# IRIX /sbin/install
2092
# AmigaOS /C/install, which installs bootblocks on floppy discs
2093
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2094
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2095
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2096
# OS/2's system install, which has a completely different semantic
2097
# ./install, which can be erroneously created by make from ./install.sh.
2098
# Reject install programs that cannot install multiple files.
2099
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2100
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2101
if test -z "$INSTALL"; then
2102
if test "${ac_cv_path_install+set}" = set; then
2103
$as_echo_n "(cached) " >&6
2105
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109
test -z "$as_dir" && as_dir=.
2110
# Account for people who put trailing slashes in PATH elements.
2112
./ | .// | /cC/* | \
2113
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2114
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2117
# OSF1 and SCO ODT 3.0 have their own names for install.
2118
# Don't use installbsd from OSF since it installs stuff as root
2120
for ac_prog in ginstall scoinst install; do
2121
for ac_exec_ext in '' $ac_executable_extensions; do
2122
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2123
if test $ac_prog = install &&
2124
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2125
# AIX install. It has an incompatible calling convention.
2127
elif test $ac_prog = install &&
2128
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2129
# program-specific install script used by HP pwplus--don't use.
2132
rm -rf conftest.one conftest.two conftest.dir
2133
echo one > conftest.one
2134
echo two > conftest.two
2136
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2137
test -s conftest.one && test -s conftest.two &&
2138
test -s conftest.dir/conftest.one &&
2139
test -s conftest.dir/conftest.two
2141
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2154
rm -rf conftest.one conftest.two conftest.dir
2157
if test "${ac_cv_path_install+set}" = set; then
2158
INSTALL=$ac_cv_path_install
2160
# As a last resort, use the slow shell script. Don't cache a
2161
# value for INSTALL within a source directory, because that will
2162
# break other packages using the cache if that directory is
2163
# removed, or if the value is a relative name.
2164
INSTALL=$ac_install_sh
2167
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2168
$as_echo "$INSTALL" >&6; }
2170
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2171
# It thinks the first close brace ends the variable substitution.
2172
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2174
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2176
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2178
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2179
$as_echo_n "checking whether build environment is sane... " >&6; }
2182
echo timestamp > conftest.file
2183
# Do `set' in a subshell so we don't clobber the current shell's
2184
# arguments. Must try -L first in case configure is actually a
2185
# symlink; some systems play weird games with the mod time of symlinks
2186
# (eg FreeBSD returns the mod time of the symlink's containing
2189
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2190
if test "$*" = "X"; then
2192
set X `ls -t $srcdir/configure conftest.file`
2195
if test "$*" != "X $srcdir/configure conftest.file" \
2196
&& test "$*" != "X conftest.file $srcdir/configure"; then
2198
# If neither matched, then we have a broken ls. This can happen
2199
# if, for instance, CONFIG_SHELL is bash and it inherits a
2200
# broken ls alias from the environment. This has actually
2201
# happened. Such a system could not be considered "sane".
2202
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2203
alias in your environment" >&5
2204
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2205
alias in your environment" >&2;}
2206
{ (exit 1); exit 1; }; }
2209
test "$2" = conftest.file
2215
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2216
Check your system clock" >&5
2217
$as_echo "$as_me: error: newly created file is older than distributed files!
2218
Check your system clock" >&2;}
2219
{ (exit 1); exit 1; }; }
2221
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2222
$as_echo "yes" >&6; }
2223
test "$program_prefix" != NONE &&
2224
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2225
# Use a double $ so make ignores it.
2226
test "$program_suffix" != NONE &&
2227
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2228
# Double any \ or $.
2229
# By default was `s,x,x', remove it if useless.
2230
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2231
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2233
# expand $ac_aux_dir to an absolute path
2234
am_aux_dir=`cd $ac_aux_dir && pwd`
2236
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2237
# Use eval to expand $SHELL
2238
if eval "$MISSING --run true"; then
2239
am_missing_run="$MISSING --run "
2242
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2243
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2246
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2247
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2248
if test -z "$MKDIR_P"; then
2249
if test "${ac_cv_path_mkdir+set}" = set; then
2250
$as_echo_n "(cached) " >&6
2252
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2253
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2256
test -z "$as_dir" && as_dir=.
2257
for ac_prog in mkdir gmkdir; do
2258
for ac_exec_ext in '' $ac_executable_extensions; do
2259
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2260
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2261
'mkdir (GNU coreutils) '* | \
2262
'mkdir (coreutils) '* | \
2263
'mkdir (fileutils) '4.1*)
2264
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2274
if test "${ac_cv_path_mkdir+set}" = set; then
2275
MKDIR_P="$ac_cv_path_mkdir -p"
2277
# As a last resort, use the slow shell script. Don't cache a
2278
# value for MKDIR_P within a source directory, because that will
2279
# break other packages using the cache if that directory is
2280
# removed, or if the value is a relative name.
2281
test -d ./--version && rmdir ./--version
2282
MKDIR_P="$ac_install_sh -d"
2285
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2286
$as_echo "$MKDIR_P" >&6; }
2290
[\\/$]* | ?:[\\/]*) ;;
2291
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2294
for ac_prog in gawk mawk nawk awk
2296
# Extract the first word of "$ac_prog", so it can be a program name with args.
2297
set dummy $ac_prog; ac_word=$2
2298
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2299
$as_echo_n "checking for $ac_word... " >&6; }
2300
if test "${ac_cv_prog_AWK+set}" = set; then
2301
$as_echo_n "(cached) " >&6
2303
if test -n "$AWK"; then
2304
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2306
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310
test -z "$as_dir" && as_dir=.
2311
for ac_exec_ext in '' $ac_executable_extensions; do
2312
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2313
ac_cv_prog_AWK="$ac_prog"
2314
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2324
if test -n "$AWK"; then
2325
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5
2326
$as_echo "$AWK" >&6; }
2328
{ $as_echo "$as_me:$LINENO: result: no" >&5
2329
$as_echo "no" >&6; }
2333
test -n "$AWK" && break
2336
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2337
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2339
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2340
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2341
$as_echo_n "(cached) " >&6
2343
cat >conftest.make <<\_ACEOF
2346
@echo '@@@%%%=$(MAKE)=@@@%%%'
2348
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2349
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2351
eval ac_cv_prog_make_${ac_make}_set=yes;;
2353
eval ac_cv_prog_make_${ac_make}_set=no;;
2357
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2358
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2359
$as_echo "yes" >&6; }
2362
{ $as_echo "$as_me:$LINENO: result: no" >&5
2363
$as_echo "no" >&6; }
2364
SET_MAKE="MAKE=${MAKE-make}"
2367
rm -rf .tst 2>/dev/null
2368
mkdir .tst 2>/dev/null
2369
if test -d .tst; then
2374
rmdir .tst 2>/dev/null
2376
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2377
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2378
# is not polluted with repeated "-I."
2379
am__isrc=' -I$(srcdir)'
2380
# test to see if srcdir already configured
2381
if test -f $srcdir/config.status; then
2382
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2383
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2384
{ (exit 1); exit 1; }; }
2388
# test whether we have cygpath
2389
if test -z "$CYGPATH_W"; then
2390
if (cygpath --version) >/dev/null 2>/dev/null; then
2391
CYGPATH_W='cygpath -w'
2398
# Define the identity of the package.
2403
cat >>confdefs.h <<_ACEOF
2404
#define PACKAGE "$PACKAGE"
2408
cat >>confdefs.h <<_ACEOF
2409
#define VERSION "$VERSION"
2412
# Some tools Automake needs.
2414
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2417
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2420
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2423
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2426
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2428
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2430
# Installed binaries are usually stripped using `strip' when the user
2431
# run `make install-strip'. However `strip' might not be the right
2432
# tool to use in cross-compilation environments, therefore Automake
2433
# will honor the `STRIP' environment variable to overrule this program.
2434
if test "$cross_compiling" != no; then
2435
if test -n "$ac_tool_prefix"; then
2436
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2437
set dummy ${ac_tool_prefix}strip; ac_word=$2
2438
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2439
$as_echo_n "checking for $ac_word... " >&6; }
2440
if test "${ac_cv_prog_STRIP+set}" = set; then
2441
$as_echo_n "(cached) " >&6
2443
if test -n "$STRIP"; then
2444
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2446
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2450
test -z "$as_dir" && as_dir=.
2451
for ac_exec_ext in '' $ac_executable_extensions; do
2452
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2453
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2454
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2463
STRIP=$ac_cv_prog_STRIP
2464
if test -n "$STRIP"; then
2465
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2466
$as_echo "$STRIP" >&6; }
2468
{ $as_echo "$as_me:$LINENO: result: no" >&5
2469
$as_echo "no" >&6; }
2474
if test -z "$ac_cv_prog_STRIP"; then
2476
# Extract the first word of "strip", so it can be a program name with args.
2477
set dummy strip; ac_word=$2
2478
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2479
$as_echo_n "checking for $ac_word... " >&6; }
2480
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2481
$as_echo_n "(cached) " >&6
2483
if test -n "$ac_ct_STRIP"; then
2484
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2486
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2490
test -z "$as_dir" && as_dir=.
2491
for ac_exec_ext in '' $ac_executable_extensions; do
2492
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2493
ac_cv_prog_ac_ct_STRIP="strip"
2494
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2504
if test -n "$ac_ct_STRIP"; then
2505
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2506
$as_echo "$ac_ct_STRIP" >&6; }
2508
{ $as_echo "$as_me:$LINENO: result: no" >&5
2509
$as_echo "no" >&6; }
2512
if test "x$ac_ct_STRIP" = x; then
2515
case $cross_compiling:$ac_tool_warned in
2517
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2518
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2519
ac_tool_warned=yes ;;
2524
STRIP="$ac_cv_prog_STRIP"
2528
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2530
# We need awk for the "check" target. The system "awk" is bad on
2532
# Always define AMTAR for backward compatibility.
2534
AMTAR=${AMTAR-"${am_missing_run}tar"}
2536
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2544
## ------------------------------- ##
2545
## Libtool specific configuration. ##
2546
## ------------------------------- ##
2547
pkgdatadir='${datadir}'"/${PACKAGE}"
2550
## ----------------------- ##
2551
## Libtool initialisation. ##
2552
## ----------------------- ##
2555
{ $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2556
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2561
macro_version='2.2.6'
2562
macro_revision='1.3012'
2576
ltmain="$ac_aux_dir/ltmain.sh"
2578
# Make sure we can run config.sub.
2579
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2580
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2581
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2582
{ (exit 1); exit 1; }; }
2584
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
2585
$as_echo_n "checking build system type... " >&6; }
2586
if test "${ac_cv_build+set}" = set; then
2587
$as_echo_n "(cached) " >&6
2589
ac_build_alias=$build_alias
2590
test "x$ac_build_alias" = x &&
2591
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2592
test "x$ac_build_alias" = x &&
2593
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2594
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2595
{ (exit 1); exit 1; }; }
2596
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2597
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2598
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2599
{ (exit 1); exit 1; }; }
2602
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2603
$as_echo "$ac_cv_build" >&6; }
2604
case $ac_cv_build in
2606
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2607
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
2608
{ (exit 1); exit 1; }; };;
2611
ac_save_IFS=$IFS; IFS='-'
2617
# Remember, the first character of IFS is used to create $*,
2618
# except with old shells:
2621
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2624
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
2625
$as_echo_n "checking host system type... " >&6; }
2626
if test "${ac_cv_host+set}" = set; then
2627
$as_echo_n "(cached) " >&6
2629
if test "x$host_alias" = x; then
2630
ac_cv_host=$ac_cv_build
2632
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2633
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2634
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2635
{ (exit 1); exit 1; }; }
2639
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2640
$as_echo "$ac_cv_host" >&6; }
2643
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2644
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
2645
{ (exit 1); exit 1; }; };;
2648
ac_save_IFS=$IFS; IFS='-'
2654
# Remember, the first character of IFS is used to create $*,
2655
# except with old shells:
2658
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2661
DEPDIR="${am__leading_dot}deps"
2663
ac_config_commands="$ac_config_commands depfiles"
2666
am_make=${MAKE-make}
2667
cat > confinc << 'END'
2672
# If we don't find an include directive, just comment out the code.
2673
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2674
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2678
# First try GNU make style include.
2679
echo "include confinc" > confmf
2680
# We grep out `Entering directory' and `Leaving directory'
2681
# messages which can occur if `w' ends up in MAKEFLAGS.
2682
# In particular we don't look at `^make:' because GNU make might
2683
# be invoked under some other name (usually "gmake"), in which
2684
# case it prints its new name instead of `make'.
2685
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2690
# Now try BSD make style include.
2691
if test "$am__include" = "#"; then
2692
echo '.include "confinc"' > confmf
2693
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2694
am__include=.include
2701
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2702
$as_echo "$_am_result" >&6; }
2703
rm -f confinc confmf
2705
# Check whether --enable-dependency-tracking was given.
2706
if test "${enable_dependency_tracking+set}" = set; then
2707
enableval=$enable_dependency_tracking;
2710
if test "x$enable_dependency_tracking" != xno; then
2711
am_depcomp="$ac_aux_dir/depcomp"
2714
if test "x$enable_dependency_tracking" != xno; then
2724
ac_cpp='$CPP $CPPFLAGS'
2725
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2726
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2727
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2728
if test -n "$ac_tool_prefix"; then
2729
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2730
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2731
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2732
$as_echo_n "checking for $ac_word... " >&6; }
2733
if test "${ac_cv_prog_CC+set}" = set; then
2734
$as_echo_n "(cached) " >&6
2736
if test -n "$CC"; then
2737
ac_cv_prog_CC="$CC" # Let the user override the test.
2739
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743
test -z "$as_dir" && as_dir=.
2744
for ac_exec_ext in '' $ac_executable_extensions; do
2745
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2746
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2747
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2757
if test -n "$CC"; then
2758
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2759
$as_echo "$CC" >&6; }
2761
{ $as_echo "$as_me:$LINENO: result: no" >&5
2762
$as_echo "no" >&6; }
2767
if test -z "$ac_cv_prog_CC"; then
2769
# Extract the first word of "gcc", so it can be a program name with args.
2770
set dummy gcc; ac_word=$2
2771
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2772
$as_echo_n "checking for $ac_word... " >&6; }
2773
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2774
$as_echo_n "(cached) " >&6
2776
if test -n "$ac_ct_CC"; then
2777
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2779
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2783
test -z "$as_dir" && as_dir=.
2784
for ac_exec_ext in '' $ac_executable_extensions; do
2785
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2786
ac_cv_prog_ac_ct_CC="gcc"
2787
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2796
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2797
if test -n "$ac_ct_CC"; then
2798
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2799
$as_echo "$ac_ct_CC" >&6; }
2801
{ $as_echo "$as_me:$LINENO: result: no" >&5
2802
$as_echo "no" >&6; }
2805
if test "x$ac_ct_CC" = x; then
2808
case $cross_compiling:$ac_tool_warned in
2810
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2811
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2812
ac_tool_warned=yes ;;
2820
if test -z "$CC"; then
2821
if test -n "$ac_tool_prefix"; then
2822
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2823
set dummy ${ac_tool_prefix}cc; ac_word=$2
2824
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2825
$as_echo_n "checking for $ac_word... " >&6; }
2826
if test "${ac_cv_prog_CC+set}" = set; then
2827
$as_echo_n "(cached) " >&6
2829
if test -n "$CC"; then
2830
ac_cv_prog_CC="$CC" # Let the user override the test.
2832
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2836
test -z "$as_dir" && as_dir=.
2837
for ac_exec_ext in '' $ac_executable_extensions; do
2838
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2839
ac_cv_prog_CC="${ac_tool_prefix}cc"
2840
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2850
if test -n "$CC"; then
2851
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2852
$as_echo "$CC" >&6; }
2854
{ $as_echo "$as_me:$LINENO: result: no" >&5
2855
$as_echo "no" >&6; }
2861
if test -z "$CC"; then
2862
# Extract the first word of "cc", so it can be a program name with args.
2863
set dummy cc; ac_word=$2
2864
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2865
$as_echo_n "checking for $ac_word... " >&6; }
2866
if test "${ac_cv_prog_CC+set}" = set; then
2867
$as_echo_n "(cached) " >&6
2869
if test -n "$CC"; then
2870
ac_cv_prog_CC="$CC" # Let the user override the test.
2873
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2877
test -z "$as_dir" && as_dir=.
2878
for ac_exec_ext in '' $ac_executable_extensions; do
2879
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2880
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2881
ac_prog_rejected=yes
2885
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2892
if test $ac_prog_rejected = yes; then
2893
# We found a bogon in the path, so make sure we never use it.
2894
set dummy $ac_cv_prog_CC
2896
if test $# != 0; then
2897
# We chose a different compiler from the bogus one.
2898
# However, it has the same basename, so the bogon will be chosen
2899
# first if we set CC to just the basename; use the full file name.
2901
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2907
if test -n "$CC"; then
2908
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2909
$as_echo "$CC" >&6; }
2911
{ $as_echo "$as_me:$LINENO: result: no" >&5
2912
$as_echo "no" >&6; }
2917
if test -z "$CC"; then
2918
if test -n "$ac_tool_prefix"; then
2919
for ac_prog in cl.exe
2921
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2922
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2923
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2924
$as_echo_n "checking for $ac_word... " >&6; }
2925
if test "${ac_cv_prog_CC+set}" = set; then
2926
$as_echo_n "(cached) " >&6
2928
if test -n "$CC"; then
2929
ac_cv_prog_CC="$CC" # Let the user override the test.
2931
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2935
test -z "$as_dir" && as_dir=.
2936
for ac_exec_ext in '' $ac_executable_extensions; do
2937
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2938
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2939
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2949
if test -n "$CC"; then
2950
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2951
$as_echo "$CC" >&6; }
2953
{ $as_echo "$as_me:$LINENO: result: no" >&5
2954
$as_echo "no" >&6; }
2958
test -n "$CC" && break
2961
if test -z "$CC"; then
2963
for ac_prog in cl.exe
2965
# Extract the first word of "$ac_prog", so it can be a program name with args.
2966
set dummy $ac_prog; ac_word=$2
2967
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2968
$as_echo_n "checking for $ac_word... " >&6; }
2969
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2970
$as_echo_n "(cached) " >&6
2972
if test -n "$ac_ct_CC"; then
2973
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2975
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979
test -z "$as_dir" && as_dir=.
2980
for ac_exec_ext in '' $ac_executable_extensions; do
2981
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2982
ac_cv_prog_ac_ct_CC="$ac_prog"
2983
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2992
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2993
if test -n "$ac_ct_CC"; then
2994
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2995
$as_echo "$ac_ct_CC" >&6; }
2997
{ $as_echo "$as_me:$LINENO: result: no" >&5
2998
$as_echo "no" >&6; }
3002
test -n "$ac_ct_CC" && break
3005
if test "x$ac_ct_CC" = x; then
3008
case $cross_compiling:$ac_tool_warned in
3010
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3011
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3012
ac_tool_warned=yes ;;
3021
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3022
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3023
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3024
See \`config.log' for more details." >&5
3025
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3026
See \`config.log' for more details." >&2;}
3027
{ (exit 1); exit 1; }; }; }
3029
# Provide some information about the compiler.
3030
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3033
{ (ac_try="$ac_compiler --version >&5"
3035
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3036
*) ac_try_echo=$ac_try;;
3038
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3039
$as_echo "$ac_try_echo") >&5
3040
(eval "$ac_compiler --version >&5") 2>&5
3042
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043
(exit $ac_status); }
3044
{ (ac_try="$ac_compiler -v >&5"
3046
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047
*) ac_try_echo=$ac_try;;
3049
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3050
$as_echo "$ac_try_echo") >&5
3051
(eval "$ac_compiler -v >&5") 2>&5
3053
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054
(exit $ac_status); }
3055
{ (ac_try="$ac_compiler -V >&5"
3057
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3058
*) ac_try_echo=$ac_try;;
3060
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3061
$as_echo "$ac_try_echo") >&5
3062
(eval "$ac_compiler -V >&5") 2>&5
3064
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065
(exit $ac_status); }
3067
cat >conftest.$ac_ext <<_ACEOF
3070
cat confdefs.h >>conftest.$ac_ext
3071
cat >>conftest.$ac_ext <<_ACEOF
3072
/* end confdefs.h. */
3082
ac_clean_files_save=$ac_clean_files
3083
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3084
# Try to create an executable without -o first, disregard a.out.
3085
# It will help us diagnose broken compilers, and finding out an intuition
3087
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3088
$as_echo_n "checking for C compiler default output file name... " >&6; }
3089
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3091
# The possible output files:
3092
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3095
for ac_file in $ac_files
3098
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3099
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3104
if { (ac_try="$ac_link_default"
3106
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3107
*) ac_try_echo=$ac_try;;
3109
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3110
$as_echo "$ac_try_echo") >&5
3111
(eval "$ac_link_default") 2>&5
3113
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114
(exit $ac_status); }; then
3115
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3116
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3117
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3118
# so that the user can short-circuit this test for compilers unknown to
3120
for ac_file in $ac_files ''
3122
test -f "$ac_file" || continue
3124
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3127
# We found the default executable, but exeext='' is most
3131
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3133
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3135
# We set ac_cv_exeext here because the later test for it is not
3136
# safe: cross compilers may not add the suffix if given an `-o'
3137
# argument, so we may need to know it at that point already.
3138
# Even if this section looks crufty: it has the advantage of
3145
test "$ac_cv_exeext" = no && ac_cv_exeext=
3151
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3152
$as_echo "$ac_file" >&6; }
3153
if test -z "$ac_file"; then
3154
$as_echo "$as_me: failed program was:" >&5
3155
sed 's/^/| /' conftest.$ac_ext >&5
3157
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3158
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3159
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3160
See \`config.log' for more details." >&5
3161
$as_echo "$as_me: error: C compiler cannot create executables
3162
See \`config.log' for more details." >&2;}
3163
{ (exit 77); exit 77; }; }; }
3166
ac_exeext=$ac_cv_exeext
3168
# Check that the compiler produces executables we can run. If not, either
3169
# the compiler is broken, or we cross compile.
3170
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3171
$as_echo_n "checking whether the C compiler works... " >&6; }
3172
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3173
# If not cross compiling, check that we can run a simple program.
3174
if test "$cross_compiling" != yes; then
3175
if { ac_try='./$ac_file'
3176
{ (case "(($ac_try" in
3177
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3178
*) ac_try_echo=$ac_try;;
3180
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3181
$as_echo "$ac_try_echo") >&5
3182
(eval "$ac_try") 2>&5
3184
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185
(exit $ac_status); }; }; then
3188
if test "$cross_compiling" = maybe; then
3191
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3192
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3193
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3194
If you meant to cross compile, use \`--host'.
3195
See \`config.log' for more details." >&5
3196
$as_echo "$as_me: error: cannot run C compiled programs.
3197
If you meant to cross compile, use \`--host'.
3198
See \`config.log' for more details." >&2;}
3199
{ (exit 1); exit 1; }; }; }
3203
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3204
$as_echo "yes" >&6; }
3206
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3207
ac_clean_files=$ac_clean_files_save
3208
# Check that the compiler produces executables we can run. If not, either
3209
# the compiler is broken, or we cross compile.
3210
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3211
$as_echo_n "checking whether we are cross compiling... " >&6; }
3212
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3213
$as_echo "$cross_compiling" >&6; }
3215
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3216
$as_echo_n "checking for suffix of executables... " >&6; }
3217
if { (ac_try="$ac_link"
3219
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3220
*) ac_try_echo=$ac_try;;
3222
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3223
$as_echo "$ac_try_echo") >&5
3224
(eval "$ac_link") 2>&5
3226
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227
(exit $ac_status); }; then
3228
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3229
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3230
# work properly (i.e., refer to `conftest.exe'), while it won't with
3232
for ac_file in conftest.exe conftest conftest.*; do
3233
test -f "$ac_file" || continue
3235
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3236
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3242
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3243
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3245
See \`config.log' for more details." >&5
3246
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3247
See \`config.log' for more details." >&2;}
3248
{ (exit 1); exit 1; }; }; }
3251
rm -f conftest$ac_cv_exeext
3252
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3253
$as_echo "$ac_cv_exeext" >&6; }
3255
rm -f conftest.$ac_ext
3256
EXEEXT=$ac_cv_exeext
3258
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3259
$as_echo_n "checking for suffix of object files... " >&6; }
3260
if test "${ac_cv_objext+set}" = set; then
3261
$as_echo_n "(cached) " >&6
3263
cat >conftest.$ac_ext <<_ACEOF
3266
cat confdefs.h >>conftest.$ac_ext
3267
cat >>conftest.$ac_ext <<_ACEOF
3268
/* end confdefs.h. */
3278
rm -f conftest.o conftest.obj
3279
if { (ac_try="$ac_compile"
3281
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3282
*) ac_try_echo=$ac_try;;
3284
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3285
$as_echo "$ac_try_echo") >&5
3286
(eval "$ac_compile") 2>&5
3288
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289
(exit $ac_status); }; then
3290
for ac_file in conftest.o conftest.obj conftest.*; do
3291
test -f "$ac_file" || continue;
3293
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3294
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3299
$as_echo "$as_me: failed program was:" >&5
3300
sed 's/^/| /' conftest.$ac_ext >&5
3302
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3303
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3304
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3305
See \`config.log' for more details." >&5
3306
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3307
See \`config.log' for more details." >&2;}
3308
{ (exit 1); exit 1; }; }; }
3311
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3313
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3314
$as_echo "$ac_cv_objext" >&6; }
3315
OBJEXT=$ac_cv_objext
3317
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3318
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3319
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3320
$as_echo_n "(cached) " >&6
3322
cat >conftest.$ac_ext <<_ACEOF
3325
cat confdefs.h >>conftest.$ac_ext
3326
cat >>conftest.$ac_ext <<_ACEOF
3327
/* end confdefs.h. */
3340
rm -f conftest.$ac_objext
3341
if { (ac_try="$ac_compile"
3343
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344
*) ac_try_echo=$ac_try;;
3346
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3347
$as_echo "$ac_try_echo") >&5
3348
(eval "$ac_compile") 2>conftest.er1
3350
grep -v '^ *+' conftest.er1 >conftest.err
3352
cat conftest.err >&5
3353
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354
(exit $ac_status); } && {
3355
test -z "$ac_c_werror_flag" ||
3356
test ! -s conftest.err
3357
} && test -s conftest.$ac_objext; then
3360
$as_echo "$as_me: failed program was:" >&5
3361
sed 's/^/| /' conftest.$ac_ext >&5
3366
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3370
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3371
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3372
if test $ac_compiler_gnu = yes; then
3377
ac_test_CFLAGS=${CFLAGS+set}
3378
ac_save_CFLAGS=$CFLAGS
3379
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3380
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3381
if test "${ac_cv_prog_cc_g+set}" = set; then
3382
$as_echo_n "(cached) " >&6
3384
ac_save_c_werror_flag=$ac_c_werror_flag
3385
ac_c_werror_flag=yes
3388
cat >conftest.$ac_ext <<_ACEOF
3391
cat confdefs.h >>conftest.$ac_ext
3392
cat >>conftest.$ac_ext <<_ACEOF
3393
/* end confdefs.h. */
3403
rm -f conftest.$ac_objext
3404
if { (ac_try="$ac_compile"
3406
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3407
*) ac_try_echo=$ac_try;;
3409
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3410
$as_echo "$ac_try_echo") >&5
3411
(eval "$ac_compile") 2>conftest.er1
3413
grep -v '^ *+' conftest.er1 >conftest.err
3415
cat conftest.err >&5
3416
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417
(exit $ac_status); } && {
3418
test -z "$ac_c_werror_flag" ||
3419
test ! -s conftest.err
3420
} && test -s conftest.$ac_objext; then
3423
$as_echo "$as_me: failed program was:" >&5
3424
sed 's/^/| /' conftest.$ac_ext >&5
3427
cat >conftest.$ac_ext <<_ACEOF
3430
cat confdefs.h >>conftest.$ac_ext
3431
cat >>conftest.$ac_ext <<_ACEOF
3432
/* end confdefs.h. */
3442
rm -f conftest.$ac_objext
3443
if { (ac_try="$ac_compile"
3445
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446
*) ac_try_echo=$ac_try;;
3448
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3449
$as_echo "$ac_try_echo") >&5
3450
(eval "$ac_compile") 2>conftest.er1
3452
grep -v '^ *+' conftest.er1 >conftest.err
3454
cat conftest.err >&5
3455
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456
(exit $ac_status); } && {
3457
test -z "$ac_c_werror_flag" ||
3458
test ! -s conftest.err
3459
} && test -s conftest.$ac_objext; then
3462
$as_echo "$as_me: failed program was:" >&5
3463
sed 's/^/| /' conftest.$ac_ext >&5
3465
ac_c_werror_flag=$ac_save_c_werror_flag
3467
cat >conftest.$ac_ext <<_ACEOF
3470
cat confdefs.h >>conftest.$ac_ext
3471
cat >>conftest.$ac_ext <<_ACEOF
3472
/* end confdefs.h. */
3482
rm -f conftest.$ac_objext
3483
if { (ac_try="$ac_compile"
3485
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3486
*) ac_try_echo=$ac_try;;
3488
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3489
$as_echo "$ac_try_echo") >&5
3490
(eval "$ac_compile") 2>conftest.er1
3492
grep -v '^ *+' conftest.er1 >conftest.err
3494
cat conftest.err >&5
3495
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496
(exit $ac_status); } && {
3497
test -z "$ac_c_werror_flag" ||
3498
test ! -s conftest.err
3499
} && test -s conftest.$ac_objext; then
3502
$as_echo "$as_me: failed program was:" >&5
3503
sed 's/^/| /' conftest.$ac_ext >&5
3508
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3511
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3514
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515
ac_c_werror_flag=$ac_save_c_werror_flag
3517
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3518
$as_echo "$ac_cv_prog_cc_g" >&6; }
3519
if test "$ac_test_CFLAGS" = set; then
3520
CFLAGS=$ac_save_CFLAGS
3521
elif test $ac_cv_prog_cc_g = yes; then
3522
if test "$GCC" = yes; then
3528
if test "$GCC" = yes; then
3534
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3535
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3536
if test "${ac_cv_prog_cc_c89+set}" = set; then
3537
$as_echo_n "(cached) " >&6
3539
ac_cv_prog_cc_c89=no
3541
cat >conftest.$ac_ext <<_ACEOF
3544
cat confdefs.h >>conftest.$ac_ext
3545
cat >>conftest.$ac_ext <<_ACEOF
3546
/* end confdefs.h. */
3549
#include <sys/types.h>
3550
#include <sys/stat.h>
3551
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3552
struct buf { int x; };
3553
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3554
static char *e (p, i)
3560
static char *f (char * (*g) (char **, int), char **p, ...)
3565
s = g (p, va_arg (v,int));
3570
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3571
function prototypes and stuff, but not '\xHH' hex character constants.
3572
These don't provoke an error unfortunately, instead are silently treated
3573
as 'x'. The following induces an error, until -std is added to get
3574
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3575
array size at least. It's necessary to write '\x00'==0 to get something
3576
that's true only with -std. */
3577
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3579
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3580
inside strings and character constants. */
3582
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3584
int test (int i, double x);
3585
struct s1 {int (*f) (int a);};
3586
struct s2 {int (*f) (double a);};
3587
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3593
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3598
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3599
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3601
CC="$ac_save_CC $ac_arg"
3602
rm -f conftest.$ac_objext
3603
if { (ac_try="$ac_compile"
3605
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3606
*) ac_try_echo=$ac_try;;
3608
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3609
$as_echo "$ac_try_echo") >&5
3610
(eval "$ac_compile") 2>conftest.er1
3612
grep -v '^ *+' conftest.er1 >conftest.err
3614
cat conftest.err >&5
3615
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616
(exit $ac_status); } && {
3617
test -z "$ac_c_werror_flag" ||
3618
test ! -s conftest.err
3619
} && test -s conftest.$ac_objext; then
3620
ac_cv_prog_cc_c89=$ac_arg
3622
$as_echo "$as_me: failed program was:" >&5
3623
sed 's/^/| /' conftest.$ac_ext >&5
3628
rm -f core conftest.err conftest.$ac_objext
3629
test "x$ac_cv_prog_cc_c89" != "xno" && break
3631
rm -f conftest.$ac_ext
3636
case "x$ac_cv_prog_cc_c89" in
3638
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
3639
$as_echo "none needed" >&6; } ;;
3641
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
3642
$as_echo "unsupported" >&6; } ;;
3644
CC="$CC $ac_cv_prog_cc_c89"
3645
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3646
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3651
ac_cpp='$CPP $CPPFLAGS'
3652
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3653
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3654
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3656
depcc="$CC" am_compiler_list=
3658
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3659
$as_echo_n "checking dependency style of $depcc... " >&6; }
3660
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3661
$as_echo_n "(cached) " >&6
3663
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3664
# We make a subdir and do the tests there. Otherwise we can end up
3665
# making bogus files that we don't know about and never remove. For
3666
# instance it was reported that on HP-UX the gcc test will end up
3667
# making a dummy file named `D' -- because `-MD' means `put the output
3670
# Copy depcomp to subdir because otherwise we won't find it if we're
3671
# using a relative directory.
3672
cp "$am_depcomp" conftest.dir
3674
# We will build objects and dependencies in a subdirectory because
3675
# it helps to detect inapplicable dependency modes. For instance
3676
# both Tru64's cc and ICC support -MD to output dependencies as a
3677
# side effect of compilation, but ICC will put the dependencies in
3678
# the current directory while Tru64 will put them in the object
3682
am_cv_CC_dependencies_compiler_type=none
3683
if test "$am_compiler_list" = ""; then
3684
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3686
for depmode in $am_compiler_list; do
3687
# Setup a source with many dependencies, because some compilers
3688
# like to wrap large dependency lists on column 80 (with \), and
3689
# we should not choose a depcomp mode which is confused by this.
3691
# We need to recreate these files for each test, as the compiler may
3692
# overwrite some of them when testing with obscure command lines.
3693
# This happens at least with the AIX C compiler.
3695
for i in 1 2 3 4 5 6; do
3696
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3697
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3698
# Solaris 8's {/usr,}/bin/sh.
3699
touch sub/conftst$i.h
3701
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3705
# after this tag, mechanisms are not by side-effect, so they'll
3706
# only be used when explicitly requested
3707
if test "x$enable_dependency_tracking" = xyes; then
3715
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3716
# mode. It turns out that the SunPro C++ compiler does not properly
3717
# handle `-M -o', and we need to detect this.
3718
if depmode=$depmode \
3719
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3720
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3721
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3722
>/dev/null 2>conftest.err &&
3723
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3724
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3725
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3726
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3727
# icc doesn't choke on unknown options, it will just issue warnings
3728
# or remarks (even with -Werror). So we grep stderr for any message
3729
# that says an option was ignored or not supported.
3730
# When given -MP, icc 7.0 and 7.1 complain thusly:
3731
# icc: Command line warning: ignoring option '-M'; no argument required
3732
# The diagnosis changed in icc 8.0:
3733
# icc: Command line remark: option '-MP' not supported
3734
if (grep 'ignoring option' conftest.err ||
3735
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3736
am_cv_CC_dependencies_compiler_type=$depmode
3745
am_cv_CC_dependencies_compiler_type=none
3749
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3750
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3751
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3754
test "x$enable_dependency_tracking" != xno \
3755
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3757
am__fastdepCC_FALSE='#'
3759
am__fastdepCC_TRUE='#'
3760
am__fastdepCC_FALSE=
3764
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3765
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3766
if test "${ac_cv_path_SED+set}" = set; then
3767
$as_echo_n "(cached) " >&6
3769
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3770
for ac_i in 1 2 3 4 5 6 7; do
3771
ac_script="$ac_script$as_nl$ac_script"
3773
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3774
$as_unset ac_script || ac_script=
3775
if test -z "$SED"; then
3776
ac_path_SED_found=false
3777
# Loop through the user's path and test for each of PROGNAME-LIST
3778
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3782
test -z "$as_dir" && as_dir=.
3783
for ac_prog in sed gsed; do
3784
for ac_exec_ext in '' $ac_executable_extensions; do
3785
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
3786
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
3787
# Check for GNU ac_path_SED and select it if it is found.
3788
# Check for GNU $ac_path_SED
3789
case `"$ac_path_SED" --version 2>&1` in
3791
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
3794
$as_echo_n 0123456789 >"conftest.in"
3797
cat "conftest.in" "conftest.in" >"conftest.tmp"
3798
mv "conftest.tmp" "conftest.in"
3799
cp "conftest.in" "conftest.nl"
3800
$as_echo '' >> "conftest.nl"
3801
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
3802
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3803
ac_count=`expr $ac_count + 1`
3804
if test $ac_count -gt ${ac_path_SED_max-0}; then
3805
# Best one so far, save it but keep looking for a better one
3806
ac_cv_path_SED="$ac_path_SED"
3807
ac_path_SED_max=$ac_count
3809
# 10*(2^10) chars as input seems more than enough
3810
test $ac_count -gt 10 && break
3812
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3815
$ac_path_SED_found && break 3
3820
if test -z "$ac_cv_path_SED"; then
3821
{ { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
3822
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
3823
{ (exit 1); exit 1; }; }
3830
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
3831
$as_echo "$ac_cv_path_SED" >&6; }
3832
SED="$ac_cv_path_SED"
3835
test -z "$SED" && SED=sed
3836
Xsed="$SED -e 1s/^X//"
3848
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3849
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3850
if test "${ac_cv_path_GREP+set}" = set; then
3851
$as_echo_n "(cached) " >&6
3853
if test -z "$GREP"; then
3854
ac_path_GREP_found=false
3855
# Loop through the user's path and test for each of PROGNAME-LIST
3856
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3857
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3860
test -z "$as_dir" && as_dir=.
3861
for ac_prog in grep ggrep; do
3862
for ac_exec_ext in '' $ac_executable_extensions; do
3863
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3864
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3865
# Check for GNU ac_path_GREP and select it if it is found.
3866
# Check for GNU $ac_path_GREP
3867
case `"$ac_path_GREP" --version 2>&1` in
3869
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3872
$as_echo_n 0123456789 >"conftest.in"
3875
cat "conftest.in" "conftest.in" >"conftest.tmp"
3876
mv "conftest.tmp" "conftest.in"
3877
cp "conftest.in" "conftest.nl"
3878
$as_echo 'GREP' >> "conftest.nl"
3879
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3880
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3881
ac_count=`expr $ac_count + 1`
3882
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3883
# Best one so far, save it but keep looking for a better one
3884
ac_cv_path_GREP="$ac_path_GREP"
3885
ac_path_GREP_max=$ac_count
3887
# 10*(2^10) chars as input seems more than enough
3888
test $ac_count -gt 10 && break
3890
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3893
$ac_path_GREP_found && break 3
3898
if test -z "$ac_cv_path_GREP"; then
3899
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3900
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3901
{ (exit 1); exit 1; }; }
3904
ac_cv_path_GREP=$GREP
3908
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3909
$as_echo "$ac_cv_path_GREP" >&6; }
3910
GREP="$ac_cv_path_GREP"
3913
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3914
$as_echo_n "checking for egrep... " >&6; }
3915
if test "${ac_cv_path_EGREP+set}" = set; then
3916
$as_echo_n "(cached) " >&6
3918
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3919
then ac_cv_path_EGREP="$GREP -E"
3921
if test -z "$EGREP"; then
3922
ac_path_EGREP_found=false
3923
# Loop through the user's path and test for each of PROGNAME-LIST
3924
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3925
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3928
test -z "$as_dir" && as_dir=.
3929
for ac_prog in egrep; do
3930
for ac_exec_ext in '' $ac_executable_extensions; do
3931
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3932
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3933
# Check for GNU ac_path_EGREP and select it if it is found.
3934
# Check for GNU $ac_path_EGREP
3935
case `"$ac_path_EGREP" --version 2>&1` in
3937
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3940
$as_echo_n 0123456789 >"conftest.in"
3943
cat "conftest.in" "conftest.in" >"conftest.tmp"
3944
mv "conftest.tmp" "conftest.in"
3945
cp "conftest.in" "conftest.nl"
3946
$as_echo 'EGREP' >> "conftest.nl"
3947
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3948
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3949
ac_count=`expr $ac_count + 1`
3950
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3951
# Best one so far, save it but keep looking for a better one
3952
ac_cv_path_EGREP="$ac_path_EGREP"
3953
ac_path_EGREP_max=$ac_count
3955
# 10*(2^10) chars as input seems more than enough
3956
test $ac_count -gt 10 && break
3958
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3961
$ac_path_EGREP_found && break 3
3966
if test -z "$ac_cv_path_EGREP"; then
3967
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3968
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3969
{ (exit 1); exit 1; }; }
3972
ac_cv_path_EGREP=$EGREP
3977
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3978
$as_echo "$ac_cv_path_EGREP" >&6; }
3979
EGREP="$ac_cv_path_EGREP"
3982
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
3983
$as_echo_n "checking for fgrep... " >&6; }
3984
if test "${ac_cv_path_FGREP+set}" = set; then
3985
$as_echo_n "(cached) " >&6
3987
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
3988
then ac_cv_path_FGREP="$GREP -F"
3990
if test -z "$FGREP"; then
3991
ac_path_FGREP_found=false
3992
# Loop through the user's path and test for each of PROGNAME-LIST
3993
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3997
test -z "$as_dir" && as_dir=.
3998
for ac_prog in fgrep; do
3999
for ac_exec_ext in '' $ac_executable_extensions; do
4000
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4001
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4002
# Check for GNU ac_path_FGREP and select it if it is found.
4003
# Check for GNU $ac_path_FGREP
4004
case `"$ac_path_FGREP" --version 2>&1` in
4006
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4009
$as_echo_n 0123456789 >"conftest.in"
4012
cat "conftest.in" "conftest.in" >"conftest.tmp"
4013
mv "conftest.tmp" "conftest.in"
4014
cp "conftest.in" "conftest.nl"
4015
$as_echo 'FGREP' >> "conftest.nl"
4016
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4017
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4018
ac_count=`expr $ac_count + 1`
4019
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4020
# Best one so far, save it but keep looking for a better one
4021
ac_cv_path_FGREP="$ac_path_FGREP"
4022
ac_path_FGREP_max=$ac_count
4024
# 10*(2^10) chars as input seems more than enough
4025
test $ac_count -gt 10 && break
4027
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4030
$ac_path_FGREP_found && break 3
4035
if test -z "$ac_cv_path_FGREP"; then
4036
{ { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4037
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4038
{ (exit 1); exit 1; }; }
4041
ac_cv_path_FGREP=$FGREP
4046
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4047
$as_echo "$ac_cv_path_FGREP" >&6; }
4048
FGREP="$ac_cv_path_FGREP"
4051
test -z "$GREP" && GREP=grep
4071
# Check whether --with-gnu-ld was given.
4072
if test "${with_gnu_ld+set}" = set; then
4073
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4079
if test "$GCC" = yes; then
4080
# Check if gcc -print-prog-name=ld gives a path.
4081
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4082
$as_echo_n "checking for ld used by $CC... " >&6; }
4085
# gcc leaves a trailing carriage return which upsets mingw
4086
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4088
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4091
# Accept absolute paths.
4093
re_direlt='/[^/][^/]*/\.\./'
4094
# Canonicalize the pathname of ld
4095
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4096
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4097
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4099
test -z "$LD" && LD="$ac_prog"
4102
# If it fails, then pretend we aren't using GCC.
4106
# If it is relative, then search for the first ld in PATH.
4110
elif test "$with_gnu_ld" = yes; then
4111
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4112
$as_echo_n "checking for GNU ld... " >&6; }
4114
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4115
$as_echo_n "checking for non-GNU ld... " >&6; }
4117
if test "${lt_cv_path_LD+set}" = set; then
4118
$as_echo_n "(cached) " >&6
4120
if test -z "$LD"; then
4121
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4122
for ac_dir in $PATH; do
4124
test -z "$ac_dir" && ac_dir=.
4125
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4126
lt_cv_path_LD="$ac_dir/$ac_prog"
4127
# Check to see if the program is GNU ld. I'd rather use --version,
4128
# but apparently some variants of GNU ld only accept -v.
4129
# Break only if it was the GNU/non-GNU ld that we prefer.
4130
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4131
*GNU* | *'with BFD'*)
4132
test "$with_gnu_ld" != no && break
4135
test "$with_gnu_ld" != yes && break
4142
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4147
if test -n "$LD"; then
4148
{ $as_echo "$as_me:$LINENO: result: $LD" >&5
4149
$as_echo "$LD" >&6; }
4151
{ $as_echo "$as_me:$LINENO: result: no" >&5
4152
$as_echo "no" >&6; }
4154
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4155
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4156
{ (exit 1); exit 1; }; }
4157
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4158
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4159
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4160
$as_echo_n "(cached) " >&6
4162
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4163
case `$LD -v 2>&1 </dev/null` in
4164
*GNU* | *'with BFD'*)
4165
lt_cv_prog_gnu_ld=yes
4168
lt_cv_prog_gnu_ld=no
4172
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4173
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4174
with_gnu_ld=$lt_cv_prog_gnu_ld
4184
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4185
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4186
if test "${lt_cv_path_NM+set}" = set; then
4187
$as_echo_n "(cached) " >&6
4189
if test -n "$NM"; then
4190
# Let the user override the test.
4193
lt_nm_to_check="${ac_tool_prefix}nm"
4194
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4195
lt_nm_to_check="$lt_nm_to_check nm"
4197
for lt_tmp_nm in $lt_nm_to_check; do
4198
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4199
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4201
test -z "$ac_dir" && ac_dir=.
4202
tmp_nm="$ac_dir/$lt_tmp_nm"
4203
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4204
# Check to see if the nm accepts a BSD-compat flag.
4205
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4206
# nm: unknown option "B" ignored
4207
# Tru64's nm complains that /dev/null is an invalid object file
4208
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4209
*/dev/null* | *'Invalid file or object type'*)
4210
lt_cv_path_NM="$tmp_nm -B"
4214
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4216
lt_cv_path_NM="$tmp_nm -p"
4220
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4221
continue # so that we can try to find one that supports BSD flags
4230
: ${lt_cv_path_NM=no}
4233
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4234
$as_echo "$lt_cv_path_NM" >&6; }
4235
if test "$lt_cv_path_NM" != "no"; then
4238
# Didn't find any BSD compatible name lister, look for dumpbin.
4239
if test -n "$ac_tool_prefix"; then
4240
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4242
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4243
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4244
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4245
$as_echo_n "checking for $ac_word... " >&6; }
4246
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4247
$as_echo_n "(cached) " >&6
4249
if test -n "$DUMPBIN"; then
4250
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4252
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256
test -z "$as_dir" && as_dir=.
4257
for ac_exec_ext in '' $ac_executable_extensions; do
4258
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4259
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4260
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4269
DUMPBIN=$ac_cv_prog_DUMPBIN
4270
if test -n "$DUMPBIN"; then
4271
{ $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4272
$as_echo "$DUMPBIN" >&6; }
4274
{ $as_echo "$as_me:$LINENO: result: no" >&5
4275
$as_echo "no" >&6; }
4279
test -n "$DUMPBIN" && break
4282
if test -z "$DUMPBIN"; then
4283
ac_ct_DUMPBIN=$DUMPBIN
4284
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4286
# Extract the first word of "$ac_prog", so it can be a program name with args.
4287
set dummy $ac_prog; ac_word=$2
4288
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4289
$as_echo_n "checking for $ac_word... " >&6; }
4290
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4291
$as_echo_n "(cached) " >&6
4293
if test -n "$ac_ct_DUMPBIN"; then
4294
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4296
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4300
test -z "$as_dir" && as_dir=.
4301
for ac_exec_ext in '' $ac_executable_extensions; do
4302
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4303
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4304
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4313
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4314
if test -n "$ac_ct_DUMPBIN"; then
4315
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4316
$as_echo "$ac_ct_DUMPBIN" >&6; }
4318
{ $as_echo "$as_me:$LINENO: result: no" >&5
4319
$as_echo "no" >&6; }
4323
test -n "$ac_ct_DUMPBIN" && break
4326
if test "x$ac_ct_DUMPBIN" = x; then
4329
case $cross_compiling:$ac_tool_warned in
4331
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4332
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4333
ac_tool_warned=yes ;;
4335
DUMPBIN=$ac_ct_DUMPBIN
4340
if test "$DUMPBIN" != ":"; then
4344
test -z "$NM" && NM=nm
4351
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4352
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4353
if test "${lt_cv_nm_interface+set}" = set; then
4354
$as_echo_n "(cached) " >&6
4356
lt_cv_nm_interface="BSD nm"
4357
echo "int some_variable = 0;" > conftest.$ac_ext
4358
(eval echo "\"\$as_me:4358: $ac_compile\"" >&5)
4359
(eval "$ac_compile" 2>conftest.err)
4360
cat conftest.err >&5
4361
(eval echo "\"\$as_me:4361: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4362
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4363
cat conftest.err >&5
4364
(eval echo "\"\$as_me:4364: output\"" >&5)
4365
cat conftest.out >&5
4366
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4367
lt_cv_nm_interface="MS dumpbin"
4371
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4372
$as_echo "$lt_cv_nm_interface" >&6; }
4374
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4375
$as_echo_n "checking whether ln -s works... " >&6; }
4377
if test "$LN_S" = "ln -s"; then
4378
{ $as_echo "$as_me:$LINENO: result: yes" >&5
4379
$as_echo "yes" >&6; }
4381
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4382
$as_echo "no, using $LN_S" >&6; }
4385
# find the maximum length of command line arguments
4386
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4387
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4388
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4389
$as_echo_n "(cached) " >&6
4396
# On DJGPP, this test can blow up pretty badly due to problems in libc
4397
# (any single argument exceeding 2000 bytes causes a buffer overrun
4398
# during glob expansion). Even if it were fixed, the result of this
4399
# check would be larger than it should be.
4400
lt_cv_sys_max_cmd_len=12288; # 12K is about right
4404
# Under GNU Hurd, this test is not required because there is
4405
# no limit to the length of command line arguments.
4406
# Libtool will interpret -1 as no limit whatsoever
4407
lt_cv_sys_max_cmd_len=-1;
4410
cygwin* | mingw* | cegcc*)
4411
# On Win9x/ME, this test blows up -- it succeeds, but takes
4412
# about 5 minutes as the teststring grows exponentially.
4413
# Worse, since 9x/ME are not pre-emptively multitasking,
4414
# you end up with a "frozen" computer, even though with patience
4415
# the test eventually succeeds (with a max line length of 256k).
4416
# Instead, let's just punt: use the minimum linelength reported by
4417
# all of the supported platforms: 8192 (on NT/2K/XP).
4418
lt_cv_sys_max_cmd_len=8192;
4422
# On AmigaOS with pdksh, this test takes hours, literally.
4423
# So we just punt and use a minimum line length of 8192.
4424
lt_cv_sys_max_cmd_len=8192;
4427
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4428
# This has been around since 386BSD, at least. Likely further.
4429
if test -x /sbin/sysctl; then
4430
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4431
elif test -x /usr/sbin/sysctl; then
4432
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4434
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4436
# And add a safety zone
4437
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4438
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4442
# We know the value 262144 and hardcode it with a safety zone (like BSD)
4443
lt_cv_sys_max_cmd_len=196608
4447
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4448
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4449
# nice to cause kernel panics so lets avoid the loop below.
4450
# First set a reasonable default.
4451
lt_cv_sys_max_cmd_len=16384
4453
if test -x /sbin/sysconfig; then
4454
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4455
*1*) lt_cv_sys_max_cmd_len=-1 ;;
4460
lt_cv_sys_max_cmd_len=102400
4462
sysv5* | sco5v6* | sysv4.2uw2*)
4463
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4464
if test -n "$kargmax"; then
4465
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4467
lt_cv_sys_max_cmd_len=32768
4471
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4472
if test -n "$lt_cv_sys_max_cmd_len"; then
4473
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4474
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4476
# Make teststring a little bigger before we do anything with it.
4477
# a 1K string should be a reasonable start.
4478
for i in 1 2 3 4 5 6 7 8 ; do
4479
teststring=$teststring$teststring
4481
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4482
# If test is not a shell built-in, we'll probably end up computing a
4483
# maximum length that is only half of the actual maximum length, but
4485
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4486
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4487
test $i != 17 # 1/2 MB should be enough
4490
teststring=$teststring$teststring
4492
# Only check the string length outside the loop.
4493
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4495
# Add a significant safety factor because C++ compilers can tack on
4496
# massive amounts of additional arguments before passing them to the
4497
# linker. It appears as though 1/2 is a usable value.
4498
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4505
if test -n $lt_cv_sys_max_cmd_len ; then
4506
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4507
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4509
{ $as_echo "$as_me:$LINENO: result: none" >&5
4510
$as_echo "none" >&6; }
4512
max_cmd_len=$lt_cv_sys_max_cmd_len
4523
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4524
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4525
# Try some XSI features
4528
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4530
&& eval 'test $(( 1 + 1 )) -eq 2 \
4531
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4533
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
4534
$as_echo "$xsi_shell" >&6; }
4537
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4538
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4540
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4542
&& lt_shell_append=yes
4543
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4544
$as_echo "$lt_shell_append" >&6; }
4547
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4557
# test EBCDIC or ASCII
4558
case `echo X|tr X '\101'` in
4559
A) # ASCII based system
4560
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4561
lt_SP2NL='tr \040 \012'
4562
lt_NL2SP='tr \015\012 \040\040'
4564
*) # EBCDIC based system
4565
lt_SP2NL='tr \100 \n'
4566
lt_NL2SP='tr \r\n \100\100'
4578
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4579
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4580
if test "${lt_cv_ld_reload_flag+set}" = set; then
4581
$as_echo_n "(cached) " >&6
4583
lt_cv_ld_reload_flag='-r'
4585
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4586
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4587
reload_flag=$lt_cv_ld_reload_flag
4588
case $reload_flag in
4590
*) reload_flag=" $reload_flag" ;;
4592
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4595
if test "$GCC" = yes; then
4596
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4598
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4611
if test -n "$ac_tool_prefix"; then
4612
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4613
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4614
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4615
$as_echo_n "checking for $ac_word... " >&6; }
4616
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4617
$as_echo_n "(cached) " >&6
4619
if test -n "$OBJDUMP"; then
4620
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4622
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4626
test -z "$as_dir" && as_dir=.
4627
for ac_exec_ext in '' $ac_executable_extensions; do
4628
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4629
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4630
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4639
OBJDUMP=$ac_cv_prog_OBJDUMP
4640
if test -n "$OBJDUMP"; then
4641
{ $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4642
$as_echo "$OBJDUMP" >&6; }
4644
{ $as_echo "$as_me:$LINENO: result: no" >&5
4645
$as_echo "no" >&6; }
4650
if test -z "$ac_cv_prog_OBJDUMP"; then
4651
ac_ct_OBJDUMP=$OBJDUMP
4652
# Extract the first word of "objdump", so it can be a program name with args.
4653
set dummy objdump; ac_word=$2
4654
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4655
$as_echo_n "checking for $ac_word... " >&6; }
4656
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4657
$as_echo_n "(cached) " >&6
4659
if test -n "$ac_ct_OBJDUMP"; then
4660
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4662
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4666
test -z "$as_dir" && as_dir=.
4667
for ac_exec_ext in '' $ac_executable_extensions; do
4668
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4669
ac_cv_prog_ac_ct_OBJDUMP="objdump"
4670
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4679
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4680
if test -n "$ac_ct_OBJDUMP"; then
4681
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4682
$as_echo "$ac_ct_OBJDUMP" >&6; }
4684
{ $as_echo "$as_me:$LINENO: result: no" >&5
4685
$as_echo "no" >&6; }
4688
if test "x$ac_ct_OBJDUMP" = x; then
4691
case $cross_compiling:$ac_tool_warned in
4693
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4694
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4695
ac_tool_warned=yes ;;
4697
OBJDUMP=$ac_ct_OBJDUMP
4700
OBJDUMP="$ac_cv_prog_OBJDUMP"
4703
test -z "$OBJDUMP" && OBJDUMP=objdump
4710
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4711
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4712
if test "${lt_cv_deplibs_check_method+set}" = set; then
4713
$as_echo_n "(cached) " >&6
4715
lt_cv_file_magic_cmd='$MAGIC_CMD'
4716
lt_cv_file_magic_test_file=
4717
lt_cv_deplibs_check_method='unknown'
4718
# Need to set the preceding variable on all platforms that support
4719
# interlibrary dependencies.
4720
# 'none' -- dependencies not supported.
4721
# `unknown' -- same as none, but documents that we really don't know.
4722
# 'pass_all' -- all dependencies passed with no checks.
4723
# 'test_compile' -- check by making test program.
4724
# 'file_magic [[regex]]' -- check by looking for files in library path
4725
# which responds to the $file_magic_cmd with a given extended regex.
4726
# If you have `file' or equivalent on your system and you're not sure
4727
# whether `pass_all' will *always* work, you probably want this one.
4731
lt_cv_deplibs_check_method=pass_all
4735
lt_cv_deplibs_check_method=pass_all
4739
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4740
lt_cv_file_magic_cmd='/usr/bin/file -L'
4741
lt_cv_file_magic_test_file=/shlib/libc.so
4745
# func_win32_libid is a shell function defined in ltmain.sh
4746
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4747
lt_cv_file_magic_cmd='func_win32_libid'
4751
# Base MSYS/MinGW do not provide the 'file' command needed by
4752
# func_win32_libid shell function, so use a weaker test based on 'objdump',
4753
# unless we find 'file', for example because we are cross-compiling.
4754
if ( file / ) >/dev/null 2>&1; then
4755
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4756
lt_cv_file_magic_cmd='func_win32_libid'
4758
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4759
lt_cv_file_magic_cmd='$OBJDUMP -f'
4764
# use the weaker test based on 'objdump'. See mingw*.
4765
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4766
lt_cv_file_magic_cmd='$OBJDUMP -f'
4769
darwin* | rhapsody*)
4770
lt_cv_deplibs_check_method=pass_all
4773
freebsd* | dragonfly*)
4774
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4777
# Not sure whether the presence of OpenBSD here was a mistake.
4778
# Let's accept both of them until this is cleared up.
4779
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4780
lt_cv_file_magic_cmd=/usr/bin/file
4781
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4785
lt_cv_deplibs_check_method=pass_all
4790
lt_cv_deplibs_check_method=pass_all
4793
hpux10.20* | hpux11*)
4794
lt_cv_file_magic_cmd=/usr/bin/file
4797
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4798
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4801
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]'
4802
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4805
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4806
lt_cv_file_magic_test_file=/usr/lib/libc.sl
4812
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4813
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4816
irix5* | irix6* | nonstopux*)
4818
*-32|*"-32 ") libmagic=32-bit;;
4819
*-n32|*"-n32 ") libmagic=N32;;
4820
*-64|*"-64 ") libmagic=64-bit;;
4821
*) libmagic=never-match;;
4823
lt_cv_deplibs_check_method=pass_all
4826
# This must be Linux ELF.
4827
linux* | k*bsd*-gnu)
4828
lt_cv_deplibs_check_method=pass_all
4831
netbsd* | netbsdelf*-gnu)
4832
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4833
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4835
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4840
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4841
lt_cv_file_magic_cmd=/usr/bin/file
4842
lt_cv_file_magic_test_file=/usr/lib/libnls.so
4846
lt_cv_deplibs_check_method=pass_all
4850
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4851
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4853
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4857
osf3* | osf4* | osf5*)
4858
lt_cv_deplibs_check_method=pass_all
4862
lt_cv_deplibs_check_method=pass_all
4866
lt_cv_deplibs_check_method=pass_all
4869
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4870
lt_cv_deplibs_check_method=pass_all
4874
case $host_vendor in
4876
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]'
4877
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4880
lt_cv_deplibs_check_method=pass_all
4883
lt_cv_file_magic_cmd='/bin/file'
4884
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4887
lt_cv_file_magic_cmd='/bin/file'
4888
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4889
lt_cv_file_magic_test_file=/lib/libc.so
4892
lt_cv_deplibs_check_method=pass_all
4895
lt_cv_deplibs_check_method=pass_all
4901
lt_cv_deplibs_check_method=pass_all
4906
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4907
$as_echo "$lt_cv_deplibs_check_method" >&6; }
4908
file_magic_cmd=$lt_cv_file_magic_cmd
4909
deplibs_check_method=$lt_cv_deplibs_check_method
4910
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4923
if test -n "$ac_tool_prefix"; then
4924
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4925
set dummy ${ac_tool_prefix}ar; ac_word=$2
4926
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4927
$as_echo_n "checking for $ac_word... " >&6; }
4928
if test "${ac_cv_prog_AR+set}" = set; then
4929
$as_echo_n "(cached) " >&6
4931
if test -n "$AR"; then
4932
ac_cv_prog_AR="$AR" # Let the user override the test.
4934
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4938
test -z "$as_dir" && as_dir=.
4939
for ac_exec_ext in '' $ac_executable_extensions; do
4940
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4941
ac_cv_prog_AR="${ac_tool_prefix}ar"
4942
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4952
if test -n "$AR"; then
4953
{ $as_echo "$as_me:$LINENO: result: $AR" >&5
4954
$as_echo "$AR" >&6; }
4956
{ $as_echo "$as_me:$LINENO: result: no" >&5
4957
$as_echo "no" >&6; }
4962
if test -z "$ac_cv_prog_AR"; then
4964
# Extract the first word of "ar", so it can be a program name with args.
4965
set dummy ar; ac_word=$2
4966
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4967
$as_echo_n "checking for $ac_word... " >&6; }
4968
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4969
$as_echo_n "(cached) " >&6
4971
if test -n "$ac_ct_AR"; then
4972
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4974
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978
test -z "$as_dir" && as_dir=.
4979
for ac_exec_ext in '' $ac_executable_extensions; do
4980
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4981
ac_cv_prog_ac_ct_AR="ar"
4982
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4991
ac_ct_AR=$ac_cv_prog_ac_ct_AR
4992
if test -n "$ac_ct_AR"; then
4993
{ $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4994
$as_echo "$ac_ct_AR" >&6; }
4996
{ $as_echo "$as_me:$LINENO: result: no" >&5
4997
$as_echo "no" >&6; }
5000
if test "x$ac_ct_AR" = x; then
5003
case $cross_compiling:$ac_tool_warned in
5005
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5006
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5007
ac_tool_warned=yes ;;
5015
test -z "$AR" && AR=ar
5016
test -z "$AR_FLAGS" && AR_FLAGS=cru
5028
if test -n "$ac_tool_prefix"; then
5029
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5030
set dummy ${ac_tool_prefix}strip; ac_word=$2
5031
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5032
$as_echo_n "checking for $ac_word... " >&6; }
5033
if test "${ac_cv_prog_STRIP+set}" = set; then
5034
$as_echo_n "(cached) " >&6
5036
if test -n "$STRIP"; then
5037
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5039
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043
test -z "$as_dir" && as_dir=.
5044
for ac_exec_ext in '' $ac_executable_extensions; do
5045
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5046
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5047
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5056
STRIP=$ac_cv_prog_STRIP
5057
if test -n "$STRIP"; then
5058
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5059
$as_echo "$STRIP" >&6; }
5061
{ $as_echo "$as_me:$LINENO: result: no" >&5
5062
$as_echo "no" >&6; }
5067
if test -z "$ac_cv_prog_STRIP"; then
5069
# Extract the first word of "strip", so it can be a program name with args.
5070
set dummy strip; ac_word=$2
5071
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5072
$as_echo_n "checking for $ac_word... " >&6; }
5073
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5074
$as_echo_n "(cached) " >&6
5076
if test -n "$ac_ct_STRIP"; then
5077
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5079
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5083
test -z "$as_dir" && as_dir=.
5084
for ac_exec_ext in '' $ac_executable_extensions; do
5085
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5086
ac_cv_prog_ac_ct_STRIP="strip"
5087
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5096
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5097
if test -n "$ac_ct_STRIP"; then
5098
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5099
$as_echo "$ac_ct_STRIP" >&6; }
5101
{ $as_echo "$as_me:$LINENO: result: no" >&5
5102
$as_echo "no" >&6; }
5105
if test "x$ac_ct_STRIP" = x; then
5108
case $cross_compiling:$ac_tool_warned in
5110
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5111
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5112
ac_tool_warned=yes ;;
5117
STRIP="$ac_cv_prog_STRIP"
5120
test -z "$STRIP" && STRIP=:
5127
if test -n "$ac_tool_prefix"; then
5128
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5129
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5130
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5131
$as_echo_n "checking for $ac_word... " >&6; }
5132
if test "${ac_cv_prog_RANLIB+set}" = set; then
5133
$as_echo_n "(cached) " >&6
5135
if test -n "$RANLIB"; then
5136
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5138
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5142
test -z "$as_dir" && as_dir=.
5143
for ac_exec_ext in '' $ac_executable_extensions; do
5144
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5145
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5146
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5155
RANLIB=$ac_cv_prog_RANLIB
5156
if test -n "$RANLIB"; then
5157
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5158
$as_echo "$RANLIB" >&6; }
5160
{ $as_echo "$as_me:$LINENO: result: no" >&5
5161
$as_echo "no" >&6; }
5166
if test -z "$ac_cv_prog_RANLIB"; then
5167
ac_ct_RANLIB=$RANLIB
5168
# Extract the first word of "ranlib", so it can be a program name with args.
5169
set dummy ranlib; ac_word=$2
5170
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5171
$as_echo_n "checking for $ac_word... " >&6; }
5172
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5173
$as_echo_n "(cached) " >&6
5175
if test -n "$ac_ct_RANLIB"; then
5176
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5178
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5182
test -z "$as_dir" && as_dir=.
5183
for ac_exec_ext in '' $ac_executable_extensions; do
5184
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5185
ac_cv_prog_ac_ct_RANLIB="ranlib"
5186
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5195
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5196
if test -n "$ac_ct_RANLIB"; then
5197
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5198
$as_echo "$ac_ct_RANLIB" >&6; }
5200
{ $as_echo "$as_me:$LINENO: result: no" >&5
5201
$as_echo "no" >&6; }
5204
if test "x$ac_ct_RANLIB" = x; then
5207
case $cross_compiling:$ac_tool_warned in
5209
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5210
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5211
ac_tool_warned=yes ;;
5213
RANLIB=$ac_ct_RANLIB
5216
RANLIB="$ac_cv_prog_RANLIB"
5219
test -z "$RANLIB" && RANLIB=:
5226
# Determine commands to create old-style static archives.
5227
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5228
old_postinstall_cmds='chmod 644 $oldlib'
5229
old_postuninstall_cmds=
5231
if test -n "$RANLIB"; then
5234
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5237
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5240
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5276
# If no C compiler was specified, use CC.
5279
# If no C compiler flags were specified, use CFLAGS.
5280
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5282
# Allow CC to be a program name with arguments.
5286
# Check for command to grab the raw symbol name followed by C symbol from nm.
5287
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5288
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5289
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5290
$as_echo_n "(cached) " >&6
5293
# These are sane defaults that work on at least a few old systems.
5294
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
5296
# Character class describing NM global symbol codes.
5297
symcode='[BCDEGRST]'
5299
# Regexp to match symbols that can be accessed directly from C.
5300
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5302
# Define system-specific variables.
5307
cygwin* | mingw* | pw32* | cegcc*)
5308
symcode='[ABCDGISTW]'
5311
if test "$host_cpu" = ia64; then
5312
symcode='[ABCDEGRST]'
5316
symcode='[BCDEGRST]'
5319
symcode='[BCDEGQRST]'
5330
sysv5* | sco5v6* | unixware* | OpenUNIX*)
5338
# If we're using GNU nm, then use its standard symbol codes.
5339
case `$NM -V 2>&1` in
5340
*GNU* | *'with BFD'*)
5341
symcode='[ABCDGIRSTW]' ;;
5344
# Transform an extracted symbol line into a proper C declaration.
5345
# Some systems (esp. on ia64) link data and code symbols differently,
5346
# so use this general approach.
5347
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5349
# Transform an extracted symbol line into symbol name and symbol address
5350
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5351
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'"
5353
# Handle CRLF in mingw tool chain
5357
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5361
# Try without a prefix underscore, then with it.
5362
for ac_symprfx in "" "_"; do
5364
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5365
symxfrm="\\1 $ac_symprfx\\2 \\2"
5367
# Write the raw and C identifiers.
5368
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5369
# Fake it for dumpbin and say T for any non-static function
5370
# and D for any global variable.
5371
# Also find C++ and __fastcall symbols from MSVC++,
5372
# which start with @ or ?.
5373
lt_cv_sys_global_symbol_pipe="$AWK '"\
5374
" {last_section=section; section=\$ 3};"\
5375
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5376
" \$ 0!~/External *\|/{next};"\
5377
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5378
" {if(hide[section]) next};"\
5379
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5380
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5381
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
5382
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5383
" ' prfx=^$ac_symprfx"
5385
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5388
# Check to see that the pipe works correctly.
5392
cat > conftest.$ac_ext <<_LT_EOF
5397
void nm_test_func(void);
5398
void nm_test_func(void){}
5402
int main(){nm_test_var='a';nm_test_func();return(0);}
5405
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5406
(eval $ac_compile) 2>&5
5408
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409
(exit $ac_status); }; then
5410
# Now try to grab the symbols.
5412
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5413
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5415
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416
(exit $ac_status); } && test -s "$nlist"; then
5417
# Try sorting and uniquifying the output.
5418
if sort "$nlist" | uniq > "$nlist"T; then
5419
mv -f "$nlist"T "$nlist"
5424
# Make sure that we snagged all the symbols we need.
5425
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5426
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5427
cat <<_LT_EOF > conftest.$ac_ext
5433
# Now generate the symbol file.
5434
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5436
cat <<_LT_EOF >> conftest.$ac_ext
5438
/* The mapping between symbol names and symbols. */
5443
lt__PROGRAM__LTX_preloaded_symbols[] =
5445
{ "@PROGRAM@", (void *) 0 },
5447
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5448
cat <<\_LT_EOF >> conftest.$ac_ext
5452
/* This works around a problem in FreeBSD linker */
5453
#ifdef FREEBSD_WORKAROUND
5454
static const void *lt_preloaded_setup() {
5455
return lt__PROGRAM__LTX_preloaded_symbols;
5463
# Now try linking the two files.
5464
mv conftest.$ac_objext conftstm.$ac_objext
5465
lt_save_LIBS="$LIBS"
5466
lt_save_CFLAGS="$CFLAGS"
5467
LIBS="conftstm.$ac_objext"
5468
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5469
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5470
(eval $ac_link) 2>&5
5472
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473
(exit $ac_status); } && test -s conftest${ac_exeext}; then
5476
LIBS="$lt_save_LIBS"
5477
CFLAGS="$lt_save_CFLAGS"
5479
echo "cannot find nm_test_func in $nlist" >&5
5482
echo "cannot find nm_test_var in $nlist" >&5
5485
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5488
echo "$progname: failed program was:" >&5
5489
cat conftest.$ac_ext >&5
5491
rm -rf conftest* conftst*
5493
# Do not use the global_symbol_pipe unless it works.
5494
if test "$pipe_works" = yes; then
5497
lt_cv_sys_global_symbol_pipe=
5503
if test -z "$lt_cv_sys_global_symbol_pipe"; then
5504
lt_cv_sys_global_symbol_to_cdecl=
5506
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5507
{ $as_echo "$as_me:$LINENO: result: failed" >&5
5508
$as_echo "failed" >&6; }
5510
{ $as_echo "$as_me:$LINENO: result: ok" >&5
5511
$as_echo "ok" >&6; }
5536
# Check whether --enable-libtool-lock was given.
5537
if test "${enable_libtool_lock+set}" = set; then
5538
enableval=$enable_libtool_lock;
5541
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5543
# Some flags need to be propagated to the compiler or linker for good
5547
# Find out which ABI we are using.
5548
echo 'int i;' > conftest.$ac_ext
5549
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5550
(eval $ac_compile) 2>&5
5552
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553
(exit $ac_status); }; then
5554
case `/usr/bin/file conftest.$ac_objext` in
5566
# Find out which ABI we are using.
5567
echo '#line 5567 "configure"' > conftest.$ac_ext
5568
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5569
(eval $ac_compile) 2>&5
5571
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572
(exit $ac_status); }; then
5573
if test "$lt_cv_prog_gnu_ld" = yes; then
5574
case `/usr/bin/file conftest.$ac_objext` in
5576
LD="${LD-ld} -melf32bsmip"
5579
LD="${LD-ld} -melf32bmipn32"
5582
LD="${LD-ld} -melf64bmip"
5586
case `/usr/bin/file conftest.$ac_objext` in
5602
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5603
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5604
# Find out which ABI we are using.
5605
echo 'int i;' > conftest.$ac_ext
5606
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5607
(eval $ac_compile) 2>&5
5609
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610
(exit $ac_status); }; then
5611
case `/usr/bin/file conftest.o` in
5614
x86_64-*kfreebsd*-gnu)
5615
LD="${LD-ld} -m elf_i386_fbsd"
5618
LD="${LD-ld} -m elf_i386"
5620
ppc64-*linux*|powerpc64-*linux*)
5621
LD="${LD-ld} -m elf32ppclinux"
5624
LD="${LD-ld} -m elf_s390"
5627
LD="${LD-ld} -m elf32_sparc"
5633
x86_64-*kfreebsd*-gnu)
5634
LD="${LD-ld} -m elf_x86_64_fbsd"
5637
LD="${LD-ld} -m elf_x86_64"
5639
ppc*-*linux*|powerpc*-*linux*)
5640
LD="${LD-ld} -m elf64ppc"
5642
s390*-*linux*|s390*-*tpf*)
5643
LD="${LD-ld} -m elf64_s390"
5646
LD="${LD-ld} -m elf64_sparc"
5656
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
5657
SAVE_CFLAGS="$CFLAGS"
5658
CFLAGS="$CFLAGS -belf"
5659
{ $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5660
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5661
if test "${lt_cv_cc_needs_belf+set}" = set; then
5662
$as_echo_n "(cached) " >&6
5665
ac_cpp='$CPP $CPPFLAGS'
5666
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5667
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5668
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5670
cat >conftest.$ac_ext <<_ACEOF
5673
cat confdefs.h >>conftest.$ac_ext
5674
cat >>conftest.$ac_ext <<_ACEOF
5675
/* end confdefs.h. */
5685
rm -f conftest.$ac_objext conftest$ac_exeext
5686
if { (ac_try="$ac_link"
5688
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5689
*) ac_try_echo=$ac_try;;
5691
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5692
$as_echo "$ac_try_echo") >&5
5693
(eval "$ac_link") 2>conftest.er1
5695
grep -v '^ *+' conftest.er1 >conftest.err
5697
cat conftest.err >&5
5698
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699
(exit $ac_status); } && {
5700
test -z "$ac_c_werror_flag" ||
5701
test ! -s conftest.err
5702
} && test -s conftest$ac_exeext && {
5703
test "$cross_compiling" = yes ||
5704
$as_test_x conftest$ac_exeext
5706
lt_cv_cc_needs_belf=yes
5708
$as_echo "$as_me: failed program was:" >&5
5709
sed 's/^/| /' conftest.$ac_ext >&5
5711
lt_cv_cc_needs_belf=no
5714
rm -rf conftest.dSYM
5715
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5716
conftest$ac_exeext conftest.$ac_ext
5718
ac_cpp='$CPP $CPPFLAGS'
5719
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5720
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5721
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5724
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5725
$as_echo "$lt_cv_cc_needs_belf" >&6; }
5726
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5727
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5728
CFLAGS="$SAVE_CFLAGS"
5732
# Find out which ABI we are using.
5733
echo 'int i;' > conftest.$ac_ext
5734
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5735
(eval $ac_compile) 2>&5
5737
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738
(exit $ac_status); }; then
5739
case `/usr/bin/file conftest.o` in
5741
case $lt_cv_prog_gnu_ld in
5742
yes*) LD="${LD-ld} -m elf64_sparc" ;;
5744
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5756
need_locks="$enable_libtool_lock"
5760
rhapsody* | darwin*)
5761
if test -n "$ac_tool_prefix"; then
5762
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5763
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5764
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5765
$as_echo_n "checking for $ac_word... " >&6; }
5766
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5767
$as_echo_n "(cached) " >&6
5769
if test -n "$DSYMUTIL"; then
5770
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5772
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776
test -z "$as_dir" && as_dir=.
5777
for ac_exec_ext in '' $ac_executable_extensions; do
5778
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5779
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5780
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5789
DSYMUTIL=$ac_cv_prog_DSYMUTIL
5790
if test -n "$DSYMUTIL"; then
5791
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5792
$as_echo "$DSYMUTIL" >&6; }
5794
{ $as_echo "$as_me:$LINENO: result: no" >&5
5795
$as_echo "no" >&6; }
5800
if test -z "$ac_cv_prog_DSYMUTIL"; then
5801
ac_ct_DSYMUTIL=$DSYMUTIL
5802
# Extract the first word of "dsymutil", so it can be a program name with args.
5803
set dummy dsymutil; ac_word=$2
5804
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5805
$as_echo_n "checking for $ac_word... " >&6; }
5806
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5807
$as_echo_n "(cached) " >&6
5809
if test -n "$ac_ct_DSYMUTIL"; then
5810
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5812
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5816
test -z "$as_dir" && as_dir=.
5817
for ac_exec_ext in '' $ac_executable_extensions; do
5818
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5819
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5820
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5829
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5830
if test -n "$ac_ct_DSYMUTIL"; then
5831
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5832
$as_echo "$ac_ct_DSYMUTIL" >&6; }
5834
{ $as_echo "$as_me:$LINENO: result: no" >&5
5835
$as_echo "no" >&6; }
5838
if test "x$ac_ct_DSYMUTIL" = x; then
5841
case $cross_compiling:$ac_tool_warned in
5843
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5844
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5845
ac_tool_warned=yes ;;
5847
DSYMUTIL=$ac_ct_DSYMUTIL
5850
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5853
if test -n "$ac_tool_prefix"; then
5854
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5855
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5856
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5857
$as_echo_n "checking for $ac_word... " >&6; }
5858
if test "${ac_cv_prog_NMEDIT+set}" = set; then
5859
$as_echo_n "(cached) " >&6
5861
if test -n "$NMEDIT"; then
5862
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5864
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5868
test -z "$as_dir" && as_dir=.
5869
for ac_exec_ext in '' $ac_executable_extensions; do
5870
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5871
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5872
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5881
NMEDIT=$ac_cv_prog_NMEDIT
5882
if test -n "$NMEDIT"; then
5883
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
5884
$as_echo "$NMEDIT" >&6; }
5886
{ $as_echo "$as_me:$LINENO: result: no" >&5
5887
$as_echo "no" >&6; }
5892
if test -z "$ac_cv_prog_NMEDIT"; then
5893
ac_ct_NMEDIT=$NMEDIT
5894
# Extract the first word of "nmedit", so it can be a program name with args.
5895
set dummy nmedit; ac_word=$2
5896
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5897
$as_echo_n "checking for $ac_word... " >&6; }
5898
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5899
$as_echo_n "(cached) " >&6
5901
if test -n "$ac_ct_NMEDIT"; then
5902
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5904
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908
test -z "$as_dir" && as_dir=.
5909
for ac_exec_ext in '' $ac_executable_extensions; do
5910
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5911
ac_cv_prog_ac_ct_NMEDIT="nmedit"
5912
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5921
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5922
if test -n "$ac_ct_NMEDIT"; then
5923
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5924
$as_echo "$ac_ct_NMEDIT" >&6; }
5926
{ $as_echo "$as_me:$LINENO: result: no" >&5
5927
$as_echo "no" >&6; }
5930
if test "x$ac_ct_NMEDIT" = x; then
5933
case $cross_compiling:$ac_tool_warned in
5935
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5936
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5937
ac_tool_warned=yes ;;
5939
NMEDIT=$ac_ct_NMEDIT
5942
NMEDIT="$ac_cv_prog_NMEDIT"
5945
if test -n "$ac_tool_prefix"; then
5946
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5947
set dummy ${ac_tool_prefix}lipo; ac_word=$2
5948
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5949
$as_echo_n "checking for $ac_word... " >&6; }
5950
if test "${ac_cv_prog_LIPO+set}" = set; then
5951
$as_echo_n "(cached) " >&6
5953
if test -n "$LIPO"; then
5954
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5956
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960
test -z "$as_dir" && as_dir=.
5961
for ac_exec_ext in '' $ac_executable_extensions; do
5962
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5963
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5964
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5973
LIPO=$ac_cv_prog_LIPO
5974
if test -n "$LIPO"; then
5975
{ $as_echo "$as_me:$LINENO: result: $LIPO" >&5
5976
$as_echo "$LIPO" >&6; }
5978
{ $as_echo "$as_me:$LINENO: result: no" >&5
5979
$as_echo "no" >&6; }
5984
if test -z "$ac_cv_prog_LIPO"; then
5986
# Extract the first word of "lipo", so it can be a program name with args.
5987
set dummy lipo; ac_word=$2
5988
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5989
$as_echo_n "checking for $ac_word... " >&6; }
5990
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5991
$as_echo_n "(cached) " >&6
5993
if test -n "$ac_ct_LIPO"; then
5994
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5996
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6000
test -z "$as_dir" && as_dir=.
6001
for ac_exec_ext in '' $ac_executable_extensions; do
6002
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6003
ac_cv_prog_ac_ct_LIPO="lipo"
6004
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6013
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6014
if test -n "$ac_ct_LIPO"; then
6015
{ $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6016
$as_echo "$ac_ct_LIPO" >&6; }
6018
{ $as_echo "$as_me:$LINENO: result: no" >&5
6019
$as_echo "no" >&6; }
6022
if test "x$ac_ct_LIPO" = x; then
6025
case $cross_compiling:$ac_tool_warned in
6027
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6028
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6029
ac_tool_warned=yes ;;
6034
LIPO="$ac_cv_prog_LIPO"
6037
if test -n "$ac_tool_prefix"; then
6038
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6039
set dummy ${ac_tool_prefix}otool; ac_word=$2
6040
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6041
$as_echo_n "checking for $ac_word... " >&6; }
6042
if test "${ac_cv_prog_OTOOL+set}" = set; then
6043
$as_echo_n "(cached) " >&6
6045
if test -n "$OTOOL"; then
6046
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6048
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6052
test -z "$as_dir" && as_dir=.
6053
for ac_exec_ext in '' $ac_executable_extensions; do
6054
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6055
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6056
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6065
OTOOL=$ac_cv_prog_OTOOL
6066
if test -n "$OTOOL"; then
6067
{ $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6068
$as_echo "$OTOOL" >&6; }
6070
{ $as_echo "$as_me:$LINENO: result: no" >&5
6071
$as_echo "no" >&6; }
6076
if test -z "$ac_cv_prog_OTOOL"; then
6078
# Extract the first word of "otool", so it can be a program name with args.
6079
set dummy otool; ac_word=$2
6080
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6081
$as_echo_n "checking for $ac_word... " >&6; }
6082
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6083
$as_echo_n "(cached) " >&6
6085
if test -n "$ac_ct_OTOOL"; then
6086
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6088
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6092
test -z "$as_dir" && as_dir=.
6093
for ac_exec_ext in '' $ac_executable_extensions; do
6094
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6095
ac_cv_prog_ac_ct_OTOOL="otool"
6096
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6105
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6106
if test -n "$ac_ct_OTOOL"; then
6107
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6108
$as_echo "$ac_ct_OTOOL" >&6; }
6110
{ $as_echo "$as_me:$LINENO: result: no" >&5
6111
$as_echo "no" >&6; }
6114
if test "x$ac_ct_OTOOL" = x; then
6117
case $cross_compiling:$ac_tool_warned in
6119
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6120
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6121
ac_tool_warned=yes ;;
6126
OTOOL="$ac_cv_prog_OTOOL"
6129
if test -n "$ac_tool_prefix"; then
6130
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6131
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6132
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6133
$as_echo_n "checking for $ac_word... " >&6; }
6134
if test "${ac_cv_prog_OTOOL64+set}" = set; then
6135
$as_echo_n "(cached) " >&6
6137
if test -n "$OTOOL64"; then
6138
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6140
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144
test -z "$as_dir" && as_dir=.
6145
for ac_exec_ext in '' $ac_executable_extensions; do
6146
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6147
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6148
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6157
OTOOL64=$ac_cv_prog_OTOOL64
6158
if test -n "$OTOOL64"; then
6159
{ $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6160
$as_echo "$OTOOL64" >&6; }
6162
{ $as_echo "$as_me:$LINENO: result: no" >&5
6163
$as_echo "no" >&6; }
6168
if test -z "$ac_cv_prog_OTOOL64"; then
6169
ac_ct_OTOOL64=$OTOOL64
6170
# Extract the first word of "otool64", so it can be a program name with args.
6171
set dummy otool64; ac_word=$2
6172
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6173
$as_echo_n "checking for $ac_word... " >&6; }
6174
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6175
$as_echo_n "(cached) " >&6
6177
if test -n "$ac_ct_OTOOL64"; then
6178
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6180
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6184
test -z "$as_dir" && as_dir=.
6185
for ac_exec_ext in '' $ac_executable_extensions; do
6186
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6187
ac_cv_prog_ac_ct_OTOOL64="otool64"
6188
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6197
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6198
if test -n "$ac_ct_OTOOL64"; then
6199
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6200
$as_echo "$ac_ct_OTOOL64" >&6; }
6202
{ $as_echo "$as_me:$LINENO: result: no" >&5
6203
$as_echo "no" >&6; }
6206
if test "x$ac_ct_OTOOL64" = x; then
6209
case $cross_compiling:$ac_tool_warned in
6211
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6212
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6213
ac_tool_warned=yes ;;
6215
OTOOL64=$ac_ct_OTOOL64
6218
OTOOL64="$ac_cv_prog_OTOOL64"
6247
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6248
$as_echo_n "checking for -single_module linker flag... " >&6; }
6249
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6250
$as_echo_n "(cached) " >&6
6252
lt_cv_apple_cc_single_mod=no
6253
if test -z "${LT_MULTI_MODULE}"; then
6254
# By default we will add the -single_module flag. You can override
6255
# by either setting the environment variable LT_MULTI_MODULE
6256
# non-empty at configure time, or by adding -multi_module to the
6258
rm -rf libconftest.dylib*
6259
echo "int foo(void){return 1;}" > conftest.c
6260
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6261
-dynamiclib -Wl,-single_module conftest.c" >&5
6262
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6263
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6265
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6266
lt_cv_apple_cc_single_mod=yes
6268
cat conftest.err >&5
6270
rm -rf libconftest.dylib*
6274
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6275
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6276
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6277
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6278
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6279
$as_echo_n "(cached) " >&6
6281
lt_cv_ld_exported_symbols_list=no
6282
save_LDFLAGS=$LDFLAGS
6283
echo "_main" > conftest.sym
6284
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6285
cat >conftest.$ac_ext <<_ACEOF
6288
cat confdefs.h >>conftest.$ac_ext
6289
cat >>conftest.$ac_ext <<_ACEOF
6290
/* end confdefs.h. */
6300
rm -f conftest.$ac_objext conftest$ac_exeext
6301
if { (ac_try="$ac_link"
6303
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6304
*) ac_try_echo=$ac_try;;
6306
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6307
$as_echo "$ac_try_echo") >&5
6308
(eval "$ac_link") 2>conftest.er1
6310
grep -v '^ *+' conftest.er1 >conftest.err
6312
cat conftest.err >&5
6313
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314
(exit $ac_status); } && {
6315
test -z "$ac_c_werror_flag" ||
6316
test ! -s conftest.err
6317
} && test -s conftest$ac_exeext && {
6318
test "$cross_compiling" = yes ||
6319
$as_test_x conftest$ac_exeext
6321
lt_cv_ld_exported_symbols_list=yes
6323
$as_echo "$as_me: failed program was:" >&5
6324
sed 's/^/| /' conftest.$ac_ext >&5
6326
lt_cv_ld_exported_symbols_list=no
6329
rm -rf conftest.dSYM
6330
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6331
conftest$ac_exeext conftest.$ac_ext
6332
LDFLAGS="$save_LDFLAGS"
6335
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6336
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6338
rhapsody* | darwin1.[012])
6339
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6341
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6342
darwin*) # darwin 5.x on
6343
# if running on 10.5 or later, the deployment target defaults
6344
# to the OS version, if on x86, and 10.4, the deployment
6345
# target defaults to 10.4. Don't you love it?
6346
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6347
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6348
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6350
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6352
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6356
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6357
_lt_dar_single_mod='$single_module'
6359
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6360
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6362
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6364
if test "$DSYMUTIL" != ":"; then
6365
_lt_dsymutil='~$DSYMUTIL $lib || :'
6373
ac_cpp='$CPP $CPPFLAGS'
6374
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6375
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6376
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6377
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6378
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6379
# On Suns, sometimes $CPP names a directory.
6380
if test -n "$CPP" && test -d "$CPP"; then
6383
if test -z "$CPP"; then
6384
if test "${ac_cv_prog_CPP+set}" = set; then
6385
$as_echo_n "(cached) " >&6
6387
# Double quotes because CPP needs to be expanded
6388
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6391
for ac_c_preproc_warn_flag in '' yes
6393
# Use a header file that comes with gcc, so configuring glibc
6394
# with a fresh cross-compiler works.
6395
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6396
# <limits.h> exists even on freestanding compilers.
6397
# On the NeXT, cc -E runs the code through the compiler's parser,
6398
# not just through cpp. "Syntax error" is here to catch this case.
6399
cat >conftest.$ac_ext <<_ACEOF
6402
cat confdefs.h >>conftest.$ac_ext
6403
cat >>conftest.$ac_ext <<_ACEOF
6404
/* end confdefs.h. */
6406
# include <limits.h>
6408
# include <assert.h>
6412
if { (ac_try="$ac_cpp conftest.$ac_ext"
6414
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6415
*) ac_try_echo=$ac_try;;
6417
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6418
$as_echo "$ac_try_echo") >&5
6419
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6421
grep -v '^ *+' conftest.er1 >conftest.err
6423
cat conftest.err >&5
6424
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425
(exit $ac_status); } >/dev/null && {
6426
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6427
test ! -s conftest.err
6431
$as_echo "$as_me: failed program was:" >&5
6432
sed 's/^/| /' conftest.$ac_ext >&5
6434
# Broken: fails on valid input.
6438
rm -f conftest.err conftest.$ac_ext
6440
# OK, works on sane cases. Now check whether nonexistent headers
6441
# can be detected and how.
6442
cat >conftest.$ac_ext <<_ACEOF
6445
cat confdefs.h >>conftest.$ac_ext
6446
cat >>conftest.$ac_ext <<_ACEOF
6447
/* end confdefs.h. */
6448
#include <ac_nonexistent.h>
6450
if { (ac_try="$ac_cpp conftest.$ac_ext"
6452
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6453
*) ac_try_echo=$ac_try;;
6455
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6456
$as_echo "$ac_try_echo") >&5
6457
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6459
grep -v '^ *+' conftest.er1 >conftest.err
6461
cat conftest.err >&5
6462
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463
(exit $ac_status); } >/dev/null && {
6464
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6465
test ! -s conftest.err
6467
# Broken: success on invalid input.
6470
$as_echo "$as_me: failed program was:" >&5
6471
sed 's/^/| /' conftest.$ac_ext >&5
6473
# Passes both tests.
6478
rm -f conftest.err conftest.$ac_ext
6481
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6482
rm -f conftest.err conftest.$ac_ext
6483
if $ac_preproc_ok; then
6495
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
6496
$as_echo "$CPP" >&6; }
6498
for ac_c_preproc_warn_flag in '' yes
6500
# Use a header file that comes with gcc, so configuring glibc
6501
# with a fresh cross-compiler works.
6502
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6503
# <limits.h> exists even on freestanding compilers.
6504
# On the NeXT, cc -E runs the code through the compiler's parser,
6505
# not just through cpp. "Syntax error" is here to catch this case.
6506
cat >conftest.$ac_ext <<_ACEOF
6509
cat confdefs.h >>conftest.$ac_ext
6510
cat >>conftest.$ac_ext <<_ACEOF
6511
/* end confdefs.h. */
6513
# include <limits.h>
6515
# include <assert.h>
6519
if { (ac_try="$ac_cpp conftest.$ac_ext"
6521
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6522
*) ac_try_echo=$ac_try;;
6524
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6525
$as_echo "$ac_try_echo") >&5
6526
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6528
grep -v '^ *+' conftest.er1 >conftest.err
6530
cat conftest.err >&5
6531
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532
(exit $ac_status); } >/dev/null && {
6533
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6534
test ! -s conftest.err
6538
$as_echo "$as_me: failed program was:" >&5
6539
sed 's/^/| /' conftest.$ac_ext >&5
6541
# Broken: fails on valid input.
6545
rm -f conftest.err conftest.$ac_ext
6547
# OK, works on sane cases. Now check whether nonexistent headers
6548
# can be detected and how.
6549
cat >conftest.$ac_ext <<_ACEOF
6552
cat confdefs.h >>conftest.$ac_ext
6553
cat >>conftest.$ac_ext <<_ACEOF
6554
/* end confdefs.h. */
6555
#include <ac_nonexistent.h>
6557
if { (ac_try="$ac_cpp conftest.$ac_ext"
6559
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6560
*) ac_try_echo=$ac_try;;
6562
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6563
$as_echo "$ac_try_echo") >&5
6564
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6566
grep -v '^ *+' conftest.er1 >conftest.err
6568
cat conftest.err >&5
6569
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570
(exit $ac_status); } >/dev/null && {
6571
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6572
test ! -s conftest.err
6574
# Broken: success on invalid input.
6577
$as_echo "$as_me: failed program was:" >&5
6578
sed 's/^/| /' conftest.$ac_ext >&5
6580
# Passes both tests.
6585
rm -f conftest.err conftest.$ac_ext
6588
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6589
rm -f conftest.err conftest.$ac_ext
6590
if $ac_preproc_ok; then
6593
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6594
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6595
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6596
See \`config.log' for more details." >&5
6597
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6598
See \`config.log' for more details." >&2;}
6599
{ (exit 1); exit 1; }; }; }
6603
ac_cpp='$CPP $CPPFLAGS'
6604
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6605
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6606
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6609
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6610
$as_echo_n "checking for ANSI C header files... " >&6; }
6611
if test "${ac_cv_header_stdc+set}" = set; then
6612
$as_echo_n "(cached) " >&6
6614
cat >conftest.$ac_ext <<_ACEOF
6617
cat confdefs.h >>conftest.$ac_ext
6618
cat >>conftest.$ac_ext <<_ACEOF
6619
/* end confdefs.h. */
6633
rm -f conftest.$ac_objext
6634
if { (ac_try="$ac_compile"
6636
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6637
*) ac_try_echo=$ac_try;;
6639
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6640
$as_echo "$ac_try_echo") >&5
6641
(eval "$ac_compile") 2>conftest.er1
6643
grep -v '^ *+' conftest.er1 >conftest.err
6645
cat conftest.err >&5
6646
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647
(exit $ac_status); } && {
6648
test -z "$ac_c_werror_flag" ||
6649
test ! -s conftest.err
6650
} && test -s conftest.$ac_objext; then
6651
ac_cv_header_stdc=yes
6653
$as_echo "$as_me: failed program was:" >&5
6654
sed 's/^/| /' conftest.$ac_ext >&5
6656
ac_cv_header_stdc=no
6659
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6661
if test $ac_cv_header_stdc = yes; then
6662
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6663
cat >conftest.$ac_ext <<_ACEOF
6666
cat confdefs.h >>conftest.$ac_ext
6667
cat >>conftest.$ac_ext <<_ACEOF
6668
/* end confdefs.h. */
6672
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6673
$EGREP "memchr" >/dev/null 2>&1; then
6676
ac_cv_header_stdc=no
6682
if test $ac_cv_header_stdc = yes; then
6683
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6684
cat >conftest.$ac_ext <<_ACEOF
6687
cat confdefs.h >>conftest.$ac_ext
6688
cat >>conftest.$ac_ext <<_ACEOF
6689
/* end confdefs.h. */
6693
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6694
$EGREP "free" >/dev/null 2>&1; then
6697
ac_cv_header_stdc=no
6703
if test $ac_cv_header_stdc = yes; then
6704
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6705
if test "$cross_compiling" = yes; then
6708
cat >conftest.$ac_ext <<_ACEOF
6711
cat confdefs.h >>conftest.$ac_ext
6712
cat >>conftest.$ac_ext <<_ACEOF
6713
/* end confdefs.h. */
6716
#if ((' ' & 0x0FF) == 0x020)
6717
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6718
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6720
# define ISLOWER(c) \
6721
(('a' <= (c) && (c) <= 'i') \
6722
|| ('j' <= (c) && (c) <= 'r') \
6723
|| ('s' <= (c) && (c) <= 'z'))
6724
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6727
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6732
for (i = 0; i < 256; i++)
6733
if (XOR (islower (i), ISLOWER (i))
6734
|| toupper (i) != TOUPPER (i))
6739
rm -f conftest$ac_exeext
6740
if { (ac_try="$ac_link"
6742
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6743
*) ac_try_echo=$ac_try;;
6745
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6746
$as_echo "$ac_try_echo") >&5
6747
(eval "$ac_link") 2>&5
6749
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6751
{ (case "(($ac_try" in
6752
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6753
*) ac_try_echo=$ac_try;;
6755
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6756
$as_echo "$ac_try_echo") >&5
6757
(eval "$ac_try") 2>&5
6759
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760
(exit $ac_status); }; }; then
6763
$as_echo "$as_me: program exited with status $ac_status" >&5
6764
$as_echo "$as_me: failed program was:" >&5
6765
sed 's/^/| /' conftest.$ac_ext >&5
6768
ac_cv_header_stdc=no
6770
rm -rf conftest.dSYM
6771
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6777
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6778
$as_echo "$ac_cv_header_stdc" >&6; }
6779
if test $ac_cv_header_stdc = yes; then
6781
cat >>confdefs.h <<\_ACEOF
6782
#define STDC_HEADERS 1
6787
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6797
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6798
inttypes.h stdint.h unistd.h
6800
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6801
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6802
$as_echo_n "checking for $ac_header... " >&6; }
6803
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6804
$as_echo_n "(cached) " >&6
6806
cat >conftest.$ac_ext <<_ACEOF
6809
cat confdefs.h >>conftest.$ac_ext
6810
cat >>conftest.$ac_ext <<_ACEOF
6811
/* end confdefs.h. */
6812
$ac_includes_default
6814
#include <$ac_header>
6816
rm -f conftest.$ac_objext
6817
if { (ac_try="$ac_compile"
6819
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6820
*) ac_try_echo=$ac_try;;
6822
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6823
$as_echo "$ac_try_echo") >&5
6824
(eval "$ac_compile") 2>conftest.er1
6826
grep -v '^ *+' conftest.er1 >conftest.err
6828
cat conftest.err >&5
6829
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830
(exit $ac_status); } && {
6831
test -z "$ac_c_werror_flag" ||
6832
test ! -s conftest.err
6833
} && test -s conftest.$ac_objext; then
6834
eval "$as_ac_Header=yes"
6836
$as_echo "$as_me: failed program was:" >&5
6837
sed 's/^/| /' conftest.$ac_ext >&5
6839
eval "$as_ac_Header=no"
6842
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6844
ac_res=`eval 'as_val=${'$as_ac_Header'}
6845
$as_echo "$as_val"'`
6846
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6847
$as_echo "$ac_res" >&6; }
6848
as_val=`eval 'as_val=${'$as_ac_Header'}
6849
$as_echo "$as_val"'`
6850
if test "x$as_val" = x""yes; then
6851
cat >>confdefs.h <<_ACEOF
6852
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6861
for ac_header in dlfcn.h
6863
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6864
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6865
$as_echo_n "checking for $ac_header... " >&6; }
6866
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6867
$as_echo_n "(cached) " >&6
6869
cat >conftest.$ac_ext <<_ACEOF
6872
cat confdefs.h >>conftest.$ac_ext
6873
cat >>conftest.$ac_ext <<_ACEOF
6874
/* end confdefs.h. */
6875
$ac_includes_default
6877
#include <$ac_header>
6879
rm -f conftest.$ac_objext
6880
if { (ac_try="$ac_compile"
6882
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6883
*) ac_try_echo=$ac_try;;
6885
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6886
$as_echo "$ac_try_echo") >&5
6887
(eval "$ac_compile") 2>conftest.er1
6889
grep -v '^ *+' conftest.er1 >conftest.err
6891
cat conftest.err >&5
6892
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893
(exit $ac_status); } && {
6894
test -z "$ac_c_werror_flag" ||
6895
test ! -s conftest.err
6896
} && test -s conftest.$ac_objext; then
6897
eval "$as_ac_Header=yes"
6899
$as_echo "$as_me: failed program was:" >&5
6900
sed 's/^/| /' conftest.$ac_ext >&5
6902
eval "$as_ac_Header=no"
6905
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6907
ac_res=`eval 'as_val=${'$as_ac_Header'}
6908
$as_echo "$as_val"'`
6909
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6910
$as_echo "$ac_res" >&6; }
6911
as_val=`eval 'as_val=${'$as_ac_Header'}
6912
$as_echo "$as_val"'`
6913
if test "x$as_val" = x""yes; then
6914
cat >>confdefs.h <<_ACEOF
6915
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6926
enable_win32_dll=yes
6929
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
6930
if test -n "$ac_tool_prefix"; then
6931
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6932
set dummy ${ac_tool_prefix}as; ac_word=$2
6933
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6934
$as_echo_n "checking for $ac_word... " >&6; }
6935
if test "${ac_cv_prog_AS+set}" = set; then
6936
$as_echo_n "(cached) " >&6
6938
if test -n "$AS"; then
6939
ac_cv_prog_AS="$AS" # Let the user override the test.
6941
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6945
test -z "$as_dir" && as_dir=.
6946
for ac_exec_ext in '' $ac_executable_extensions; do
6947
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6948
ac_cv_prog_AS="${ac_tool_prefix}as"
6949
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6959
if test -n "$AS"; then
6960
{ $as_echo "$as_me:$LINENO: result: $AS" >&5
6961
$as_echo "$AS" >&6; }
6963
{ $as_echo "$as_me:$LINENO: result: no" >&5
6964
$as_echo "no" >&6; }
6969
if test -z "$ac_cv_prog_AS"; then
6971
# Extract the first word of "as", so it can be a program name with args.
6972
set dummy as; ac_word=$2
6973
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6974
$as_echo_n "checking for $ac_word... " >&6; }
6975
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
6976
$as_echo_n "(cached) " >&6
6978
if test -n "$ac_ct_AS"; then
6979
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6981
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6985
test -z "$as_dir" && as_dir=.
6986
for ac_exec_ext in '' $ac_executable_extensions; do
6987
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6988
ac_cv_prog_ac_ct_AS="as"
6989
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6998
ac_ct_AS=$ac_cv_prog_ac_ct_AS
6999
if test -n "$ac_ct_AS"; then
7000
{ $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
7001
$as_echo "$ac_ct_AS" >&6; }
7003
{ $as_echo "$as_me:$LINENO: result: no" >&5
7004
$as_echo "no" >&6; }
7007
if test "x$ac_ct_AS" = x; then
7010
case $cross_compiling:$ac_tool_warned in
7012
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7013
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7014
ac_tool_warned=yes ;;
7022
if test -n "$ac_tool_prefix"; then
7023
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7024
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7025
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7026
$as_echo_n "checking for $ac_word... " >&6; }
7027
if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7028
$as_echo_n "(cached) " >&6
7030
if test -n "$DLLTOOL"; then
7031
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7033
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037
test -z "$as_dir" && as_dir=.
7038
for ac_exec_ext in '' $ac_executable_extensions; do
7039
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7040
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7041
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7050
DLLTOOL=$ac_cv_prog_DLLTOOL
7051
if test -n "$DLLTOOL"; then
7052
{ $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7053
$as_echo "$DLLTOOL" >&6; }
7055
{ $as_echo "$as_me:$LINENO: result: no" >&5
7056
$as_echo "no" >&6; }
7061
if test -z "$ac_cv_prog_DLLTOOL"; then
7062
ac_ct_DLLTOOL=$DLLTOOL
7063
# Extract the first word of "dlltool", so it can be a program name with args.
7064
set dummy dlltool; ac_word=$2
7065
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7066
$as_echo_n "checking for $ac_word... " >&6; }
7067
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7068
$as_echo_n "(cached) " >&6
7070
if test -n "$ac_ct_DLLTOOL"; then
7071
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7073
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077
test -z "$as_dir" && as_dir=.
7078
for ac_exec_ext in '' $ac_executable_extensions; do
7079
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7080
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7081
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7090
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7091
if test -n "$ac_ct_DLLTOOL"; then
7092
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7093
$as_echo "$ac_ct_DLLTOOL" >&6; }
7095
{ $as_echo "$as_me:$LINENO: result: no" >&5
7096
$as_echo "no" >&6; }
7099
if test "x$ac_ct_DLLTOOL" = x; then
7102
case $cross_compiling:$ac_tool_warned in
7104
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7105
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7106
ac_tool_warned=yes ;;
7108
DLLTOOL=$ac_ct_DLLTOOL
7111
DLLTOOL="$ac_cv_prog_DLLTOOL"
7114
if test -n "$ac_tool_prefix"; then
7115
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7116
set dummy ${ac_tool_prefix}objdump; ac_word=$2
7117
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7118
$as_echo_n "checking for $ac_word... " >&6; }
7119
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
7120
$as_echo_n "(cached) " >&6
7122
if test -n "$OBJDUMP"; then
7123
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7125
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129
test -z "$as_dir" && as_dir=.
7130
for ac_exec_ext in '' $ac_executable_extensions; do
7131
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7132
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7133
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7142
OBJDUMP=$ac_cv_prog_OBJDUMP
7143
if test -n "$OBJDUMP"; then
7144
{ $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
7145
$as_echo "$OBJDUMP" >&6; }
7147
{ $as_echo "$as_me:$LINENO: result: no" >&5
7148
$as_echo "no" >&6; }
7153
if test -z "$ac_cv_prog_OBJDUMP"; then
7154
ac_ct_OBJDUMP=$OBJDUMP
7155
# Extract the first word of "objdump", so it can be a program name with args.
7156
set dummy objdump; ac_word=$2
7157
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7158
$as_echo_n "checking for $ac_word... " >&6; }
7159
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
7160
$as_echo_n "(cached) " >&6
7162
if test -n "$ac_ct_OBJDUMP"; then
7163
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7165
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7169
test -z "$as_dir" && as_dir=.
7170
for ac_exec_ext in '' $ac_executable_extensions; do
7171
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7172
ac_cv_prog_ac_ct_OBJDUMP="objdump"
7173
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7182
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7183
if test -n "$ac_ct_OBJDUMP"; then
7184
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
7185
$as_echo "$ac_ct_OBJDUMP" >&6; }
7187
{ $as_echo "$as_me:$LINENO: result: no" >&5
7188
$as_echo "no" >&6; }
7191
if test "x$ac_ct_OBJDUMP" = x; then
7194
case $cross_compiling:$ac_tool_warned in
7196
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7197
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7198
ac_tool_warned=yes ;;
7200
OBJDUMP=$ac_ct_OBJDUMP
7203
OBJDUMP="$ac_cv_prog_OBJDUMP"
7209
test -z "$AS" && AS=as
7215
test -z "$DLLTOOL" && DLLTOOL=dlltool
7221
test -z "$OBJDUMP" && OBJDUMP=objdump
7231
# Check whether --enable-shared was given.
7232
if test "${enable_shared+set}" = set; then
7233
enableval=$enable_shared; p=${PACKAGE-default}
7235
yes) enable_shared=yes ;;
7236
no) enable_shared=no ;;
7239
# Look at the argument we got. We use all the common list separators.
7240
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7241
for pkg in $enableval; do
7243
if test "X$pkg" = "X$p"; then
7262
# Check whether --enable-static was given.
7263
if test "${enable_static+set}" = set; then
7264
enableval=$enable_static; p=${PACKAGE-default}
7266
yes) enable_static=yes ;;
7267
no) enable_static=no ;;
7270
# Look at the argument we got. We use all the common list separators.
7271
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7272
for pkg in $enableval; do
7274
if test "X$pkg" = "X$p"; then
7294
# Check whether --with-pic was given.
7295
if test "${with_pic+set}" = set; then
7296
withval=$with_pic; pic_mode="$withval"
7302
test -z "$pic_mode" && pic_mode=default
7310
# Check whether --enable-fast-install was given.
7311
if test "${enable_fast_install+set}" = set; then
7312
enableval=$enable_fast_install; p=${PACKAGE-default}
7314
yes) enable_fast_install=yes ;;
7315
no) enable_fast_install=no ;;
7317
enable_fast_install=no
7318
# Look at the argument we got. We use all the common list separators.
7319
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7320
for pkg in $enableval; do
7322
if test "X$pkg" = "X$p"; then
7323
enable_fast_install=yes
7330
enable_fast_install=yes
7343
# This can be used to rebuild libtool when needed
7344
LIBTOOL_DEPS="$ltmain"
7346
# Always use our own libtool.
7347
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7373
test -z "$LN_S" && LN_S="ln -s"
7388
if test -n "${ZSH_VERSION+set}" ; then
7389
setopt NO_GLOB_SUBST
7392
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
7393
$as_echo_n "checking for objdir... " >&6; }
7394
if test "${lt_cv_objdir+set}" = set; then
7395
$as_echo_n "(cached) " >&6
7397
rm -f .libs 2>/dev/null
7398
mkdir .libs 2>/dev/null
7399
if test -d .libs; then
7402
# MS-DOS does not allow filenames that begin with a dot.
7405
rmdir .libs 2>/dev/null
7407
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7408
$as_echo "$lt_cv_objdir" >&6; }
7409
objdir=$lt_cv_objdir
7415
cat >>confdefs.h <<_ACEOF
7416
#define LT_OBJDIR "$lt_cv_objdir/"
7437
# AIX sometimes has problems with the GCC collect2 program. For some
7438
# reason, if we set the COLLECT_NAMES environment variable, the problems
7439
# vanish in a puff of smoke.
7440
if test "X${COLLECT_NAMES+set}" != Xset; then
7442
export COLLECT_NAMES
7447
# Sed substitution that helps us do robust quoting. It backslashifies
7448
# metacharacters that are still active within double-quoted strings.
7449
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7451
# Same as above, but do not quote variable references.
7452
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7454
# Sed substitution to delay expansion of an escaped shell variable in a
7455
# double_quote_subst'ed string.
7456
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7458
# Sed substitution to delay expansion of an escaped single quote.
7459
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7461
# Sed substitution to avoid accidental globbing in evaled expressions
7462
no_glob_subst='s/\*/\\\*/g'
7466
can_build_shared=yes
7468
# All known linkers require a `.a' archive for static linking (except MSVC,
7469
# which needs '.lib').
7472
with_gnu_ld="$lt_cv_prog_gnu_ld"
7475
old_CFLAGS="$CFLAGS"
7477
# Set sane defaults for various variables
7478
test -z "$CC" && CC=cc
7479
test -z "$LTCC" && LTCC=$CC
7480
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7481
test -z "$LD" && LD=ld
7482
test -z "$ac_objext" && ac_objext=o
7484
for cc_temp in $compiler""; do
7486
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7487
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7492
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7495
# Only perform the check for file, if the check method requires it
7496
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7497
case $deplibs_check_method in
7499
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7500
{ $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7501
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7502
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7503
$as_echo_n "(cached) " >&6
7507
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7510
lt_save_MAGIC_CMD="$MAGIC_CMD"
7511
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7512
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7513
for ac_dir in $ac_dummy; do
7515
test -z "$ac_dir" && ac_dir=.
7516
if test -f $ac_dir/${ac_tool_prefix}file; then
7517
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7518
if test -n "$file_magic_test_file"; then
7519
case $deplibs_check_method in
7521
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7522
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7523
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7524
$EGREP "$file_magic_regex" > /dev/null; then
7529
*** Warning: the command libtool uses to detect shared libraries,
7530
*** $file_magic_cmd, produces output that libtool cannot recognize.
7531
*** The result is that libtool may fail to recognize shared libraries
7532
*** as such. This will affect the creation of libtool libraries that
7533
*** depend on shared libraries, but programs linked with such libtool
7534
*** libraries will work regardless of this problem. Nevertheless, you
7535
*** may want to report the problem to your system manager and/or to
7536
*** bug-libtool@gnu.org
7546
MAGIC_CMD="$lt_save_MAGIC_CMD"
7551
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7552
if test -n "$MAGIC_CMD"; then
7553
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7554
$as_echo "$MAGIC_CMD" >&6; }
7556
{ $as_echo "$as_me:$LINENO: result: no" >&5
7557
$as_echo "no" >&6; }
7564
if test -z "$lt_cv_path_MAGIC_CMD"; then
7565
if test -n "$ac_tool_prefix"; then
7566
{ $as_echo "$as_me:$LINENO: checking for file" >&5
7567
$as_echo_n "checking for file... " >&6; }
7568
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7569
$as_echo_n "(cached) " >&6
7573
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7576
lt_save_MAGIC_CMD="$MAGIC_CMD"
7577
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7578
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7579
for ac_dir in $ac_dummy; do
7581
test -z "$ac_dir" && ac_dir=.
7582
if test -f $ac_dir/file; then
7583
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7584
if test -n "$file_magic_test_file"; then
7585
case $deplibs_check_method in
7587
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7588
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7589
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7590
$EGREP "$file_magic_regex" > /dev/null; then
7595
*** Warning: the command libtool uses to detect shared libraries,
7596
*** $file_magic_cmd, produces output that libtool cannot recognize.
7597
*** The result is that libtool may fail to recognize shared libraries
7598
*** as such. This will affect the creation of libtool libraries that
7599
*** depend on shared libraries, but programs linked with such libtool
7600
*** libraries will work regardless of this problem. Nevertheless, you
7601
*** may want to report the problem to your system manager and/or to
7602
*** bug-libtool@gnu.org
7612
MAGIC_CMD="$lt_save_MAGIC_CMD"
7617
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7618
if test -n "$MAGIC_CMD"; then
7619
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7620
$as_echo "$MAGIC_CMD" >&6; }
7622
{ $as_echo "$as_me:$LINENO: result: no" >&5
7623
$as_echo "no" >&6; }
7636
# Use C for the default configuration in the libtool script
7640
ac_cpp='$CPP $CPPFLAGS'
7641
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7642
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7643
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7646
# Source file extension for C test sources.
7649
# Object file extension for compiled C test sources.
7653
# Code to be used in simple compile tests
7654
lt_simple_compile_test_code="int some_variable = 0;"
7656
# Code to be used in simple link tests
7657
lt_simple_link_test_code='int main(){return(0);}'
7665
# If no C compiler was specified, use CC.
7668
# If no C compiler flags were specified, use CFLAGS.
7669
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7671
# Allow CC to be a program name with arguments.
7674
# Save the default compiler, since it gets overwritten when the other
7675
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7676
compiler_DEFAULT=$CC
7678
# save warnings/boilerplate of simple test code
7679
ac_outfile=conftest.$ac_objext
7680
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7681
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7682
_lt_compiler_boilerplate=`cat conftest.err`
7685
ac_outfile=conftest.$ac_objext
7686
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7687
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7688
_lt_linker_boilerplate=`cat conftest.err`
7693
## There is no encapsulation within the following macros, do not change
7694
## the running order or otherwise move them around unless you know exactly
7695
## what you are doing...
7696
if test -n "$compiler"; then
7698
lt_prog_compiler_no_builtin_flag=
7700
if test "$GCC" = yes; then
7701
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7703
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7704
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7705
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7706
$as_echo_n "(cached) " >&6
7708
lt_cv_prog_compiler_rtti_exceptions=no
7709
ac_outfile=conftest.$ac_objext
7710
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7711
lt_compiler_flag="-fno-rtti -fno-exceptions"
7712
# Insert the option either (1) after the last *FLAGS variable, or
7713
# (2) before a word containing "conftest.", or (3) at the end.
7714
# Note that $ac_compile itself does not contain backslashes and begins
7715
# with a dollar sign (not a hyphen), so the echo should work correctly.
7716
# The option is referenced via a variable to avoid confusing sed.
7717
lt_compile=`echo "$ac_compile" | $SED \
7718
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7719
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7720
-e 's:$: $lt_compiler_flag:'`
7721
(eval echo "\"\$as_me:7721: $lt_compile\"" >&5)
7722
(eval "$lt_compile" 2>conftest.err)
7724
cat conftest.err >&5
7725
echo "$as_me:7725: \$? = $ac_status" >&5
7726
if (exit $ac_status) && test -s "$ac_outfile"; then
7727
# The compiler can only warn and ignore the option if not recognized
7728
# So say no if there are warnings other than the usual output.
7729
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7730
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7731
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7732
lt_cv_prog_compiler_rtti_exceptions=yes
7738
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7739
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7741
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7742
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7754
lt_prog_compiler_wl=
7755
lt_prog_compiler_pic=
7756
lt_prog_compiler_static=
7758
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7759
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7761
if test "$GCC" = yes; then
7762
lt_prog_compiler_wl='-Wl,'
7763
lt_prog_compiler_static='-static'
7767
# All AIX code is PIC.
7768
if test "$host_cpu" = ia64; then
7769
# AIX 5 now supports IA64 processor
7770
lt_prog_compiler_static='-Bstatic'
7777
# see comment about AmigaOS4 .so support
7778
lt_prog_compiler_pic='-fPIC'
7781
# FIXME: we need at least 68020 code to build shared libraries, but
7782
# adding the `-m68020' flag to GCC prevents building anything better,
7784
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7789
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7790
# PIC is the default for these OSes.
7793
mingw* | cygwin* | pw32* | os2* | cegcc*)
7794
# This hack is so that the source file can tell whether it is being
7795
# built for inclusion in a dll (and should export symbols for example).
7796
# Although the cygwin gcc ignores -fPIC, still need this for old-style
7797
# (--disable-auto-import) libraries
7798
lt_prog_compiler_pic='-DDLL_EXPORT'
7801
darwin* | rhapsody*)
7802
# PIC is the default on this platform
7803
# Common symbols not allowed in MH_DYLIB files
7804
lt_prog_compiler_pic='-fno-common'
7808
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7809
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7810
# sets the default TLS model and affects inlining.
7816
lt_prog_compiler_pic='-fPIC'
7822
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
7823
# Instead, we relocate shared libraries at runtime.
7827
# Just because we use GCC doesn't mean we suddenly get shared libraries
7828
# on systems that don't support them.
7829
lt_prog_compiler_can_build_shared=no
7834
# QNX uses GNU C++, but need to define -shared option too, otherwise
7836
lt_prog_compiler_pic='-fPIC -shared'
7840
if test -d /usr/nec; then
7841
lt_prog_compiler_pic=-Kconform_pic
7846
lt_prog_compiler_pic='-fPIC'
7850
# PORTME Check for flag to pass linker flags through the system compiler.
7853
lt_prog_compiler_wl='-Wl,'
7854
if test "$host_cpu" = ia64; then
7855
# AIX 5 now supports IA64 processor
7856
lt_prog_compiler_static='-Bstatic'
7858
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7862
mingw* | cygwin* | pw32* | os2* | cegcc*)
7863
# This hack is so that the source file can tell whether it is being
7864
# built for inclusion in a dll (and should export symbols for example).
7865
lt_prog_compiler_pic='-DDLL_EXPORT'
7868
hpux9* | hpux10* | hpux11*)
7869
lt_prog_compiler_wl='-Wl,'
7870
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7877
lt_prog_compiler_pic='+Z'
7880
# Is there a better lt_prog_compiler_static that works with the bundled CC?
7881
lt_prog_compiler_static='${wl}-a ${wl}archive'
7884
irix5* | irix6* | nonstopux*)
7885
lt_prog_compiler_wl='-Wl,'
7886
# PIC (with -KPIC) is the default.
7887
lt_prog_compiler_static='-non_shared'
7890
linux* | k*bsd*-gnu)
7891
case $cc_basename in
7892
# old Intel for x86_64 which still supported -KPIC.
7894
lt_prog_compiler_wl='-Wl,'
7895
lt_prog_compiler_pic='-KPIC'
7896
lt_prog_compiler_static='-static'
7898
# icc used to be incompatible with GCC.
7899
# ICC 10 doesn't accept -KPIC any more.
7901
lt_prog_compiler_wl='-Wl,'
7902
lt_prog_compiler_pic='-fPIC'
7903
lt_prog_compiler_static='-static'
7905
# Lahey Fortran 8.1.
7907
lt_prog_compiler_wl='-Wl,'
7908
lt_prog_compiler_pic='--shared'
7909
lt_prog_compiler_static='--static'
7911
pgcc* | pgf77* | pgf90* | pgf95*)
7912
# Portland Group compilers (*not* the Pentium gcc compiler,
7913
# which looks to be a dead project)
7914
lt_prog_compiler_wl='-Wl,'
7915
lt_prog_compiler_pic='-fpic'
7916
lt_prog_compiler_static='-Bstatic'
7919
lt_prog_compiler_wl='-Wl,'
7920
# All Alpha code is PIC.
7921
lt_prog_compiler_static='-non_shared'
7924
# IBM XL C 8.0/Fortran 10.1 on PPC
7925
lt_prog_compiler_wl='-Wl,'
7926
lt_prog_compiler_pic='-qpic'
7927
lt_prog_compiler_static='-qstaticlink'
7930
case `$CC -V 2>&1 | sed 5q` in
7933
lt_prog_compiler_pic='-KPIC'
7934
lt_prog_compiler_static='-Bstatic'
7935
lt_prog_compiler_wl='-Wl,'
7938
# Sun Fortran 8.3 passes all unrecognized flags to the linker
7939
lt_prog_compiler_pic='-KPIC'
7940
lt_prog_compiler_static='-Bstatic'
7941
lt_prog_compiler_wl=''
7949
lt_prog_compiler_pic='-KPIC'
7950
lt_prog_compiler_static='-Bstatic'
7954
# QNX uses GNU C++, but need to define -shared option too, otherwise
7956
lt_prog_compiler_pic='-fPIC -shared'
7959
osf3* | osf4* | osf5*)
7960
lt_prog_compiler_wl='-Wl,'
7961
# All OSF/1 code is PIC.
7962
lt_prog_compiler_static='-non_shared'
7966
lt_prog_compiler_static='-non_shared'
7970
lt_prog_compiler_pic='-KPIC'
7971
lt_prog_compiler_static='-Bstatic'
7972
case $cc_basename in
7974
lt_prog_compiler_wl='-Qoption ld ';;
7976
lt_prog_compiler_wl='-Wl,';;
7981
lt_prog_compiler_wl='-Qoption ld '
7982
lt_prog_compiler_pic='-PIC'
7983
lt_prog_compiler_static='-Bstatic'
7986
sysv4 | sysv4.2uw2* | sysv4.3*)
7987
lt_prog_compiler_wl='-Wl,'
7988
lt_prog_compiler_pic='-KPIC'
7989
lt_prog_compiler_static='-Bstatic'
7993
if test -d /usr/nec ;then
7994
lt_prog_compiler_pic='-Kconform_pic'
7995
lt_prog_compiler_static='-Bstatic'
7999
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8000
lt_prog_compiler_wl='-Wl,'
8001
lt_prog_compiler_pic='-KPIC'
8002
lt_prog_compiler_static='-Bstatic'
8006
lt_prog_compiler_wl='-Wl,'
8007
lt_prog_compiler_can_build_shared=no
8011
lt_prog_compiler_pic='-pic'
8012
lt_prog_compiler_static='-Bstatic'
8016
lt_prog_compiler_can_build_shared=no
8022
# For platforms which do not support PIC, -DPIC is meaningless:
8024
lt_prog_compiler_pic=
8027
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8030
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8031
$as_echo "$lt_prog_compiler_pic" >&6; }
8039
# Check to make sure the PIC flag actually works.
8041
if test -n "$lt_prog_compiler_pic"; then
8042
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8043
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8044
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8045
$as_echo_n "(cached) " >&6
8047
lt_cv_prog_compiler_pic_works=no
8048
ac_outfile=conftest.$ac_objext
8049
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8050
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8051
# Insert the option either (1) after the last *FLAGS variable, or
8052
# (2) before a word containing "conftest.", or (3) at the end.
8053
# Note that $ac_compile itself does not contain backslashes and begins
8054
# with a dollar sign (not a hyphen), so the echo should work correctly.
8055
# The option is referenced via a variable to avoid confusing sed.
8056
lt_compile=`echo "$ac_compile" | $SED \
8057
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8058
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8059
-e 's:$: $lt_compiler_flag:'`
8060
(eval echo "\"\$as_me:8060: $lt_compile\"" >&5)
8061
(eval "$lt_compile" 2>conftest.err)
8063
cat conftest.err >&5
8064
echo "$as_me:8064: \$? = $ac_status" >&5
8065
if (exit $ac_status) && test -s "$ac_outfile"; then
8066
# The compiler can only warn and ignore the option if not recognized
8067
# So say no if there are warnings other than the usual output.
8068
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8069
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8070
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8071
lt_cv_prog_compiler_pic_works=yes
8077
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8078
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8080
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8081
case $lt_prog_compiler_pic in
8083
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8086
lt_prog_compiler_pic=
8087
lt_prog_compiler_can_build_shared=no
8098
# Check to make sure the static flag actually works.
8100
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8101
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8102
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8103
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8104
$as_echo_n "(cached) " >&6
8106
lt_cv_prog_compiler_static_works=no
8107
save_LDFLAGS="$LDFLAGS"
8108
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8109
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8110
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8111
# The linker can only warn and ignore the option if not recognized
8112
# So say no if there are warnings
8113
if test -s conftest.err; then
8114
# Append any errors to the config.log.
8115
cat conftest.err 1>&5
8116
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8117
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8118
if diff conftest.exp conftest.er2 >/dev/null; then
8119
lt_cv_prog_compiler_static_works=yes
8122
lt_cv_prog_compiler_static_works=yes
8126
LDFLAGS="$save_LDFLAGS"
8129
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8130
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8132
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8135
lt_prog_compiler_static=
8144
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8145
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8146
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8147
$as_echo_n "(cached) " >&6
8149
lt_cv_prog_compiler_c_o=no
8150
$RM -r conftest 2>/dev/null
8154
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8156
lt_compiler_flag="-o out/conftest2.$ac_objext"
8157
# Insert the option either (1) after the last *FLAGS variable, or
8158
# (2) before a word containing "conftest.", or (3) at the end.
8159
# Note that $ac_compile itself does not contain backslashes and begins
8160
# with a dollar sign (not a hyphen), so the echo should work correctly.
8161
lt_compile=`echo "$ac_compile" | $SED \
8162
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8163
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8164
-e 's:$: $lt_compiler_flag:'`
8165
(eval echo "\"\$as_me:8165: $lt_compile\"" >&5)
8166
(eval "$lt_compile" 2>out/conftest.err)
8168
cat out/conftest.err >&5
8169
echo "$as_me:8169: \$? = $ac_status" >&5
8170
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8172
# The compiler can only warn and ignore the option if not recognized
8173
# So say no if there are warnings
8174
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8175
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8176
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8177
lt_cv_prog_compiler_c_o=yes
8182
# SGI C++ compiler will create directory out/ii_files/ for
8183
# template instantiation
8184
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8185
$RM out/* && rmdir out
8191
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8192
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8199
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8200
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8201
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8202
$as_echo_n "(cached) " >&6
8204
lt_cv_prog_compiler_c_o=no
8205
$RM -r conftest 2>/dev/null
8209
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8211
lt_compiler_flag="-o out/conftest2.$ac_objext"
8212
# Insert the option either (1) after the last *FLAGS variable, or
8213
# (2) before a word containing "conftest.", or (3) at the end.
8214
# Note that $ac_compile itself does not contain backslashes and begins
8215
# with a dollar sign (not a hyphen), so the echo should work correctly.
8216
lt_compile=`echo "$ac_compile" | $SED \
8217
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8218
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8219
-e 's:$: $lt_compiler_flag:'`
8220
(eval echo "\"\$as_me:8220: $lt_compile\"" >&5)
8221
(eval "$lt_compile" 2>out/conftest.err)
8223
cat out/conftest.err >&5
8224
echo "$as_me:8224: \$? = $ac_status" >&5
8225
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8227
# The compiler can only warn and ignore the option if not recognized
8228
# So say no if there are warnings
8229
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8230
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8231
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8232
lt_cv_prog_compiler_c_o=yes
8237
# SGI C++ compiler will create directory out/ii_files/ for
8238
# template instantiation
8239
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8240
$RM out/* && rmdir out
8246
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8247
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8252
hard_links="nottested"
8253
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8254
# do not overwrite the value of need_locks provided by the user
8255
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8256
$as_echo_n "checking if we can lock with hard links... " >&6; }
8259
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8261
ln conftest.a conftest.b 2>&5 || hard_links=no
8262
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8263
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8264
$as_echo "$hard_links" >&6; }
8265
if test "$hard_links" = no; then
8266
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8267
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8279
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8280
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8283
allow_undefined_flag=
8284
always_export_symbols=no
8286
archive_expsym_cmds=
8287
compiler_needs_object=no
8288
enable_shared_with_static_runtimes=no
8289
export_dynamic_flag_spec=
8290
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8291
hardcode_automatic=no
8293
hardcode_direct_absolute=no
8294
hardcode_libdir_flag_spec=
8295
hardcode_libdir_flag_spec_ld=
8296
hardcode_libdir_separator=
8298
hardcode_shlibpath_var=unsupported
8300
link_all_deplibs=unknown
8303
old_archive_from_new_cmds=
8304
old_archive_from_expsyms_cmds=
8305
thread_safe_flag_spec=
8306
whole_archive_flag_spec=
8307
# include_expsyms should be a list of space-separated symbols to be *always*
8308
# included in the symbol list
8310
# exclude_expsyms can be an extended regexp of symbols to exclude
8311
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8312
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8313
# as well as any symbol that contains `d'.
8314
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8315
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8316
# platforms (ab)use it in PIC code, but their linkers get confused if
8317
# the symbol is explicitly referenced. Since portable code cannot
8318
# rely on this symbol name, it's probably fine to never include it in
8319
# preloaded symbol tables.
8320
# Exclude shared library initialization/finalization symbols.
8321
extract_expsyms_cmds=
8324
cygwin* | mingw* | pw32* | cegcc*)
8325
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8326
# When not using gcc, we currently assume that we are using
8327
# Microsoft Visual C++.
8328
if test "$GCC" != yes; then
8333
# we just hope/assume this is gcc and not c89 (= MSVC++)
8339
linux* | k*bsd*-gnu)
8345
if test "$with_gnu_ld" = yes; then
8346
# If archive_cmds runs LD, not CC, wlarc should be empty
8349
# Set some defaults for GNU ld with shared library support. These
8350
# are reset later if shared libraries are not supported. Putting them
8351
# here allows them to be overridden if necessary.
8352
runpath_var=LD_RUN_PATH
8353
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8354
export_dynamic_flag_spec='${wl}--export-dynamic'
8355
# ancient GNU ld didn't support --whole-archive et. al.
8356
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8357
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8359
whole_archive_flag_spec=
8361
supports_anon_versioning=no
8362
case `$LD -v 2>&1` in
8363
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8364
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8365
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8366
*\ 2.11.*) ;; # other 2.11 versions
8367
*) supports_anon_versioning=yes ;;
8370
# See if GNU ld supports shared libraries.
8373
# On AIX/PPC, the GNU linker is very broken
8374
if test "$host_cpu" != ia64; then
8378
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8379
*** to be unable to reliably create shared libraries on AIX.
8380
*** Therefore, libtool is disabling shared libraries support. If you
8381
*** really care for shared libraries, you may want to modify your PATH
8382
*** so that a non-GNU linker is found, and then restart.
8391
# see comment about AmigaOS4 .so support
8392
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8393
archive_expsym_cmds=''
8396
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)'
8397
hardcode_libdir_flag_spec='-L$libdir'
8398
hardcode_minus_L=yes
8404
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8405
allow_undefined_flag=unsupported
8406
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8407
# support --undefined. This deserves some investigation. FIXME
8408
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8414
cygwin* | mingw* | pw32* | cegcc*)
8415
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8416
# as there is no search path for DLLs.
8417
hardcode_libdir_flag_spec='-L$libdir'
8418
allow_undefined_flag=unsupported
8419
always_export_symbols=no
8420
enable_shared_with_static_runtimes=yes
8421
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8423
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8424
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8425
# If the export-symbols file already is a .def file (1st line
8426
# is EXPORTS), use it as is; otherwise, prepend...
8427
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8428
cp $export_symbols $output_objdir/$soname.def;
8430
echo EXPORTS > $output_objdir/$soname.def;
8431
cat $export_symbols >> $output_objdir/$soname.def;
8433
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8441
hardcode_shlibpath_var=no
8442
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8443
export_dynamic_flag_spec='${wl}-E'
8444
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8445
# Instead, shared libraries are loaded at an image base (0x10000000 by
8446
# default) and relocated if they conflict, which is a slow very memory
8447
# consuming and fragmenting process. To avoid this, we pick a random,
8448
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8449
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8450
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8451
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'
8454
gnu* | linux* | tpf* | k*bsd*-gnu)
8456
if test "$host_os" = linux-dietlibc; then
8457
case $cc_basename in
8458
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8461
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8462
&& test "$tmp_diet" = no
8465
tmp_sharedflag='-shared'
8466
case $cc_basename,$host_cpu in
8467
pgcc*) # Portland Group C compiler
8468
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'
8469
tmp_addflag=' $pic_flag'
8471
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8472
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'
8473
tmp_addflag=' $pic_flag -Mnomain' ;;
8474
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8475
tmp_addflag=' -i_dynamic' ;;
8476
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8477
tmp_addflag=' -i_dynamic -nofor_main' ;;
8478
ifc* | ifort*) # Intel Fortran compiler
8479
tmp_addflag=' -nofor_main' ;;
8480
lf95*) # Lahey Fortran 8.1
8481
whole_archive_flag_spec=
8482
tmp_sharedflag='--shared' ;;
8483
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8484
tmp_sharedflag='-qmkshrobj'
8487
case `$CC -V 2>&1 | sed 5q` in
8488
*Sun\ C*) # Sun C 5.9
8489
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'
8490
compiler_needs_object=yes
8491
tmp_sharedflag='-G' ;;
8492
*Sun\ F*) # Sun Fortran 8.3
8493
tmp_sharedflag='-G' ;;
8495
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8497
if test "x$supports_anon_versioning" = xyes; then
8498
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8499
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8500
echo "local: *; };" >> $output_objdir/$libname.ver~
8501
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8504
case $cc_basename in
8506
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8507
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8508
hardcode_libdir_flag_spec=
8509
hardcode_libdir_flag_spec_ld='-rpath $libdir'
8510
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8511
if test "x$supports_anon_versioning" = xyes; then
8512
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8513
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8514
echo "local: *; };" >> $output_objdir/$libname.ver~
8515
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8524
netbsd* | netbsdelf*-gnu)
8525
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8526
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8529
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8530
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8535
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8539
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8540
*** create shared libraries on Solaris systems. Therefore, libtool
8541
*** is disabling shared libraries support. We urge you to upgrade GNU
8542
*** binutils to release 2.9.1 or newer. Another option is to modify
8543
*** your PATH or compiler configuration so that the native linker is
8544
*** used, and then restart.
8547
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8548
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8549
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8555
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8556
case `$LD -v 2>&1` in
8557
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8561
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8562
*** reliably create shared libraries on SCO systems. Therefore, libtool
8563
*** is disabling shared libraries support. We urge you to upgrade GNU
8564
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8565
*** your PATH or compiler configuration so that the native linker is
8566
*** used, and then restart.
8571
# For security reasons, it is highly recommended that you always
8572
# use absolute paths for naming shared libraries, and exclude the
8573
# DT_RUNPATH tag from executables and libraries. But doing so
8574
# requires that you compile everything twice, which is a pain.
8575
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8576
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8577
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8578
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8587
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8590
hardcode_shlibpath_var=no
8594
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8595
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8596
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8603
if test "$ld_shlibs" = no; then
8605
hardcode_libdir_flag_spec=
8606
export_dynamic_flag_spec=
8607
whole_archive_flag_spec=
8610
# PORTME fill in a description of your system's linker (not GNU ld)
8613
allow_undefined_flag=unsupported
8614
always_export_symbols=yes
8615
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'
8616
# Note: this linker hardcodes the directories in LIBPATH if there
8617
# are no directories specified by -L.
8618
hardcode_minus_L=yes
8619
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8620
# Neither direct hardcoding nor static linking is supported with a
8622
hardcode_direct=unsupported
8627
if test "$host_cpu" = ia64; then
8628
# On IA64, the linker does run time linking by default, so we don't
8629
# have to do anything special.
8630
aix_use_runtimelinking=no
8631
exp_sym_flag='-Bexport'
8634
# If we're using GNU nm, then we don't want the "-C" option.
8635
# -C means demangle to AIX nm, but means don't demangle with GNU nm
8636
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8637
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'
8639
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'
8641
aix_use_runtimelinking=no
8643
# Test if we are trying to use run time linking or normal
8644
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8645
# need to do runtime linking.
8646
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8647
for ld_flag in $LDFLAGS; do
8648
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8649
aix_use_runtimelinking=yes
8656
exp_sym_flag='-bexport'
8657
no_entry_flag='-bnoentry'
8660
# When large executables or shared objects are built, AIX ld can
8661
# have problems creating the table of contents. If linking a library
8662
# or program results in "error TOC overflow" add -mminimal-toc to
8663
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8664
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8668
hardcode_direct_absolute=yes
8669
hardcode_libdir_separator=':'
8670
link_all_deplibs=yes
8671
file_list_spec='${wl}-f,'
8673
if test "$GCC" = yes; then
8674
case $host_os in aix4.[012]|aix4.[012].*)
8675
# We only want to do this on AIX 4.2 and lower, the check
8676
# below for broken collect2 doesn't work under 4.3+
8677
collect2name=`${CC} -print-prog-name=collect2`
8678
if test -f "$collect2name" &&
8679
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8681
# We have reworked collect2
8684
# We have old collect2
8685
hardcode_direct=unsupported
8686
# It fails to find uninstalled libraries when the uninstalled
8687
# path is not listed in the libpath. Setting hardcode_minus_L
8688
# to unsupported forces relinking
8689
hardcode_minus_L=yes
8690
hardcode_libdir_flag_spec='-L$libdir'
8691
hardcode_libdir_separator=
8695
shared_flag='-shared'
8696
if test "$aix_use_runtimelinking" = yes; then
8697
shared_flag="$shared_flag "'${wl}-G'
8702
if test "$host_cpu" = ia64; then
8703
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8704
# chokes on -Wl,-G. The following line is correct:
8707
if test "$aix_use_runtimelinking" = yes; then
8708
shared_flag='${wl}-G'
8710
shared_flag='${wl}-bM:SRE'
8715
export_dynamic_flag_spec='${wl}-bexpall'
8716
# It seems that -bexpall does not export symbols beginning with
8717
# underscore (_), so it is better to generate a list of symbols to export.
8718
always_export_symbols=yes
8719
if test "$aix_use_runtimelinking" = yes; then
8720
# Warning - without using the other runtime loading flags (-brtl),
8721
# -berok will link without error, but may produce a broken library.
8722
allow_undefined_flag='-berok'
8723
# Determine the default libpath from the value encoded in an
8725
cat >conftest.$ac_ext <<_ACEOF
8728
cat confdefs.h >>conftest.$ac_ext
8729
cat >>conftest.$ac_ext <<_ACEOF
8730
/* end confdefs.h. */
8740
rm -f conftest.$ac_objext conftest$ac_exeext
8741
if { (ac_try="$ac_link"
8743
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8744
*) ac_try_echo=$ac_try;;
8746
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8747
$as_echo "$ac_try_echo") >&5
8748
(eval "$ac_link") 2>conftest.er1
8750
grep -v '^ *+' conftest.er1 >conftest.err
8752
cat conftest.err >&5
8753
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754
(exit $ac_status); } && {
8755
test -z "$ac_c_werror_flag" ||
8756
test ! -s conftest.err
8757
} && test -s conftest$ac_exeext && {
8758
test "$cross_compiling" = yes ||
8759
$as_test_x conftest$ac_exeext
8762
lt_aix_libpath_sed='
8763
/Import File Strings/,/^$/ {
8769
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8770
# Check for a 64-bit object if we didn't find anything.
8771
if test -z "$aix_libpath"; then
8772
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8775
$as_echo "$as_me: failed program was:" >&5
8776
sed 's/^/| /' conftest.$ac_ext >&5
8781
rm -rf conftest.dSYM
8782
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8783
conftest$ac_exeext conftest.$ac_ext
8784
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8786
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8787
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"
8789
if test "$host_cpu" = ia64; then
8790
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8791
allow_undefined_flag="-z nodefs"
8792
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"
8794
# Determine the default libpath from the value encoded in an
8796
cat >conftest.$ac_ext <<_ACEOF
8799
cat confdefs.h >>conftest.$ac_ext
8800
cat >>conftest.$ac_ext <<_ACEOF
8801
/* end confdefs.h. */
8811
rm -f conftest.$ac_objext conftest$ac_exeext
8812
if { (ac_try="$ac_link"
8814
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8815
*) ac_try_echo=$ac_try;;
8817
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8818
$as_echo "$ac_try_echo") >&5
8819
(eval "$ac_link") 2>conftest.er1
8821
grep -v '^ *+' conftest.er1 >conftest.err
8823
cat conftest.err >&5
8824
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8825
(exit $ac_status); } && {
8826
test -z "$ac_c_werror_flag" ||
8827
test ! -s conftest.err
8828
} && test -s conftest$ac_exeext && {
8829
test "$cross_compiling" = yes ||
8830
$as_test_x conftest$ac_exeext
8833
lt_aix_libpath_sed='
8834
/Import File Strings/,/^$/ {
8840
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8841
# Check for a 64-bit object if we didn't find anything.
8842
if test -z "$aix_libpath"; then
8843
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8846
$as_echo "$as_me: failed program was:" >&5
8847
sed 's/^/| /' conftest.$ac_ext >&5
8852
rm -rf conftest.dSYM
8853
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8854
conftest$ac_exeext conftest.$ac_ext
8855
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8857
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8858
# Warning - without using the other run time loading flags,
8859
# -berok will link without error, but may produce a broken library.
8860
no_undefined_flag=' ${wl}-bernotok'
8861
allow_undefined_flag=' ${wl}-berok'
8862
# Exported symbols can be pulled into shared objects from archives
8863
whole_archive_flag_spec='$convenience'
8864
archive_cmds_need_lc=yes
8865
# This is similar to how AIX traditionally builds its shared libraries.
8866
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'
8874
# see comment about AmigaOS4 .so support
8875
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8876
archive_expsym_cmds=''
8879
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)'
8880
hardcode_libdir_flag_spec='-L$libdir'
8881
hardcode_minus_L=yes
8887
export_dynamic_flag_spec=-rdynamic
8890
cygwin* | mingw* | pw32* | cegcc*)
8891
# When not using gcc, we currently assume that we are using
8892
# Microsoft Visual C++.
8893
# hardcode_libdir_flag_spec is actually meaningless, as there is
8894
# no search path for DLLs.
8895
hardcode_libdir_flag_spec=' '
8896
allow_undefined_flag=unsupported
8897
# Tell ltmain to make .lib files, not .a files.
8899
# Tell ltmain to make .dll files, not .so files.
8901
# FIXME: Setting linknames here is a bad hack.
8902
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8903
# The linker will automatically build a .lib file if we build a DLL.
8904
old_archive_from_new_cmds='true'
8905
# FIXME: Should let the user specify the lib program.
8906
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8907
fix_srcfile_path='`cygpath -w "$srcfile"`'
8908
enable_shared_with_static_runtimes=yes
8911
darwin* | rhapsody*)
8914
archive_cmds_need_lc=no
8916
hardcode_automatic=yes
8917
hardcode_shlibpath_var=unsupported
8918
whole_archive_flag_spec=''
8919
link_all_deplibs=yes
8920
allow_undefined_flag="$_lt_dar_allow_undefined"
8921
case $cc_basename in
8922
ifort*) _lt_dar_can_shared=yes ;;
8923
*) _lt_dar_can_shared=$GCC ;;
8925
if test "$_lt_dar_can_shared" = "yes"; then
8926
output_verbose_link_cmd=echo
8927
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8928
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8929
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}"
8930
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}"
8939
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8940
hardcode_libdir_flag_spec='-L$libdir'
8941
hardcode_shlibpath_var=no
8948
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8949
# support. Future versions do this automatically, but an explicit c++rt0.o
8950
# does not break anything, and helps significantly (at the cost of a little
8953
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8954
hardcode_libdir_flag_spec='-R$libdir'
8956
hardcode_shlibpath_var=no
8959
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
8961
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8963
hardcode_minus_L=yes
8964
hardcode_shlibpath_var=no
8967
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8968
freebsd* | dragonfly*)
8969
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8970
hardcode_libdir_flag_spec='-R$libdir'
8972
hardcode_shlibpath_var=no
8976
if test "$GCC" = yes; then
8977
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'
8979
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'
8981
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8982
hardcode_libdir_separator=:
8985
# hardcode_minus_L: Not really in the search PATH,
8986
# but as the default location of the library.
8987
hardcode_minus_L=yes
8988
export_dynamic_flag_spec='${wl}-E'
8992
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8993
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8995
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8997
if test "$with_gnu_ld" = no; then
8998
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8999
hardcode_libdir_flag_spec_ld='+b $libdir'
9000
hardcode_libdir_separator=:
9002
hardcode_direct_absolute=yes
9003
export_dynamic_flag_spec='${wl}-E'
9004
# hardcode_minus_L: Not really in the search PATH,
9005
# but as the default location of the library.
9006
hardcode_minus_L=yes
9011
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9014
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9017
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9020
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9026
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9029
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9032
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9036
if test "$with_gnu_ld" = no; then
9037
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9038
hardcode_libdir_separator=:
9043
hardcode_shlibpath_var=no
9047
hardcode_direct_absolute=yes
9048
export_dynamic_flag_spec='${wl}-E'
9050
# hardcode_minus_L: Not really in the search PATH,
9051
# but as the default location of the library.
9052
hardcode_minus_L=yes
9058
irix5* | irix6* | nonstopux*)
9059
if test "$GCC" = yes; then
9060
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'
9061
# Try to use the -exported_symbol ld option, if it does not
9062
# work, assume that -exports_file does not work either and
9063
# implicitly export all symbols.
9064
save_LDFLAGS="$LDFLAGS"
9065
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9066
cat >conftest.$ac_ext <<_ACEOF
9069
rm -f conftest.$ac_objext conftest$ac_exeext
9070
if { (ac_try="$ac_link"
9072
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9073
*) ac_try_echo=$ac_try;;
9075
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9076
$as_echo "$ac_try_echo") >&5
9077
(eval "$ac_link") 2>conftest.er1
9079
grep -v '^ *+' conftest.er1 >conftest.err
9081
cat conftest.err >&5
9082
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083
(exit $ac_status); } && {
9084
test -z "$ac_c_werror_flag" ||
9085
test ! -s conftest.err
9086
} && test -s conftest$ac_exeext && {
9087
test "$cross_compiling" = yes ||
9088
$as_test_x conftest$ac_exeext
9090
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'
9093
$as_echo "$as_me: failed program was:" >&5
9094
sed 's/^/| /' conftest.$ac_ext >&5
9099
rm -rf conftest.dSYM
9100
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9101
conftest$ac_exeext conftest.$ac_ext
9102
LDFLAGS="$save_LDFLAGS"
9104
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'
9105
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'
9107
archive_cmds_need_lc='no'
9108
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9109
hardcode_libdir_separator=:
9111
link_all_deplibs=yes
9114
netbsd* | netbsdelf*-gnu)
9115
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9116
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9118
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9120
hardcode_libdir_flag_spec='-R$libdir'
9122
hardcode_shlibpath_var=no
9126
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9128
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9129
hardcode_libdir_separator=:
9130
hardcode_shlibpath_var=no
9137
if test -f /usr/libexec/ld.so; then
9139
hardcode_shlibpath_var=no
9140
hardcode_direct_absolute=yes
9141
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9142
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9143
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9144
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9145
export_dynamic_flag_spec='${wl}-E'
9148
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9149
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9150
hardcode_libdir_flag_spec='-R$libdir'
9153
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9154
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9164
hardcode_libdir_flag_spec='-L$libdir'
9165
hardcode_minus_L=yes
9166
allow_undefined_flag=unsupported
9167
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'
9168
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9172
if test "$GCC" = yes; then
9173
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9174
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'
9176
allow_undefined_flag=' -expect_unresolved \*'
9177
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'
9179
archive_cmds_need_lc='no'
9180
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9181
hardcode_libdir_separator=:
9184
osf4* | osf5*) # as osf3* with the addition of -msym flag
9185
if test "$GCC" = yes; then
9186
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9187
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'
9188
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9190
allow_undefined_flag=' -expect_unresolved \*'
9191
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'
9192
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~
9193
$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'
9195
# Both c and cxx compiler support -rpath directly
9196
hardcode_libdir_flag_spec='-rpath $libdir'
9198
archive_cmds_need_lc='no'
9199
hardcode_libdir_separator=:
9203
no_undefined_flag=' -z defs'
9204
if test "$GCC" = yes; then
9206
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9207
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9208
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9210
case `$CC -V 2>&1` in
9213
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9214
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9215
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9219
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9220
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9221
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9225
hardcode_libdir_flag_spec='-R$libdir'
9226
hardcode_shlibpath_var=no
9228
solaris2.[0-5] | solaris2.[0-5].*) ;;
9230
# The compiler driver will combine and reorder linker options,
9231
# but understands `-z linker_flag'. GCC discards it without `$wl',
9232
# but is careful enough not to reorder.
9233
# Supported since Solaris 2.6 (maybe 2.5.1?)
9234
if test "$GCC" = yes; then
9235
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9237
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9241
link_all_deplibs=yes
9245
if test "x$host_vendor" = xsequent; then
9246
# Use $CC to link under sequent, because it throws in some extra .o
9247
# files that make .init and .fini sections work.
9248
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9250
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9252
hardcode_libdir_flag_spec='-L$libdir'
9254
hardcode_minus_L=yes
9255
hardcode_shlibpath_var=no
9259
case $host_vendor in
9261
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9262
hardcode_direct=yes # is this really true???
9265
## LD is ld it makes a PLAMLIB
9266
## CC just makes a GrossModule.
9267
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9268
reload_cmds='$CC -r -o $output$reload_objs'
9272
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9273
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9276
runpath_var='LD_RUN_PATH'
9277
hardcode_shlibpath_var=no
9281
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9282
hardcode_shlibpath_var=no
9283
export_dynamic_flag_spec='-Bexport'
9287
if test -d /usr/nec; then
9288
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9289
hardcode_shlibpath_var=no
9290
runpath_var=LD_RUN_PATH
9291
hardcode_runpath_var=yes
9296
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9297
no_undefined_flag='${wl}-z,text'
9298
archive_cmds_need_lc=no
9299
hardcode_shlibpath_var=no
9300
runpath_var='LD_RUN_PATH'
9302
if test "$GCC" = yes; then
9303
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9304
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9306
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9307
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9311
sysv5* | sco3.2v5* | sco5v6*)
9312
# Note: We can NOT use -z defs as we might desire, because we do not
9313
# link with -lc, and that would cause any symbols used from libc to
9314
# always be unresolved, which means just about no library would
9315
# ever link correctly. If we're not using GNU ld we use -z text
9316
# though, which does catch some bad symbols but isn't as heavy-handed
9318
no_undefined_flag='${wl}-z,text'
9319
allow_undefined_flag='${wl}-z,nodefs'
9320
archive_cmds_need_lc=no
9321
hardcode_shlibpath_var=no
9322
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9323
hardcode_libdir_separator=':'
9324
link_all_deplibs=yes
9325
export_dynamic_flag_spec='${wl}-Bexport'
9326
runpath_var='LD_RUN_PATH'
9328
if test "$GCC" = yes; then
9329
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9330
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9332
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9333
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9338
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9339
hardcode_libdir_flag_spec='-L$libdir'
9340
hardcode_shlibpath_var=no
9348
if test x$host_vendor = xsni; then
9350
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9351
export_dynamic_flag_spec='${wl}-Blargedynsym'
9357
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9358
$as_echo "$ld_shlibs" >&6; }
9359
test "$ld_shlibs" = no && can_build_shared=no
9361
with_gnu_ld=$with_gnu_ld
9378
# Do we need to explicitly link libc?
9380
case "x$archive_cmds_need_lc" in
9382
# Assume -lc should be added
9383
archive_cmds_need_lc=yes
9385
if test "$enable_shared" = yes && test "$GCC" = yes; then
9386
case $archive_cmds in
9388
# FIXME: we may have to deal with multi-command sequences.
9391
# Test whether the compiler implicitly links with -lc since on some
9392
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9393
# to ld, don't add -lc before -lgcc.
9394
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9395
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9397
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9399
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9400
(eval $ac_compile) 2>&5
9402
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9403
(exit $ac_status); } 2>conftest.err; then
9406
libobjs=conftest.$ac_objext
9408
wl=$lt_prog_compiler_wl
9409
pic_flag=$lt_prog_compiler_pic
9415
lt_save_allow_undefined_flag=$allow_undefined_flag
9416
allow_undefined_flag=
9417
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9418
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9420
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421
(exit $ac_status); }
9423
archive_cmds_need_lc=no
9425
archive_cmds_need_lc=yes
9427
allow_undefined_flag=$lt_save_allow_undefined_flag
9429
cat conftest.err 1>&5
9432
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9433
$as_echo "$archive_cmds_need_lc" >&6; }
9596
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9597
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9599
if test "$GCC" = yes; then
9601
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9602
*) lt_awk_arg="/^libraries:/" ;;
9604
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9605
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9606
# if the path contains ";" then we assume it to be the separator
9607
# otherwise default to the standard path separator (i.e. ":") - it is
9608
# assumed that no part of a normal pathname contains ";" but that should
9609
# okay in the real world where ";" in dirpaths is itself problematic.
9610
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9612
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9614
# Ok, now we have the path, separated by spaces, we can step through it
9615
# and add multilib dir if necessary.
9616
lt_tmp_lt_search_path_spec=
9617
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9618
for lt_sys_path in $lt_search_path_spec; do
9619
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9620
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9622
test -d "$lt_sys_path" && \
9623
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9626
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9627
BEGIN {RS=" "; FS="/|\n";} {
9630
for (lt_i = NF; lt_i > 0; lt_i--) {
9631
if ($lt_i != "" && $lt_i != ".") {
9632
if ($lt_i == "..") {
9635
if (lt_count == 0) {
9636
lt_foo="/" $lt_i lt_foo;
9643
if (lt_foo != "") { lt_freq[lt_foo]++; }
9644
if (lt_freq[lt_foo] == 1) { print lt_foo; }
9646
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9648
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9651
libname_spec='lib$name'
9659
shlibpath_overrides_runpath=unknown
9661
dynamic_linker="$host_os ld.so"
9662
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9663
need_lib_prefix=unknown
9664
hardcode_into_libs=no
9666
# when you set need_version to no, make sure it does not cause -set_version
9667
# flags to be left without arguments
9668
need_version=unknown
9673
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9674
shlibpath_var=LIBPATH
9676
# AIX 3 has no versioning support, so we append a major version to the name.
9677
soname_spec='${libname}${release}${shared_ext}$major'
9684
hardcode_into_libs=yes
9685
if test "$host_cpu" = ia64; then
9686
# AIX 5 supports IA64
9687
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9688
shlibpath_var=LD_LIBRARY_PATH
9690
# With GCC up to 2.95.x, collect2 would create an import file
9691
# for dependence libraries. The import file would start with
9692
# the line `#! .'. This would cause the generated library to
9693
# depend on `.', always an invalid library. This was fixed in
9694
# development snapshots of GCC prior to 3.0.
9696
aix4 | aix4.[01] | aix4.[01].*)
9697
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9699
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9706
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9707
# soname into executable. Probably we can add versioning support to
9708
# collect2, so additional links can be useful in future.
9709
if test "$aix_use_runtimelinking" = yes; then
9710
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
9711
# instead of lib<name>.a to let people know that these are not
9712
# typical AIX shared libraries.
9713
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9715
# We preserve .a as extension for shared libraries through AIX4.2
9716
# and later when we are not doing run time linking.
9717
library_names_spec='${libname}${release}.a $libname.a'
9718
soname_spec='${libname}${release}${shared_ext}$major'
9720
shlibpath_var=LIBPATH
9727
# Since July 2007 AmigaOS4 officially supports .so libraries.
9728
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9729
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9732
library_names_spec='$libname.ixlibrary $libname.a'
9733
# Create ${libname}_ixlibrary.a entries in /sys/libs.
9734
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'
9740
library_names_spec='${libname}${shared_ext}'
9741
dynamic_linker="$host_os ld.so"
9742
shlibpath_var=LIBRARY_PATH
9748
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9749
soname_spec='${libname}${release}${shared_ext}$major'
9750
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9751
shlibpath_var=LD_LIBRARY_PATH
9752
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9753
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9754
# the default ld.so.conf also contains /usr/contrib/lib and
9755
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9756
# libtool to hard-code these into programs
9759
cygwin* | mingw* | pw32* | cegcc*)
9760
version_type=windows
9765
case $GCC,$host_os in
9766
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9767
library_names_spec='$libname.dll.a'
9768
# DLL is installed to $(libdir)/../bin by postinstall_cmds
9769
postinstall_cmds='base_file=`basename \${file}`~
9770
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9771
dldir=$destdir/`dirname \$dlpath`~
9772
test -d \$dldir || mkdir -p \$dldir~
9773
$install_prog $dir/$dlname \$dldir/$dlname~
9774
chmod a+x \$dldir/$dlname~
9775
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9776
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9778
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9779
dlpath=$dir/\$dldll~
9781
shlibpath_overrides_runpath=yes
9785
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9786
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9787
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9790
# MinGW DLLs use traditional 'lib' prefix
9791
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9792
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9793
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9794
# It is most probably a Windows format PATH printed by
9795
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9796
# path with ; separators, and with drive letters. We can handle the
9797
# drive letters (cygwin fileutils understands them), so leave them,
9798
# especially as we might pass files found there to a mingw objdump,
9799
# which wouldn't understand a cygwinified path. Ahh.
9800
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9802
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9806
# pw32 DLLs use 'pw' prefix rather than 'lib'
9807
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9813
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9816
dynamic_linker='Win32 ld.exe'
9817
# FIXME: first we should search . and the directory the executable is in
9821
darwin* | rhapsody*)
9822
dynamic_linker="$host_os dyld"
9826
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9827
soname_spec='${libname}${release}${major}$shared_ext'
9828
shlibpath_overrides_runpath=yes
9829
shlibpath_var=DYLD_LIBRARY_PATH
9830
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9832
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9833
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9840
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9841
soname_spec='${libname}${release}${shared_ext}$major'
9842
shlibpath_var=LD_LIBRARY_PATH
9849
freebsd* | dragonfly*)
9850
# DragonFly does not have aout. When/if they implement a new
9851
# versioning mechanism, adjust this.
9852
if test -x /usr/bin/objformat; then
9853
objformat=`/usr/bin/objformat`
9856
freebsd[123]*) objformat=aout ;;
9860
version_type=freebsd-$objformat
9861
case $version_type in
9863
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9868
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9872
shlibpath_var=LD_LIBRARY_PATH
9875
shlibpath_overrides_runpath=yes
9877
freebsd3.[01]* | freebsdelf3.[01]*)
9878
shlibpath_overrides_runpath=yes
9879
hardcode_into_libs=yes
9881
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9882
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9883
shlibpath_overrides_runpath=no
9884
hardcode_into_libs=yes
9886
*) # from 4.6 on, and DragonFly
9887
shlibpath_overrides_runpath=yes
9888
hardcode_into_libs=yes
9897
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9898
soname_spec='${libname}${release}${shared_ext}$major'
9899
shlibpath_var=LD_LIBRARY_PATH
9900
hardcode_into_libs=yes
9903
hpux9* | hpux10* | hpux11*)
9904
# Give a soname corresponding to the major version so that dld.sl refuses to
9905
# link against other versions.
9912
hardcode_into_libs=yes
9913
dynamic_linker="$host_os dld.so"
9914
shlibpath_var=LD_LIBRARY_PATH
9915
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9916
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9917
soname_spec='${libname}${release}${shared_ext}$major'
9918
if test "X$HPUX_IA64_MODE" = X32; then
9919
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9921
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9923
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9927
hardcode_into_libs=yes
9928
dynamic_linker="$host_os dld.sl"
9929
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9930
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9931
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9932
soname_spec='${libname}${release}${shared_ext}$major'
9933
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9934
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9938
dynamic_linker="$host_os dld.sl"
9939
shlibpath_var=SHLIB_PATH
9940
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9941
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9942
soname_spec='${libname}${release}${shared_ext}$major'
9945
# HP-UX runs *really* slowly unless shared libraries are mode 555.
9946
postinstall_cmds='chmod 555 $lib'
9953
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9954
soname_spec='${libname}${release}${shared_ext}$major'
9955
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9956
shlibpath_var=LD_LIBRARY_PATH
9957
shlibpath_overrides_runpath=no
9958
hardcode_into_libs=yes
9961
irix5* | irix6* | nonstopux*)
9963
nonstopux*) version_type=nonstopux ;;
9965
if test "$lt_cv_prog_gnu_ld" = yes; then
9973
soname_spec='${libname}${release}${shared_ext}$major'
9974
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9976
irix5* | nonstopux*)
9980
case $LD in # libtool.m4 will add one of these switches to LD
9981
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9982
libsuff= shlibsuff= libmagic=32-bit;;
9983
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9984
libsuff=32 shlibsuff=N32 libmagic=N32;;
9985
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9986
libsuff=64 shlibsuff=64 libmagic=64-bit;;
9987
*) libsuff= shlibsuff= libmagic=never-match;;
9991
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9992
shlibpath_overrides_runpath=no
9993
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9994
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9995
hardcode_into_libs=yes
9998
# No shared lib support for Linux oldld, aout, or coff.
9999
linux*oldld* | linux*aout* | linux*coff*)
10003
# This must be Linux ELF.
10004
linux* | k*bsd*-gnu)
10008
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10009
soname_spec='${libname}${release}${shared_ext}$major'
10010
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10011
shlibpath_var=LD_LIBRARY_PATH
10012
shlibpath_overrides_runpath=no
10013
# Some binutils ld are patched to set DT_RUNPATH
10014
save_LDFLAGS=$LDFLAGS
10015
save_libdir=$libdir
10016
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10017
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10018
cat >conftest.$ac_ext <<_ACEOF
10021
cat confdefs.h >>conftest.$ac_ext
10022
cat >>conftest.$ac_ext <<_ACEOF
10023
/* end confdefs.h. */
10033
rm -f conftest.$ac_objext conftest$ac_exeext
10034
if { (ac_try="$ac_link"
10035
case "(($ac_try" in
10036
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10037
*) ac_try_echo=$ac_try;;
10039
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10040
$as_echo "$ac_try_echo") >&5
10041
(eval "$ac_link") 2>conftest.er1
10043
grep -v '^ *+' conftest.er1 >conftest.err
10045
cat conftest.err >&5
10046
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047
(exit $ac_status); } && {
10048
test -z "$ac_c_werror_flag" ||
10049
test ! -s conftest.err
10050
} && test -s conftest$ac_exeext && {
10051
test "$cross_compiling" = yes ||
10052
$as_test_x conftest$ac_exeext
10054
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10055
shlibpath_overrides_runpath=yes
10059
$as_echo "$as_me: failed program was:" >&5
10060
sed 's/^/| /' conftest.$ac_ext >&5
10065
rm -rf conftest.dSYM
10066
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10067
conftest$ac_exeext conftest.$ac_ext
10068
LDFLAGS=$save_LDFLAGS
10069
libdir=$save_libdir
10071
# This implies no fast_install, which is unacceptable.
10072
# Some rework will be needed to allow for fast_install
10073
# before this can be enabled.
10074
hardcode_into_libs=yes
10076
# Append ld.so.conf contents to the search path
10077
if test -f /etc/ld.so.conf; then
10078
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' ' '`
10079
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10082
# We used to test for /lib/ld.so.1 and disable shared libraries on
10083
# powerpc, because MkLinux only supported shared libraries with the
10084
# GNU dynamic linker. Since this was broken with cross compilers,
10085
# most powerpc-linux boxes support dynamic linking these days and
10086
# people can always --disable-shared, the test was removed, and we
10087
# assume the GNU/Linux dynamic linker is in use.
10088
dynamic_linker='GNU/Linux ld.so'
10095
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10096
soname_spec='${libname}${release}${shared_ext}$major'
10097
shlibpath_var=LD_LIBRARY_PATH
10098
shlibpath_overrides_runpath=no
10099
hardcode_into_libs=yes
10100
dynamic_linker='NetBSD ld.elf_so'
10107
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10108
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10109
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10110
dynamic_linker='NetBSD (a.out) ld.so'
10112
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10113
soname_spec='${libname}${release}${shared_ext}$major'
10114
dynamic_linker='NetBSD ld.elf_so'
10116
shlibpath_var=LD_LIBRARY_PATH
10117
shlibpath_overrides_runpath=yes
10118
hardcode_into_libs=yes
10123
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10124
shlibpath_var=LD_LIBRARY_PATH
10125
shlibpath_overrides_runpath=yes
10132
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10133
soname_spec='${libname}${release}${shared_ext}$major'
10134
shlibpath_var=LD_LIBRARY_PATH
10135
shlibpath_overrides_runpath=no
10136
hardcode_into_libs=yes
10137
dynamic_linker='ldqnx.so'
10142
sys_lib_dlsearch_path_spec="/usr/lib"
10144
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10146
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10147
*) need_version=no ;;
10149
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10150
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10151
shlibpath_var=LD_LIBRARY_PATH
10152
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10154
openbsd2.[89] | openbsd2.[89].*)
10155
shlibpath_overrides_runpath=no
10158
shlibpath_overrides_runpath=yes
10162
shlibpath_overrides_runpath=yes
10167
libname_spec='$name'
10170
library_names_spec='$libname${shared_ext} $libname.a'
10171
dynamic_linker='OS/2 ld.exe'
10172
shlibpath_var=LIBPATH
10175
osf3* | osf4* | osf5*)
10179
soname_spec='${libname}${release}${shared_ext}$major'
10180
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10181
shlibpath_var=LD_LIBRARY_PATH
10182
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10183
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10194
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10195
soname_spec='${libname}${release}${shared_ext}$major'
10196
shlibpath_var=LD_LIBRARY_PATH
10197
shlibpath_overrides_runpath=yes
10198
hardcode_into_libs=yes
10199
# ldd complains unless libraries are executable
10200
postinstall_cmds='chmod +x $lib'
10205
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10206
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10207
shlibpath_var=LD_LIBRARY_PATH
10208
shlibpath_overrides_runpath=yes
10209
if test "$with_gnu_ld" = yes; then
10217
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10218
soname_spec='${libname}${release}${shared_ext}$major'
10219
shlibpath_var=LD_LIBRARY_PATH
10220
case $host_vendor in
10222
shlibpath_overrides_runpath=no
10224
runpath_var=LD_RUN_PATH
10232
shlibpath_overrides_runpath=no
10233
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10239
if test -d /usr/nec ;then
10241
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10242
soname_spec='$libname${shared_ext}.$major'
10243
shlibpath_var=LD_LIBRARY_PATH
10247
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10248
version_type=freebsd-elf
10251
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10252
soname_spec='${libname}${release}${shared_ext}$major'
10253
shlibpath_var=LD_LIBRARY_PATH
10254
shlibpath_overrides_runpath=yes
10255
hardcode_into_libs=yes
10256
if test "$with_gnu_ld" = yes; then
10257
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10259
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10262
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10266
sys_lib_dlsearch_path_spec='/usr/lib'
10270
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10274
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10275
shlibpath_var=LD_LIBRARY_PATH
10276
shlibpath_overrides_runpath=no
10277
hardcode_into_libs=yes
10282
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10283
soname_spec='${libname}${release}${shared_ext}$major'
10284
shlibpath_var=LD_LIBRARY_PATH
10291
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10292
$as_echo "$dynamic_linker" >&6; }
10293
test "$dynamic_linker" = no && can_build_shared=no
10295
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10296
if test "$GCC" = yes; then
10297
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10300
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10301
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10303
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10304
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10393
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10394
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10396
if test -n "$hardcode_libdir_flag_spec" ||
10397
test -n "$runpath_var" ||
10398
test "X$hardcode_automatic" = "Xyes" ; then
10400
# We can hardcode non-existent directories.
10401
if test "$hardcode_direct" != no &&
10402
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10403
# have to relink, otherwise we might link with an installed library
10404
# when we should be linking with a yet-to-be-installed one
10405
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10406
test "$hardcode_minus_L" != no; then
10407
# Linking always hardcodes the temporary library directory.
10408
hardcode_action=relink
10410
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10411
hardcode_action=immediate
10414
# We cannot hardcode anything, or else we can only hardcode existing
10416
hardcode_action=unsupported
10418
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10419
$as_echo "$hardcode_action" >&6; }
10421
if test "$hardcode_action" = relink ||
10422
test "$inherit_rpath" = yes; then
10423
# Fast installation is not supported
10424
enable_fast_install=no
10425
elif test "$shlibpath_overrides_runpath" = yes ||
10426
test "$enable_shared" = no; then
10427
# Fast installation is not necessary
10428
enable_fast_install=needless
10436
if test "x$enable_dlopen" != xyes; then
10437
enable_dlopen=unknown
10438
enable_dlopen_self=unknown
10439
enable_dlopen_self_static=unknown
10446
lt_cv_dlopen="load_add_on"
10448
lt_cv_dlopen_self=yes
10451
mingw* | pw32* | cegcc*)
10452
lt_cv_dlopen="LoadLibrary"
10457
lt_cv_dlopen="dlopen"
10462
# if libdl is installed we need to link against it
10463
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10464
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10465
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10466
$as_echo_n "(cached) " >&6
10468
ac_check_lib_save_LIBS=$LIBS
10470
cat >conftest.$ac_ext <<_ACEOF
10473
cat confdefs.h >>conftest.$ac_ext
10474
cat >>conftest.$ac_ext <<_ACEOF
10475
/* end confdefs.h. */
10477
/* Override any GCC internal prototype to avoid an error.
10478
Use char because int might match the return type of a GCC
10479
builtin and then its argument prototype would still apply. */
10492
rm -f conftest.$ac_objext conftest$ac_exeext
10493
if { (ac_try="$ac_link"
10494
case "(($ac_try" in
10495
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10496
*) ac_try_echo=$ac_try;;
10498
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10499
$as_echo "$ac_try_echo") >&5
10500
(eval "$ac_link") 2>conftest.er1
10502
grep -v '^ *+' conftest.er1 >conftest.err
10504
cat conftest.err >&5
10505
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506
(exit $ac_status); } && {
10507
test -z "$ac_c_werror_flag" ||
10508
test ! -s conftest.err
10509
} && test -s conftest$ac_exeext && {
10510
test "$cross_compiling" = yes ||
10511
$as_test_x conftest$ac_exeext
10513
ac_cv_lib_dl_dlopen=yes
10515
$as_echo "$as_me: failed program was:" >&5
10516
sed 's/^/| /' conftest.$ac_ext >&5
10518
ac_cv_lib_dl_dlopen=no
10521
rm -rf conftest.dSYM
10522
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10523
conftest$ac_exeext conftest.$ac_ext
10524
LIBS=$ac_check_lib_save_LIBS
10526
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10527
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10528
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10529
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10532
lt_cv_dlopen="dyld"
10534
lt_cv_dlopen_self=yes
10541
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10542
$as_echo_n "checking for shl_load... " >&6; }
10543
if test "${ac_cv_func_shl_load+set}" = set; then
10544
$as_echo_n "(cached) " >&6
10546
cat >conftest.$ac_ext <<_ACEOF
10549
cat confdefs.h >>conftest.$ac_ext
10550
cat >>conftest.$ac_ext <<_ACEOF
10551
/* end confdefs.h. */
10552
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10553
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10554
#define shl_load innocuous_shl_load
10556
/* System header to define __stub macros and hopefully few prototypes,
10557
which can conflict with char shl_load (); below.
10558
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10559
<limits.h> exists even on freestanding compilers. */
10562
# include <limits.h>
10564
# include <assert.h>
10569
/* Override any GCC internal prototype to avoid an error.
10570
Use char because int might match the return type of a GCC
10571
builtin and then its argument prototype would still apply. */
10576
/* The GNU C library defines this for functions which it implements
10577
to always fail with ENOSYS. Some functions are actually named
10578
something starting with __ and the normal name is an alias. */
10579
#if defined __stub_shl_load || defined __stub___shl_load
10586
return shl_load ();
10591
rm -f conftest.$ac_objext conftest$ac_exeext
10592
if { (ac_try="$ac_link"
10593
case "(($ac_try" in
10594
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10595
*) ac_try_echo=$ac_try;;
10597
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10598
$as_echo "$ac_try_echo") >&5
10599
(eval "$ac_link") 2>conftest.er1
10601
grep -v '^ *+' conftest.er1 >conftest.err
10603
cat conftest.err >&5
10604
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605
(exit $ac_status); } && {
10606
test -z "$ac_c_werror_flag" ||
10607
test ! -s conftest.err
10608
} && test -s conftest$ac_exeext && {
10609
test "$cross_compiling" = yes ||
10610
$as_test_x conftest$ac_exeext
10612
ac_cv_func_shl_load=yes
10614
$as_echo "$as_me: failed program was:" >&5
10615
sed 's/^/| /' conftest.$ac_ext >&5
10617
ac_cv_func_shl_load=no
10620
rm -rf conftest.dSYM
10621
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10622
conftest$ac_exeext conftest.$ac_ext
10624
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10625
$as_echo "$ac_cv_func_shl_load" >&6; }
10626
if test "x$ac_cv_func_shl_load" = x""yes; then
10627
lt_cv_dlopen="shl_load"
10629
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10630
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10631
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10632
$as_echo_n "(cached) " >&6
10634
ac_check_lib_save_LIBS=$LIBS
10636
cat >conftest.$ac_ext <<_ACEOF
10639
cat confdefs.h >>conftest.$ac_ext
10640
cat >>conftest.$ac_ext <<_ACEOF
10641
/* end confdefs.h. */
10643
/* Override any GCC internal prototype to avoid an error.
10644
Use char because int might match the return type of a GCC
10645
builtin and then its argument prototype would still apply. */
10653
return shl_load ();
10658
rm -f conftest.$ac_objext conftest$ac_exeext
10659
if { (ac_try="$ac_link"
10660
case "(($ac_try" in
10661
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10662
*) ac_try_echo=$ac_try;;
10664
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10665
$as_echo "$ac_try_echo") >&5
10666
(eval "$ac_link") 2>conftest.er1
10668
grep -v '^ *+' conftest.er1 >conftest.err
10670
cat conftest.err >&5
10671
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10672
(exit $ac_status); } && {
10673
test -z "$ac_c_werror_flag" ||
10674
test ! -s conftest.err
10675
} && test -s conftest$ac_exeext && {
10676
test "$cross_compiling" = yes ||
10677
$as_test_x conftest$ac_exeext
10679
ac_cv_lib_dld_shl_load=yes
10681
$as_echo "$as_me: failed program was:" >&5
10682
sed 's/^/| /' conftest.$ac_ext >&5
10684
ac_cv_lib_dld_shl_load=no
10687
rm -rf conftest.dSYM
10688
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10689
conftest$ac_exeext conftest.$ac_ext
10690
LIBS=$ac_check_lib_save_LIBS
10692
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10693
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10694
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10695
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10697
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10698
$as_echo_n "checking for dlopen... " >&6; }
10699
if test "${ac_cv_func_dlopen+set}" = set; then
10700
$as_echo_n "(cached) " >&6
10702
cat >conftest.$ac_ext <<_ACEOF
10705
cat confdefs.h >>conftest.$ac_ext
10706
cat >>conftest.$ac_ext <<_ACEOF
10707
/* end confdefs.h. */
10708
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10709
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10710
#define dlopen innocuous_dlopen
10712
/* System header to define __stub macros and hopefully few prototypes,
10713
which can conflict with char dlopen (); below.
10714
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10715
<limits.h> exists even on freestanding compilers. */
10718
# include <limits.h>
10720
# include <assert.h>
10725
/* Override any GCC internal prototype to avoid an error.
10726
Use char because int might match the return type of a GCC
10727
builtin and then its argument prototype would still apply. */
10732
/* The GNU C library defines this for functions which it implements
10733
to always fail with ENOSYS. Some functions are actually named
10734
something starting with __ and the normal name is an alias. */
10735
#if defined __stub_dlopen || defined __stub___dlopen
10747
rm -f conftest.$ac_objext conftest$ac_exeext
10748
if { (ac_try="$ac_link"
10749
case "(($ac_try" in
10750
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10751
*) ac_try_echo=$ac_try;;
10753
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10754
$as_echo "$ac_try_echo") >&5
10755
(eval "$ac_link") 2>conftest.er1
10757
grep -v '^ *+' conftest.er1 >conftest.err
10759
cat conftest.err >&5
10760
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10761
(exit $ac_status); } && {
10762
test -z "$ac_c_werror_flag" ||
10763
test ! -s conftest.err
10764
} && test -s conftest$ac_exeext && {
10765
test "$cross_compiling" = yes ||
10766
$as_test_x conftest$ac_exeext
10768
ac_cv_func_dlopen=yes
10770
$as_echo "$as_me: failed program was:" >&5
10771
sed 's/^/| /' conftest.$ac_ext >&5
10773
ac_cv_func_dlopen=no
10776
rm -rf conftest.dSYM
10777
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10778
conftest$ac_exeext conftest.$ac_ext
10780
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10781
$as_echo "$ac_cv_func_dlopen" >&6; }
10782
if test "x$ac_cv_func_dlopen" = x""yes; then
10783
lt_cv_dlopen="dlopen"
10785
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10786
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10787
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10788
$as_echo_n "(cached) " >&6
10790
ac_check_lib_save_LIBS=$LIBS
10792
cat >conftest.$ac_ext <<_ACEOF
10795
cat confdefs.h >>conftest.$ac_ext
10796
cat >>conftest.$ac_ext <<_ACEOF
10797
/* end confdefs.h. */
10799
/* Override any GCC internal prototype to avoid an error.
10800
Use char because int might match the return type of a GCC
10801
builtin and then its argument prototype would still apply. */
10814
rm -f conftest.$ac_objext conftest$ac_exeext
10815
if { (ac_try="$ac_link"
10816
case "(($ac_try" in
10817
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10818
*) ac_try_echo=$ac_try;;
10820
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10821
$as_echo "$ac_try_echo") >&5
10822
(eval "$ac_link") 2>conftest.er1
10824
grep -v '^ *+' conftest.er1 >conftest.err
10826
cat conftest.err >&5
10827
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828
(exit $ac_status); } && {
10829
test -z "$ac_c_werror_flag" ||
10830
test ! -s conftest.err
10831
} && test -s conftest$ac_exeext && {
10832
test "$cross_compiling" = yes ||
10833
$as_test_x conftest$ac_exeext
10835
ac_cv_lib_dl_dlopen=yes
10837
$as_echo "$as_me: failed program was:" >&5
10838
sed 's/^/| /' conftest.$ac_ext >&5
10840
ac_cv_lib_dl_dlopen=no
10843
rm -rf conftest.dSYM
10844
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10845
conftest$ac_exeext conftest.$ac_ext
10846
LIBS=$ac_check_lib_save_LIBS
10848
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10849
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10850
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10851
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10853
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10854
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10855
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10856
$as_echo_n "(cached) " >&6
10858
ac_check_lib_save_LIBS=$LIBS
10859
LIBS="-lsvld $LIBS"
10860
cat >conftest.$ac_ext <<_ACEOF
10863
cat confdefs.h >>conftest.$ac_ext
10864
cat >>conftest.$ac_ext <<_ACEOF
10865
/* end confdefs.h. */
10867
/* Override any GCC internal prototype to avoid an error.
10868
Use char because int might match the return type of a GCC
10869
builtin and then its argument prototype would still apply. */
10882
rm -f conftest.$ac_objext conftest$ac_exeext
10883
if { (ac_try="$ac_link"
10884
case "(($ac_try" in
10885
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10886
*) ac_try_echo=$ac_try;;
10888
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10889
$as_echo "$ac_try_echo") >&5
10890
(eval "$ac_link") 2>conftest.er1
10892
grep -v '^ *+' conftest.er1 >conftest.err
10894
cat conftest.err >&5
10895
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896
(exit $ac_status); } && {
10897
test -z "$ac_c_werror_flag" ||
10898
test ! -s conftest.err
10899
} && test -s conftest$ac_exeext && {
10900
test "$cross_compiling" = yes ||
10901
$as_test_x conftest$ac_exeext
10903
ac_cv_lib_svld_dlopen=yes
10905
$as_echo "$as_me: failed program was:" >&5
10906
sed 's/^/| /' conftest.$ac_ext >&5
10908
ac_cv_lib_svld_dlopen=no
10911
rm -rf conftest.dSYM
10912
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10913
conftest$ac_exeext conftest.$ac_ext
10914
LIBS=$ac_check_lib_save_LIBS
10916
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10917
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10918
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10919
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10921
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10922
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10923
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10924
$as_echo_n "(cached) " >&6
10926
ac_check_lib_save_LIBS=$LIBS
10928
cat >conftest.$ac_ext <<_ACEOF
10931
cat confdefs.h >>conftest.$ac_ext
10932
cat >>conftest.$ac_ext <<_ACEOF
10933
/* end confdefs.h. */
10935
/* Override any GCC internal prototype to avoid an error.
10936
Use char because int might match the return type of a GCC
10937
builtin and then its argument prototype would still apply. */
10945
return dld_link ();
10950
rm -f conftest.$ac_objext conftest$ac_exeext
10951
if { (ac_try="$ac_link"
10952
case "(($ac_try" in
10953
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10954
*) ac_try_echo=$ac_try;;
10956
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10957
$as_echo "$ac_try_echo") >&5
10958
(eval "$ac_link") 2>conftest.er1
10960
grep -v '^ *+' conftest.er1 >conftest.err
10962
cat conftest.err >&5
10963
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964
(exit $ac_status); } && {
10965
test -z "$ac_c_werror_flag" ||
10966
test ! -s conftest.err
10967
} && test -s conftest$ac_exeext && {
10968
test "$cross_compiling" = yes ||
10969
$as_test_x conftest$ac_exeext
10971
ac_cv_lib_dld_dld_link=yes
10973
$as_echo "$as_me: failed program was:" >&5
10974
sed 's/^/| /' conftest.$ac_ext >&5
10976
ac_cv_lib_dld_dld_link=no
10979
rm -rf conftest.dSYM
10980
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10981
conftest$ac_exeext conftest.$ac_ext
10982
LIBS=$ac_check_lib_save_LIBS
10984
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10985
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10986
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10987
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11008
if test "x$lt_cv_dlopen" != xno; then
11014
case $lt_cv_dlopen in
11016
save_CPPFLAGS="$CPPFLAGS"
11017
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11019
save_LDFLAGS="$LDFLAGS"
11020
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11023
LIBS="$lt_cv_dlopen_libs $LIBS"
11025
{ $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11026
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11027
if test "${lt_cv_dlopen_self+set}" = set; then
11028
$as_echo_n "(cached) " >&6
11030
if test "$cross_compiling" = yes; then :
11031
lt_cv_dlopen_self=cross
11033
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11034
lt_status=$lt_dlunknown
11035
cat > conftest.$ac_ext <<_LT_EOF
11036
#line 11036 "configure"
11037
#include "confdefs.h"
11046
# define LT_DLGLOBAL RTLD_GLOBAL
11049
# define LT_DLGLOBAL DL_GLOBAL
11051
# define LT_DLGLOBAL 0
11055
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11056
find out it does not work in some platform. */
11057
#ifndef LT_DLLAZY_OR_NOW
11059
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11062
# define LT_DLLAZY_OR_NOW DL_LAZY
11065
# define LT_DLLAZY_OR_NOW RTLD_NOW
11068
# define LT_DLLAZY_OR_NOW DL_NOW
11070
# define LT_DLLAZY_OR_NOW 0
11077
void fnord() { int i=42;}
11080
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11081
int status = $lt_dlunknown;
11085
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11086
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11087
/* dlclose (self); */
11095
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11096
(eval $ac_link) 2>&5
11098
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11100
(./conftest; exit; ) >&5 2>/dev/null
11102
case x$lt_status in
11103
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11104
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11105
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11108
# compilation failed
11109
lt_cv_dlopen_self=no
11116
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11117
$as_echo "$lt_cv_dlopen_self" >&6; }
11119
if test "x$lt_cv_dlopen_self" = xyes; then
11120
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11121
{ $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11122
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11123
if test "${lt_cv_dlopen_self_static+set}" = set; then
11124
$as_echo_n "(cached) " >&6
11126
if test "$cross_compiling" = yes; then :
11127
lt_cv_dlopen_self_static=cross
11129
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11130
lt_status=$lt_dlunknown
11131
cat > conftest.$ac_ext <<_LT_EOF
11132
#line 11132 "configure"
11133
#include "confdefs.h"
11142
# define LT_DLGLOBAL RTLD_GLOBAL
11145
# define LT_DLGLOBAL DL_GLOBAL
11147
# define LT_DLGLOBAL 0
11151
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11152
find out it does not work in some platform. */
11153
#ifndef LT_DLLAZY_OR_NOW
11155
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11158
# define LT_DLLAZY_OR_NOW DL_LAZY
11161
# define LT_DLLAZY_OR_NOW RTLD_NOW
11164
# define LT_DLLAZY_OR_NOW DL_NOW
11166
# define LT_DLLAZY_OR_NOW 0
11173
void fnord() { int i=42;}
11176
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11177
int status = $lt_dlunknown;
11181
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11182
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11183
/* dlclose (self); */
11191
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11192
(eval $ac_link) 2>&5
11194
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11195
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11196
(./conftest; exit; ) >&5 2>/dev/null
11198
case x$lt_status in
11199
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11200
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11201
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11204
# compilation failed
11205
lt_cv_dlopen_self_static=no
11212
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11213
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11216
CPPFLAGS="$save_CPPFLAGS"
11217
LDFLAGS="$save_LDFLAGS"
11222
case $lt_cv_dlopen_self in
11223
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11224
*) enable_dlopen_self=unknown ;;
11227
case $lt_cv_dlopen_self_static in
11228
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11229
*) enable_dlopen_self_static=unknown ;;
11251
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11252
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11253
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11254
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11255
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11256
{ $as_echo "$as_me:$LINENO: result: yes" >&5
11257
$as_echo "yes" >&6; }
11259
# FIXME - insert some real tests, host_os isn't really good enough
11262
if test -n "$STRIP" ; then
11263
striplib="$STRIP -x"
11264
old_striplib="$STRIP -S"
11265
{ $as_echo "$as_me:$LINENO: result: yes" >&5
11266
$as_echo "yes" >&6; }
11268
{ $as_echo "$as_me:$LINENO: result: no" >&5
11269
$as_echo "no" >&6; }
11273
{ $as_echo "$as_me:$LINENO: result: no" >&5
11274
$as_echo "no" >&6; }
11290
# Report which library types will actually be built
11291
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11292
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11293
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11294
$as_echo "$can_build_shared" >&6; }
11296
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11297
$as_echo_n "checking whether to build shared libraries... " >&6; }
11298
test "$can_build_shared" = "no" && enable_shared=no
11300
# On AIX, shared libraries and static libraries use the same namespace, and
11301
# are all built from PIC.
11304
test "$enable_shared" = yes && enable_static=no
11305
if test -n "$RANLIB"; then
11306
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11307
postinstall_cmds='$RANLIB $lib'
11312
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11313
test "$enable_shared" = yes && enable_static=no
11317
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11318
$as_echo "$enable_shared" >&6; }
11320
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11321
$as_echo_n "checking whether to build static libraries... " >&6; }
11322
# Make sure either enable_shared or enable_static is yes.
11323
test "$enable_shared" = yes || enable_static=yes
11324
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11325
$as_echo "$enable_static" >&6; }
11332
ac_cpp='$CPP $CPPFLAGS'
11333
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11334
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11335
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11351
ac_config_commands="$ac_config_commands libtool"
11356
# Only expand once:
11359
{ $as_echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
11360
$as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
11361
if test "${libltdl_cv_shlibext+set}" = set; then
11362
$as_echo_n "(cached) " >&6
11366
eval libltdl_cv_shlibext=$shrext_cmds
11369
{ $as_echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
11370
$as_echo "$libltdl_cv_shlibext" >&6; }
11371
if test -n "$libltdl_cv_shlibext"; then
11373
cat >>confdefs.h <<_ACEOF
11374
#define LT_MODULE_EXT "$libltdl_cv_shlibext"
11379
{ $as_echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
11380
$as_echo_n "checking which variable specifies run-time module search path... " >&6; }
11381
if test "${lt_cv_module_path_var+set}" = set; then
11382
$as_echo_n "(cached) " >&6
11384
lt_cv_module_path_var="$shlibpath_var"
11386
{ $as_echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
11387
$as_echo "$lt_cv_module_path_var" >&6; }
11388
if test -n "$lt_cv_module_path_var"; then
11390
cat >>confdefs.h <<_ACEOF
11391
#define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
11396
{ $as_echo "$as_me:$LINENO: checking for the default library search path" >&5
11397
$as_echo_n "checking for the default library search path... " >&6; }
11398
if test "${lt_cv_sys_dlsearch_path+set}" = set; then
11399
$as_echo_n "(cached) " >&6
11401
lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
11403
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
11404
$as_echo "$lt_cv_sys_dlsearch_path" >&6; }
11405
if test -n "$lt_cv_sys_dlsearch_path"; then
11407
for dir in $lt_cv_sys_dlsearch_path; do
11408
if test -z "$sys_dlsearch_path"; then
11409
sys_dlsearch_path="$dir"
11411
sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
11415
cat >>confdefs.h <<_ACEOF
11416
#define LT_DLSEARCH_PATH "$sys_dlsearch_path"
11426
ac_cpp='$CPP $CPPFLAGS'
11427
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11428
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11429
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11433
{ $as_echo "$as_me:$LINENO: checking for library containing dlopen" >&5
11434
$as_echo_n "checking for library containing dlopen... " >&6; }
11435
if test "${ac_cv_search_dlopen+set}" = set; then
11436
$as_echo_n "(cached) " >&6
11438
ac_func_search_save_LIBS=$LIBS
11439
cat >conftest.$ac_ext <<_ACEOF
11442
cat confdefs.h >>conftest.$ac_ext
11443
cat >>conftest.$ac_ext <<_ACEOF
11444
/* end confdefs.h. */
11446
/* Override any GCC internal prototype to avoid an error.
11447
Use char because int might match the return type of a GCC
11448
builtin and then its argument prototype would still apply. */
11461
for ac_lib in '' dl; do
11462
if test -z "$ac_lib"; then
11463
ac_res="none required"
11466
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11468
rm -f conftest.$ac_objext conftest$ac_exeext
11469
if { (ac_try="$ac_link"
11470
case "(($ac_try" in
11471
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11472
*) ac_try_echo=$ac_try;;
11474
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11475
$as_echo "$ac_try_echo") >&5
11476
(eval "$ac_link") 2>conftest.er1
11478
grep -v '^ *+' conftest.er1 >conftest.err
11480
cat conftest.err >&5
11481
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482
(exit $ac_status); } && {
11483
test -z "$ac_c_werror_flag" ||
11484
test ! -s conftest.err
11485
} && test -s conftest$ac_exeext && {
11486
test "$cross_compiling" = yes ||
11487
$as_test_x conftest$ac_exeext
11489
ac_cv_search_dlopen=$ac_res
11491
$as_echo "$as_me: failed program was:" >&5
11492
sed 's/^/| /' conftest.$ac_ext >&5
11497
rm -rf conftest.dSYM
11498
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11500
if test "${ac_cv_search_dlopen+set}" = set; then
11504
if test "${ac_cv_search_dlopen+set}" = set; then
11507
ac_cv_search_dlopen=no
11509
rm conftest.$ac_ext
11510
LIBS=$ac_func_search_save_LIBS
11512
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
11513
$as_echo "$ac_cv_search_dlopen" >&6; }
11514
ac_res=$ac_cv_search_dlopen
11515
if test "$ac_res" != no; then
11516
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11518
cat >>confdefs.h <<\_ACEOF
11519
#define HAVE_LIBDL 1
11522
if test "$ac_cv_search_dlopen" != "none required" ; then
11523
LIBADD_DLOPEN="-ldl"
11525
libltdl_cv_lib_dl_dlopen="yes"
11526
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11528
cat >conftest.$ac_ext <<_ACEOF
11531
cat confdefs.h >>conftest.$ac_ext
11532
cat >>conftest.$ac_ext <<_ACEOF
11533
/* end confdefs.h. */
11535
# include <dlfcn.h>
11546
rm -f conftest.$ac_objext conftest$ac_exeext
11547
if { (ac_try="$ac_link"
11548
case "(($ac_try" in
11549
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11550
*) ac_try_echo=$ac_try;;
11552
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11553
$as_echo "$ac_try_echo") >&5
11554
(eval "$ac_link") 2>conftest.er1
11556
grep -v '^ *+' conftest.er1 >conftest.err
11558
cat conftest.err >&5
11559
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560
(exit $ac_status); } && {
11561
test -z "$ac_c_werror_flag" ||
11562
test ! -s conftest.err
11563
} && test -s conftest$ac_exeext && {
11564
test "$cross_compiling" = yes ||
11565
$as_test_x conftest$ac_exeext
11568
cat >>confdefs.h <<\_ACEOF
11569
#define HAVE_LIBDL 1
11572
libltdl_cv_func_dlopen="yes"
11573
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11575
$as_echo "$as_me: failed program was:" >&5
11576
sed 's/^/| /' conftest.$ac_ext >&5
11578
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11579
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11580
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11581
$as_echo_n "(cached) " >&6
11583
ac_check_lib_save_LIBS=$LIBS
11584
LIBS="-lsvld $LIBS"
11585
cat >conftest.$ac_ext <<_ACEOF
11588
cat confdefs.h >>conftest.$ac_ext
11589
cat >>conftest.$ac_ext <<_ACEOF
11590
/* end confdefs.h. */
11592
/* Override any GCC internal prototype to avoid an error.
11593
Use char because int might match the return type of a GCC
11594
builtin and then its argument prototype would still apply. */
11607
rm -f conftest.$ac_objext conftest$ac_exeext
11608
if { (ac_try="$ac_link"
11609
case "(($ac_try" in
11610
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11611
*) ac_try_echo=$ac_try;;
11613
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11614
$as_echo "$ac_try_echo") >&5
11615
(eval "$ac_link") 2>conftest.er1
11617
grep -v '^ *+' conftest.er1 >conftest.err
11619
cat conftest.err >&5
11620
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11621
(exit $ac_status); } && {
11622
test -z "$ac_c_werror_flag" ||
11623
test ! -s conftest.err
11624
} && test -s conftest$ac_exeext && {
11625
test "$cross_compiling" = yes ||
11626
$as_test_x conftest$ac_exeext
11628
ac_cv_lib_svld_dlopen=yes
11630
$as_echo "$as_me: failed program was:" >&5
11631
sed 's/^/| /' conftest.$ac_ext >&5
11633
ac_cv_lib_svld_dlopen=no
11636
rm -rf conftest.dSYM
11637
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11638
conftest$ac_exeext conftest.$ac_ext
11639
LIBS=$ac_check_lib_save_LIBS
11641
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11642
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11643
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11645
cat >>confdefs.h <<\_ACEOF
11646
#define HAVE_LIBDL 1
11649
LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
11650
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
11655
rm -rf conftest.dSYM
11656
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11657
conftest$ac_exeext conftest.$ac_ext
11660
if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
11662
lt_save_LIBS="$LIBS"
11663
LIBS="$LIBS $LIBADD_DLOPEN"
11665
for ac_func in dlerror
11667
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11668
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11669
$as_echo_n "checking for $ac_func... " >&6; }
11670
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11671
$as_echo_n "(cached) " >&6
11673
cat >conftest.$ac_ext <<_ACEOF
11676
cat confdefs.h >>conftest.$ac_ext
11677
cat >>conftest.$ac_ext <<_ACEOF
11678
/* end confdefs.h. */
11679
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11680
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11681
#define $ac_func innocuous_$ac_func
11683
/* System header to define __stub macros and hopefully few prototypes,
11684
which can conflict with char $ac_func (); below.
11685
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11686
<limits.h> exists even on freestanding compilers. */
11689
# include <limits.h>
11691
# include <assert.h>
11696
/* Override any GCC internal prototype to avoid an error.
11697
Use char because int might match the return type of a GCC
11698
builtin and then its argument prototype would still apply. */
11703
/* The GNU C library defines this for functions which it implements
11704
to always fail with ENOSYS. Some functions are actually named
11705
something starting with __ and the normal name is an alias. */
11706
#if defined __stub_$ac_func || defined __stub___$ac_func
11713
return $ac_func ();
11718
rm -f conftest.$ac_objext conftest$ac_exeext
11719
if { (ac_try="$ac_link"
11720
case "(($ac_try" in
11721
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11722
*) ac_try_echo=$ac_try;;
11724
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11725
$as_echo "$ac_try_echo") >&5
11726
(eval "$ac_link") 2>conftest.er1
11728
grep -v '^ *+' conftest.er1 >conftest.err
11730
cat conftest.err >&5
11731
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732
(exit $ac_status); } && {
11733
test -z "$ac_c_werror_flag" ||
11734
test ! -s conftest.err
11735
} && test -s conftest$ac_exeext && {
11736
test "$cross_compiling" = yes ||
11737
$as_test_x conftest$ac_exeext
11739
eval "$as_ac_var=yes"
11741
$as_echo "$as_me: failed program was:" >&5
11742
sed 's/^/| /' conftest.$ac_ext >&5
11744
eval "$as_ac_var=no"
11747
rm -rf conftest.dSYM
11748
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11749
conftest$ac_exeext conftest.$ac_ext
11751
ac_res=`eval 'as_val=${'$as_ac_var'}
11752
$as_echo "$as_val"'`
11753
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11754
$as_echo "$ac_res" >&6; }
11755
as_val=`eval 'as_val=${'$as_ac_var'}
11756
$as_echo "$as_val"'`
11757
if test "x$as_val" = x""yes; then
11758
cat >>confdefs.h <<_ACEOF
11759
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11765
LIBS="$lt_save_LIBS"
11770
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11771
$as_echo_n "checking for shl_load... " >&6; }
11772
if test "${ac_cv_func_shl_load+set}" = set; then
11773
$as_echo_n "(cached) " >&6
11775
cat >conftest.$ac_ext <<_ACEOF
11778
cat confdefs.h >>conftest.$ac_ext
11779
cat >>conftest.$ac_ext <<_ACEOF
11780
/* end confdefs.h. */
11781
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11782
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11783
#define shl_load innocuous_shl_load
11785
/* System header to define __stub macros and hopefully few prototypes,
11786
which can conflict with char shl_load (); below.
11787
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11788
<limits.h> exists even on freestanding compilers. */
11791
# include <limits.h>
11793
# include <assert.h>
11798
/* Override any GCC internal prototype to avoid an error.
11799
Use char because int might match the return type of a GCC
11800
builtin and then its argument prototype would still apply. */
11805
/* The GNU C library defines this for functions which it implements
11806
to always fail with ENOSYS. Some functions are actually named
11807
something starting with __ and the normal name is an alias. */
11808
#if defined __stub_shl_load || defined __stub___shl_load
11815
return shl_load ();
11820
rm -f conftest.$ac_objext conftest$ac_exeext
11821
if { (ac_try="$ac_link"
11822
case "(($ac_try" in
11823
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11824
*) ac_try_echo=$ac_try;;
11826
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11827
$as_echo "$ac_try_echo") >&5
11828
(eval "$ac_link") 2>conftest.er1
11830
grep -v '^ *+' conftest.er1 >conftest.err
11832
cat conftest.err >&5
11833
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834
(exit $ac_status); } && {
11835
test -z "$ac_c_werror_flag" ||
11836
test ! -s conftest.err
11837
} && test -s conftest$ac_exeext && {
11838
test "$cross_compiling" = yes ||
11839
$as_test_x conftest$ac_exeext
11841
ac_cv_func_shl_load=yes
11843
$as_echo "$as_me: failed program was:" >&5
11844
sed 's/^/| /' conftest.$ac_ext >&5
11846
ac_cv_func_shl_load=no
11849
rm -rf conftest.dSYM
11850
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11851
conftest$ac_exeext conftest.$ac_ext
11853
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11854
$as_echo "$ac_cv_func_shl_load" >&6; }
11855
if test "x$ac_cv_func_shl_load" = x""yes; then
11857
cat >>confdefs.h <<\_ACEOF
11858
#define HAVE_SHL_LOAD 1
11861
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11863
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11864
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11865
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11866
$as_echo_n "(cached) " >&6
11868
ac_check_lib_save_LIBS=$LIBS
11870
cat >conftest.$ac_ext <<_ACEOF
11873
cat confdefs.h >>conftest.$ac_ext
11874
cat >>conftest.$ac_ext <<_ACEOF
11875
/* end confdefs.h. */
11877
/* Override any GCC internal prototype to avoid an error.
11878
Use char because int might match the return type of a GCC
11879
builtin and then its argument prototype would still apply. */
11887
return shl_load ();
11892
rm -f conftest.$ac_objext conftest$ac_exeext
11893
if { (ac_try="$ac_link"
11894
case "(($ac_try" in
11895
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11896
*) ac_try_echo=$ac_try;;
11898
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11899
$as_echo "$ac_try_echo") >&5
11900
(eval "$ac_link") 2>conftest.er1
11902
grep -v '^ *+' conftest.er1 >conftest.err
11904
cat conftest.err >&5
11905
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906
(exit $ac_status); } && {
11907
test -z "$ac_c_werror_flag" ||
11908
test ! -s conftest.err
11909
} && test -s conftest$ac_exeext && {
11910
test "$cross_compiling" = yes ||
11911
$as_test_x conftest$ac_exeext
11913
ac_cv_lib_dld_shl_load=yes
11915
$as_echo "$as_me: failed program was:" >&5
11916
sed 's/^/| /' conftest.$ac_ext >&5
11918
ac_cv_lib_dld_shl_load=no
11921
rm -rf conftest.dSYM
11922
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11923
conftest$ac_exeext conftest.$ac_ext
11924
LIBS=$ac_check_lib_save_LIBS
11926
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11927
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11928
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11930
cat >>confdefs.h <<\_ACEOF
11931
#define HAVE_SHL_LOAD 1
11934
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
11935
LIBADD_SHL_LOAD="-ldld"
11944
# We only want this for pre-Mac OS X 10.4.
11945
{ $as_echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
11946
$as_echo_n "checking for _dyld_func_lookup... " >&6; }
11947
if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
11948
$as_echo_n "(cached) " >&6
11950
cat >conftest.$ac_ext <<_ACEOF
11953
cat confdefs.h >>conftest.$ac_ext
11954
cat >>conftest.$ac_ext <<_ACEOF
11955
/* end confdefs.h. */
11956
/* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
11957
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11958
#define _dyld_func_lookup innocuous__dyld_func_lookup
11960
/* System header to define __stub macros and hopefully few prototypes,
11961
which can conflict with char _dyld_func_lookup (); below.
11962
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11963
<limits.h> exists even on freestanding compilers. */
11966
# include <limits.h>
11968
# include <assert.h>
11971
#undef _dyld_func_lookup
11973
/* Override any GCC internal prototype to avoid an error.
11974
Use char because int might match the return type of a GCC
11975
builtin and then its argument prototype would still apply. */
11979
char _dyld_func_lookup ();
11980
/* The GNU C library defines this for functions which it implements
11981
to always fail with ENOSYS. Some functions are actually named
11982
something starting with __ and the normal name is an alias. */
11983
#if defined __stub__dyld_func_lookup || defined __stub____dyld_func_lookup
11990
return _dyld_func_lookup ();
11995
rm -f conftest.$ac_objext conftest$ac_exeext
11996
if { (ac_try="$ac_link"
11997
case "(($ac_try" in
11998
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11999
*) ac_try_echo=$ac_try;;
12001
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12002
$as_echo "$ac_try_echo") >&5
12003
(eval "$ac_link") 2>conftest.er1
12005
grep -v '^ *+' conftest.er1 >conftest.err
12007
cat conftest.err >&5
12008
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009
(exit $ac_status); } && {
12010
test -z "$ac_c_werror_flag" ||
12011
test ! -s conftest.err
12012
} && test -s conftest$ac_exeext && {
12013
test "$cross_compiling" = yes ||
12014
$as_test_x conftest$ac_exeext
12016
ac_cv_func__dyld_func_lookup=yes
12018
$as_echo "$as_me: failed program was:" >&5
12019
sed 's/^/| /' conftest.$ac_ext >&5
12021
ac_cv_func__dyld_func_lookup=no
12024
rm -rf conftest.dSYM
12025
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12026
conftest$ac_exeext conftest.$ac_ext
12028
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
12029
$as_echo "$ac_cv_func__dyld_func_lookup" >&6; }
12030
if test "x$ac_cv_func__dyld_func_lookup" = x""yes; then
12032
cat >>confdefs.h <<\_ACEOF
12033
#define HAVE_DYLD 1
12036
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
12041
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
12043
cygwin* | mingw* | os2* | pw32*)
12044
{ $as_echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
12045
$as_echo_n "checking whether cygwin_conv_path is declared... " >&6; }
12046
if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
12047
$as_echo_n "(cached) " >&6
12049
cat >conftest.$ac_ext <<_ACEOF
12052
cat confdefs.h >>conftest.$ac_ext
12053
cat >>conftest.$ac_ext <<_ACEOF
12054
/* end confdefs.h. */
12055
#include <sys/cygwin.h>
12060
#ifndef cygwin_conv_path
12061
(void) cygwin_conv_path;
12068
rm -f conftest.$ac_objext
12069
if { (ac_try="$ac_compile"
12070
case "(($ac_try" in
12071
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12072
*) ac_try_echo=$ac_try;;
12074
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12075
$as_echo "$ac_try_echo") >&5
12076
(eval "$ac_compile") 2>conftest.er1
12078
grep -v '^ *+' conftest.er1 >conftest.err
12080
cat conftest.err >&5
12081
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082
(exit $ac_status); } && {
12083
test -z "$ac_c_werror_flag" ||
12084
test ! -s conftest.err
12085
} && test -s conftest.$ac_objext; then
12086
ac_cv_have_decl_cygwin_conv_path=yes
12088
$as_echo "$as_me: failed program was:" >&5
12089
sed 's/^/| /' conftest.$ac_ext >&5
12091
ac_cv_have_decl_cygwin_conv_path=no
12094
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12096
{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
12097
$as_echo "$ac_cv_have_decl_cygwin_conv_path" >&6; }
12098
if test "x$ac_cv_have_decl_cygwin_conv_path" = x""yes; then
12100
cat >>confdefs.h <<_ACEOF
12101
#define HAVE_DECL_CYGWIN_CONV_PATH 1
12106
cat >>confdefs.h <<_ACEOF
12107
#define HAVE_DECL_CYGWIN_CONV_PATH 0
12114
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
12118
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12119
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12120
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12121
$as_echo_n "(cached) " >&6
12123
ac_check_lib_save_LIBS=$LIBS
12125
cat >conftest.$ac_ext <<_ACEOF
12128
cat confdefs.h >>conftest.$ac_ext
12129
cat >>conftest.$ac_ext <<_ACEOF
12130
/* end confdefs.h. */
12132
/* Override any GCC internal prototype to avoid an error.
12133
Use char because int might match the return type of a GCC
12134
builtin and then its argument prototype would still apply. */
12142
return dld_link ();
12147
rm -f conftest.$ac_objext conftest$ac_exeext
12148
if { (ac_try="$ac_link"
12149
case "(($ac_try" in
12150
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12151
*) ac_try_echo=$ac_try;;
12153
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12154
$as_echo "$ac_try_echo") >&5
12155
(eval "$ac_link") 2>conftest.er1
12157
grep -v '^ *+' conftest.er1 >conftest.err
12159
cat conftest.err >&5
12160
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161
(exit $ac_status); } && {
12162
test -z "$ac_c_werror_flag" ||
12163
test ! -s conftest.err
12164
} && test -s conftest$ac_exeext && {
12165
test "$cross_compiling" = yes ||
12166
$as_test_x conftest$ac_exeext
12168
ac_cv_lib_dld_dld_link=yes
12170
$as_echo "$as_me: failed program was:" >&5
12171
sed 's/^/| /' conftest.$ac_ext >&5
12173
ac_cv_lib_dld_dld_link=no
12176
rm -rf conftest.dSYM
12177
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12178
conftest$ac_exeext conftest.$ac_ext
12179
LIBS=$ac_check_lib_save_LIBS
12181
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12182
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12183
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
12185
cat >>confdefs.h <<\_ACEOF
12189
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
12196
if test -n "$LT_DLLOADERS"
12198
for lt_loader in $LT_DLLOADERS; do
12199
LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
12202
cat >>confdefs.h <<\_ACEOF
12203
#define HAVE_LIBDLLOADER 1
12209
LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
12213
ac_cpp='$CPP $CPPFLAGS'
12214
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12215
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12216
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12219
{ $as_echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
12220
$as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
12221
if test "${lt_cv_sys_symbol_underscore+set}" = set; then
12222
$as_echo_n "(cached) " >&6
12224
lt_cv_sys_symbol_underscore=no
12225
cat > conftest.$ac_ext <<_LT_EOF
12226
void nm_test_func(){}
12227
int main(){nm_test_func;return 0;}
12229
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12230
(eval $ac_compile) 2>&5
12232
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233
(exit $ac_status); }; then
12234
# Now try to grab the symbols.
12235
ac_nlist=conftest.nm
12236
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
12237
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
12239
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240
(exit $ac_status); } && test -s "$ac_nlist"; then
12241
# See whether the symbols have a leading underscore.
12242
if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
12243
lt_cv_sys_symbol_underscore=yes
12245
if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
12248
echo "configure: cannot find nm_test_func in $ac_nlist" >&5
12252
echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
12255
echo "configure: failed program was:" >&5
12261
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
12262
$as_echo "$lt_cv_sys_symbol_underscore" >&6; }
12263
sys_symbol_underscore=$lt_cv_sys_symbol_underscore
12266
if test x"$lt_cv_sys_symbol_underscore" = xyes; then
12267
if test x"$libltdl_cv_func_dlopen" = xyes ||
12268
test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
12269
{ $as_echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
12270
$as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
12271
if test "${libltdl_cv_need_uscore+set}" = set; then
12272
$as_echo_n "(cached) " >&6
12274
libltdl_cv_need_uscore=unknown
12276
LIBS="$LIBS $LIBADD_DLOPEN"
12277
if test "$cross_compiling" = yes; then :
12278
libltdl_cv_need_uscore=cross
12280
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12281
lt_status=$lt_dlunknown
12282
cat > conftest.$ac_ext <<_LT_EOF
12283
#line 12283 "configure"
12284
#include "confdefs.h"
12293
# define LT_DLGLOBAL RTLD_GLOBAL
12296
# define LT_DLGLOBAL DL_GLOBAL
12298
# define LT_DLGLOBAL 0
12302
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12303
find out it does not work in some platform. */
12304
#ifndef LT_DLLAZY_OR_NOW
12306
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12309
# define LT_DLLAZY_OR_NOW DL_LAZY
12312
# define LT_DLLAZY_OR_NOW RTLD_NOW
12315
# define LT_DLLAZY_OR_NOW DL_NOW
12317
# define LT_DLLAZY_OR_NOW 0
12324
void fnord() { int i=42;}
12327
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12328
int status = $lt_dlunknown;
12332
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12333
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12334
/* dlclose (self); */
12342
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12343
(eval $ac_link) 2>&5
12345
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12347
(./conftest; exit; ) >&5 2>/dev/null
12349
case x$lt_status in
12350
x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
12351
x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
12352
x$lt_dlunknown|x*) ;;
12355
# compilation failed
12364
{ $as_echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
12365
$as_echo "$libltdl_cv_need_uscore" >&6; }
12369
if test x"$libltdl_cv_need_uscore" = xyes; then
12371
cat >>confdefs.h <<\_ACEOF
12372
#define NEED_USCORE 1
12377
{ $as_echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
12378
$as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
12379
if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
12380
$as_echo_n "(cached) " >&6
12382
# PORTME does your system automatically load deplibs for dlopen?
12383
# or its logical equivalent (e.g. shl_load for HP-UX < 11)
12384
# For now, we just catch OSes we know something about -- in the
12385
# future, we'll try test this programmatically.
12386
lt_cv_sys_dlopen_deplibs=unknown
12388
aix3*|aix4.1.*|aix4.2.*)
12389
# Unknown whether this is true for these versions of AIX, but
12390
# we want this `case' here to explicitly catch those versions.
12391
lt_cv_sys_dlopen_deplibs=unknown
12394
lt_cv_sys_dlopen_deplibs=yes
12399
lt_cv_sys_dlopen_deplibs=no
12404
# Assuming the user has installed a libdl from somewhere, this is true
12405
# If you are looking for one http://www.opendarwin.org/projects/dlcompat
12406
lt_cv_sys_dlopen_deplibs=yes
12408
freebsd* | dragonfly*)
12409
lt_cv_sys_dlopen_deplibs=yes
12411
gnu* | linux* | k*bsd*-gnu)
12412
# GNU and its variants, using gnu ld.so (Glibc)
12413
lt_cv_sys_dlopen_deplibs=yes
12416
lt_cv_sys_dlopen_deplibs=yes
12419
lt_cv_sys_dlopen_deplibs=yes
12421
irix[12345]*|irix6.[01]*)
12422
# Catch all versions of IRIX before 6.2, and indicate that we don't
12423
# know how it worked for any of those versions.
12424
lt_cv_sys_dlopen_deplibs=unknown
12427
# The case above catches anything before 6.2, and it's known that
12428
# at 6.2 and later dlopen does load deplibs.
12429
lt_cv_sys_dlopen_deplibs=yes
12431
netbsd* | netbsdelf*-gnu)
12432
lt_cv_sys_dlopen_deplibs=yes
12435
lt_cv_sys_dlopen_deplibs=yes
12438
# dlopen did load deplibs (at least at 4.x), but until the 5.x series,
12439
# it did *not* use an RPATH in a shared library to find objects the
12440
# library depends on, so we explicitly say `no'.
12441
lt_cv_sys_dlopen_deplibs=no
12443
osf5.0|osf5.0a|osf5.1)
12444
# dlopen *does* load deplibs and with the right loader patch applied
12445
# it even uses RPATH in a shared library to search for shared objects
12446
# that the library depends on, but there's no easy way to know if that
12447
# patch is installed. Since this is the case, all we can really
12448
# say is unknown -- it depends on the patch being installed. If
12449
# it is, this changes to `yes'. Without it, it would be `no'.
12450
lt_cv_sys_dlopen_deplibs=unknown
12453
# the two cases above should catch all versions of osf <= 5.1. Read
12454
# the comments above for what we know about them.
12455
# At > 5.1, deplibs are loaded *and* any RPATH in a shared library
12456
# is used to find them so we can finally say `yes'.
12457
lt_cv_sys_dlopen_deplibs=yes
12460
lt_cv_sys_dlopen_deplibs=yes
12463
lt_cv_sys_dlopen_deplibs=yes
12465
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12466
libltdl_cv_sys_dlopen_deplibs=yes
12471
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
12472
$as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
12473
if test "$lt_cv_sys_dlopen_deplibs" != yes; then
12475
cat >>confdefs.h <<\_ACEOF
12476
#define LTDL_DLOPEN_DEPLIBS 1
12484
for ac_header in argz.h
12486
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12487
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12488
$as_echo_n "checking for $ac_header... " >&6; }
12489
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12490
$as_echo_n "(cached) " >&6
12492
cat >conftest.$ac_ext <<_ACEOF
12495
cat confdefs.h >>conftest.$ac_ext
12496
cat >>conftest.$ac_ext <<_ACEOF
12497
/* end confdefs.h. */
12498
$ac_includes_default
12500
#include <$ac_header>
12502
rm -f conftest.$ac_objext
12503
if { (ac_try="$ac_compile"
12504
case "(($ac_try" in
12505
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12506
*) ac_try_echo=$ac_try;;
12508
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12509
$as_echo "$ac_try_echo") >&5
12510
(eval "$ac_compile") 2>conftest.er1
12512
grep -v '^ *+' conftest.er1 >conftest.err
12514
cat conftest.err >&5
12515
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516
(exit $ac_status); } && {
12517
test -z "$ac_c_werror_flag" ||
12518
test ! -s conftest.err
12519
} && test -s conftest.$ac_objext; then
12520
eval "$as_ac_Header=yes"
12522
$as_echo "$as_me: failed program was:" >&5
12523
sed 's/^/| /' conftest.$ac_ext >&5
12525
eval "$as_ac_Header=no"
12528
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12530
ac_res=`eval 'as_val=${'$as_ac_Header'}
12531
$as_echo "$as_val"'`
12532
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12533
$as_echo "$ac_res" >&6; }
12534
as_val=`eval 'as_val=${'$as_ac_Header'}
12535
$as_echo "$as_val"'`
12536
if test "x$as_val" = x""yes; then
12537
cat >>confdefs.h <<_ACEOF
12538
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12546
{ $as_echo "$as_me:$LINENO: checking for error_t" >&5
12547
$as_echo_n "checking for error_t... " >&6; }
12548
if test "${ac_cv_type_error_t+set}" = set; then
12549
$as_echo_n "(cached) " >&6
12551
ac_cv_type_error_t=no
12552
cat >conftest.$ac_ext <<_ACEOF
12555
cat confdefs.h >>conftest.$ac_ext
12556
cat >>conftest.$ac_ext <<_ACEOF
12557
/* end confdefs.h. */
12558
#if defined(HAVE_ARGZ_H)
12565
if (sizeof (error_t))
12571
rm -f conftest.$ac_objext
12572
if { (ac_try="$ac_compile"
12573
case "(($ac_try" in
12574
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12575
*) ac_try_echo=$ac_try;;
12577
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12578
$as_echo "$ac_try_echo") >&5
12579
(eval "$ac_compile") 2>conftest.er1
12581
grep -v '^ *+' conftest.er1 >conftest.err
12583
cat conftest.err >&5
12584
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585
(exit $ac_status); } && {
12586
test -z "$ac_c_werror_flag" ||
12587
test ! -s conftest.err
12588
} && test -s conftest.$ac_objext; then
12589
cat >conftest.$ac_ext <<_ACEOF
12592
cat confdefs.h >>conftest.$ac_ext
12593
cat >>conftest.$ac_ext <<_ACEOF
12594
/* end confdefs.h. */
12595
#if defined(HAVE_ARGZ_H)
12602
if (sizeof ((error_t)))
12608
rm -f conftest.$ac_objext
12609
if { (ac_try="$ac_compile"
12610
case "(($ac_try" in
12611
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12612
*) ac_try_echo=$ac_try;;
12614
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12615
$as_echo "$ac_try_echo") >&5
12616
(eval "$ac_compile") 2>conftest.er1
12618
grep -v '^ *+' conftest.er1 >conftest.err
12620
cat conftest.err >&5
12621
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622
(exit $ac_status); } && {
12623
test -z "$ac_c_werror_flag" ||
12624
test ! -s conftest.err
12625
} && test -s conftest.$ac_objext; then
12628
$as_echo "$as_me: failed program was:" >&5
12629
sed 's/^/| /' conftest.$ac_ext >&5
12631
ac_cv_type_error_t=yes
12634
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12636
$as_echo "$as_me: failed program was:" >&5
12637
sed 's/^/| /' conftest.$ac_ext >&5
12642
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12644
{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
12645
$as_echo "$ac_cv_type_error_t" >&6; }
12646
if test "x$ac_cv_type_error_t" = x""yes; then
12648
cat >>confdefs.h <<_ACEOF
12649
#define HAVE_ERROR_T 1
12655
cat >>confdefs.h <<\_ACEOF
12656
#define error_t int
12660
cat >>confdefs.h <<\_ACEOF
12661
#define __error_t_defined 1
12675
for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
12676
argz_next argz_stringify
12678
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12679
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12680
$as_echo_n "checking for $ac_func... " >&6; }
12681
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12682
$as_echo_n "(cached) " >&6
12684
cat >conftest.$ac_ext <<_ACEOF
12687
cat confdefs.h >>conftest.$ac_ext
12688
cat >>conftest.$ac_ext <<_ACEOF
12689
/* end confdefs.h. */
12690
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12691
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12692
#define $ac_func innocuous_$ac_func
12694
/* System header to define __stub macros and hopefully few prototypes,
12695
which can conflict with char $ac_func (); below.
12696
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12697
<limits.h> exists even on freestanding compilers. */
12700
# include <limits.h>
12702
# include <assert.h>
12707
/* Override any GCC internal prototype to avoid an error.
12708
Use char because int might match the return type of a GCC
12709
builtin and then its argument prototype would still apply. */
12714
/* The GNU C library defines this for functions which it implements
12715
to always fail with ENOSYS. Some functions are actually named
12716
something starting with __ and the normal name is an alias. */
12717
#if defined __stub_$ac_func || defined __stub___$ac_func
12724
return $ac_func ();
12729
rm -f conftest.$ac_objext conftest$ac_exeext
12730
if { (ac_try="$ac_link"
12731
case "(($ac_try" in
12732
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12733
*) ac_try_echo=$ac_try;;
12735
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12736
$as_echo "$ac_try_echo") >&5
12737
(eval "$ac_link") 2>conftest.er1
12739
grep -v '^ *+' conftest.er1 >conftest.err
12741
cat conftest.err >&5
12742
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743
(exit $ac_status); } && {
12744
test -z "$ac_c_werror_flag" ||
12745
test ! -s conftest.err
12746
} && test -s conftest$ac_exeext && {
12747
test "$cross_compiling" = yes ||
12748
$as_test_x conftest$ac_exeext
12750
eval "$as_ac_var=yes"
12752
$as_echo "$as_me: failed program was:" >&5
12753
sed 's/^/| /' conftest.$ac_ext >&5
12755
eval "$as_ac_var=no"
12758
rm -rf conftest.dSYM
12759
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12760
conftest$ac_exeext conftest.$ac_ext
12762
ac_res=`eval 'as_val=${'$as_ac_var'}
12763
$as_echo "$as_val"'`
12764
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12765
$as_echo "$ac_res" >&6; }
12766
as_val=`eval 'as_val=${'$as_ac_var'}
12767
$as_echo "$as_val"'`
12768
if test "x$as_val" = x""yes; then
12769
cat >>confdefs.h <<_ACEOF
12770
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12774
ARGZ_H=argz.h; case " $LIBOBJS " in
12775
*" argz.$ac_objext "* ) ;;
12776
*) LIBOBJS="$LIBOBJS argz.$ac_objext"
12784
if test -z "$ARGZ_H"; then
12785
{ $as_echo "$as_me:$LINENO: checking if argz actually works" >&5
12786
$as_echo_n "checking if argz actually works... " >&6; }
12787
if test "${lt_cv_sys_argz_works+set}" = set; then
12788
$as_echo_n "(cached) " >&6
12790
case $host_os in #(
12792
lt_cv_sys_argz_works=no
12793
if test "$cross_compiling" != no; then
12794
lt_cv_sys_argz_works="guessing no"
12796
lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
12799
set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
12804
if test "$lt_os_major" -gt 1 \
12805
|| { test "$lt_os_major" -eq 1 \
12806
&& { test "$lt_os_minor" -gt 5 \
12807
|| { test "$lt_os_minor" -eq 5 \
12808
&& test "$lt_os_micro" -gt 24; }; }; }; then
12809
lt_cv_sys_argz_works=yes
12813
*) lt_cv_sys_argz_works=yes ;;
12816
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
12817
$as_echo "$lt_cv_sys_argz_works" >&6; }
12818
if test $lt_cv_sys_argz_works = yes; then
12820
cat >>confdefs.h <<\_ACEOF
12821
#define HAVE_WORKING_ARGZ 1
12826
case " $LIBOBJS " in
12827
*" argz.$ac_objext "* ) ;;
12828
*) LIBOBJS="$LIBOBJS argz.$ac_objext"
12839
{ $as_echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
12840
$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
12841
if test "${libltdl_cv_preloaded_symbols+set}" = set; then
12842
$as_echo_n "(cached) " >&6
12844
if test -n "$lt_cv_sys_global_symbol_pipe"; then
12845
libltdl_cv_preloaded_symbols=yes
12847
libltdl_cv_preloaded_symbols=no
12851
{ $as_echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
12852
$as_echo "$libltdl_cv_preloaded_symbols" >&6; }
12853
if test x"$libltdl_cv_preloaded_symbols" = xyes; then
12855
cat >>confdefs.h <<\_ACEOF
12856
#define HAVE_PRELOADED_SYMBOLS 1
12863
# Check whether --enable-ltdl-install was given.
12864
if test "${enable_ltdl_install+set}" = set; then
12865
enableval=$enable_ltdl_install;
12869
case ,${enable_ltdl_install},${enable_ltdl_convenience} in
12871
*) enable_ltdl_convenience=yes ;;
12874
if test x"${enable_ltdl_install-no}" != xno; then
12876
INSTALL_LTDL_FALSE='#'
12878
INSTALL_LTDL_TRUE='#'
12879
INSTALL_LTDL_FALSE=
12882
if test x"${enable_ltdl_convenience-no}" != xno; then
12883
CONVENIENCE_LTDL_TRUE=
12884
CONVENIENCE_LTDL_FALSE='#'
12886
CONVENIENCE_LTDL_TRUE='#'
12887
CONVENIENCE_LTDL_FALSE=
12895
# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
12896
# the user used. This is so that ltdl.h can pick up the parent projects
12897
# config.h file, The first file in AC_CONFIG_HEADERS must contain the
12898
# definitions required by ltdl.c.
12899
# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
12909
for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
12911
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12912
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12913
$as_echo_n "checking for $ac_header... " >&6; }
12914
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12915
$as_echo_n "(cached) " >&6
12917
cat >conftest.$ac_ext <<_ACEOF
12920
cat confdefs.h >>conftest.$ac_ext
12921
cat >>conftest.$ac_ext <<_ACEOF
12922
/* end confdefs.h. */
12923
$ac_includes_default
12925
#include <$ac_header>
12927
rm -f conftest.$ac_objext
12928
if { (ac_try="$ac_compile"
12929
case "(($ac_try" in
12930
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12931
*) ac_try_echo=$ac_try;;
12933
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12934
$as_echo "$ac_try_echo") >&5
12935
(eval "$ac_compile") 2>conftest.er1
12937
grep -v '^ *+' conftest.er1 >conftest.err
12939
cat conftest.err >&5
12940
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12941
(exit $ac_status); } && {
12942
test -z "$ac_c_werror_flag" ||
12943
test ! -s conftest.err
12944
} && test -s conftest.$ac_objext; then
12945
eval "$as_ac_Header=yes"
12947
$as_echo "$as_me: failed program was:" >&5
12948
sed 's/^/| /' conftest.$ac_ext >&5
12950
eval "$as_ac_Header=no"
12953
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12955
ac_res=`eval 'as_val=${'$as_ac_Header'}
12956
$as_echo "$as_val"'`
12957
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12958
$as_echo "$ac_res" >&6; }
12959
as_val=`eval 'as_val=${'$as_ac_Header'}
12960
$as_echo "$as_val"'`
12961
if test "x$as_val" = x""yes; then
12962
cat >>confdefs.h <<_ACEOF
12963
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12974
for ac_func in closedir opendir readdir
12976
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12977
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
12978
$as_echo_n "checking for $ac_func... " >&6; }
12979
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12980
$as_echo_n "(cached) " >&6
12982
cat >conftest.$ac_ext <<_ACEOF
12985
cat confdefs.h >>conftest.$ac_ext
12986
cat >>conftest.$ac_ext <<_ACEOF
12987
/* end confdefs.h. */
12988
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12989
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12990
#define $ac_func innocuous_$ac_func
12992
/* System header to define __stub macros and hopefully few prototypes,
12993
which can conflict with char $ac_func (); below.
12994
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12995
<limits.h> exists even on freestanding compilers. */
12998
# include <limits.h>
13000
# include <assert.h>
13005
/* Override any GCC internal prototype to avoid an error.
13006
Use char because int might match the return type of a GCC
13007
builtin and then its argument prototype would still apply. */
13012
/* The GNU C library defines this for functions which it implements
13013
to always fail with ENOSYS. Some functions are actually named
13014
something starting with __ and the normal name is an alias. */
13015
#if defined __stub_$ac_func || defined __stub___$ac_func
13022
return $ac_func ();
13027
rm -f conftest.$ac_objext conftest$ac_exeext
13028
if { (ac_try="$ac_link"
13029
case "(($ac_try" in
13030
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13031
*) ac_try_echo=$ac_try;;
13033
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13034
$as_echo "$ac_try_echo") >&5
13035
(eval "$ac_link") 2>conftest.er1
13037
grep -v '^ *+' conftest.er1 >conftest.err
13039
cat conftest.err >&5
13040
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13041
(exit $ac_status); } && {
13042
test -z "$ac_c_werror_flag" ||
13043
test ! -s conftest.err
13044
} && test -s conftest$ac_exeext && {
13045
test "$cross_compiling" = yes ||
13046
$as_test_x conftest$ac_exeext
13048
eval "$as_ac_var=yes"
13050
$as_echo "$as_me: failed program was:" >&5
13051
sed 's/^/| /' conftest.$ac_ext >&5
13053
eval "$as_ac_var=no"
13056
rm -rf conftest.dSYM
13057
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13058
conftest$ac_exeext conftest.$ac_ext
13060
ac_res=`eval 'as_val=${'$as_ac_var'}
13061
$as_echo "$as_val"'`
13062
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13063
$as_echo "$ac_res" >&6; }
13064
as_val=`eval 'as_val=${'$as_ac_var'}
13065
$as_echo "$as_val"'`
13066
if test "x$as_val" = x""yes; then
13067
cat >>confdefs.h <<_ACEOF
13068
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13072
case " $LIBOBJS " in
13073
*" lt__dirent.$ac_objext "* ) ;;
13074
*) LIBOBJS="$LIBOBJS lt__dirent.$ac_objext"
13083
for ac_func in strlcat strlcpy
13085
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13086
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13087
$as_echo_n "checking for $ac_func... " >&6; }
13088
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13089
$as_echo_n "(cached) " >&6
13091
cat >conftest.$ac_ext <<_ACEOF
13094
cat confdefs.h >>conftest.$ac_ext
13095
cat >>conftest.$ac_ext <<_ACEOF
13096
/* end confdefs.h. */
13097
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13098
For example, HP-UX 11i <limits.h> declares gettimeofday. */
13099
#define $ac_func innocuous_$ac_func
13101
/* System header to define __stub macros and hopefully few prototypes,
13102
which can conflict with char $ac_func (); below.
13103
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13104
<limits.h> exists even on freestanding compilers. */
13107
# include <limits.h>
13109
# include <assert.h>
13114
/* Override any GCC internal prototype to avoid an error.
13115
Use char because int might match the return type of a GCC
13116
builtin and then its argument prototype would still apply. */
13121
/* The GNU C library defines this for functions which it implements
13122
to always fail with ENOSYS. Some functions are actually named
13123
something starting with __ and the normal name is an alias. */
13124
#if defined __stub_$ac_func || defined __stub___$ac_func
13131
return $ac_func ();
13136
rm -f conftest.$ac_objext conftest$ac_exeext
13137
if { (ac_try="$ac_link"
13138
case "(($ac_try" in
13139
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13140
*) ac_try_echo=$ac_try;;
13142
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13143
$as_echo "$ac_try_echo") >&5
13144
(eval "$ac_link") 2>conftest.er1
13146
grep -v '^ *+' conftest.er1 >conftest.err
13148
cat conftest.err >&5
13149
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150
(exit $ac_status); } && {
13151
test -z "$ac_c_werror_flag" ||
13152
test ! -s conftest.err
13153
} && test -s conftest$ac_exeext && {
13154
test "$cross_compiling" = yes ||
13155
$as_test_x conftest$ac_exeext
13157
eval "$as_ac_var=yes"
13159
$as_echo "$as_me: failed program was:" >&5
13160
sed 's/^/| /' conftest.$ac_ext >&5
13162
eval "$as_ac_var=no"
13165
rm -rf conftest.dSYM
13166
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13167
conftest$ac_exeext conftest.$ac_ext
13169
ac_res=`eval 'as_val=${'$as_ac_var'}
13170
$as_echo "$as_val"'`
13171
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13172
$as_echo "$ac_res" >&6; }
13173
as_val=`eval 'as_val=${'$as_ac_var'}
13174
$as_echo "$as_val"'`
13175
if test "x$as_val" = x""yes; then
13176
cat >>confdefs.h <<_ACEOF
13177
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13181
case " $LIBOBJS " in
13182
*" lt__strl.$ac_objext "* ) ;;
13183
*) LIBOBJS="$LIBOBJS lt__strl.$ac_objext"
13192
cat >>confdefs.h <<_ACEOF
13193
#define LT_LIBEXT "$libext"
13198
LTDLOPEN=`eval "\\$ECHO \"$libname_spec\""`
13206
ac_config_files="$ac_config_files Makefile"
13208
cat >confcache <<\_ACEOF
13209
# This file is a shell script that caches the results of configure
13210
# tests run on this system so they can be shared between configure
13211
# scripts and configure runs, see configure's option --config-cache.
13212
# It is not useful on other systems. If it contains results you don't
13213
# want to keep, you may remove or edit it.
13215
# config.status only pays attention to the cache file if you give it
13216
# the --recheck option to rerun configure.
13218
# `ac_cv_env_foo' variables (set or unset) will be overridden when
13219
# loading this file, other *unset* `ac_cv_foo' will be assigned the
13220
# following values.
13224
# The following way of writing the cache mishandles newlines in values,
13225
# but we know of no workaround that is simple, portable, and efficient.
13226
# So, we kill variables containing newlines.
13227
# Ultrix sh set writes to stderr and can't be redirected directly,
13228
# and sets the high bit in the cache file unless we assign to the vars.
13230
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13231
eval ac_val=\$$ac_var
13235
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13236
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13239
_ | IFS | as_nl) ;; #(
13240
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13241
*) $as_unset $ac_var ;;
13247
case $as_nl`(ac_space=' '; set) 2>&1` in #(
13248
*${as_nl}ac_space=\ *)
13249
# `set' does not quote correctly, so add quotes (double-quote
13250
# substitution turns \\\\ into \\, and sed turns \\ into \).
13253
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13256
# `set' quotes correctly as required by POSIX, so do not add quotes.
13257
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13266
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13268
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13270
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13271
if test -w "$cache_file"; then
13272
test "x$cache_file" != "x/dev/null" &&
13273
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13274
$as_echo "$as_me: updating cache $cache_file" >&6;}
13275
cat confcache >$cache_file
13277
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13278
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13283
test "x$prefix" = xNONE && prefix=$ac_default_prefix
13284
# Let make expand exec_prefix.
13285
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13287
DEFS=-DHAVE_CONFIG_H
13291
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13292
# 1. Remove the extension, and $U if already installed.
13293
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13294
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13295
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13296
# will be set to the directory where LIBOBJS objects are built.
13297
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13298
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13300
LIBOBJS=$ac_libobjs
13302
LTLIBOBJS=$ac_ltlibobjs
13305
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13306
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13307
Usually this means the macro was only invoked conditionally." >&5
13308
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
13309
Usually this means the macro was only invoked conditionally." >&2;}
13310
{ (exit 1); exit 1; }; }
13312
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13313
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13314
Usually this means the macro was only invoked conditionally." >&5
13315
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13316
Usually this means the macro was only invoked conditionally." >&2;}
13317
{ (exit 1); exit 1; }; }
13319
if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
13320
{ { $as_echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
13321
Usually this means the macro was only invoked conditionally." >&5
13322
$as_echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
13323
Usually this means the macro was only invoked conditionally." >&2;}
13324
{ (exit 1); exit 1; }; }
13326
if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
13327
{ { $as_echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
13328
Usually this means the macro was only invoked conditionally." >&5
13329
$as_echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
13330
Usually this means the macro was only invoked conditionally." >&2;}
13331
{ (exit 1); exit 1; }; }
13333
LT_CONFIG_H=config.h
13335
: ${CONFIG_STATUS=./config.status}
13337
ac_clean_files_save=$ac_clean_files
13338
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13339
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13340
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13341
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13343
# Generated by $as_me.
13344
# Run this file to recreate the current configuration.
13345
# Compiler output produced by configure, useful for debugging
13346
# configure, is in config.log if it exists.
13349
ac_cs_recheck=false
13351
SHELL=\${CONFIG_SHELL-$SHELL}
13354
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13355
## --------------------- ##
13356
## M4sh Initialization. ##
13357
## --------------------- ##
13359
# Be more Bourne compatible
13360
DUALCASE=1; export DUALCASE # for MKS sh
13361
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13364
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13365
# is contrary to our usage. Disable this feature.
13366
alias -g '${1+"$@"}'='"$@"'
13367
setopt NO_GLOB_SUBST
13369
case `(set -o) 2>/dev/null` in
13370
*posix*) set -o posix ;;
13379
# Avoid depending upon Character Ranges.
13380
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13381
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13382
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13383
as_cr_digits='0123456789'
13384
as_cr_alnum=$as_cr_Letters$as_cr_digits
13389
# Printing a long string crashes Solaris 7 /usr/bin/printf.
13390
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13391
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13392
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13393
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13394
as_echo='printf %s\n'
13395
as_echo_n='printf %s'
13397
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13398
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13399
as_echo_n='/usr/ucb/echo -n'
13401
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13402
as_echo_n_body='eval
13406
expr "X$arg" : "X\\(.*\\)$as_nl";
13407
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13409
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13411
export as_echo_n_body
13412
as_echo_n='sh -c $as_echo_n_body as_echo'
13414
export as_echo_body
13415
as_echo='sh -c $as_echo_body as_echo'
13418
# The user is always right.
13419
if test "${PATH_SEPARATOR+set}" != set; then
13421
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13422
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13427
# Support unset when possible.
13428
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13436
# We need space, tab and new line, in precisely that order. Quoting is
13437
# there to prevent editors from complaining about space-tab.
13438
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13439
# splitting by setting IFS to empty value.)
13442
# Find who we are. Look in the path if we contain no directory separator.
13444
*[\\/]* ) as_myself=$0 ;;
13445
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13446
for as_dir in $PATH
13449
test -z "$as_dir" && as_dir=.
13450
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13456
# We did not find ourselves, most probably we were run as `sh COMMAND'
13457
# in which case we are not to be found in the path.
13458
if test "x$as_myself" = x; then
13461
if test ! -f "$as_myself"; then
13462
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13463
{ (exit 1); exit 1; }
13466
# Work around bugs in pre-3.0 UWIN ksh.
13467
for as_var in ENV MAIL MAILPATH
13468
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13480
# Required to use basename.
13481
if expr a : '\(a\)' >/dev/null 2>&1 &&
13482
test "X`expr 00001 : '.*\(...\)'`" = X001; then
13488
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13489
as_basename=basename
13495
# Name of the executable.
13496
as_me=`$as_basename -- "$0" ||
13497
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13498
X"$0" : 'X\(//\)$' \| \
13499
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13501
sed '/^.*\/\([^/][^/]*\)\/*$/{
13520
as_lineno_1=$LINENO
13521
as_lineno_2=$LINENO
13522
test "x$as_lineno_1" != "x$as_lineno_2" &&
13523
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13525
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13526
# uniformly replaced by the line number. The first 'sed' inserts a
13527
# line-number line after each line using $LINENO; the second 'sed'
13528
# does the real work. The second script uses 'N' to pair each
13529
# line-number line with the line containing $LINENO, and appends
13530
# trailing '-' during substitution so that $LINENO is not a special
13531
# case at line end.
13532
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13533
# scripts with optimization help from Paolo Bonzini. Blame Lee
13534
# E. McMahon (1931-1989) for sed's syntax. :-)
13546
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13549
' >$as_me.lineno &&
13550
chmod +x "$as_me.lineno" ||
13551
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13552
{ (exit 1); exit 1; }; }
13554
# Don't try to exec as it changes $[0], causing all sort of problems
13555
# (the dirname of $[0] is not the place where we might find the
13556
# original and so on. Autoconf is especially sensitive to this).
13557
. "./$as_me.lineno"
13558
# Exit status is that of the last command.
13563
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13569
ECHO_C= ECHO_N= ECHO_T=
13570
case `echo -n x` in
13572
case `echo 'x\c'` in
13573
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
13579
if expr a : '\(a\)' >/dev/null 2>&1 &&
13580
test "X`expr 00001 : '.*\(...\)'`" = X001; then
13586
rm -f conf$$ conf$$.exe conf$$.file
13587
if test -d conf$$.dir; then
13588
rm -f conf$$.dir/conf$$.file
13591
mkdir conf$$.dir 2>/dev/null
13593
if (echo >conf$$.file) 2>/dev/null; then
13594
if ln -s conf$$.file conf$$ 2>/dev/null; then
13596
# ... but there are two gotchas:
13597
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13598
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13599
# In both cases, we have to default to `cp -p'.
13600
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13602
elif ln conf$$.file conf$$ 2>/dev/null; then
13610
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13611
rmdir conf$$.dir 2>/dev/null
13613
if mkdir -p . 2>/dev/null; then
13616
test -d ./-p && rmdir ./-p
13620
if test -x / >/dev/null 2>&1; then
13621
as_test_x='test -x'
13623
if ls -dL / >/dev/null 2>&1; then
13630
if test -d "$1"; then
13636
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13637
???[sx]*):;;*)false;;esac;fi
13641
as_executable_p=$as_test_x
13643
# Sed expression to map a string onto a valid CPP name.
13644
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13646
# Sed expression to map a string onto a valid variable name.
13647
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13652
# Save the log message, to keep $[0] and so on meaningful, and to
13653
# report actual input values of CONFIG_FILES etc. instead of their
13654
# values after options handling.
13656
This file was extended by libltdl $as_me 2.2.6, which was
13657
generated by GNU Autoconf 2.63. Invocation command line was
13659
CONFIG_FILES = $CONFIG_FILES
13660
CONFIG_HEADERS = $CONFIG_HEADERS
13661
CONFIG_LINKS = $CONFIG_LINKS
13662
CONFIG_COMMANDS = $CONFIG_COMMANDS
13665
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13670
case $ac_config_files in *"
13671
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13674
case $ac_config_headers in *"
13675
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13679
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13680
# Files that config.status was made for.
13681
config_files="$ac_config_files"
13682
config_headers="$ac_config_headers"
13683
config_commands="$ac_config_commands"
13687
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13689
\`$as_me' instantiates files from templates according to the
13690
current configuration.
13692
Usage: $0 [OPTION]... [FILE]...
13694
-h, --help print this help, then exit
13695
-V, --version print version number and configuration settings, then exit
13696
-q, --quiet, --silent
13697
do not print progress messages
13698
-d, --debug don't remove temporary files
13699
--recheck update $as_me by reconfiguring in the same conditions
13700
--file=FILE[:TEMPLATE]
13701
instantiate the configuration file FILE
13702
--header=FILE[:TEMPLATE]
13703
instantiate the configuration header FILE
13705
Configuration files:
13708
Configuration headers:
13711
Configuration commands:
13714
Report bugs to <bug-autoconf@gnu.org>."
13717
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13719
libltdl config.status 2.2.6
13720
configured by $0, generated by GNU Autoconf 2.63,
13721
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13723
Copyright (C) 2008 Free Software Foundation, Inc.
13724
This config.status script is free software; the Free Software Foundation
13725
gives unlimited permission to copy, distribute and modify it."
13732
test -n "\$AWK" || AWK=awk
13735
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13736
# The default lists apply if the user does not specify any file.
13742
ac_option=`expr "X$1" : 'X\([^=]*\)='`
13743
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13754
# Handling of the options.
13755
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13757
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13758
$as_echo "$ac_cs_version"; exit ;;
13759
--debug | --debu | --deb | --de | --d | -d )
13761
--file | --fil | --fi | --f )
13764
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13766
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13767
ac_need_defaults=false;;
13768
--header | --heade | --head | --hea )
13771
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13773
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
13774
ac_need_defaults=false;;
13776
# Conflict between --help and --header
13777
{ $as_echo "$as_me: error: ambiguous option: $1
13778
Try \`$0 --help' for more information." >&2
13779
{ (exit 1); exit 1; }; };;
13780
--help | --hel | -h )
13781
$as_echo "$ac_cs_usage"; exit ;;
13782
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
13783
| -silent | --silent | --silen | --sile | --sil | --si | --s)
13786
# This is an error.
13787
-*) { $as_echo "$as_me: error: unrecognized option: $1
13788
Try \`$0 --help' for more information." >&2
13789
{ (exit 1); exit 1; }; } ;;
13791
*) ac_config_targets="$ac_config_targets $1"
13792
ac_need_defaults=false ;;
13798
ac_configure_extra_args=
13800
if $ac_cs_silent; then
13802
ac_configure_extra_args="$ac_configure_extra_args --silent"
13806
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13807
if \$ac_cs_recheck; then
13808
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13810
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13811
CONFIG_SHELL='$SHELL'
13812
export CONFIG_SHELL
13817
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13821
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13822
## Running $as_me. ##
13828
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13832
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13835
# The HP-UX ksh and POSIX shell print the target directory to stdout
13836
# if CDPATH is set.
13837
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13839
sed_quote_subst='$sed_quote_subst'
13840
double_quote_subst='$double_quote_subst'
13841
delay_variable_subst='$delay_variable_subst'
13842
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13843
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13844
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
13845
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13846
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13847
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13848
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13849
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13850
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13851
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13852
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13853
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13854
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13855
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13856
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13857
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13858
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13859
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13860
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13861
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13862
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13863
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13864
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13865
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13866
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13867
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13868
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13869
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13870
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13871
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13872
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13873
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13874
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13875
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13876
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13877
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13878
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13879
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13880
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13881
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13882
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13883
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13884
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13885
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13886
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13887
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13888
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"`'
13889
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"`'
13890
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13891
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13892
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13893
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13894
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13895
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13896
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13897
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13898
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13899
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13900
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13901
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13902
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13903
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13904
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13905
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13906
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13907
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13908
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13909
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13910
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13911
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13912
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13913
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13914
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13915
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13916
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13917
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13918
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13919
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13920
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13921
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13922
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13923
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13924
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13925
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13926
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13927
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13928
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13929
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13930
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13931
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13932
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13933
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13934
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13935
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13936
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13937
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13938
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13939
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13940
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13941
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13942
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13943
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13944
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13945
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13946
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13947
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13948
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13949
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13950
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13951
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13952
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13953
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13954
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13955
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13956
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13957
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13958
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13959
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13960
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13961
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13964
LTCFLAGS='$LTCFLAGS'
13965
compiler='$compiler_DEFAULT'
13967
# Quote evaled strings.
13978
deplibs_check_method \
13987
lt_cv_sys_global_symbol_pipe \
13988
lt_cv_sys_global_symbol_to_cdecl \
13989
lt_cv_sys_global_symbol_to_c_name_address \
13990
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13993
lt_prog_compiler_no_builtin_flag \
13994
lt_prog_compiler_wl \
13995
lt_prog_compiler_pic \
13996
lt_prog_compiler_static \
13997
lt_cv_prog_compiler_c_o \
14005
export_dynamic_flag_spec \
14006
whole_archive_flag_spec \
14007
compiler_needs_object \
14009
allow_undefined_flag \
14010
no_undefined_flag \
14011
hardcode_libdir_flag_spec \
14012
hardcode_libdir_flag_spec_ld \
14013
hardcode_libdir_separator \
14018
variables_saved_for_relink \
14020
library_names_spec \
14025
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14026
*[\\\\\\\`\\"\\\$]*)
14027
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14030
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14035
# Double-quote double-evaled strings.
14036
for var in reload_cmds \
14037
old_postinstall_cmds \
14038
old_postuninstall_cmds \
14040
extract_expsyms_cmds \
14041
old_archive_from_new_cmds \
14042
old_archive_from_expsyms_cmds \
14044
archive_expsym_cmds \
14046
module_expsym_cmds \
14047
export_symbols_cmds \
14050
postuninstall_cmds \
14052
sys_lib_search_path_spec \
14053
sys_lib_dlsearch_path_spec; do
14054
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14055
*[\\\\\\\`\\"\\\$]*)
14056
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14059
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14064
# Fix-up fallback echo if it was mangled by the above quoting rules.
14066
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14070
ac_aux_dir='$ac_aux_dir'
14071
xsi_shell='$xsi_shell'
14072
lt_shell_append='$lt_shell_append'
14074
# See if we are running on zsh, and set the options which allow our
14075
# commands through without removal of \ escapes INIT.
14076
if test -n "\${ZSH_VERSION+set}" ; then
14077
setopt NO_GLOB_SUBST
14083
TIMESTAMP='$TIMESTAMP'
14092
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14094
# Handling of arguments.
14095
for ac_config_target in $ac_config_targets
14097
case $ac_config_target in
14098
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config-h.in" ;;
14099
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14100
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14101
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14103
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14104
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14105
{ (exit 1); exit 1; }; };;
14110
# If the user did not use the arguments to specify the items to instantiate,
14111
# then the envvar interface is used. Set only those that are not.
14112
# We use the long form for the default assignment because of an extremely
14113
# bizarre bug on SunOS 4.1.3.
14114
if $ac_need_defaults; then
14115
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14116
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14117
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14120
# Have a temporary directory for convenience. Make it in the build tree
14121
# simply because there is no reason against having it here, and in addition,
14122
# creating and moving files from /tmp can sometimes cause problems.
14123
# Hook for its removal unless debugging.
14124
# Note that there is a small window in which the directory will not be cleaned:
14125
# after its creation but before its name has been assigned to `$tmp'.
14129
trap 'exit_status=$?
14130
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14132
trap '{ (exit 1); exit 1; }' 1 2 13 15
14134
# Create a (secure) tmp directory for tmp files.
14137
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14138
test -n "$tmp" && test -d "$tmp"
14141
tmp=./conf$$-$RANDOM
14142
(umask 077 && mkdir "$tmp")
14145
$as_echo "$as_me: cannot create a temporary directory in ." >&2
14146
{ (exit 1); exit 1; }
14149
# Set up the scripts for CONFIG_FILES section.
14150
# No need to generate them if there are no CONFIG_FILES.
14151
# This happens for instance with `./config.status config.h'.
14152
if test -n "$CONFIG_FILES"; then
14156
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14157
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14160
ac_cs_awk_cr=$ac_cr
14163
echo 'BEGIN {' >"$tmp/subs1.awk" &&
14168
echo "cat >conf$$subs.awk <<_ACEOF" &&
14169
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14171
} >conf$$subs.sh ||
14172
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14173
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14174
{ (exit 1); exit 1; }; }
14175
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14177
for ac_last_try in false false false false false :; do
14178
. ./conf$$subs.sh ||
14179
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14180
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14181
{ (exit 1); exit 1; }; }
14183
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14184
if test $ac_delim_n = $ac_delim_num; then
14186
elif $ac_last_try; then
14187
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14188
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14189
{ (exit 1); exit 1; }; }
14191
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14194
rm -f conf$$subs.sh
14196
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14197
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14201
s/^/S["/; s/!.*/"]=/
14211
s/\(.\{148\}\).*/\1/
14213
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14218
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14225
s/\(.\{148\}\).*/\1/
14227
s/["\\]/\\&/g; s/^/"/; s/$/"/
14231
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14236
' <conf$$subs.awk | sed '
14241
' >>$CONFIG_STATUS || ac_write_fail=1
14242
rm -f conf$$subs.awk
14243
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14245
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14246
for (key in S) S_is_set[key] = 1
14252
nfields = split(line, field, "@")
14254
len = length(field[1])
14255
for (i = 2; i < nfields; i++) {
14257
keylen = length(key)
14258
if (S_is_set[key]) {
14260
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14261
len += length(value) + length(field[++i])
14272
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14273
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14274
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14277
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14278
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
14279
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
14280
{ (exit 1); exit 1; }; }
14283
# VPATH may cause trouble with some makes, so we remove $(srcdir),
14284
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14285
# trailing colons and then remove the whole line if VPATH becomes empty
14286
# (actually we leave an empty line to preserve line numbers).
14287
if test "x$srcdir" = x.; then
14288
ac_vpsub='/^[ ]*VPATH[ ]*=/{
14289
s/:*\$(srcdir):*/:/
14290
s/:*\${srcdir}:*/:/
14292
s/^\([^=]*=[ ]*\):*/\1/
14298
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14299
fi # test -n "$CONFIG_FILES"
14301
# Set up the scripts for CONFIG_HEADERS section.
14302
# No need to generate them if there are no CONFIG_HEADERS.
14303
# This happens for instance with `./config.status Makefile'.
14304
if test -n "$CONFIG_HEADERS"; then
14305
cat >"$tmp/defines.awk" <<\_ACAWK ||
14309
# Transform confdefs.h into an awk script `defines.awk', embedded as
14310
# here-document in config.status, that substitutes the proper values into
14311
# config.h.in to produce config.h.
14313
# Create a delimiter string that does not exist in confdefs.h, to ease
14314
# handling of long lines.
14316
for ac_last_try in false false :; do
14317
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14318
if test -z "$ac_t"; then
14320
elif $ac_last_try; then
14321
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
14322
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
14323
{ (exit 1); exit 1; }; }
14325
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14329
# For the awk script, D is an array of macro values keyed by name,
14330
# likewise P contains macro parameters if any. Preserve backslash
14331
# newline sequences.
14333
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14335
s/.\{148\}/&'"$ac_delim"'/g
14338
s/^[ ]*#[ ]*define[ ][ ]*/ /
14345
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14347
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14351
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14352
D["\1"]=" \3\\\\\\n"\\/p
14354
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14359
s/.\{148\}/&'"$ac_delim"'/g
14364
s/["\\]/\\&/g; s/^/"/; s/$/"/p
14367
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14369
' <confdefs.h | sed '
14370
s/'"$ac_delim"'/"\\\
14371
"/g' >>$CONFIG_STATUS || ac_write_fail=1
14373
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14374
for (key in D) D_is_set[key] = 1
14377
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14379
split(line, arg, " ")
14380
if (arg[1] == "#") {
14384
defundef = substr(arg[1], 2)
14387
split(mac1, mac2, "(") #)
14389
prefix = substr(line, 1, index(line, defundef) - 1)
14390
if (D_is_set[macro]) {
14391
# Preserve the white space surrounding the "#".
14392
print prefix "define", macro P[macro] D[macro]
14395
# Replace #undef with comments. This is necessary, for example,
14396
# in the case of _POSIX_SOURCE, which is predefined and required
14397
# on some systems where configure will not decide to define it.
14398
if (defundef == "undef") {
14399
print "/*", prefix defundef, macro, "*/"
14407
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14408
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14409
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14410
{ (exit 1); exit 1; }; }
14411
fi # test -n "$CONFIG_HEADERS"
14414
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14419
:[FHLC]) ac_mode=$ac_tag; continue;;
14421
case $ac_mode$ac_tag in
14423
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14424
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14425
{ (exit 1); exit 1; }; };;
14426
:[FH]-) ac_tag=-:-;;
14427
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14444
-) ac_f="$tmp/stdin";;
14445
*) # Look for the file first in the build tree, then in the source tree
14446
# (if the path is not absolute). The absolute path cannot be DOS-style,
14447
# because $ac_f cannot contain `:'.
14451
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14453
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14454
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14455
{ (exit 1); exit 1; }; };;
14457
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14458
ac_file_inputs="$ac_file_inputs '$ac_f'"
14461
# Let's still pretend it is `configure' which instantiates (i.e., don't
14462
# use $as_me), people would be surprised to read:
14463
# /* config.h. Generated by config.status. */
14464
configure_input='Generated from '`
14465
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14467
if test x"$ac_file" != x-; then
14468
configure_input="$ac_file. $configure_input"
14469
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14470
$as_echo "$as_me: creating $ac_file" >&6;}
14472
# Neutralize special characters interpreted by sed in replacement strings.
14473
case $configure_input in #(
14474
*\&* | *\|* | *\\* )
14475
ac_sed_conf_input=`$as_echo "$configure_input" |
14476
sed 's/[\\\\&|]/\\\\&/g'`;; #(
14477
*) ac_sed_conf_input=$configure_input;;
14481
*:-:* | *:-) cat >"$tmp/stdin" \
14482
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14483
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14484
{ (exit 1); exit 1; }; } ;;
14489
ac_dir=`$as_dirname -- "$ac_file" ||
14490
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14491
X"$ac_file" : 'X\(//\)[^/]' \| \
14492
X"$ac_file" : 'X\(//\)$' \| \
14493
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14494
$as_echo X"$ac_file" |
14495
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14499
/^X\(\/\/\)[^/].*/{
14514
-*) as_dir=./$as_dir;;
14516
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14520
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14521
*) as_qdir=$as_dir;;
14523
as_dirs="'$as_qdir' $as_dirs"
14524
as_dir=`$as_dirname -- "$as_dir" ||
14525
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14526
X"$as_dir" : 'X\(//\)[^/]' \| \
14527
X"$as_dir" : 'X\(//\)$' \| \
14528
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14529
$as_echo X"$as_dir" |
14530
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14534
/^X\(\/\/\)[^/].*/{
14547
test -d "$as_dir" && break
14549
test -z "$as_dirs" || eval "mkdir $as_dirs"
14550
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14551
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14552
{ (exit 1); exit 1; }; }; }
14556
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14558
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14559
# A ".." for each directory in $ac_dir_suffix.
14560
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14561
case $ac_top_builddir_sub in
14562
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14563
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14566
ac_abs_top_builddir=$ac_pwd
14567
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14568
# for backward compatibility:
14569
ac_top_builddir=$ac_top_build_prefix
14572
.) # We are building in place.
14574
ac_top_srcdir=$ac_top_builddir_sub
14575
ac_abs_top_srcdir=$ac_pwd ;;
14576
[\\/]* | ?:[\\/]* ) # Absolute name.
14577
ac_srcdir=$srcdir$ac_dir_suffix;
14578
ac_top_srcdir=$srcdir
14579
ac_abs_top_srcdir=$srcdir ;;
14580
*) # Relative name.
14581
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14582
ac_top_srcdir=$ac_top_build_prefix$srcdir
14583
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14585
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14595
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14596
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14598
ac_MKDIR_P=$MKDIR_P
14600
[\\/$]* | ?:[\\/]* ) ;;
14601
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14605
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14606
# If the template does not know about datarootdir, expand it.
14607
# FIXME: This hack should be removed a few years after 2.60.
14608
ac_datarootdir_hack=; ac_datarootdir_seen=
14621
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14622
*datarootdir*) ac_datarootdir_seen=yes;;
14623
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14624
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14625
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14627
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14628
ac_datarootdir_hack='
14629
s&@datadir@&$datadir&g
14630
s&@docdir@&$docdir&g
14631
s&@infodir@&$infodir&g
14632
s&@localedir@&$localedir&g
14633
s&@mandir@&$mandir&g
14634
s&\\\${datarootdir}&$datarootdir&g' ;;
14638
# Neutralize VPATH when `$srcdir' = `.'.
14639
# Shell code in configure.ac might set extrasub.
14640
# FIXME: do we really want to maintain this feature?
14641
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14642
ac_sed_extra="$ac_vpsub
14645
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14647
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14648
s|@configure_input@|$ac_sed_conf_input|;t t
14649
s&@top_builddir@&$ac_top_builddir_sub&;t t
14650
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14651
s&@srcdir@&$ac_srcdir&;t t
14652
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14653
s&@top_srcdir@&$ac_top_srcdir&;t t
14654
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14655
s&@builddir@&$ac_builddir&;t t
14656
s&@abs_builddir@&$ac_abs_builddir&;t t
14657
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14658
s&@INSTALL@&$ac_INSTALL&;t t
14659
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14660
$ac_datarootdir_hack
14662
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14663
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14664
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14665
{ (exit 1); exit 1; }; }
14667
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14668
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14669
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14670
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14671
which seems to be undefined. Please make sure it is defined." >&5
14672
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14673
which seems to be undefined. Please make sure it is defined." >&2;}
14677
-) cat "$tmp/out" && rm -f "$tmp/out";;
14678
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14680
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14681
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14682
{ (exit 1); exit 1; }; }
14688
if test x"$ac_file" != x-; then
14690
$as_echo "/* $configure_input */" \
14691
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14692
} >"$tmp/config.h" \
14693
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14694
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14695
{ (exit 1); exit 1; }; }
14696
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14697
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14698
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14701
mv "$tmp/config.h" "$ac_file" \
14702
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14703
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14704
{ (exit 1); exit 1; }; }
14707
$as_echo "/* $configure_input */" \
14708
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14709
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14710
$as_echo "$as_me: error: could not create -" >&2;}
14711
{ (exit 1); exit 1; }; }
14713
# Compute "$ac_file"'s index in $config_headers.
14716
for _am_header in $config_headers :; do
14717
case $_am_header in
14718
$_am_arg | $_am_arg:* )
14721
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
14724
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14725
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14726
X"$_am_arg" : 'X\(//\)[^/]' \| \
14727
X"$_am_arg" : 'X\(//\)$' \| \
14728
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14729
$as_echo X"$_am_arg" |
14730
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14734
/^X\(\/\/\)[^/].*/{
14746
s/.*/./; q'`/stamp-h$_am_stamp_count
14749
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14750
$as_echo "$as_me: executing $ac_file commands" >&6;}
14755
case $ac_file$ac_mode in
14756
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
14757
# Strip MF so we end up with the name of the file.
14758
mf=`echo "$mf" | sed -e 's/:.*$//'`
14759
# Check whether this is an Automake generated Makefile or not.
14760
# We used to match only the files named `Makefile.in', but
14761
# some people rename them; so instead we look at the file content.
14762
# Grep'ing the first line is not enough: some people post-process
14763
# each Makefile.in and add a new line on top of each file to say so.
14764
# Grep'ing the whole file is not good either: AIX grep has a line
14765
# limit of 2048, but all sed's we know have understand at least 4000.
14766
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14767
dirpart=`$as_dirname -- "$mf" ||
14768
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14769
X"$mf" : 'X\(//\)[^/]' \| \
14770
X"$mf" : 'X\(//\)$' \| \
14771
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14773
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14777
/^X\(\/\/\)[^/].*/{
14793
# Extract the definition of DEPDIR, am__include, and am__quote
14794
# from the Makefile without running `make'.
14795
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14796
test -z "$DEPDIR" && continue
14797
am__include=`sed -n 's/^am__include = //p' < "$mf"`
14798
test -z "am__include" && continue
14799
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14800
# When using ansi2knr, U may be empty or an underscore; expand it
14801
U=`sed -n 's/^U = //p' < "$mf"`
14802
# Find all dependency output files, they are included files with
14803
# $(DEPDIR) in their names. We invoke sed twice because it is the
14804
# simplest approach to changing $(DEPDIR) to its actual value in the
14806
for file in `sed -n "
14807
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14808
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14809
# Make sure the directory exists.
14810
test -f "$dirpart/$file" && continue
14811
fdir=`$as_dirname -- "$file" ||
14812
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14813
X"$file" : 'X\(//\)[^/]' \| \
14814
X"$file" : 'X\(//\)$' \| \
14815
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14816
$as_echo X"$file" |
14817
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14821
/^X\(\/\/\)[^/].*/{
14834
{ as_dir=$dirpart/$fdir
14836
-*) as_dir=./$as_dir;;
14838
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14842
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14843
*) as_qdir=$as_dir;;
14845
as_dirs="'$as_qdir' $as_dirs"
14846
as_dir=`$as_dirname -- "$as_dir" ||
14847
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14848
X"$as_dir" : 'X\(//\)[^/]' \| \
14849
X"$as_dir" : 'X\(//\)$' \| \
14850
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14851
$as_echo X"$as_dir" |
14852
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14856
/^X\(\/\/\)[^/].*/{
14869
test -d "$as_dir" && break
14871
test -z "$as_dirs" || eval "mkdir $as_dirs"
14872
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14873
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14874
{ (exit 1); exit 1; }; }; }
14875
# echo "creating $dirpart/$file"
14876
echo '# dummy' > "$dirpart/$file"
14882
# See if we are running on zsh, and set the options which allow our
14883
# commands through without removal of \ escapes.
14884
if test -n "${ZSH_VERSION+set}" ; then
14885
setopt NO_GLOB_SUBST
14888
cfgfile="${ofile}T"
14889
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14892
cat <<_LT_EOF >> "$cfgfile"
14895
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14896
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14897
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14898
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14900
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14901
# 2006, 2007, 2008 Free Software Foundation, Inc.
14902
# Written by Gordon Matzigkeit, 1996
14904
# This file is part of GNU Libtool.
14906
# GNU Libtool is free software; you can redistribute it and/or
14907
# modify it under the terms of the GNU General Public License as
14908
# published by the Free Software Foundation; either version 2 of
14909
# the License, or (at your option) any later version.
14911
# As a special exception to the GNU General Public License,
14912
# if you distribute this file as part of a program or library that
14913
# is built using GNU Libtool, you may include this file under the
14914
# same distribution terms that you use for the rest of that program.
14916
# GNU Libtool is distributed in the hope that it will be useful,
14917
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14918
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14919
# GNU General Public License for more details.
14921
# You should have received a copy of the GNU General Public License
14922
# along with GNU Libtool; see the file COPYING. If not, a copy
14923
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14924
# obtained by writing to the Free Software Foundation, Inc.,
14925
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14928
# The names of the tagged configurations supported by this script.
14931
# ### BEGIN LIBTOOL CONFIG
14933
# Which release of libtool.m4 was used?
14934
macro_version=$macro_version
14935
macro_revision=$macro_revision
14937
# Assembler program.
14940
# DLL creation program.
14943
# Object dumper program.
14946
# Whether or not to build shared libraries.
14947
build_libtool_libs=$enable_shared
14949
# Whether or not to build static libraries.
14950
build_old_libs=$enable_static
14952
# What type of objects to build.
14955
# Whether or not to optimize for fast installation.
14956
fast_install=$enable_fast_install
14959
host_alias=$host_alias
14963
# The build system.
14964
build_alias=$build_alias
14968
# A sed program that does not truncate output.
14971
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14972
Xsed="\$SED -e 1s/^X//"
14974
# A grep program that handles long lines.
14980
# A literal string matcher.
14983
# A BSD- or MS-compatible name lister.
14986
# Whether we need soft or hard links.
14989
# What is the maximum length of a command?
14990
max_cmd_len=$max_cmd_len
14992
# Object file suffix (normally "o").
14995
# Executable file suffix (normally "").
14998
# whether the shell understands "unset".
15001
# turn spaces into newlines.
15004
# turn newlines into spaces.
15007
# How to create reloadable object files.
15008
reload_flag=$lt_reload_flag
15009
reload_cmds=$lt_reload_cmds
15011
# Method to check whether dependent libraries are shared objects.
15012
deplibs_check_method=$lt_deplibs_check_method
15014
# Command to use when deplibs_check_method == "file_magic".
15015
file_magic_cmd=$lt_file_magic_cmd
15019
AR_FLAGS=$lt_AR_FLAGS
15021
# A symbol stripping program.
15024
# Commands used to install an old-style archive.
15026
old_postinstall_cmds=$lt_old_postinstall_cmds
15027
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15032
# LTCC compiler flags.
15033
LTCFLAGS=$lt_CFLAGS
15035
# Take the output of nm and produce a listing of raw symbols and C names.
15036
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15038
# Transform the output of nm in a proper C declaration.
15039
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15041
# Transform the output of nm in a C name address pair.
15042
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15044
# Transform the output of nm in a C name address pair when lib prefix is needed.
15045
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15047
# The name of the directory that contains temporary libtool files.
15050
# Shell to use when invoking shell scripts.
15053
# An echo program that does not interpret backslashes.
15056
# Used to examine libraries when file_magic_cmd begins with "file".
15057
MAGIC_CMD=$MAGIC_CMD
15059
# Must we lock files when doing compilation?
15060
need_locks=$lt_need_locks
15062
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15063
DSYMUTIL=$lt_DSYMUTIL
15065
# Tool to change global to local symbols on Mac OS X.
15068
# Tool to manipulate fat objects and archives on Mac OS X.
15071
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15074
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15075
OTOOL64=$lt_OTOOL64
15077
# Old archive suffix (normally "a").
15080
# Shared library suffix (normally ".so").
15081
shrext_cmds=$lt_shrext_cmds
15083
# The commands to extract the exported symbol list from a shared archive.
15084
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15086
# Variables whose values should be saved in libtool wrapper scripts and
15087
# restored at link time.
15088
variables_saved_for_relink=$lt_variables_saved_for_relink
15090
# Do we need the "lib" prefix for modules?
15091
need_lib_prefix=$need_lib_prefix
15093
# Do we need a version for libraries?
15094
need_version=$need_version
15096
# Library versioning type.
15097
version_type=$version_type
15099
# Shared library runtime path variable.
15100
runpath_var=$runpath_var
15102
# Shared library path variable.
15103
shlibpath_var=$shlibpath_var
15105
# Is shlibpath searched before the hard-coded library search path?
15106
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15108
# Format of library name prefix.
15109
libname_spec=$lt_libname_spec
15111
# List of archive names. First name is the real one, the rest are links.
15112
# The last name is the one that the linker finds with -lNAME
15113
library_names_spec=$lt_library_names_spec
15115
# The coded name of the library, if different from the real name.
15116
soname_spec=$lt_soname_spec
15118
# Command to use after installation of a shared archive.
15119
postinstall_cmds=$lt_postinstall_cmds
15121
# Command to use after uninstallation of a shared archive.
15122
postuninstall_cmds=$lt_postuninstall_cmds
15124
# Commands used to finish a libtool library installation in a directory.
15125
finish_cmds=$lt_finish_cmds
15127
# As "finish_cmds", except a single script fragment to be evaled but
15129
finish_eval=$lt_finish_eval
15131
# Whether we should hardcode library paths into libraries.
15132
hardcode_into_libs=$hardcode_into_libs
15134
# Compile-time system search path for libraries.
15135
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15137
# Run-time system search path for libraries.
15138
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15140
# Whether dlopen is supported.
15141
dlopen_support=$enable_dlopen
15143
# Whether dlopen of programs is supported.
15144
dlopen_self=$enable_dlopen_self
15146
# Whether dlopen of statically linked programs is supported.
15147
dlopen_self_static=$enable_dlopen_self_static
15149
# Commands to strip libraries.
15150
old_striplib=$lt_old_striplib
15151
striplib=$lt_striplib
15154
# The linker used to build libraries.
15157
# Commands used to build an old-style archive.
15158
old_archive_cmds=$lt_old_archive_cmds
15160
# A language specific compiler.
15163
# Is the compiler the GNU compiler?
15166
# Compiler flag to turn off builtin functions.
15167
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15169
# How to pass a linker flag through the compiler.
15170
wl=$lt_lt_prog_compiler_wl
15172
# Additional compiler flags for building library objects.
15173
pic_flag=$lt_lt_prog_compiler_pic
15175
# Compiler flag to prevent dynamic linking.
15176
link_static_flag=$lt_lt_prog_compiler_static
15178
# Does compiler simultaneously support -c and -o options?
15179
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15181
# Whether or not to add -lc for building shared libraries.
15182
build_libtool_need_lc=$archive_cmds_need_lc
15184
# Whether or not to disallow shared libs when runtime libs are static.
15185
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15187
# Compiler flag to allow reflexive dlopens.
15188
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15190
# Compiler flag to generate shared objects directly from archives.
15191
whole_archive_flag_spec=$lt_whole_archive_flag_spec
15193
# Whether the compiler copes with passing no objects directly.
15194
compiler_needs_object=$lt_compiler_needs_object
15196
# Create an old-style archive from a shared archive.
15197
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15199
# Create a temporary old-style archive to link instead of a shared archive.
15200
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15202
# Commands used to build a shared archive.
15203
archive_cmds=$lt_archive_cmds
15204
archive_expsym_cmds=$lt_archive_expsym_cmds
15206
# Commands used to build a loadable module if different from building
15207
# a shared archive.
15208
module_cmds=$lt_module_cmds
15209
module_expsym_cmds=$lt_module_expsym_cmds
15211
# Whether we are building with GNU ld or not.
15212
with_gnu_ld=$lt_with_gnu_ld
15214
# Flag that allows shared libraries with undefined symbols to be built.
15215
allow_undefined_flag=$lt_allow_undefined_flag
15217
# Flag that enforces no undefined symbols.
15218
no_undefined_flag=$lt_no_undefined_flag
15220
# Flag to hardcode \$libdir into a binary during linking.
15221
# This must work even if \$libdir does not exist
15222
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15224
# If ld is used when linking, flag to hardcode \$libdir into a binary
15225
# during linking. This must work even if \$libdir does not exist.
15226
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15228
# Whether we need a single "-rpath" flag with a separated argument.
15229
hardcode_libdir_separator=$lt_hardcode_libdir_separator
15231
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15232
# DIR into the resulting binary.
15233
hardcode_direct=$hardcode_direct
15235
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15236
# DIR into the resulting binary and the resulting library dependency is
15237
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15238
# library is relocated.
15239
hardcode_direct_absolute=$hardcode_direct_absolute
15241
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15242
# into the resulting binary.
15243
hardcode_minus_L=$hardcode_minus_L
15245
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15246
# into the resulting binary.
15247
hardcode_shlibpath_var=$hardcode_shlibpath_var
15249
# Set to "yes" if building a shared library automatically hardcodes DIR
15250
# into the library and all subsequent libraries and executables linked
15252
hardcode_automatic=$hardcode_automatic
15254
# Set to yes if linker adds runtime paths of dependent libraries
15255
# to runtime path list.
15256
inherit_rpath=$inherit_rpath
15258
# Whether libtool must link a program against all its dependency libraries.
15259
link_all_deplibs=$link_all_deplibs
15261
# Fix the shell variable \$srcfile for the compiler.
15262
fix_srcfile_path=$lt_fix_srcfile_path
15264
# Set to "yes" if exported symbols are required.
15265
always_export_symbols=$always_export_symbols
15267
# The commands to list exported symbols.
15268
export_symbols_cmds=$lt_export_symbols_cmds
15270
# Symbols that should not be listed in the preloaded symbols.
15271
exclude_expsyms=$lt_exclude_expsyms
15273
# Symbols that must always be exported.
15274
include_expsyms=$lt_include_expsyms
15276
# Commands necessary for linking programs (against libraries) with templates.
15277
prelink_cmds=$lt_prelink_cmds
15279
# Specify filename containing input files.
15280
file_list_spec=$lt_file_list_spec
15282
# How to hardcode a shared library path into an executable.
15283
hardcode_action=$hardcode_action
15285
# ### END LIBTOOL CONFIG
15291
cat <<\_LT_EOF >> "$cfgfile"
15292
# AIX sometimes has problems with the GCC collect2 program. For some
15293
# reason, if we set the COLLECT_NAMES environment variable, the problems
15294
# vanish in a puff of smoke.
15295
if test "X${COLLECT_NAMES+set}" != Xset; then
15297
export COLLECT_NAMES
15304
ltmain="$ac_aux_dir/ltmain.sh"
15307
# We use sed instead of cat because bash on DJGPP gets confused if
15308
# if finds mixed CR/LF and LF-only lines. Since sed operates in
15309
# text mode, it properly converts lines to CR/LF. This bash problem
15310
# is reportedly fixed, but why not run on old versions too?
15311
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15312
|| (rm -f "$cfgfile"; exit 1)
15316
cat << \_LT_EOF >> "$cfgfile"
15318
# func_dirname file append nondir_replacement
15319
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15320
# otherwise set result to NONDIR_REPLACEMENT.
15324
*/*) func_dirname_result="${1%/*}${2}" ;;
15325
* ) func_dirname_result="${3}" ;;
15329
# func_basename file
15332
func_basename_result="${1##*/}"
15335
# func_dirname_and_basename file append nondir_replacement
15336
# perform func_basename and func_dirname in a single function
15338
# dirname: Compute the dirname of FILE. If nonempty,
15339
# add APPEND to the result, otherwise set result
15340
# to NONDIR_REPLACEMENT.
15341
# value returned in "$func_dirname_result"
15342
# basename: Compute filename of FILE.
15343
# value retuned in "$func_basename_result"
15344
# Implementation must be kept synchronized with func_dirname
15345
# and func_basename. For efficiency, we do not delegate to
15346
# those functions but instead duplicate the functionality here.
15347
func_dirname_and_basename ()
15350
*/*) func_dirname_result="${1%/*}${2}" ;;
15351
* ) func_dirname_result="${3}" ;;
15353
func_basename_result="${1##*/}"
15356
# func_stripname prefix suffix name
15357
# strip PREFIX and SUFFIX off of NAME.
15358
# PREFIX and SUFFIX must not contain globbing or regex special
15359
# characters, hashes, percent signs, but SUFFIX may contain a leading
15360
# dot (in which case that matches only a dot).
15363
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15364
# positional parameters, so assign one to ordinary parameter first.
15365
func_stripname_result=${3}
15366
func_stripname_result=${func_stripname_result#"${1}"}
15367
func_stripname_result=${func_stripname_result%"${2}"}
15373
func_opt_split_opt=${1%%=*}
15374
func_opt_split_arg=${1#*=}
15381
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15382
*) func_lo2o_result=${1} ;;
15386
# func_xform libobj-or-source
15389
func_xform_result=${1%.*}.lo
15392
# func_arith arithmetic-term...
15395
func_arith_result=$(( $* ))
15399
# STRING may not start with a hyphen.
15402
func_len_result=${#1}
15407
*) # Bourne compatible functions.
15408
cat << \_LT_EOF >> "$cfgfile"
15410
# func_dirname file append nondir_replacement
15411
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15412
# otherwise set result to NONDIR_REPLACEMENT.
15415
# Extract subdirectory from the argument.
15416
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15417
if test "X$func_dirname_result" = "X${1}"; then
15418
func_dirname_result="${3}"
15420
func_dirname_result="$func_dirname_result${2}"
15424
# func_basename file
15427
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15431
# func_stripname prefix suffix name
15432
# strip PREFIX and SUFFIX off of NAME.
15433
# PREFIX and SUFFIX must not contain globbing or regex special
15434
# characters, hashes, percent signs, but SUFFIX may contain a leading
15435
# dot (in which case that matches only a dot).
15436
# func_strip_suffix prefix name
15440
.*) func_stripname_result=`$ECHO "X${3}" \
15441
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15442
*) func_stripname_result=`$ECHO "X${3}" \
15443
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15448
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15449
my_sed_long_arg='1s/^-[^=]*=//'
15454
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15455
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15461
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15464
# func_xform libobj-or-source
15467
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15470
# func_arith arithmetic-term...
15473
func_arith_result=`expr "$@"`
15477
# STRING may not start with a hyphen.
15480
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15486
case $lt_shell_append in
15488
cat << \_LT_EOF >> "$cfgfile"
15490
# func_append var value
15491
# Append VALUE to the end of shell variable VAR.
15499
cat << \_LT_EOF >> "$cfgfile"
15501
# func_append var value
15502
# Append VALUE to the end of shell variable VAR.
15513
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15514
|| (rm -f "$cfgfile"; exit 1)
15516
mv -f "$cfgfile" "$ofile" ||
15517
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15526
{ (exit 0); exit 0; }
15528
chmod +x $CONFIG_STATUS
15529
ac_clean_files=$ac_clean_files_save
15531
test $ac_write_fail = 0 ||
15532
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15533
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15534
{ (exit 1); exit 1; }; }
15537
# configure is writing to config.log, and then calls config.status.
15538
# config.status does its own redirection, appending to config.log.
15539
# Unfortunately, on DOS this fails, as config.log is still kept open
15540
# by configure, so config.status won't be able to write to it; its
15541
# output is simply discarded. So we exec the FD to /dev/null,
15542
# effectively closing config.log, so it can be properly (re)opened and
15543
# appended to by config.status. When coming back to configure, we
15544
# need to make the FD available again.
15545
if test "$no_create" != yes; then
15547
ac_config_status_args=
15548
test "$silent" = yes &&
15549
ac_config_status_args="$ac_config_status_args --quiet"
15551
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15553
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
15554
# would make configure fail if this is the last instruction.
15555
$ac_cs_success || { (exit 1); exit 1; }
15557
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15558
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15559
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}