525
541
# Sed expression to map a string onto a valid variable name.
526
542
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
# Check that we are running under the correct shell.
531
544
SHELL=${CONFIG_SHELL-/bin/sh}
535
# Remove one level of quotation (which was required for Make).
536
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541
if test "X$1" = X--no-reexec; then
542
# Discard the --no-reexec flag, and continue.
544
elif test "X$1" = X--fallback-echo; then
545
# Avoid inline document here, it may be left over
547
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
# Yippee, $ECHO works!
551
# Restart under the correct shell.
552
exec $SHELL "$0" --no-reexec ${1+"$@"}
555
if test "X$1" = X--fallback-echo; then
556
# used as fallback echo
564
# The HP-UX ksh and POSIX shell print the target directory to stdout
566
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568
if test -z "$lt_ECHO"; then
569
if test "X${echo_test_string+set}" != Xset; then
570
# find a string as large as possible, as long as the shell can cope with it
571
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
test "X$echo_testing_string" = "X$echo_test_string"; then
586
# The Solaris, AIX, and Digital Unix default echo programs unquote
587
# backslashes. This makes it impossible to quote backslashes using
588
# echo "$something" | sed 's/\\/\\\\/g'
590
# So, first we look for a working echo in the user's PATH.
592
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
for dir in $PATH /usr/ucb; do
595
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
test "X$echo_testing_string" = "X$echo_test_string"; then
605
if test "X$ECHO" = Xecho; then
606
# We didn't find a better echo, so look for alternatives.
607
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
test "X$echo_testing_string" = "X$echo_test_string"; then
610
# This shell has a builtin print -r that does the trick.
612
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
test "X$CONFIG_SHELL" != X/bin/ksh; then
614
# If we have ksh, try running configure again with it.
615
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
export ORIGINAL_CONFIG_SHELL
617
CONFIG_SHELL=/bin/ksh
619
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
test "X$echo_testing_string" = "X$echo_test_string"; then
628
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
test "X$echo_testing_string" = 'X\t' &&
630
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
test "X$echo_testing_string" = "X$echo_test_string"; then
632
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634
SHELL="$CONFIG_SHELL"
636
ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
test "X$echo_testing_string" = 'X\t' &&
639
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
test "X$echo_testing_string" = "X$echo_test_string"; then
641
ECHO="$CONFIG_SHELL $0 --fallback-echo"
643
# maybe with a smaller string...
646
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654
if test "$prev" != 'sed 50q "$0"'; then
655
echo_test_string=`eval $prev`
656
export echo_test_string
657
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659
# Oops. We lost completely, so just stick with echo.
668
# Copy echo and quote the copy suitably for passing to libtool from
669
# the Makefile, instead of quoting the original, which is used later.
671
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678
547
test -n "$DJDIR" || exec 7<&0 </dev/null
681
550
# Name of the host.
682
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
551
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683
552
# so uname gets run too.
684
553
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5442
if test -n "$ac_tool_prefix"; then
5443
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5444
set dummy ${ac_tool_prefix}ar; ac_word=$2
5445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5446
$as_echo_n "checking for $ac_word... " >&6; }
5447
if test "${ac_cv_prog_AR+set}" = set; then :
5523
if test -n "$ac_tool_prefix"; then
5524
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5525
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5527
$as_echo_n "checking for $ac_word... " >&6; }
5528
if ${ac_cv_prog_DLLTOOL+:} false; then :
5529
$as_echo_n "(cached) " >&6
5531
if test -n "$DLLTOOL"; then
5532
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5534
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538
test -z "$as_dir" && as_dir=.
5539
for ac_exec_ext in '' $ac_executable_extensions; do
5540
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5541
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5542
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5551
DLLTOOL=$ac_cv_prog_DLLTOOL
5552
if test -n "$DLLTOOL"; then
5553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5554
$as_echo "$DLLTOOL" >&6; }
5556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5557
$as_echo "no" >&6; }
5562
if test -z "$ac_cv_prog_DLLTOOL"; then
5563
ac_ct_DLLTOOL=$DLLTOOL
5564
# Extract the first word of "dlltool", so it can be a program name with args.
5565
set dummy dlltool; ac_word=$2
5566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567
$as_echo_n "checking for $ac_word... " >&6; }
5568
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5569
$as_echo_n "(cached) " >&6
5571
if test -n "$ac_ct_DLLTOOL"; then
5572
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5574
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5578
test -z "$as_dir" && as_dir=.
5579
for ac_exec_ext in '' $ac_executable_extensions; do
5580
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5581
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5582
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5591
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5592
if test -n "$ac_ct_DLLTOOL"; then
5593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5594
$as_echo "$ac_ct_DLLTOOL" >&6; }
5596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597
$as_echo "no" >&6; }
5600
if test "x$ac_ct_DLLTOOL" = x; then
5603
case $cross_compiling:$ac_tool_warned in
5605
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5606
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5607
ac_tool_warned=yes ;;
5609
DLLTOOL=$ac_ct_DLLTOOL
5612
DLLTOOL="$ac_cv_prog_DLLTOOL"
5615
test -z "$DLLTOOL" && DLLTOOL=dlltool
5626
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5627
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5628
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5629
$as_echo_n "(cached) " >&6
5631
lt_cv_sharedlib_from_linklib_cmd='unknown'
5634
cygwin* | mingw* | pw32* | cegcc*)
5635
# two different shell functions defined in ltmain.sh
5636
# decide which to use based on capabilities of $DLLTOOL
5637
case `$DLLTOOL --help 2>&1` in
5638
*--identify-strict*)
5639
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5642
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5647
# fallback: assume linklib IS sharedlib
5648
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5653
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5654
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5655
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5656
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5665
if test -n "$ac_tool_prefix"; then
5668
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5669
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5671
$as_echo_n "checking for $ac_word... " >&6; }
5672
if ${ac_cv_prog_AR+:} false; then :
5448
5673
$as_echo_n "(cached) " >&6
5450
5675
if test -n "$AR"; then
6246
6608
need_locks="$enable_libtool_lock"
6610
if test -n "$ac_tool_prefix"; then
6611
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6612
set dummy ${ac_tool_prefix}mt; ac_word=$2
6613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6614
$as_echo_n "checking for $ac_word... " >&6; }
6615
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6616
$as_echo_n "(cached) " >&6
6618
if test -n "$MANIFEST_TOOL"; then
6619
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6621
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625
test -z "$as_dir" && as_dir=.
6626
for ac_exec_ext in '' $ac_executable_extensions; do
6627
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6628
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6629
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6638
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6639
if test -n "$MANIFEST_TOOL"; then
6640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6641
$as_echo "$MANIFEST_TOOL" >&6; }
6643
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644
$as_echo "no" >&6; }
6649
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6650
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6651
# Extract the first word of "mt", so it can be a program name with args.
6652
set dummy mt; ac_word=$2
6653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654
$as_echo_n "checking for $ac_word... " >&6; }
6655
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6656
$as_echo_n "(cached) " >&6
6658
if test -n "$ac_ct_MANIFEST_TOOL"; then
6659
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6661
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665
test -z "$as_dir" && as_dir=.
6666
for ac_exec_ext in '' $ac_executable_extensions; do
6667
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6668
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6669
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6679
if test -n "$ac_ct_MANIFEST_TOOL"; then
6680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6681
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684
$as_echo "no" >&6; }
6687
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6690
case $cross_compiling:$ac_tool_warned in
6692
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6693
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6694
ac_tool_warned=yes ;;
6696
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6699
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6702
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6704
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6705
if ${lt_cv_path_mainfest_tool+:} false; then :
6706
$as_echo_n "(cached) " >&6
6708
lt_cv_path_mainfest_tool=no
6709
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6710
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6711
cat conftest.err >&5
6712
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6713
lt_cv_path_mainfest_tool=yes
6717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6718
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6719
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6249
6728
case $host_os in
6250
6729
rhapsody* | darwin*)
8717
9308
# Microsoft Visual C++.
8718
9309
# hardcode_libdir_flag_spec is actually meaningless, as there is
8719
9310
# no search path for DLLs.
8720
hardcode_libdir_flag_spec=' '
8721
allow_undefined_flag=unsupported
8722
# Tell ltmain to make .lib files, not .a files.
8724
# Tell ltmain to make .dll files, not .so files.
8726
# FIXME: Setting linknames here is a bad hack.
8727
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8728
# The linker will automatically build a .lib file if we build a DLL.
8729
old_archive_from_new_cmds='true'
8730
# FIXME: Should let the user specify the lib program.
8731
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8732
fix_srcfile_path='`cygpath -w "$srcfile"`'
8733
enable_shared_with_static_runtimes=yes
9311
case $cc_basename in
9314
hardcode_libdir_flag_spec=' '
9315
allow_undefined_flag=unsupported
9316
always_export_symbols=yes
9318
# Tell ltmain to make .lib files, not .a files.
9320
# Tell ltmain to make .dll files, not .so files.
9322
# FIXME: Setting linknames here is a bad hack.
9323
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9324
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9325
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9327
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9329
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9331
# The linker will not automatically build a static lib if we build a DLL.
9332
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9333
enable_shared_with_static_runtimes=yes
9334
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9336
old_postinstall_cmds='chmod 644 $oldlib'
9337
postlink_cmds='lt_outputfile="@OUTPUT@"~
9338
lt_tool_outputfile="@TOOL_OUTPUT@"~
9339
case $lt_outputfile in
9342
lt_outputfile="$lt_outputfile.exe"
9343
lt_tool_outputfile="$lt_tool_outputfile.exe"
9346
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9347
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9348
$RM "$lt_outputfile.manifest";
9352
# Assume MSVC wrapper
9353
hardcode_libdir_flag_spec=' '
9354
allow_undefined_flag=unsupported
9355
# Tell ltmain to make .lib files, not .a files.
9357
# Tell ltmain to make .dll files, not .so files.
9359
# FIXME: Setting linknames here is a bad hack.
9360
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9361
# The linker will automatically build a .lib file if we build a DLL.
9362
old_archive_from_new_cmds='true'
9363
# FIXME: Should let the user specify the lib program.
9364
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9365
enable_shared_with_static_runtimes=yes
8736
9370
darwin* | rhapsody*)
9584
10294
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9585
10295
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9586
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10297
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9588
10299
mingw* | cegcc*)
9589
10300
# MinGW DLLs use traditional 'lib' prefix
9590
10301
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9591
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9592
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9593
# It is most probably a Windows format PATH printed by
9594
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9595
# path with ; separators, and with drive letters. We can handle the
9596
# drive letters (cygwin fileutils understands them), so leave them,
9597
# especially as we might pass files found there to a mingw objdump,
9598
# which wouldn't understand a cygwinified path. Ahh.
9599
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9601
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9605
10304
# pw32 DLLs use 'pw' prefix rather than 'lib'
9606
10305
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10308
dynamic_linker='Win32 ld.exe'
10313
libname_spec='$name'
10314
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10315
library_names_spec='${libname}.dll.lib'
10319
sys_lib_search_path_spec=
10322
for lt_path in $LIB
10325
# Let DOS variable expansion print the short 8.3 style file name.
10326
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10327
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10330
# Convert to MSYS style.
10331
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10334
# Convert to unix form, then to dos form, then back to unix form
10335
# but this time dos style (no spaces!) so that the unix form looks
10336
# like /cygdrive/c/PROGRA~1:/cygdr...
10337
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10338
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10339
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10342
sys_lib_search_path_spec="$LIB"
10343
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10344
# It is most probably a Windows format PATH.
10345
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10347
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10349
# FIXME: find the short name or the path components, as spaces are
10350
# common. (e.g. "Program Files" -> "PROGRA~1")
10354
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10355
postinstall_cmds='base_file=`basename \${file}`~
10356
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10357
dldir=$destdir/`dirname \$dlpath`~
10358
test -d \$dldir || mkdir -p \$dldir~
10359
$install_prog $dir/$dlname \$dldir/$dlname'
10360
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10361
dlpath=$dir/\$dldll~
10363
shlibpath_overrides_runpath=yes
10364
dynamic_linker='Win32 link.exe'
10368
# Assume MSVC wrapper
9612
10369
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10370
dynamic_linker='Win32 ld.exe'
9615
dynamic_linker='Win32 ld.exe'
9616
10373
# FIXME: first we should search . and the directory the executable is in
9617
10374
shlibpath_var=PATH
14165
14983
sed_quote_subst='$sed_quote_subst'
14166
14984
double_quote_subst='$double_quote_subst'
14167
14985
delay_variable_subst='$delay_variable_subst'
14168
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14169
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14170
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14171
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14172
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14173
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14174
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14175
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14176
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14177
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14178
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14179
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14180
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14181
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14182
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14183
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14184
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14185
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14186
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14187
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14188
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14189
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14190
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14191
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14192
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14193
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14194
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14195
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14196
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14197
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14198
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14199
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14200
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14201
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14202
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14203
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14204
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14205
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14206
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14207
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14208
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14209
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14210
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14211
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14212
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"`'
14213
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"`'
14214
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14215
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14216
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14217
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14218
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14219
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14220
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14221
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14222
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14223
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14224
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14225
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14226
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14227
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14228
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14229
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14230
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14231
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14232
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14233
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14234
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14235
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14236
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14237
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14238
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14239
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14240
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14241
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14242
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14243
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14244
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14245
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14246
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14247
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14248
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14249
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14250
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14251
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14252
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14253
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14254
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14255
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14256
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14257
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14258
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14259
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14260
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14261
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14262
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14263
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14264
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14265
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14266
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14267
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14268
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14269
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14270
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14271
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14272
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14273
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14274
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14275
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14276
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14277
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14278
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14279
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14280
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14281
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14282
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14283
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14284
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14285
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14986
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14987
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14988
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14989
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14990
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14991
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14992
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14993
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14994
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14995
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14996
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14997
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14998
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14999
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15000
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15001
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15002
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15003
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15004
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15005
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15006
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15007
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15008
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15009
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15010
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15011
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15012
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15013
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15014
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15015
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15016
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15017
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15018
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15019
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15020
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15021
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15022
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15023
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15024
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15025
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15026
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15027
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15028
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15029
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15030
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15031
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15032
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15033
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15034
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15035
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15036
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15037
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15038
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15039
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15040
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15041
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"`'
15042
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15043
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15044
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15045
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15046
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15047
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15048
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15049
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15050
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15051
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15052
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15053
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15054
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15055
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15056
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15057
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15058
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15059
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15060
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15061
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15062
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15063
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15064
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15065
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15066
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15067
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15068
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15069
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15070
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15071
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15072
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15073
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15074
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15075
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15076
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15077
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15078
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15079
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15080
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15081
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15082
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15083
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15084
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15085
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15086
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15087
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15088
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15089
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15090
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15091
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15092
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15093
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15094
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15095
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15096
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15097
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15098
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15099
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15100
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15101
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15102
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15103
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15104
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15105
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15106
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15107
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15108
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15109
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15110
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15111
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15112
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15113
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15114
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15115
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14288
15118
LTCFLAGS='$LTCFLAGS'
14289
15119
compiler='$compiler_DEFAULT'
15121
# A function that is used when there is no print builtin or printf.
15122
func_fallback_echo ()
15124
eval 'cat <<_LTECHO_EOF
14291
15129
# Quote evaled strings.
15530
16420
# if finds mixed CR/LF and LF-only lines. Since sed operates in
15531
16421
# text mode, it properly converts lines to CR/LF. This bash problem
15532
16422
# is reportedly fixed, but why not run on old versions too?
15533
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15534
|| (rm -f "$cfgfile"; exit 1)
15538
cat << \_LT_EOF >> "$cfgfile"
15540
# func_dirname file append nondir_replacement
15541
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15542
# otherwise set result to NONDIR_REPLACEMENT.
15546
*/*) func_dirname_result="${1%/*}${2}" ;;
15547
* ) func_dirname_result="${3}" ;;
15551
# func_basename file
15554
func_basename_result="${1##*/}"
15557
# func_dirname_and_basename file append nondir_replacement
15558
# perform func_basename and func_dirname in a single function
15560
# dirname: Compute the dirname of FILE. If nonempty,
15561
# add APPEND to the result, otherwise set result
15562
# to NONDIR_REPLACEMENT.
15563
# value returned in "$func_dirname_result"
15564
# basename: Compute filename of FILE.
15565
# value retuned in "$func_basename_result"
15566
# Implementation must be kept synchronized with func_dirname
15567
# and func_basename. For efficiency, we do not delegate to
15568
# those functions but instead duplicate the functionality here.
15569
func_dirname_and_basename ()
15572
*/*) func_dirname_result="${1%/*}${2}" ;;
15573
* ) func_dirname_result="${3}" ;;
15575
func_basename_result="${1##*/}"
15578
# func_stripname prefix suffix name
15579
# strip PREFIX and SUFFIX off of NAME.
15580
# PREFIX and SUFFIX must not contain globbing or regex special
15581
# characters, hashes, percent signs, but SUFFIX may contain a leading
15582
# dot (in which case that matches only a dot).
15585
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15586
# positional parameters, so assign one to ordinary parameter first.
15587
func_stripname_result=${3}
15588
func_stripname_result=${func_stripname_result#"${1}"}
15589
func_stripname_result=${func_stripname_result%"${2}"}
15595
func_opt_split_opt=${1%%=*}
15596
func_opt_split_arg=${1#*=}
15603
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15604
*) func_lo2o_result=${1} ;;
15608
# func_xform libobj-or-source
15611
func_xform_result=${1%.*}.lo
15614
# func_arith arithmetic-term...
15617
func_arith_result=$(( $* ))
15621
# STRING may not start with a hyphen.
15624
func_len_result=${#1}
15629
*) # Bourne compatible functions.
15630
cat << \_LT_EOF >> "$cfgfile"
15632
# func_dirname file append nondir_replacement
15633
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15634
# otherwise set result to NONDIR_REPLACEMENT.
15637
# Extract subdirectory from the argument.
15638
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15639
if test "X$func_dirname_result" = "X${1}"; then
15640
func_dirname_result="${3}"
15642
func_dirname_result="$func_dirname_result${2}"
15646
# func_basename file
15649
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15653
# func_stripname prefix suffix name
15654
# strip PREFIX and SUFFIX off of NAME.
15655
# PREFIX and SUFFIX must not contain globbing or regex special
15656
# characters, hashes, percent signs, but SUFFIX may contain a leading
15657
# dot (in which case that matches only a dot).
15658
# func_strip_suffix prefix name
15662
.*) func_stripname_result=`$ECHO "X${3}" \
15663
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15664
*) func_stripname_result=`$ECHO "X${3}" \
15665
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15670
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15671
my_sed_long_arg='1s/^-[^=]*=//'
15676
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15677
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15683
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15686
# func_xform libobj-or-source
15689
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15692
# func_arith arithmetic-term...
15695
func_arith_result=`expr "$@"`
15699
# STRING may not start with a hyphen.
15702
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15708
case $lt_shell_append in
15710
cat << \_LT_EOF >> "$cfgfile"
15712
# func_append var value
15713
# Append VALUE to the end of shell variable VAR.
15721
cat << \_LT_EOF >> "$cfgfile"
15723
# func_append var value
15724
# Append VALUE to the end of shell variable VAR.
15735
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15736
|| (rm -f "$cfgfile"; exit 1)
15738
mv -f "$cfgfile" "$ofile" ||
16423
sed '$q' "$ltmain" >> "$cfgfile" \
16424
|| (rm -f "$cfgfile"; exit 1)
16426
if test x"$xsi_shell" = xyes; then
16427
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16431
\ */*) func_dirname_result="${1%/*}${2}" ;;\
16432
\ * ) func_dirname_result="${3}" ;;\
16434
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16435
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16436
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16437
test 0 -eq $? || _lt_function_replace_fail=:
16440
sed -e '/^func_basename ()$/,/^} # func_basename /c\
16443
\ func_basename_result="${1##*/}"\
16444
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16445
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16446
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16447
test 0 -eq $? || _lt_function_replace_fail=:
16450
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16451
func_dirname_and_basename ()\
16454
\ */*) func_dirname_result="${1%/*}${2}" ;;\
16455
\ * ) func_dirname_result="${3}" ;;\
16457
\ func_basename_result="${1##*/}"\
16458
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16459
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16460
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16461
test 0 -eq $? || _lt_function_replace_fail=:
16464
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16467
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16468
\ # positional parameters, so assign one to ordinary parameter first.\
16469
\ func_stripname_result=${3}\
16470
\ func_stripname_result=${func_stripname_result#"${1}"}\
16471
\ func_stripname_result=${func_stripname_result%"${2}"}\
16472
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16473
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16474
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16475
test 0 -eq $? || _lt_function_replace_fail=:
16478
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16479
func_split_long_opt ()\
16481
\ func_split_long_opt_name=${1%%=*}\
16482
\ func_split_long_opt_arg=${1#*=}\
16483
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16484
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16485
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16486
test 0 -eq $? || _lt_function_replace_fail=:
16489
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16490
func_split_short_opt ()\
16492
\ func_split_short_opt_arg=${1#??}\
16493
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16494
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16495
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16496
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16497
test 0 -eq $? || _lt_function_replace_fail=:
16500
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16504
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16505
\ *) func_lo2o_result=${1} ;;\
16507
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16508
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16509
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16510
test 0 -eq $? || _lt_function_replace_fail=:
16513
sed -e '/^func_xform ()$/,/^} # func_xform /c\
16516
func_xform_result=${1%.*}.lo\
16517
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16518
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16519
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16520
test 0 -eq $? || _lt_function_replace_fail=:
16523
sed -e '/^func_arith ()$/,/^} # func_arith /c\
16526
func_arith_result=$(( $* ))\
16527
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16528
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16529
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16530
test 0 -eq $? || _lt_function_replace_fail=:
16533
sed -e '/^func_len ()$/,/^} # func_len /c\
16536
func_len_result=${#1}\
16537
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16538
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16539
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16540
test 0 -eq $? || _lt_function_replace_fail=:
16544
if test x"$lt_shell_append" = xyes; then
16545
sed -e '/^func_append ()$/,/^} # func_append /c\
16548
eval "${1}+=\\${2}"\
16549
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16550
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16551
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16552
test 0 -eq $? || _lt_function_replace_fail=:
16555
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16556
func_append_quoted ()\
16558
\ func_quote_for_eval "${2}"\
16559
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16560
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16561
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16562
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16563
test 0 -eq $? || _lt_function_replace_fail=:
16566
# Save a `func_append' function call where possible by direct use of '+='
16567
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16568
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16569
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16570
test 0 -eq $? || _lt_function_replace_fail=:
16572
# Save a `func_append' function call even when '+=' is not available
16573
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $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
if test x"$_lt_function_replace_fail" = x":"; then
16580
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16581
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16585
mv -f "$cfgfile" "$ofile" ||
15739
16586
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15740
16587
chmod +x "$ofile"