530
566
# Sed expression to map a string onto a valid variable name.
531
567
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
535
# Check that we are running under the correct shell.
536
569
SHELL=${CONFIG_SHELL-/bin/sh}
540
# Remove one level of quotation (which was required for Make).
541
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
546
if test "X$1" = X--no-reexec; then
547
# Discard the --no-reexec flag, and continue.
549
elif test "X$1" = X--fallback-echo; then
550
# Avoid inline document here, it may be left over
552
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
553
# Yippee, $ECHO works!
556
# Restart under the correct shell.
557
exec $SHELL "$0" --no-reexec ${1+"$@"}
560
if test "X$1" = X--fallback-echo; then
561
# used as fallback echo
569
# The HP-UX ksh and POSIX shell print the target directory to stdout
571
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
573
if test -z "$lt_ECHO"; then
574
if test "X${echo_test_string+set}" != Xset; then
575
# find a string as large as possible, as long as the shell can cope with it
576
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
577
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
578
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
579
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
586
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
587
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
588
test "X$echo_testing_string" = "X$echo_test_string"; then
591
# The Solaris, AIX, and Digital Unix default echo programs unquote
592
# backslashes. This makes it impossible to quote backslashes using
593
# echo "$something" | sed 's/\\/\\\\/g'
595
# So, first we look for a working echo in the user's PATH.
597
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
598
for dir in $PATH /usr/ucb; do
600
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
601
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
602
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
603
test "X$echo_testing_string" = "X$echo_test_string"; then
610
if test "X$ECHO" = Xecho; then
611
# We didn't find a better echo, so look for alternatives.
612
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
613
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
614
test "X$echo_testing_string" = "X$echo_test_string"; then
615
# This shell has a builtin print -r that does the trick.
617
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
618
test "X$CONFIG_SHELL" != X/bin/ksh; then
619
# If we have ksh, try running configure again with it.
620
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
621
export ORIGINAL_CONFIG_SHELL
622
CONFIG_SHELL=/bin/ksh
624
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
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
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
634
test "X$echo_testing_string" = 'X\t' &&
635
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
636
test "X$echo_testing_string" = "X$echo_test_string"; then
637
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
639
SHELL="$CONFIG_SHELL"
641
ECHO="$CONFIG_SHELL $0 --fallback-echo"
642
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
643
test "X$echo_testing_string" = 'X\t' &&
644
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
645
test "X$echo_testing_string" = "X$echo_test_string"; then
646
ECHO="$CONFIG_SHELL $0 --fallback-echo"
648
# maybe with a smaller string...
651
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
652
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
659
if test "$prev" != 'sed 50q "$0"'; then
660
echo_test_string=`eval $prev`
661
export echo_test_string
662
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
664
# Oops. We lost completely, so just stick with echo.
673
# Copy echo and quote the copy suitably for passing to libtool from
674
# the Makefile, instead of quoting the original, which is used later.
676
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
677
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
683
572
test -n "$DJDIR" || exec 7<&0 </dev/null
5788
if test -n "$ac_tool_prefix"; then
5789
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5790
set dummy ${ac_tool_prefix}ar; ac_word=$2
5791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792
$as_echo_n "checking for $ac_word... " >&6; }
5793
if test "${ac_cv_prog_AR+set}" = set; then :
6010
if test -n "$ac_tool_prefix"; then
6011
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6012
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6014
$as_echo_n "checking for $ac_word... " >&6; }
6015
if ${ac_cv_prog_DLLTOOL+:} false; then :
6016
$as_echo_n "(cached) " >&6
6018
if test -n "$DLLTOOL"; then
6019
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6021
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6025
test -z "$as_dir" && as_dir=.
6026
for ac_exec_ext in '' $ac_executable_extensions; do
6027
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6028
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6029
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038
DLLTOOL=$ac_cv_prog_DLLTOOL
6039
if test -n "$DLLTOOL"; then
6040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6041
$as_echo "$DLLTOOL" >&6; }
6043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044
$as_echo "no" >&6; }
6049
if test -z "$ac_cv_prog_DLLTOOL"; then
6050
ac_ct_DLLTOOL=$DLLTOOL
6051
# Extract the first word of "dlltool", so it can be a program name with args.
6052
set dummy dlltool; ac_word=$2
6053
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6054
$as_echo_n "checking for $ac_word... " >&6; }
6055
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6056
$as_echo_n "(cached) " >&6
6058
if test -n "$ac_ct_DLLTOOL"; then
6059
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6061
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065
test -z "$as_dir" && as_dir=.
6066
for ac_exec_ext in '' $ac_executable_extensions; do
6067
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6068
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6069
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6079
if test -n "$ac_ct_DLLTOOL"; then
6080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6081
$as_echo "$ac_ct_DLLTOOL" >&6; }
6083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6084
$as_echo "no" >&6; }
6087
if test "x$ac_ct_DLLTOOL" = x; then
6090
case $cross_compiling:$ac_tool_warned in
6092
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6093
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6094
ac_tool_warned=yes ;;
6096
DLLTOOL=$ac_ct_DLLTOOL
6099
DLLTOOL="$ac_cv_prog_DLLTOOL"
6102
test -z "$DLLTOOL" && DLLTOOL=dlltool
6113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6114
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6115
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6116
$as_echo_n "(cached) " >&6
6118
lt_cv_sharedlib_from_linklib_cmd='unknown'
6121
cygwin* | mingw* | pw32* | cegcc*)
6122
# two different shell functions defined in ltmain.sh
6123
# decide which to use based on capabilities of $DLLTOOL
6124
case `$DLLTOOL --help 2>&1` in
6125
*--identify-strict*)
6126
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6129
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6134
# fallback: assume linklib IS sharedlib
6135
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6141
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6142
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6143
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6151
if test -n "$ac_tool_prefix"; then
6154
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6155
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157
$as_echo_n "checking for $ac_word... " >&6; }
6158
if ${ac_cv_prog_AR+:} false; then :
5794
6159
$as_echo_n "(cached) " >&6
5796
6161
if test -n "$AR"; then
6591
7115
need_locks="$enable_libtool_lock"
7117
if test -n "$ac_tool_prefix"; then
7118
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7119
set dummy ${ac_tool_prefix}mt; ac_word=$2
7120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121
$as_echo_n "checking for $ac_word... " >&6; }
7122
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7123
$as_echo_n "(cached) " >&6
7125
if test -n "$MANIFEST_TOOL"; then
7126
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7128
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132
test -z "$as_dir" && as_dir=.
7133
for ac_exec_ext in '' $ac_executable_extensions; do
7134
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7135
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7136
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7146
if test -n "$MANIFEST_TOOL"; then
7147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7148
$as_echo "$MANIFEST_TOOL" >&6; }
7150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151
$as_echo "no" >&6; }
7156
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7157
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7158
# Extract the first word of "mt", so it can be a program name with args.
7159
set dummy mt; ac_word=$2
7160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7161
$as_echo_n "checking for $ac_word... " >&6; }
7162
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7163
$as_echo_n "(cached) " >&6
7165
if test -n "$ac_ct_MANIFEST_TOOL"; then
7166
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7168
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172
test -z "$as_dir" && as_dir=.
7173
for ac_exec_ext in '' $ac_executable_extensions; do
7174
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7175
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7176
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7185
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7186
if test -n "$ac_ct_MANIFEST_TOOL"; then
7187
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7188
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7191
$as_echo "no" >&6; }
7194
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7197
case $cross_compiling:$ac_tool_warned in
7199
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7200
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7201
ac_tool_warned=yes ;;
7203
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7206
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7209
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7211
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7212
if ${lt_cv_path_mainfest_tool+:} false; then :
7213
$as_echo_n "(cached) " >&6
7215
lt_cv_path_mainfest_tool=no
7216
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7217
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7218
cat conftest.err >&5
7219
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7220
lt_cv_path_mainfest_tool=yes
7224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7225
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7226
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6594
7235
case $host_os in
6595
7236
rhapsody* | darwin*)
8803
9596
# Microsoft Visual C++.
8804
9597
# hardcode_libdir_flag_spec is actually meaningless, as there is
8805
9598
# no search path for DLLs.
8806
hardcode_libdir_flag_spec=' '
8807
allow_undefined_flag=unsupported
8808
# Tell ltmain to make .lib files, not .a files.
8810
# Tell ltmain to make .dll files, not .so files.
8812
# FIXME: Setting linknames here is a bad hack.
8813
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8814
# The linker will automatically build a .lib file if we build a DLL.
8815
old_archive_from_new_cmds='true'
8816
# FIXME: Should let the user specify the lib program.
8817
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8818
fix_srcfile_path='`cygpath -w "$srcfile"`'
8819
enable_shared_with_static_runtimes=yes
9599
case $cc_basename in
9602
hardcode_libdir_flag_spec=' '
9603
allow_undefined_flag=unsupported
9604
always_export_symbols=yes
9606
# Tell ltmain to make .lib files, not .a files.
9608
# Tell ltmain to make .dll files, not .so files.
9610
# FIXME: Setting linknames here is a bad hack.
9611
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9612
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9613
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9615
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9617
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9619
# The linker will not automatically build a static lib if we build a DLL.
9620
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9621
enable_shared_with_static_runtimes=yes
9622
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9623
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9625
old_postinstall_cmds='chmod 644 $oldlib'
9626
postlink_cmds='lt_outputfile="@OUTPUT@"~
9627
lt_tool_outputfile="@TOOL_OUTPUT@"~
9628
case $lt_outputfile in
9631
lt_outputfile="$lt_outputfile.exe"
9632
lt_tool_outputfile="$lt_tool_outputfile.exe"
9635
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9636
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9637
$RM "$lt_outputfile.manifest";
9641
# Assume MSVC wrapper
9642
hardcode_libdir_flag_spec=' '
9643
allow_undefined_flag=unsupported
9644
# Tell ltmain to make .lib files, not .a files.
9646
# Tell ltmain to make .dll files, not .so files.
9648
# FIXME: Setting linknames here is a bad hack.
9649
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9650
# The linker will automatically build a .lib file if we build a DLL.
9651
old_archive_from_new_cmds='true'
9652
# FIXME: Should let the user specify the lib program.
9653
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9654
enable_shared_with_static_runtimes=yes
8822
9659
darwin* | rhapsody*)
9670
10574
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9671
10575
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9672
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10577
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9674
10579
mingw* | cegcc*)
9675
10580
# MinGW DLLs use traditional 'lib' prefix
9676
10581
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9677
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9678
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9679
# It is most probably a Windows format PATH printed by
9680
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9681
# path with ; separators, and with drive letters. We can handle the
9682
# drive letters (cygwin fileutils understands them), so leave them,
9683
# especially as we might pass files found there to a mingw objdump,
9684
# which wouldn't understand a cygwinified path. Ahh.
9685
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9687
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9691
10584
# pw32 DLLs use 'pw' prefix rather than 'lib'
9692
10585
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10588
dynamic_linker='Win32 ld.exe'
10593
libname_spec='$name'
10594
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10595
library_names_spec='${libname}.dll.lib'
10599
sys_lib_search_path_spec=
10602
for lt_path in $LIB
10605
# Let DOS variable expansion print the short 8.3 style file name.
10606
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10607
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10610
# Convert to MSYS style.
10611
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10614
# Convert to unix form, then to dos form, then back to unix form
10615
# but this time dos style (no spaces!) so that the unix form looks
10616
# like /cygdrive/c/PROGRA~1:/cygdr...
10617
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10618
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10619
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10622
sys_lib_search_path_spec="$LIB"
10623
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10624
# It is most probably a Windows format PATH.
10625
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10627
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10629
# FIXME: find the short name or the path components, as spaces are
10630
# common. (e.g. "Program Files" -> "PROGRA~1")
10634
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10635
postinstall_cmds='base_file=`basename \${file}`~
10636
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10637
dldir=$destdir/`dirname \$dlpath`~
10638
test -d \$dldir || mkdir -p \$dldir~
10639
$install_prog $dir/$dlname \$dldir/$dlname'
10640
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10641
dlpath=$dir/\$dldll~
10643
shlibpath_overrides_runpath=yes
10644
dynamic_linker='Win32 link.exe'
10648
# Assume MSVC wrapper
9698
10649
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10650
dynamic_linker='Win32 ld.exe'
9701
dynamic_linker='Win32 ld.exe'
9702
10653
# FIXME: first we should search . and the directory the executable is in
9703
10654
shlibpath_var=PATH
17937
18936
sed_quote_subst='$sed_quote_subst'
17938
18937
double_quote_subst='$double_quote_subst'
17939
18938
delay_variable_subst='$delay_variable_subst'
17940
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17941
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17942
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17943
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17944
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17945
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17946
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17947
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17948
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17949
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17950
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17951
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17952
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17953
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17954
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17955
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17956
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17957
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17958
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17959
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17960
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17961
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17962
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17963
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17964
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17965
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17966
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17967
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17968
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17969
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17970
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17971
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17972
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17973
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17974
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17975
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17976
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17977
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17978
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17979
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17980
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17981
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17982
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17983
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17984
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"`'
17985
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"`'
17986
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17987
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17988
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17989
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17990
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17991
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17992
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17993
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17994
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17995
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17996
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17997
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17998
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17999
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18000
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
18001
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
18002
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18003
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18004
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
18005
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
18006
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18007
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18008
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
18009
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18010
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18011
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18012
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18013
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18014
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18015
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
18016
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18017
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18018
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18019
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
18020
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
18021
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
18022
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
18023
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
18024
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18025
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
18026
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
18027
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
18028
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
18029
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
18030
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18031
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18032
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18033
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18034
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
18035
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
18036
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18037
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
18038
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
18039
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18040
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18041
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
18042
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18043
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
18044
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18045
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18046
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18047
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18048
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
18049
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
18050
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18051
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18052
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
18053
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
18054
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
18055
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
18056
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
18057
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
18939
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18940
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18941
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18942
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18943
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18944
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18945
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18946
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18947
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18948
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18949
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18950
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18951
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18952
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18953
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18954
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18955
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18956
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18957
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18958
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18959
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18960
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18961
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18962
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18963
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18964
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18965
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18966
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18967
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18968
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18969
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18970
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18971
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18972
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18973
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18974
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18975
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18976
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18977
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18978
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18979
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18980
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18981
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18982
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18983
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18984
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18985
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18986
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18987
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18988
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18989
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18990
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18991
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18992
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18993
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18994
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18995
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
18996
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18997
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18998
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18999
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19000
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19001
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19002
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19003
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19004
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19005
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19006
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19007
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19008
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19009
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19010
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19011
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19012
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19013
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19014
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19015
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19016
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19017
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19018
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19019
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19020
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19021
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19022
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19023
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19024
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19025
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19026
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19027
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19028
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19029
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19030
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19031
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19032
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19033
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19034
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19035
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19036
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19037
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19038
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19039
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19040
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19041
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19042
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19043
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19044
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19045
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19046
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19047
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19048
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19049
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19050
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19051
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19052
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19053
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19054
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19055
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19056
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19057
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19058
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19059
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19060
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19061
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19062
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
19063
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19064
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19065
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19066
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19067
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19068
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18060
19071
LTCFLAGS='$LTCFLAGS'
18061
19072
compiler='$compiler_DEFAULT'
19074
# A function that is used when there is no print builtin or printf.
19075
func_fallback_echo ()
19077
eval 'cat <<_LTECHO_EOF
18063
19082
# Quote evaled strings.
19324
20384
# if finds mixed CR/LF and LF-only lines. Since sed operates in
19325
20385
# text mode, it properly converts lines to CR/LF. This bash problem
19326
20386
# is reportedly fixed, but why not run on old versions too?
19327
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
19328
|| (rm -f "$cfgfile"; exit 1)
19332
cat << \_LT_EOF >> "$cfgfile"
19334
# func_dirname file append nondir_replacement
19335
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
19336
# otherwise set result to NONDIR_REPLACEMENT.
19340
*/*) func_dirname_result="${1%/*}${2}" ;;
19341
* ) func_dirname_result="${3}" ;;
19345
# func_basename file
19348
func_basename_result="${1##*/}"
19351
# func_dirname_and_basename file append nondir_replacement
19352
# perform func_basename and func_dirname in a single function
19354
# dirname: Compute the dirname of FILE. If nonempty,
19355
# add APPEND to the result, otherwise set result
19356
# to NONDIR_REPLACEMENT.
19357
# value returned in "$func_dirname_result"
19358
# basename: Compute filename of FILE.
19359
# value retuned in "$func_basename_result"
19360
# Implementation must be kept synchronized with func_dirname
19361
# and func_basename. For efficiency, we do not delegate to
19362
# those functions but instead duplicate the functionality here.
19363
func_dirname_and_basename ()
19366
*/*) func_dirname_result="${1%/*}${2}" ;;
19367
* ) func_dirname_result="${3}" ;;
19369
func_basename_result="${1##*/}"
19372
# func_stripname prefix suffix name
19373
# strip PREFIX and SUFFIX off of NAME.
19374
# PREFIX and SUFFIX must not contain globbing or regex special
19375
# characters, hashes, percent signs, but SUFFIX may contain a leading
19376
# dot (in which case that matches only a dot).
19379
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
19380
# positional parameters, so assign one to ordinary parameter first.
19381
func_stripname_result=${3}
19382
func_stripname_result=${func_stripname_result#"${1}"}
19383
func_stripname_result=${func_stripname_result%"${2}"}
19389
func_opt_split_opt=${1%%=*}
19390
func_opt_split_arg=${1#*=}
19397
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
19398
*) func_lo2o_result=${1} ;;
19402
# func_xform libobj-or-source
19405
func_xform_result=${1%.*}.lo
19408
# func_arith arithmetic-term...
19411
func_arith_result=$(( $* ))
19415
# STRING may not start with a hyphen.
19418
func_len_result=${#1}
19423
*) # Bourne compatible functions.
19424
cat << \_LT_EOF >> "$cfgfile"
19426
# func_dirname file append nondir_replacement
19427
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
19428
# otherwise set result to NONDIR_REPLACEMENT.
19431
# Extract subdirectory from the argument.
19432
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
19433
if test "X$func_dirname_result" = "X${1}"; then
19434
func_dirname_result="${3}"
19436
func_dirname_result="$func_dirname_result${2}"
19440
# func_basename file
19443
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
19447
# func_stripname prefix suffix name
19448
# strip PREFIX and SUFFIX off of NAME.
19449
# PREFIX and SUFFIX must not contain globbing or regex special
19450
# characters, hashes, percent signs, but SUFFIX may contain a leading
19451
# dot (in which case that matches only a dot).
19452
# func_strip_suffix prefix name
19456
.*) func_stripname_result=`$ECHO "X${3}" \
19457
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
19458
*) func_stripname_result=`$ECHO "X${3}" \
19459
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
19464
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
19465
my_sed_long_arg='1s/^-[^=]*=//'
19470
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
19471
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
19477
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
19480
# func_xform libobj-or-source
19483
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
19486
# func_arith arithmetic-term...
19489
func_arith_result=`expr "$@"`
19493
# STRING may not start with a hyphen.
19496
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
19502
case $lt_shell_append in
19504
cat << \_LT_EOF >> "$cfgfile"
19506
# func_append var value
19507
# Append VALUE to the end of shell variable VAR.
19515
cat << \_LT_EOF >> "$cfgfile"
19517
# func_append var value
19518
# Append VALUE to the end of shell variable VAR.
19529
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
19530
|| (rm -f "$cfgfile"; exit 1)
19532
mv -f "$cfgfile" "$ofile" ||
20387
sed '$q' "$ltmain" >> "$cfgfile" \
20388
|| (rm -f "$cfgfile"; exit 1)
20390
if test x"$xsi_shell" = xyes; then
20391
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
20395
\ */*) func_dirname_result="${1%/*}${2}" ;;\
20396
\ * ) func_dirname_result="${3}" ;;\
20398
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
20399
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20400
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20401
test 0 -eq $? || _lt_function_replace_fail=:
20404
sed -e '/^func_basename ()$/,/^} # func_basename /c\
20407
\ func_basename_result="${1##*/}"\
20408
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
20409
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20410
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20411
test 0 -eq $? || _lt_function_replace_fail=:
20414
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
20415
func_dirname_and_basename ()\
20418
\ */*) func_dirname_result="${1%/*}${2}" ;;\
20419
\ * ) func_dirname_result="${3}" ;;\
20421
\ func_basename_result="${1##*/}"\
20422
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
20423
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20424
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20425
test 0 -eq $? || _lt_function_replace_fail=:
20428
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
20431
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
20432
\ # positional parameters, so assign one to ordinary parameter first.\
20433
\ func_stripname_result=${3}\
20434
\ func_stripname_result=${func_stripname_result#"${1}"}\
20435
\ func_stripname_result=${func_stripname_result%"${2}"}\
20436
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
20437
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20438
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20439
test 0 -eq $? || _lt_function_replace_fail=:
20442
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
20443
func_split_long_opt ()\
20445
\ func_split_long_opt_name=${1%%=*}\
20446
\ func_split_long_opt_arg=${1#*=}\
20447
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
20448
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20449
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20450
test 0 -eq $? || _lt_function_replace_fail=:
20453
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
20454
func_split_short_opt ()\
20456
\ func_split_short_opt_arg=${1#??}\
20457
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
20458
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
20459
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20460
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20461
test 0 -eq $? || _lt_function_replace_fail=:
20464
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
20468
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
20469
\ *) func_lo2o_result=${1} ;;\
20471
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
20472
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20473
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20474
test 0 -eq $? || _lt_function_replace_fail=:
20477
sed -e '/^func_xform ()$/,/^} # func_xform /c\
20480
func_xform_result=${1%.*}.lo\
20481
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
20482
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20483
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20484
test 0 -eq $? || _lt_function_replace_fail=:
20487
sed -e '/^func_arith ()$/,/^} # func_arith /c\
20490
func_arith_result=$(( $* ))\
20491
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
20492
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20493
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20494
test 0 -eq $? || _lt_function_replace_fail=:
20497
sed -e '/^func_len ()$/,/^} # func_len /c\
20500
func_len_result=${#1}\
20501
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
20502
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20503
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20504
test 0 -eq $? || _lt_function_replace_fail=:
20508
if test x"$lt_shell_append" = xyes; then
20509
sed -e '/^func_append ()$/,/^} # func_append /c\
20512
eval "${1}+=\\${2}"\
20513
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
20514
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20515
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20516
test 0 -eq $? || _lt_function_replace_fail=:
20519
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
20520
func_append_quoted ()\
20522
\ func_quote_for_eval "${2}"\
20523
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
20524
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
20525
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20526
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20527
test 0 -eq $? || _lt_function_replace_fail=:
20530
# Save a `func_append' function call where possible by direct use of '+='
20531
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
20532
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20533
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20534
test 0 -eq $? || _lt_function_replace_fail=:
20536
# Save a `func_append' function call even when '+=' is not available
20537
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
20538
&& mv -f "$cfgfile.tmp" "$cfgfile" \
20539
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
20540
test 0 -eq $? || _lt_function_replace_fail=:
20543
if test x"$_lt_function_replace_fail" = x":"; then
20544
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
20545
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
20549
mv -f "$cfgfile" "$ofile" ||
19533
20550
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19534
20551
chmod +x "$ofile"