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
14219
15080
sed_quote_subst='$sed_quote_subst'
14220
15081
double_quote_subst='$double_quote_subst'
14221
15082
delay_variable_subst='$delay_variable_subst'
14222
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14223
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14224
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14225
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14226
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14227
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14228
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14229
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14230
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14231
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14232
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14233
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14234
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14235
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14236
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14237
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14238
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14239
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14240
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14241
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14242
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14243
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14244
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14245
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14246
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14247
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14248
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14249
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14250
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14251
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14252
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14253
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14254
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14255
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14256
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14257
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14258
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14259
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14260
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14261
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14262
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14263
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14264
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14265
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14266
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"`'
14267
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"`'
14268
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14269
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14270
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14271
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14272
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14273
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14274
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14275
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14276
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14277
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14278
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14279
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14280
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14281
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14282
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14283
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14284
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14285
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14286
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14287
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14288
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14289
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14290
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14291
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14292
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14293
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14294
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14295
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14296
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14297
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14298
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14299
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14300
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14301
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14302
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14303
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14304
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14305
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14306
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14307
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14308
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14309
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14310
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14311
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14312
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14313
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14314
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14315
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14316
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14317
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14318
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14319
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14320
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14321
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14322
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14323
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14324
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14325
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14326
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14327
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14328
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14329
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14330
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14331
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14332
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14333
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14334
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14335
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14336
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14337
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14338
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14339
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15083
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15084
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15085
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15086
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15087
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15088
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15089
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15090
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15091
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15092
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15093
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15094
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15095
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15096
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15097
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15098
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15099
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15100
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15101
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15102
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15103
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15104
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15105
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15106
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15107
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15108
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15109
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15110
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15111
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15112
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15113
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15114
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15115
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15116
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15117
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15118
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15119
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15120
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15121
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15122
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15123
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15124
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15125
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15126
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15127
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15128
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15129
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15130
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15131
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15132
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15133
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15134
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15135
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15136
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15137
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15138
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15139
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"`'
15140
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15141
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15142
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15143
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15144
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15145
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15146
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15147
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15148
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15149
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15150
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15151
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15152
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15153
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15154
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15155
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15156
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15157
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15158
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15159
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15160
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15161
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15162
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15163
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15164
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15165
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15166
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15167
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15168
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15169
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15170
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15171
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15172
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15173
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15174
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15175
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15176
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15177
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15178
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15179
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15180
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15181
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15182
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15183
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15184
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15185
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15186
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15187
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15188
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15189
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15190
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15191
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15192
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15193
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15194
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15195
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15196
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15197
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15198
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15199
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15200
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15201
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15202
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15203
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15204
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15205
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15206
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15207
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15208
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15209
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15210
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15211
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15212
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14342
15215
LTCFLAGS='$LTCFLAGS'
14343
15216
compiler='$compiler_DEFAULT'
15218
# A function that is used when there is no print builtin or printf.
15219
func_fallback_echo ()
15221
eval 'cat <<_LTECHO_EOF
14345
15226
# Quote evaled strings.
15586
16518
# if finds mixed CR/LF and LF-only lines. Since sed operates in
15587
16519
# text mode, it properly converts lines to CR/LF. This bash problem
15588
16520
# is reportedly fixed, but why not run on old versions too?
15589
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15590
|| (rm -f "$cfgfile"; exit 1)
15594
cat << \_LT_EOF >> "$cfgfile"
15596
# func_dirname file append nondir_replacement
15597
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15598
# otherwise set result to NONDIR_REPLACEMENT.
15602
*/*) func_dirname_result="${1%/*}${2}" ;;
15603
* ) func_dirname_result="${3}" ;;
15607
# func_basename file
15610
func_basename_result="${1##*/}"
15613
# func_dirname_and_basename file append nondir_replacement
15614
# perform func_basename and func_dirname in a single function
15616
# dirname: Compute the dirname of FILE. If nonempty,
15617
# add APPEND to the result, otherwise set result
15618
# to NONDIR_REPLACEMENT.
15619
# value returned in "$func_dirname_result"
15620
# basename: Compute filename of FILE.
15621
# value retuned in "$func_basename_result"
15622
# Implementation must be kept synchronized with func_dirname
15623
# and func_basename. For efficiency, we do not delegate to
15624
# those functions but instead duplicate the functionality here.
15625
func_dirname_and_basename ()
15628
*/*) func_dirname_result="${1%/*}${2}" ;;
15629
* ) func_dirname_result="${3}" ;;
15631
func_basename_result="${1##*/}"
15634
# func_stripname prefix suffix name
15635
# strip PREFIX and SUFFIX off of NAME.
15636
# PREFIX and SUFFIX must not contain globbing or regex special
15637
# characters, hashes, percent signs, but SUFFIX may contain a leading
15638
# dot (in which case that matches only a dot).
15641
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15642
# positional parameters, so assign one to ordinary parameter first.
15643
func_stripname_result=${3}
15644
func_stripname_result=${func_stripname_result#"${1}"}
15645
func_stripname_result=${func_stripname_result%"${2}"}
15651
func_opt_split_opt=${1%%=*}
15652
func_opt_split_arg=${1#*=}
15659
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15660
*) func_lo2o_result=${1} ;;
15664
# func_xform libobj-or-source
15667
func_xform_result=${1%.*}.lo
15670
# func_arith arithmetic-term...
15673
func_arith_result=$(( $* ))
15677
# STRING may not start with a hyphen.
15680
func_len_result=${#1}
15685
*) # Bourne compatible functions.
15686
cat << \_LT_EOF >> "$cfgfile"
15688
# func_dirname file append nondir_replacement
15689
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15690
# otherwise set result to NONDIR_REPLACEMENT.
15693
# Extract subdirectory from the argument.
15694
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15695
if test "X$func_dirname_result" = "X${1}"; then
15696
func_dirname_result="${3}"
15698
func_dirname_result="$func_dirname_result${2}"
15702
# func_basename file
15705
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15709
# func_stripname prefix suffix name
15710
# strip PREFIX and SUFFIX off of NAME.
15711
# PREFIX and SUFFIX must not contain globbing or regex special
15712
# characters, hashes, percent signs, but SUFFIX may contain a leading
15713
# dot (in which case that matches only a dot).
15714
# func_strip_suffix prefix name
15718
.*) func_stripname_result=`$ECHO "X${3}" \
15719
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15720
*) func_stripname_result=`$ECHO "X${3}" \
15721
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15726
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15727
my_sed_long_arg='1s/^-[^=]*=//'
15732
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15733
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15739
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15742
# func_xform libobj-or-source
15745
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15748
# func_arith arithmetic-term...
15751
func_arith_result=`expr "$@"`
15755
# STRING may not start with a hyphen.
15758
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15764
case $lt_shell_append in
15766
cat << \_LT_EOF >> "$cfgfile"
15768
# func_append var value
15769
# Append VALUE to the end of shell variable VAR.
15777
cat << \_LT_EOF >> "$cfgfile"
15779
# func_append var value
15780
# Append VALUE to the end of shell variable VAR.
15791
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15792
|| (rm -f "$cfgfile"; exit 1)
15794
mv -f "$cfgfile" "$ofile" ||
16521
sed '$q' "$ltmain" >> "$cfgfile" \
16522
|| (rm -f "$cfgfile"; exit 1)
16524
if test x"$xsi_shell" = xyes; then
16525
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16529
\ */*) func_dirname_result="${1%/*}${2}" ;;\
16530
\ * ) func_dirname_result="${3}" ;;\
16532
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16533
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16534
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16535
test 0 -eq $? || _lt_function_replace_fail=:
16538
sed -e '/^func_basename ()$/,/^} # func_basename /c\
16541
\ func_basename_result="${1##*/}"\
16542
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16543
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16544
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16545
test 0 -eq $? || _lt_function_replace_fail=:
16548
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16549
func_dirname_and_basename ()\
16552
\ */*) func_dirname_result="${1%/*}${2}" ;;\
16553
\ * ) func_dirname_result="${3}" ;;\
16555
\ func_basename_result="${1##*/}"\
16556
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16557
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16558
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16559
test 0 -eq $? || _lt_function_replace_fail=:
16562
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16565
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16566
\ # positional parameters, so assign one to ordinary parameter first.\
16567
\ func_stripname_result=${3}\
16568
\ func_stripname_result=${func_stripname_result#"${1}"}\
16569
\ func_stripname_result=${func_stripname_result%"${2}"}\
16570
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16571
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16572
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16573
test 0 -eq $? || _lt_function_replace_fail=:
16576
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16577
func_split_long_opt ()\
16579
\ func_split_long_opt_name=${1%%=*}\
16580
\ func_split_long_opt_arg=${1#*=}\
16581
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16582
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16583
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16584
test 0 -eq $? || _lt_function_replace_fail=:
16587
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16588
func_split_short_opt ()\
16590
\ func_split_short_opt_arg=${1#??}\
16591
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16592
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16593
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16594
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16595
test 0 -eq $? || _lt_function_replace_fail=:
16598
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16602
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16603
\ *) func_lo2o_result=${1} ;;\
16605
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16606
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16607
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16608
test 0 -eq $? || _lt_function_replace_fail=:
16611
sed -e '/^func_xform ()$/,/^} # func_xform /c\
16614
func_xform_result=${1%.*}.lo\
16615
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16616
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16617
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16618
test 0 -eq $? || _lt_function_replace_fail=:
16621
sed -e '/^func_arith ()$/,/^} # func_arith /c\
16624
func_arith_result=$(( $* ))\
16625
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16626
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16627
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16628
test 0 -eq $? || _lt_function_replace_fail=:
16631
sed -e '/^func_len ()$/,/^} # func_len /c\
16634
func_len_result=${#1}\
16635
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16636
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16637
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16638
test 0 -eq $? || _lt_function_replace_fail=:
16642
if test x"$lt_shell_append" = xyes; then
16643
sed -e '/^func_append ()$/,/^} # func_append /c\
16646
eval "${1}+=\\${2}"\
16647
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16648
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16649
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16650
test 0 -eq $? || _lt_function_replace_fail=:
16653
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16654
func_append_quoted ()\
16656
\ func_quote_for_eval "${2}"\
16657
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16658
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16659
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16660
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16661
test 0 -eq $? || _lt_function_replace_fail=:
16664
# Save a `func_append' function call where possible by direct use of '+='
16665
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16666
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16667
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16668
test 0 -eq $? || _lt_function_replace_fail=:
16670
# Save a `func_append' function call even when '+=' is not available
16671
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16672
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16673
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16674
test 0 -eq $? || _lt_function_replace_fail=:
16677
if test x"$_lt_function_replace_fail" = x":"; then
16678
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16679
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16683
mv -f "$cfgfile" "$ofile" ||
15795
16684
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15796
16685
chmod +x "$ofile"