528
544
# Sed expression to map a string onto a valid variable name.
529
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
# Check that we are running under the correct shell.
534
547
SHELL=${CONFIG_SHELL-/bin/sh}
538
# Remove one level of quotation (which was required for Make).
539
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544
if test "X$1" = X--no-reexec; then
545
# Discard the --no-reexec flag, and continue.
547
elif test "X$1" = X--fallback-echo; then
548
# Avoid inline document here, it may be left over
550
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
# Yippee, $ECHO works!
554
# Restart under the correct shell.
555
exec $SHELL "$0" --no-reexec ${1+"$@"}
558
if test "X$1" = X--fallback-echo; then
559
# used as fallback echo
567
# The HP-UX ksh and POSIX shell print the target directory to stdout
569
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
if test -z "$lt_ECHO"; then
572
if test "X${echo_test_string+set}" != Xset; then
573
# find a string as large as possible, as long as the shell can cope with it
574
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
test "X$echo_testing_string" = "X$echo_test_string"; then
589
# The Solaris, AIX, and Digital Unix default echo programs unquote
590
# backslashes. This makes it impossible to quote backslashes using
591
# echo "$something" | sed 's/\\/\\\\/g'
593
# So, first we look for a working echo in the user's PATH.
595
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
for dir in $PATH /usr/ucb; do
598
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
test "X$echo_testing_string" = "X$echo_test_string"; then
608
if test "X$ECHO" = Xecho; then
609
# We didn't find a better echo, so look for alternatives.
610
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
test "X$echo_testing_string" = "X$echo_test_string"; then
613
# This shell has a builtin print -r that does the trick.
615
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
test "X$CONFIG_SHELL" != X/bin/ksh; then
617
# If we have ksh, try running configure again with it.
618
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
export ORIGINAL_CONFIG_SHELL
620
CONFIG_SHELL=/bin/ksh
622
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
test "X$echo_testing_string" = "X$echo_test_string"; then
631
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
test "X$echo_testing_string" = 'X\t' &&
633
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
test "X$echo_testing_string" = "X$echo_test_string"; then
635
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637
SHELL="$CONFIG_SHELL"
639
ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
test "X$echo_testing_string" = 'X\t' &&
642
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
644
ECHO="$CONFIG_SHELL $0 --fallback-echo"
646
# maybe with a smaller string...
649
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657
if test "$prev" != 'sed 50q "$0"'; then
658
echo_test_string=`eval $prev`
659
export echo_test_string
660
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662
# Oops. We lost completely, so just stick with echo.
671
# Copy echo and quote the copy suitably for passing to libtool from
672
# the Makefile, instead of quoting the original, which is used later.
674
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681
550
test -n "$DJDIR" || exec 7<&0 </dev/null
7055
if test -n "$ac_tool_prefix"; then
7056
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7057
set dummy ${ac_tool_prefix}ar; ac_word=$2
7058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059
$as_echo_n "checking for $ac_word... " >&6; }
7060
if test "${ac_cv_prog_AR+set}" = set; then :
7124
if test -n "$ac_tool_prefix"; then
7125
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7126
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128
$as_echo_n "checking for $ac_word... " >&6; }
7129
if ${ac_cv_prog_DLLTOOL+:} false; then :
7130
$as_echo_n "(cached) " >&6
7132
if test -n "$DLLTOOL"; then
7133
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7135
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139
test -z "$as_dir" && as_dir=.
7140
for ac_exec_ext in '' $ac_executable_extensions; do
7141
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7142
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7143
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152
DLLTOOL=$ac_cv_prog_DLLTOOL
7153
if test -n "$DLLTOOL"; then
7154
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7155
$as_echo "$DLLTOOL" >&6; }
7157
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158
$as_echo "no" >&6; }
7163
if test -z "$ac_cv_prog_DLLTOOL"; then
7164
ac_ct_DLLTOOL=$DLLTOOL
7165
# Extract the first word of "dlltool", so it can be a program name with args.
7166
set dummy dlltool; ac_word=$2
7167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7168
$as_echo_n "checking for $ac_word... " >&6; }
7169
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7170
$as_echo_n "(cached) " >&6
7172
if test -n "$ac_ct_DLLTOOL"; then
7173
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7175
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179
test -z "$as_dir" && as_dir=.
7180
for ac_exec_ext in '' $ac_executable_extensions; do
7181
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7182
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7183
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7192
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7193
if test -n "$ac_ct_DLLTOOL"; then
7194
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7195
$as_echo "$ac_ct_DLLTOOL" >&6; }
7197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7198
$as_echo "no" >&6; }
7201
if test "x$ac_ct_DLLTOOL" = x; then
7204
case $cross_compiling:$ac_tool_warned in
7206
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7207
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7208
ac_tool_warned=yes ;;
7210
DLLTOOL=$ac_ct_DLLTOOL
7213
DLLTOOL="$ac_cv_prog_DLLTOOL"
7216
test -z "$DLLTOOL" && DLLTOOL=dlltool
7224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7225
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7226
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7227
$as_echo_n "(cached) " >&6
7229
lt_cv_sharedlib_from_linklib_cmd='unknown'
7232
cygwin* | mingw* | pw32* | cegcc*)
7233
# two different shell functions defined in ltmain.sh
7234
# decide which to use based on capabilities of $DLLTOOL
7235
case `$DLLTOOL --help 2>&1` in
7236
*--identify-strict*)
7237
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7240
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7245
# fallback: assume linklib IS sharedlib
7246
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7252
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7253
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7254
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7262
if test -n "$ac_tool_prefix"; then
7265
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7266
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7268
$as_echo_n "checking for $ac_word... " >&6; }
7269
if ${ac_cv_prog_AR+:} false; then :
7061
7270
$as_echo_n "(cached) " >&6
7063
7272
if test -n "$AR"; then
7858
8205
need_locks="$enable_libtool_lock"
8207
if test -n "$ac_tool_prefix"; then
8208
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8209
set dummy ${ac_tool_prefix}mt; ac_word=$2
8210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8211
$as_echo_n "checking for $ac_word... " >&6; }
8212
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8213
$as_echo_n "(cached) " >&6
8215
if test -n "$MANIFEST_TOOL"; then
8216
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8218
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8222
test -z "$as_dir" && as_dir=.
8223
for ac_exec_ext in '' $ac_executable_extensions; do
8224
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8225
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8226
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8235
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8236
if test -n "$MANIFEST_TOOL"; then
8237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8238
$as_echo "$MANIFEST_TOOL" >&6; }
8240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8241
$as_echo "no" >&6; }
8246
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8247
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8248
# Extract the first word of "mt", so it can be a program name with args.
8249
set dummy mt; ac_word=$2
8250
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8251
$as_echo_n "checking for $ac_word... " >&6; }
8252
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8253
$as_echo_n "(cached) " >&6
8255
if test -n "$ac_ct_MANIFEST_TOOL"; then
8256
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8258
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8262
test -z "$as_dir" && as_dir=.
8263
for ac_exec_ext in '' $ac_executable_extensions; do
8264
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8265
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8266
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8275
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8276
if test -n "$ac_ct_MANIFEST_TOOL"; then
8277
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8278
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8281
$as_echo "no" >&6; }
8284
if test "x$ac_ct_MANIFEST_TOOL" = x; then
8287
case $cross_compiling:$ac_tool_warned in
8289
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8290
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8291
ac_tool_warned=yes ;;
8293
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8296
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8299
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8301
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8302
if ${lt_cv_path_mainfest_tool+:} false; then :
8303
$as_echo_n "(cached) " >&6
8305
lt_cv_path_mainfest_tool=no
8306
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8307
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8308
cat conftest.err >&5
8309
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8310
lt_cv_path_mainfest_tool=yes
8314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8315
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
8316
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7861
8325
case $host_os in
7862
8326
rhapsody* | darwin*)
10366
10935
# Microsoft Visual C++.
10367
10936
# hardcode_libdir_flag_spec is actually meaningless, as there is
10368
10937
# no search path for DLLs.
10369
hardcode_libdir_flag_spec=' '
10370
allow_undefined_flag=unsupported
10371
# Tell ltmain to make .lib files, not .a files.
10373
# Tell ltmain to make .dll files, not .so files.
10375
# FIXME: Setting linknames here is a bad hack.
10376
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10377
# The linker will automatically build a .lib file if we build a DLL.
10378
old_archive_from_new_cmds='true'
10379
# FIXME: Should let the user specify the lib program.
10380
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10381
fix_srcfile_path='`cygpath -w "$srcfile"`'
10382
enable_shared_with_static_runtimes=yes
10938
case $cc_basename in
10941
hardcode_libdir_flag_spec=' '
10942
allow_undefined_flag=unsupported
10943
always_export_symbols=yes
10945
# Tell ltmain to make .lib files, not .a files.
10947
# Tell ltmain to make .dll files, not .so files.
10949
# FIXME: Setting linknames here is a bad hack.
10950
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10951
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10952
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10954
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10956
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10958
# The linker will not automatically build a static lib if we build a DLL.
10959
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10960
enable_shared_with_static_runtimes=yes
10961
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10963
old_postinstall_cmds='chmod 644 $oldlib'
10964
postlink_cmds='lt_outputfile="@OUTPUT@"~
10965
lt_tool_outputfile="@TOOL_OUTPUT@"~
10966
case $lt_outputfile in
10969
lt_outputfile="$lt_outputfile.exe"
10970
lt_tool_outputfile="$lt_tool_outputfile.exe"
10973
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10974
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10975
$RM "$lt_outputfile.manifest";
10979
# Assume MSVC wrapper
10980
hardcode_libdir_flag_spec=' '
10981
allow_undefined_flag=unsupported
10982
# Tell ltmain to make .lib files, not .a files.
10984
# Tell ltmain to make .dll files, not .so files.
10986
# FIXME: Setting linknames here is a bad hack.
10987
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10988
# The linker will automatically build a .lib file if we build a DLL.
10989
old_archive_from_new_cmds='true'
10990
# FIXME: Should let the user specify the lib program.
10991
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10992
enable_shared_with_static_runtimes=yes
10385
10997
darwin* | rhapsody*)
11233
11921
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
11234
11922
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11235
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11924
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11237
11926
mingw* | cegcc*)
11238
11927
# MinGW DLLs use traditional 'lib' prefix
11239
11928
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11240
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11241
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11242
# It is most probably a Windows format PATH printed by
11243
# mingw gcc, but we are running on Cygwin. Gcc prints its search
11244
# path with ; separators, and with drive letters. We can handle the
11245
# drive letters (cygwin fileutils understands them), so leave them,
11246
# especially as we might pass files found there to a mingw objdump,
11247
# which wouldn't understand a cygwinified path. Ahh.
11248
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11250
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11254
11931
# pw32 DLLs use 'pw' prefix rather than 'lib'
11255
11932
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11935
dynamic_linker='Win32 ld.exe'
11940
libname_spec='$name'
11941
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11942
library_names_spec='${libname}.dll.lib'
11946
sys_lib_search_path_spec=
11949
for lt_path in $LIB
11952
# Let DOS variable expansion print the short 8.3 style file name.
11953
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11954
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11957
# Convert to MSYS style.
11958
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11961
# Convert to unix form, then to dos form, then back to unix form
11962
# but this time dos style (no spaces!) so that the unix form looks
11963
# like /cygdrive/c/PROGRA~1:/cygdr...
11964
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11965
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11966
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11969
sys_lib_search_path_spec="$LIB"
11970
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11971
# It is most probably a Windows format PATH.
11972
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11974
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11976
# FIXME: find the short name or the path components, as spaces are
11977
# common. (e.g. "Program Files" -> "PROGRA~1")
11981
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11982
postinstall_cmds='base_file=`basename \${file}`~
11983
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11984
dldir=$destdir/`dirname \$dlpath`~
11985
test -d \$dldir || mkdir -p \$dldir~
11986
$install_prog $dir/$dlname \$dldir/$dlname'
11987
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11988
dlpath=$dir/\$dldll~
11990
shlibpath_overrides_runpath=yes
11991
dynamic_linker='Win32 link.exe'
11995
# Assume MSVC wrapper
11261
11996
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11997
dynamic_linker='Win32 ld.exe'
11264
dynamic_linker='Win32 ld.exe'
11265
12000
# FIXME: first we should search . and the directory the executable is in
11266
12001
shlibpath_var=PATH
21417
22227
sed_quote_subst='$sed_quote_subst'
21418
22228
double_quote_subst='$double_quote_subst'
21419
22229
delay_variable_subst='$delay_variable_subst'
21420
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
21421
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
21422
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
21423
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
21424
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
21425
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
21426
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
21427
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
21428
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
21429
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
21430
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
21431
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
21432
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
21433
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
21434
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
21435
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
21436
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
21437
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
21438
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
21439
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
21440
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
21441
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
21442
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
21443
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
21444
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
21445
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
21446
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
21447
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
21448
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
21449
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
21450
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21451
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
21452
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
21453
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
21454
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21455
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
21456
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
21457
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21458
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21459
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21460
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
21461
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
21462
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
21463
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
21464
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
21465
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
21466
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"`'
21467
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"`'
21468
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
21469
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
21470
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
21471
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
21472
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
21473
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
21474
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
21475
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
21476
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
21477
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
21478
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
21479
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
21480
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
21481
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
21482
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
21483
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
21484
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21485
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21486
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
21487
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
21488
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21489
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21490
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
21491
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21492
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21493
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21494
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21495
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21496
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21497
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
21498
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21499
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
21500
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
21501
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
21502
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
21503
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
21504
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
21505
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
21506
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21507
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
21508
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
21509
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
21510
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
21511
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
21512
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21513
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21514
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
21515
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21516
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
21517
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
21518
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
21519
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
21520
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
21521
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21522
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
21523
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
21524
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21525
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
21526
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
21527
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21528
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21529
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
21530
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
21531
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
21532
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21533
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
21534
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
21535
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
21536
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
21537
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
21538
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
21539
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
22230
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22231
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22232
AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
22233
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22234
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22235
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22236
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22237
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22238
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22239
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22240
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22241
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22242
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22243
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22244
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22245
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22246
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22247
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22248
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22249
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22250
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22251
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22252
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22253
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22254
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22255
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22256
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22257
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22258
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22259
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22260
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22261
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22262
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22263
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22264
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22265
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22266
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22267
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22268
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22269
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22270
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22271
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22272
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22273
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22274
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22275
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22276
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22277
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22278
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22279
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22280
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22281
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22282
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22283
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22284
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22285
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22286
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"`'
22287
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22288
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22289
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22290
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22291
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22292
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22293
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22294
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22295
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22296
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22297
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22298
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22299
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22300
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22301
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22302
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22303
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22304
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22305
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22306
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22307
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22308
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22309
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22310
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22311
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22312
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22313
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22314
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22315
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22316
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22317
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22318
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22319
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22320
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22321
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
22322
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22323
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22324
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22325
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22326
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22327
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22328
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22329
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22330
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22331
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22332
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22333
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22334
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22335
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22336
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22337
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22338
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22339
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22340
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22341
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22342
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22343
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22344
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22345
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22346
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22347
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22348
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22349
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22350
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22351
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22352
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22353
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22354
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
22355
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22356
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22357
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22358
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22359
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22360
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21542
22363
LTCFLAGS='$LTCFLAGS'
21543
22364
compiler='$compiler_DEFAULT'
22366
# A function that is used when there is no print builtin or printf.
22367
func_fallback_echo ()
22369
eval 'cat <<_LTECHO_EOF
21545
22374
# Quote evaled strings.
22826
23699
# if finds mixed CR/LF and LF-only lines. Since sed operates in
22827
23700
# text mode, it properly converts lines to CR/LF. This bash problem
22828
23701
# is reportedly fixed, but why not run on old versions too?
22829
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
22830
|| (rm -f "$cfgfile"; exit 1)
22834
cat << \_LT_EOF >> "$cfgfile"
22836
# func_dirname file append nondir_replacement
22837
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
22838
# otherwise set result to NONDIR_REPLACEMENT.
22842
*/*) func_dirname_result="${1%/*}${2}" ;;
22843
* ) func_dirname_result="${3}" ;;
22847
# func_basename file
22850
func_basename_result="${1##*/}"
22853
# func_dirname_and_basename file append nondir_replacement
22854
# perform func_basename and func_dirname in a single function
22856
# dirname: Compute the dirname of FILE. If nonempty,
22857
# add APPEND to the result, otherwise set result
22858
# to NONDIR_REPLACEMENT.
22859
# value returned in "$func_dirname_result"
22860
# basename: Compute filename of FILE.
22861
# value retuned in "$func_basename_result"
22862
# Implementation must be kept synchronized with func_dirname
22863
# and func_basename. For efficiency, we do not delegate to
22864
# those functions but instead duplicate the functionality here.
22865
func_dirname_and_basename ()
22868
*/*) func_dirname_result="${1%/*}${2}" ;;
22869
* ) func_dirname_result="${3}" ;;
22871
func_basename_result="${1##*/}"
22874
# func_stripname prefix suffix name
22875
# strip PREFIX and SUFFIX off of NAME.
22876
# PREFIX and SUFFIX must not contain globbing or regex special
22877
# characters, hashes, percent signs, but SUFFIX may contain a leading
22878
# dot (in which case that matches only a dot).
22881
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22882
# positional parameters, so assign one to ordinary parameter first.
22883
func_stripname_result=${3}
22884
func_stripname_result=${func_stripname_result#"${1}"}
22885
func_stripname_result=${func_stripname_result%"${2}"}
22891
func_opt_split_opt=${1%%=*}
22892
func_opt_split_arg=${1#*=}
22899
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
22900
*) func_lo2o_result=${1} ;;
22904
# func_xform libobj-or-source
22907
func_xform_result=${1%.*}.lo
22910
# func_arith arithmetic-term...
22913
func_arith_result=$(( $* ))
22917
# STRING may not start with a hyphen.
22920
func_len_result=${#1}
22925
*) # Bourne compatible functions.
22926
cat << \_LT_EOF >> "$cfgfile"
22928
# func_dirname file append nondir_replacement
22929
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
22930
# otherwise set result to NONDIR_REPLACEMENT.
22933
# Extract subdirectory from the argument.
22934
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
22935
if test "X$func_dirname_result" = "X${1}"; then
22936
func_dirname_result="${3}"
22938
func_dirname_result="$func_dirname_result${2}"
22942
# func_basename file
22945
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
22949
# func_stripname prefix suffix name
22950
# strip PREFIX and SUFFIX off of NAME.
22951
# PREFIX and SUFFIX must not contain globbing or regex special
22952
# characters, hashes, percent signs, but SUFFIX may contain a leading
22953
# dot (in which case that matches only a dot).
22954
# func_strip_suffix prefix name
22958
.*) func_stripname_result=`$ECHO "X${3}" \
22959
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
22960
*) func_stripname_result=`$ECHO "X${3}" \
22961
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
22966
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
22967
my_sed_long_arg='1s/^-[^=]*=//'
22972
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
22973
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
22979
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
22982
# func_xform libobj-or-source
22985
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
22988
# func_arith arithmetic-term...
22991
func_arith_result=`expr "$@"`
22995
# STRING may not start with a hyphen.
22998
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
23004
case $lt_shell_append in
23006
cat << \_LT_EOF >> "$cfgfile"
23008
# func_append var value
23009
# Append VALUE to the end of shell variable VAR.
23017
cat << \_LT_EOF >> "$cfgfile"
23019
# func_append var value
23020
# Append VALUE to the end of shell variable VAR.
23031
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
23032
|| (rm -f "$cfgfile"; exit 1)
23034
mv -f "$cfgfile" "$ofile" ||
23702
sed '$q' "$ltmain" >> "$cfgfile" \
23703
|| (rm -f "$cfgfile"; exit 1)
23705
if test x"$xsi_shell" = xyes; then
23706
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
23710
\ */*) func_dirname_result="${1%/*}${2}" ;;\
23711
\ * ) func_dirname_result="${3}" ;;\
23713
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
23714
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23715
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23716
test 0 -eq $? || _lt_function_replace_fail=:
23719
sed -e '/^func_basename ()$/,/^} # func_basename /c\
23722
\ func_basename_result="${1##*/}"\
23723
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
23724
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23725
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23726
test 0 -eq $? || _lt_function_replace_fail=:
23729
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
23730
func_dirname_and_basename ()\
23733
\ */*) func_dirname_result="${1%/*}${2}" ;;\
23734
\ * ) func_dirname_result="${3}" ;;\
23736
\ func_basename_result="${1##*/}"\
23737
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
23738
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23739
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23740
test 0 -eq $? || _lt_function_replace_fail=:
23743
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
23746
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
23747
\ # positional parameters, so assign one to ordinary parameter first.\
23748
\ func_stripname_result=${3}\
23749
\ func_stripname_result=${func_stripname_result#"${1}"}\
23750
\ func_stripname_result=${func_stripname_result%"${2}"}\
23751
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
23752
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23753
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23754
test 0 -eq $? || _lt_function_replace_fail=:
23757
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
23758
func_split_long_opt ()\
23760
\ func_split_long_opt_name=${1%%=*}\
23761
\ func_split_long_opt_arg=${1#*=}\
23762
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
23763
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23764
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23765
test 0 -eq $? || _lt_function_replace_fail=:
23768
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
23769
func_split_short_opt ()\
23771
\ func_split_short_opt_arg=${1#??}\
23772
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
23773
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
23774
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23775
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23776
test 0 -eq $? || _lt_function_replace_fail=:
23779
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
23783
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
23784
\ *) func_lo2o_result=${1} ;;\
23786
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
23787
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23788
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23789
test 0 -eq $? || _lt_function_replace_fail=:
23792
sed -e '/^func_xform ()$/,/^} # func_xform /c\
23795
func_xform_result=${1%.*}.lo\
23796
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
23797
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23798
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23799
test 0 -eq $? || _lt_function_replace_fail=:
23802
sed -e '/^func_arith ()$/,/^} # func_arith /c\
23805
func_arith_result=$(( $* ))\
23806
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
23807
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23808
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23809
test 0 -eq $? || _lt_function_replace_fail=:
23812
sed -e '/^func_len ()$/,/^} # func_len /c\
23815
func_len_result=${#1}\
23816
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
23817
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23818
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23819
test 0 -eq $? || _lt_function_replace_fail=:
23823
if test x"$lt_shell_append" = xyes; then
23824
sed -e '/^func_append ()$/,/^} # func_append /c\
23827
eval "${1}+=\\${2}"\
23828
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
23829
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23830
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23831
test 0 -eq $? || _lt_function_replace_fail=:
23834
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
23835
func_append_quoted ()\
23837
\ func_quote_for_eval "${2}"\
23838
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
23839
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
23840
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23841
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23842
test 0 -eq $? || _lt_function_replace_fail=:
23845
# Save a `func_append' function call where possible by direct use of '+='
23846
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
23847
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23848
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23849
test 0 -eq $? || _lt_function_replace_fail=:
23851
# Save a `func_append' function call even when '+=' is not available
23852
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
23853
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23854
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23855
test 0 -eq $? || _lt_function_replace_fail=:
23858
if test x"$_lt_function_replace_fail" = x":"; then
23859
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
23860
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
23864
mv -f "$cfgfile" "$ofile" ||
23035
23865
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23036
23866
chmod +x "$ofile"