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
684
553
# Name of the host.
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
554
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686
555
# so uname gets run too.
687
556
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5404
if test -n "$ac_tool_prefix"; then
5405
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5406
set dummy ${ac_tool_prefix}ar; ac_word=$2
5407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408
$as_echo_n "checking for $ac_word... " >&6; }
5409
if test "${ac_cv_prog_AR+set}" = set; then :
5487
if test -n "$ac_tool_prefix"; then
5488
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5489
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491
$as_echo_n "checking for $ac_word... " >&6; }
5492
if ${ac_cv_prog_DLLTOOL+:} false; then :
5493
$as_echo_n "(cached) " >&6
5495
if test -n "$DLLTOOL"; then
5496
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5498
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502
test -z "$as_dir" && as_dir=.
5503
for ac_exec_ext in '' $ac_executable_extensions; do
5504
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5506
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515
DLLTOOL=$ac_cv_prog_DLLTOOL
5516
if test -n "$DLLTOOL"; then
5517
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5518
$as_echo "$DLLTOOL" >&6; }
5520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521
$as_echo "no" >&6; }
5526
if test -z "$ac_cv_prog_DLLTOOL"; then
5527
ac_ct_DLLTOOL=$DLLTOOL
5528
# Extract the first word of "dlltool", so it can be a program name with args.
5529
set dummy dlltool; ac_word=$2
5530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531
$as_echo_n "checking for $ac_word... " >&6; }
5532
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5533
$as_echo_n "(cached) " >&6
5535
if test -n "$ac_ct_DLLTOOL"; then
5536
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5538
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5542
test -z "$as_dir" && as_dir=.
5543
for ac_exec_ext in '' $ac_executable_extensions; do
5544
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5546
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5556
if test -n "$ac_ct_DLLTOOL"; then
5557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5558
$as_echo "$ac_ct_DLLTOOL" >&6; }
5560
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561
$as_echo "no" >&6; }
5564
if test "x$ac_ct_DLLTOOL" = x; then
5567
case $cross_compiling:$ac_tool_warned in
5569
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5570
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5571
ac_tool_warned=yes ;;
5573
DLLTOOL=$ac_ct_DLLTOOL
5576
DLLTOOL="$ac_cv_prog_DLLTOOL"
5579
test -z "$DLLTOOL" && DLLTOOL=dlltool
5590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5591
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5592
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5593
$as_echo_n "(cached) " >&6
5595
lt_cv_sharedlib_from_linklib_cmd='unknown'
5598
cygwin* | mingw* | pw32* | cegcc*)
5599
# two different shell functions defined in ltmain.sh
5600
# decide which to use based on capabilities of $DLLTOOL
5601
case `$DLLTOOL --help 2>&1` in
5602
*--identify-strict*)
5603
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5606
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5611
# fallback: assume linklib IS sharedlib
5612
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5618
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5619
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5620
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5629
if test -n "$ac_tool_prefix"; then
5632
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5633
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5635
$as_echo_n "checking for $ac_word... " >&6; }
5636
if ${ac_cv_prog_AR+:} false; then :
5410
5637
$as_echo_n "(cached) " >&6
5412
5639
if test -n "$AR"; then
6208
6586
need_locks="$enable_libtool_lock"
6588
if test -n "$ac_tool_prefix"; then
6589
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6590
set dummy ${ac_tool_prefix}mt; ac_word=$2
6591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6592
$as_echo_n "checking for $ac_word... " >&6; }
6593
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6594
$as_echo_n "(cached) " >&6
6596
if test -n "$MANIFEST_TOOL"; then
6597
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6599
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6603
test -z "$as_dir" && as_dir=.
6604
for ac_exec_ext in '' $ac_executable_extensions; do
6605
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6606
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6607
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6616
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6617
if test -n "$MANIFEST_TOOL"; then
6618
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6619
$as_echo "$MANIFEST_TOOL" >&6; }
6621
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6622
$as_echo "no" >&6; }
6627
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6628
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6629
# Extract the first word of "mt", so it can be a program name with args.
6630
set dummy mt; ac_word=$2
6631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632
$as_echo_n "checking for $ac_word... " >&6; }
6633
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6634
$as_echo_n "(cached) " >&6
6636
if test -n "$ac_ct_MANIFEST_TOOL"; then
6637
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6639
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6643
test -z "$as_dir" && as_dir=.
6644
for ac_exec_ext in '' $ac_executable_extensions; do
6645
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6647
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6656
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6657
if test -n "$ac_ct_MANIFEST_TOOL"; then
6658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6659
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662
$as_echo "no" >&6; }
6665
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6668
case $cross_compiling:$ac_tool_warned in
6670
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6671
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6672
ac_tool_warned=yes ;;
6674
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6677
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6680
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6681
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6682
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6683
if ${lt_cv_path_mainfest_tool+:} false; then :
6684
$as_echo_n "(cached) " >&6
6686
lt_cv_path_mainfest_tool=no
6687
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6688
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6689
cat conftest.err >&5
6690
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6691
lt_cv_path_mainfest_tool=yes
6695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6696
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6697
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6211
6706
case $host_os in
6212
6707
rhapsody* | darwin*)
8654
9300
# Microsoft Visual C++.
8655
9301
# hardcode_libdir_flag_spec is actually meaningless, as there is
8656
9302
# no search path for DLLs.
8657
hardcode_libdir_flag_spec=' '
8658
allow_undefined_flag=unsupported
8659
# Tell ltmain to make .lib files, not .a files.
8661
# Tell ltmain to make .dll files, not .so files.
8663
# FIXME: Setting linknames here is a bad hack.
8664
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8665
# The linker will automatically build a .lib file if we build a DLL.
8666
old_archive_from_new_cmds='true'
8667
# FIXME: Should let the user specify the lib program.
8668
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8669
fix_srcfile_path='`cygpath -w "$srcfile"`'
8670
enable_shared_with_static_runtimes=yes
9303
case $cc_basename in
9306
hardcode_libdir_flag_spec=' '
9307
allow_undefined_flag=unsupported
9308
always_export_symbols=yes
9310
# Tell ltmain to make .lib files, not .a files.
9312
# Tell ltmain to make .dll files, not .so files.
9314
# FIXME: Setting linknames here is a bad hack.
9315
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9316
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9317
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9319
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9321
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9323
# The linker will not automatically build a static lib if we build a DLL.
9324
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9325
enable_shared_with_static_runtimes=yes
9326
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9327
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9329
old_postinstall_cmds='chmod 644 $oldlib'
9330
postlink_cmds='lt_outputfile="@OUTPUT@"~
9331
lt_tool_outputfile="@TOOL_OUTPUT@"~
9332
case $lt_outputfile in
9335
lt_outputfile="$lt_outputfile.exe"
9336
lt_tool_outputfile="$lt_tool_outputfile.exe"
9339
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9340
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9341
$RM "$lt_outputfile.manifest";
9345
# Assume MSVC wrapper
9346
hardcode_libdir_flag_spec=' '
9347
allow_undefined_flag=unsupported
9348
# Tell ltmain to make .lib files, not .a files.
9350
# Tell ltmain to make .dll files, not .so files.
9352
# FIXME: Setting linknames here is a bad hack.
9353
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9354
# The linker will automatically build a .lib file if we build a DLL.
9355
old_archive_from_new_cmds='true'
9356
# FIXME: Should let the user specify the lib program.
9357
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9358
enable_shared_with_static_runtimes=yes
8673
9363
darwin* | rhapsody*)
9521
10278
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9522
10279
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9523
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10281
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9525
10283
mingw* | cegcc*)
9526
10284
# MinGW DLLs use traditional 'lib' prefix
9527
10285
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9528
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9529
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9530
# It is most probably a Windows format PATH printed by
9531
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9532
# path with ; separators, and with drive letters. We can handle the
9533
# drive letters (cygwin fileutils understands them), so leave them,
9534
# especially as we might pass files found there to a mingw objdump,
9535
# which wouldn't understand a cygwinified path. Ahh.
9536
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9538
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9542
10288
# pw32 DLLs use 'pw' prefix rather than 'lib'
9543
10289
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10292
dynamic_linker='Win32 ld.exe'
10297
libname_spec='$name'
10298
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10299
library_names_spec='${libname}.dll.lib'
10303
sys_lib_search_path_spec=
10306
for lt_path in $LIB
10309
# Let DOS variable expansion print the short 8.3 style file name.
10310
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10311
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10314
# Convert to MSYS style.
10315
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10318
# Convert to unix form, then to dos form, then back to unix form
10319
# but this time dos style (no spaces!) so that the unix form looks
10320
# like /cygdrive/c/PROGRA~1:/cygdr...
10321
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10322
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10323
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10326
sys_lib_search_path_spec="$LIB"
10327
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10328
# It is most probably a Windows format PATH.
10329
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10331
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10333
# FIXME: find the short name or the path components, as spaces are
10334
# common. (e.g. "Program Files" -> "PROGRA~1")
10338
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10339
postinstall_cmds='base_file=`basename \${file}`~
10340
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10341
dldir=$destdir/`dirname \$dlpath`~
10342
test -d \$dldir || mkdir -p \$dldir~
10343
$install_prog $dir/$dlname \$dldir/$dlname'
10344
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10345
dlpath=$dir/\$dldll~
10347
shlibpath_overrides_runpath=yes
10348
dynamic_linker='Win32 link.exe'
10352
# Assume MSVC wrapper
9549
10353
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10354
dynamic_linker='Win32 ld.exe'
9552
dynamic_linker='Win32 ld.exe'
9553
10357
# FIXME: first we should search . and the directory the executable is in
9554
10358
shlibpath_var=PATH
14222
15083
sed_quote_subst='$sed_quote_subst'
14223
15084
double_quote_subst='$double_quote_subst'
14224
15085
delay_variable_subst='$delay_variable_subst'
14225
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14226
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14227
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14228
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14229
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14230
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14231
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14232
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14233
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14234
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14235
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14236
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14237
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14238
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14239
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14240
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14241
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14242
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14243
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14244
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14245
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14246
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14247
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14248
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14249
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14250
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14251
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14252
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14253
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14254
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14255
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14256
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14257
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14258
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14259
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14260
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14261
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14262
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14263
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14264
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14265
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14266
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14267
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14268
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14269
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"`'
14270
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"`'
14271
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14272
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14273
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14274
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14275
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14276
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14277
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14278
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14279
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14280
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14281
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14282
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14283
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14284
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14285
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14286
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14287
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14288
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14289
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14290
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14291
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14292
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14293
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14294
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14295
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14296
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14297
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14298
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14299
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14300
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14301
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14302
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14303
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14304
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14305
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14306
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14307
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14308
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14309
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14310
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14311
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14312
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14313
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14314
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14315
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14316
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14317
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14318
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14319
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14320
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14321
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14322
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14323
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14324
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14325
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14326
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14327
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14328
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14329
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14330
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14331
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14332
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14333
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14334
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14335
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14336
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14337
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14338
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14339
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14340
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14341
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14342
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15086
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15087
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15088
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15089
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15090
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15091
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15092
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15093
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15094
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15095
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15096
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15097
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15098
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15099
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15100
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15101
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15102
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15103
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15104
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15105
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15106
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15107
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15108
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15109
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15110
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15111
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15112
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15113
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15114
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15115
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15116
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15117
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15118
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15119
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15120
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15121
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15122
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15123
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15124
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15125
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15126
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15127
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15128
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15129
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15130
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15131
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15132
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15133
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15134
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15135
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15136
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15137
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15138
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15139
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15140
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15141
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15142
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"`'
15143
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15144
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15145
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15146
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15147
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15148
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15149
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15150
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15151
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15152
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15153
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15154
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15155
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15156
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15157
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15158
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15159
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15160
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15161
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15162
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15163
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15164
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15165
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15166
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15167
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15168
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15169
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15170
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15171
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15172
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15173
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15174
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15175
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15176
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15177
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15178
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15179
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15180
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15181
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15182
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15183
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15184
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15185
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15186
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15187
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15188
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15189
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15190
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15191
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15192
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15193
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15194
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15195
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15196
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15197
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15198
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15199
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15200
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15201
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15202
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15203
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15204
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15205
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15206
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15207
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15208
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15209
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15210
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15211
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15212
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15213
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15214
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15215
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14345
15218
LTCFLAGS='$LTCFLAGS'
14346
15219
compiler='$compiler_DEFAULT'
15221
# A function that is used when there is no print builtin or printf.
15222
func_fallback_echo ()
15224
eval 'cat <<_LTECHO_EOF
14348
15229
# Quote evaled strings.
15589
16521
# if finds mixed CR/LF and LF-only lines. Since sed operates in
15590
16522
# text mode, it properly converts lines to CR/LF. This bash problem
15591
16523
# is reportedly fixed, but why not run on old versions too?
15592
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15593
|| (rm -f "$cfgfile"; exit 1)
15597
cat << \_LT_EOF >> "$cfgfile"
15599
# func_dirname file append nondir_replacement
15600
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15601
# otherwise set result to NONDIR_REPLACEMENT.
15605
*/*) func_dirname_result="${1%/*}${2}" ;;
15606
* ) func_dirname_result="${3}" ;;
15610
# func_basename file
15613
func_basename_result="${1##*/}"
15616
# func_dirname_and_basename file append nondir_replacement
15617
# perform func_basename and func_dirname in a single function
15619
# dirname: Compute the dirname of FILE. If nonempty,
15620
# add APPEND to the result, otherwise set result
15621
# to NONDIR_REPLACEMENT.
15622
# value returned in "$func_dirname_result"
15623
# basename: Compute filename of FILE.
15624
# value retuned in "$func_basename_result"
15625
# Implementation must be kept synchronized with func_dirname
15626
# and func_basename. For efficiency, we do not delegate to
15627
# those functions but instead duplicate the functionality here.
15628
func_dirname_and_basename ()
15631
*/*) func_dirname_result="${1%/*}${2}" ;;
15632
* ) func_dirname_result="${3}" ;;
15634
func_basename_result="${1##*/}"
15637
# func_stripname prefix suffix name
15638
# strip PREFIX and SUFFIX off of NAME.
15639
# PREFIX and SUFFIX must not contain globbing or regex special
15640
# characters, hashes, percent signs, but SUFFIX may contain a leading
15641
# dot (in which case that matches only a dot).
15644
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15645
# positional parameters, so assign one to ordinary parameter first.
15646
func_stripname_result=${3}
15647
func_stripname_result=${func_stripname_result#"${1}"}
15648
func_stripname_result=${func_stripname_result%"${2}"}
15654
func_opt_split_opt=${1%%=*}
15655
func_opt_split_arg=${1#*=}
15662
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15663
*) func_lo2o_result=${1} ;;
15667
# func_xform libobj-or-source
15670
func_xform_result=${1%.*}.lo
15673
# func_arith arithmetic-term...
15676
func_arith_result=$(( $* ))
15680
# STRING may not start with a hyphen.
15683
func_len_result=${#1}
15688
*) # Bourne compatible functions.
15689
cat << \_LT_EOF >> "$cfgfile"
15691
# func_dirname file append nondir_replacement
15692
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15693
# otherwise set result to NONDIR_REPLACEMENT.
15696
# Extract subdirectory from the argument.
15697
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15698
if test "X$func_dirname_result" = "X${1}"; then
15699
func_dirname_result="${3}"
15701
func_dirname_result="$func_dirname_result${2}"
15705
# func_basename file
15708
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15712
# func_stripname prefix suffix name
15713
# strip PREFIX and SUFFIX off of NAME.
15714
# PREFIX and SUFFIX must not contain globbing or regex special
15715
# characters, hashes, percent signs, but SUFFIX may contain a leading
15716
# dot (in which case that matches only a dot).
15717
# func_strip_suffix prefix name
15721
.*) func_stripname_result=`$ECHO "X${3}" \
15722
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15723
*) func_stripname_result=`$ECHO "X${3}" \
15724
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15729
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15730
my_sed_long_arg='1s/^-[^=]*=//'
15735
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15736
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15742
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15745
# func_xform libobj-or-source
15748
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15751
# func_arith arithmetic-term...
15754
func_arith_result=`expr "$@"`
15758
# STRING may not start with a hyphen.
15761
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15767
case $lt_shell_append in
15769
cat << \_LT_EOF >> "$cfgfile"
15771
# func_append var value
15772
# Append VALUE to the end of shell variable VAR.
15780
cat << \_LT_EOF >> "$cfgfile"
15782
# func_append var value
15783
# Append VALUE to the end of shell variable VAR.
15794
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15795
|| (rm -f "$cfgfile"; exit 1)
15797
mv -f "$cfgfile" "$ofile" ||
16524
sed '$q' "$ltmain" >> "$cfgfile" \
16525
|| (rm -f "$cfgfile"; exit 1)
16527
if test x"$xsi_shell" = xyes; then
16528
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16532
\ */*) func_dirname_result="${1%/*}${2}" ;;\
16533
\ * ) func_dirname_result="${3}" ;;\
16535
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16536
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16537
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16538
test 0 -eq $? || _lt_function_replace_fail=:
16541
sed -e '/^func_basename ()$/,/^} # func_basename /c\
16544
\ func_basename_result="${1##*/}"\
16545
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16546
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16547
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16548
test 0 -eq $? || _lt_function_replace_fail=:
16551
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16552
func_dirname_and_basename ()\
16555
\ */*) func_dirname_result="${1%/*}${2}" ;;\
16556
\ * ) func_dirname_result="${3}" ;;\
16558
\ func_basename_result="${1##*/}"\
16559
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16560
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16561
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16562
test 0 -eq $? || _lt_function_replace_fail=:
16565
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16568
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16569
\ # positional parameters, so assign one to ordinary parameter first.\
16570
\ func_stripname_result=${3}\
16571
\ func_stripname_result=${func_stripname_result#"${1}"}\
16572
\ func_stripname_result=${func_stripname_result%"${2}"}\
16573
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16574
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16575
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16576
test 0 -eq $? || _lt_function_replace_fail=:
16579
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16580
func_split_long_opt ()\
16582
\ func_split_long_opt_name=${1%%=*}\
16583
\ func_split_long_opt_arg=${1#*=}\
16584
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16585
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16586
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16587
test 0 -eq $? || _lt_function_replace_fail=:
16590
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16591
func_split_short_opt ()\
16593
\ func_split_short_opt_arg=${1#??}\
16594
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16595
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16596
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16597
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16598
test 0 -eq $? || _lt_function_replace_fail=:
16601
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16605
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16606
\ *) func_lo2o_result=${1} ;;\
16608
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16609
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16610
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16611
test 0 -eq $? || _lt_function_replace_fail=:
16614
sed -e '/^func_xform ()$/,/^} # func_xform /c\
16617
func_xform_result=${1%.*}.lo\
16618
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16619
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16620
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16621
test 0 -eq $? || _lt_function_replace_fail=:
16624
sed -e '/^func_arith ()$/,/^} # func_arith /c\
16627
func_arith_result=$(( $* ))\
16628
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16629
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16630
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16631
test 0 -eq $? || _lt_function_replace_fail=:
16634
sed -e '/^func_len ()$/,/^} # func_len /c\
16637
func_len_result=${#1}\
16638
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16639
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16640
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16641
test 0 -eq $? || _lt_function_replace_fail=:
16645
if test x"$lt_shell_append" = xyes; then
16646
sed -e '/^func_append ()$/,/^} # func_append /c\
16649
eval "${1}+=\\${2}"\
16650
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16651
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16652
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16653
test 0 -eq $? || _lt_function_replace_fail=:
16656
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16657
func_append_quoted ()\
16659
\ func_quote_for_eval "${2}"\
16660
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16661
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16662
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16663
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16664
test 0 -eq $? || _lt_function_replace_fail=:
16667
# Save a `func_append' function call where possible by direct use of '+='
16668
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16669
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16670
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16671
test 0 -eq $? || _lt_function_replace_fail=:
16673
# Save a `func_append' function call even when '+=' is not available
16674
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16675
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16676
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16677
test 0 -eq $? || _lt_function_replace_fail=:
16680
if test x"$_lt_function_replace_fail" = x":"; then
16681
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16682
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16686
mv -f "$cfgfile" "$ofile" ||
15798
16687
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15799
16688
chmod +x "$ofile"