532
548
# Sed expression to map a string onto a valid variable name.
533
549
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537
# Check that we are running under the correct shell.
538
551
SHELL=${CONFIG_SHELL-/bin/sh}
542
# Remove one level of quotation (which was required for Make).
543
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
548
if test "X$1" = X--no-reexec; then
549
# Discard the --no-reexec flag, and continue.
551
elif test "X$1" = X--fallback-echo; then
552
# Avoid inline document here, it may be left over
554
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
555
# Yippee, $ECHO works!
558
# Restart under the correct shell.
559
exec $SHELL "$0" --no-reexec ${1+"$@"}
562
if test "X$1" = X--fallback-echo; then
563
# used as fallback echo
571
# The HP-UX ksh and POSIX shell print the target directory to stdout
573
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
575
if test -z "$lt_ECHO"; then
576
if test "X${echo_test_string+set}" != Xset; then
577
# find a string as large as possible, as long as the shell can cope with it
578
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
579
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
580
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
581
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
588
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
589
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
590
test "X$echo_testing_string" = "X$echo_test_string"; then
593
# The Solaris, AIX, and Digital Unix default echo programs unquote
594
# backslashes. This makes it impossible to quote backslashes using
595
# echo "$something" | sed 's/\\/\\\\/g'
597
# So, first we look for a working echo in the user's PATH.
599
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
600
for dir in $PATH /usr/ucb; do
602
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
603
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
604
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
605
test "X$echo_testing_string" = "X$echo_test_string"; then
612
if test "X$ECHO" = Xecho; then
613
# We didn't find a better echo, so look for alternatives.
614
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
615
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
616
test "X$echo_testing_string" = "X$echo_test_string"; then
617
# This shell has a builtin print -r that does the trick.
619
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
620
test "X$CONFIG_SHELL" != X/bin/ksh; then
621
# If we have ksh, try running configure again with it.
622
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
623
export ORIGINAL_CONFIG_SHELL
624
CONFIG_SHELL=/bin/ksh
626
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
630
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
631
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
632
test "X$echo_testing_string" = "X$echo_test_string"; then
635
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
636
test "X$echo_testing_string" = 'X\t' &&
637
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
638
test "X$echo_testing_string" = "X$echo_test_string"; then
639
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
641
SHELL="$CONFIG_SHELL"
643
ECHO="$CONFIG_SHELL $0 --fallback-echo"
644
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
645
test "X$echo_testing_string" = 'X\t' &&
646
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
647
test "X$echo_testing_string" = "X$echo_test_string"; then
648
ECHO="$CONFIG_SHELL $0 --fallback-echo"
650
# maybe with a smaller string...
653
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
654
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
661
if test "$prev" != 'sed 50q "$0"'; then
662
echo_test_string=`eval $prev`
663
export echo_test_string
664
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
666
# Oops. We lost completely, so just stick with echo.
675
# Copy echo and quote the copy suitably for passing to libtool from
676
# the Makefile, instead of quoting the original, which is used later.
678
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
679
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
685
554
test -n "$DJDIR" || exec 7<&0 </dev/null
688
557
# Name of the host.
689
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
690
559
# so uname gets run too.
691
560
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5291
if test -n "$ac_tool_prefix"; then
5292
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5293
set dummy ${ac_tool_prefix}ar; ac_word=$2
5294
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5295
$as_echo_n "checking for $ac_word... " >&6; }
5296
if test "${ac_cv_prog_AR+set}" = set; then :
5366
if test -n "$ac_tool_prefix"; then
5367
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5368
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5370
$as_echo_n "checking for $ac_word... " >&6; }
5371
if ${ac_cv_prog_DLLTOOL+:} false; then :
5372
$as_echo_n "(cached) " >&6
5374
if test -n "$DLLTOOL"; then
5375
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5377
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381
test -z "$as_dir" && as_dir=.
5382
for ac_exec_ext in '' $ac_executable_extensions; do
5383
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5384
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5385
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394
DLLTOOL=$ac_cv_prog_DLLTOOL
5395
if test -n "$DLLTOOL"; then
5396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5397
$as_echo "$DLLTOOL" >&6; }
5399
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5400
$as_echo "no" >&6; }
5405
if test -z "$ac_cv_prog_DLLTOOL"; then
5406
ac_ct_DLLTOOL=$DLLTOOL
5407
# Extract the first word of "dlltool", so it can be a program name with args.
5408
set dummy dlltool; ac_word=$2
5409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5410
$as_echo_n "checking for $ac_word... " >&6; }
5411
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5412
$as_echo_n "(cached) " >&6
5414
if test -n "$ac_ct_DLLTOOL"; then
5415
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5417
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5421
test -z "$as_dir" && as_dir=.
5422
for ac_exec_ext in '' $ac_executable_extensions; do
5423
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5424
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5425
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5434
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5435
if test -n "$ac_ct_DLLTOOL"; then
5436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5437
$as_echo "$ac_ct_DLLTOOL" >&6; }
5439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5440
$as_echo "no" >&6; }
5443
if test "x$ac_ct_DLLTOOL" = x; then
5446
case $cross_compiling:$ac_tool_warned in
5448
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5449
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5450
ac_tool_warned=yes ;;
5452
DLLTOOL=$ac_ct_DLLTOOL
5455
DLLTOOL="$ac_cv_prog_DLLTOOL"
5458
test -z "$DLLTOOL" && DLLTOOL=dlltool
5469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5470
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5471
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5472
$as_echo_n "(cached) " >&6
5474
lt_cv_sharedlib_from_linklib_cmd='unknown'
5477
cygwin* | mingw* | pw32* | cegcc*)
5478
# two different shell functions defined in ltmain.sh
5479
# decide which to use based on capabilities of $DLLTOOL
5480
case `$DLLTOOL --help 2>&1` in
5481
*--identify-strict*)
5482
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5485
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5490
# fallback: assume linklib IS sharedlib
5491
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5497
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5498
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5499
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5508
if test -n "$ac_tool_prefix"; then
5511
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5512
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5514
$as_echo_n "checking for $ac_word... " >&6; }
5515
if ${ac_cv_prog_AR+:} false; then :
5297
5516
$as_echo_n "(cached) " >&6
5299
5518
if test -n "$AR"; then
6095
6451
need_locks="$enable_libtool_lock"
6453
if test -n "$ac_tool_prefix"; then
6454
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6455
set dummy ${ac_tool_prefix}mt; ac_word=$2
6456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457
$as_echo_n "checking for $ac_word... " >&6; }
6458
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6459
$as_echo_n "(cached) " >&6
6461
if test -n "$MANIFEST_TOOL"; then
6462
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6464
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468
test -z "$as_dir" && as_dir=.
6469
for ac_exec_ext in '' $ac_executable_extensions; do
6470
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6471
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6472
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6481
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6482
if test -n "$MANIFEST_TOOL"; then
6483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6484
$as_echo "$MANIFEST_TOOL" >&6; }
6486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487
$as_echo "no" >&6; }
6492
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6493
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6494
# Extract the first word of "mt", so it can be a program name with args.
6495
set dummy mt; ac_word=$2
6496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6497
$as_echo_n "checking for $ac_word... " >&6; }
6498
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6499
$as_echo_n "(cached) " >&6
6501
if test -n "$ac_ct_MANIFEST_TOOL"; then
6502
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6504
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6508
test -z "$as_dir" && as_dir=.
6509
for ac_exec_ext in '' $ac_executable_extensions; do
6510
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6511
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6512
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6522
if test -n "$ac_ct_MANIFEST_TOOL"; then
6523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6524
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527
$as_echo "no" >&6; }
6530
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6533
case $cross_compiling:$ac_tool_warned in
6535
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6536
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6537
ac_tool_warned=yes ;;
6539
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6542
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6545
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6547
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6548
if ${lt_cv_path_mainfest_tool+:} false; then :
6549
$as_echo_n "(cached) " >&6
6551
lt_cv_path_mainfest_tool=no
6552
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6553
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6554
cat conftest.err >&5
6555
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6556
lt_cv_path_mainfest_tool=yes
6560
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6561
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6562
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6098
6571
case $host_os in
6099
6572
rhapsody* | darwin*)
8566
9147
# Microsoft Visual C++.
8567
9148
# hardcode_libdir_flag_spec is actually meaningless, as there is
8568
9149
# no search path for DLLs.
8569
hardcode_libdir_flag_spec=' '
8570
allow_undefined_flag=unsupported
8571
# Tell ltmain to make .lib files, not .a files.
8573
# Tell ltmain to make .dll files, not .so files.
8575
# FIXME: Setting linknames here is a bad hack.
8576
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8577
# The linker will automatically build a .lib file if we build a DLL.
8578
old_archive_from_new_cmds='true'
8579
# FIXME: Should let the user specify the lib program.
8580
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8581
fix_srcfile_path='`cygpath -w "$srcfile"`'
8582
enable_shared_with_static_runtimes=yes
9150
case $cc_basename in
9153
hardcode_libdir_flag_spec=' '
9154
allow_undefined_flag=unsupported
9155
always_export_symbols=yes
9157
# Tell ltmain to make .lib files, not .a files.
9159
# Tell ltmain to make .dll files, not .so files.
9161
# FIXME: Setting linknames here is a bad hack.
9162
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9163
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9164
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9166
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9168
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9170
# The linker will not automatically build a static lib if we build a DLL.
9171
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9172
enable_shared_with_static_runtimes=yes
9173
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9175
old_postinstall_cmds='chmod 644 $oldlib'
9176
postlink_cmds='lt_outputfile="@OUTPUT@"~
9177
lt_tool_outputfile="@TOOL_OUTPUT@"~
9178
case $lt_outputfile in
9181
lt_outputfile="$lt_outputfile.exe"
9182
lt_tool_outputfile="$lt_tool_outputfile.exe"
9185
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9186
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9187
$RM "$lt_outputfile.manifest";
9191
# Assume MSVC wrapper
9192
hardcode_libdir_flag_spec=' '
9193
allow_undefined_flag=unsupported
9194
# Tell ltmain to make .lib files, not .a files.
9196
# Tell ltmain to make .dll files, not .so files.
9198
# FIXME: Setting linknames here is a bad hack.
9199
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9200
# The linker will automatically build a .lib file if we build a DLL.
9201
old_archive_from_new_cmds='true'
9202
# FIXME: Should let the user specify the lib program.
9203
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9204
enable_shared_with_static_runtimes=yes
8585
9209
darwin* | rhapsody*)
9433
10133
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9434
10134
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9435
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10136
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9437
10138
mingw* | cegcc*)
9438
10139
# MinGW DLLs use traditional 'lib' prefix
9439
10140
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9440
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9441
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9442
# It is most probably a Windows format PATH printed by
9443
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9444
# path with ; separators, and with drive letters. We can handle the
9445
# drive letters (cygwin fileutils understands them), so leave them,
9446
# especially as we might pass files found there to a mingw objdump,
9447
# which wouldn't understand a cygwinified path. Ahh.
9448
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9450
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9454
10143
# pw32 DLLs use 'pw' prefix rather than 'lib'
9455
10144
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10147
dynamic_linker='Win32 ld.exe'
10152
libname_spec='$name'
10153
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10154
library_names_spec='${libname}.dll.lib'
10158
sys_lib_search_path_spec=
10161
for lt_path in $LIB
10164
# Let DOS variable expansion print the short 8.3 style file name.
10165
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10166
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10169
# Convert to MSYS style.
10170
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10173
# Convert to unix form, then to dos form, then back to unix form
10174
# but this time dos style (no spaces!) so that the unix form looks
10175
# like /cygdrive/c/PROGRA~1:/cygdr...
10176
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10177
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10178
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10181
sys_lib_search_path_spec="$LIB"
10182
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10183
# It is most probably a Windows format PATH.
10184
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10186
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10188
# FIXME: find the short name or the path components, as spaces are
10189
# common. (e.g. "Program Files" -> "PROGRA~1")
10193
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10194
postinstall_cmds='base_file=`basename \${file}`~
10195
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10196
dldir=$destdir/`dirname \$dlpath`~
10197
test -d \$dldir || mkdir -p \$dldir~
10198
$install_prog $dir/$dlname \$dldir/$dlname'
10199
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10200
dlpath=$dir/\$dldll~
10202
shlibpath_overrides_runpath=yes
10203
dynamic_linker='Win32 link.exe'
10207
# Assume MSVC wrapper
9461
10208
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10209
dynamic_linker='Win32 ld.exe'
9464
dynamic_linker='Win32 ld.exe'
9465
10212
# FIXME: first we should search . and the directory the executable is in
9466
10213
shlibpath_var=PATH
14132
14946
sed_quote_subst='$sed_quote_subst'
14133
14947
double_quote_subst='$double_quote_subst'
14134
14948
delay_variable_subst='$delay_variable_subst'
14135
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14136
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14137
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14138
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14139
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14140
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14141
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14142
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14143
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14144
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14145
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14146
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14147
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14148
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14149
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14150
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14151
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14152
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14153
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14154
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14155
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14156
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14157
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14158
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14159
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14160
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14161
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14162
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14163
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14164
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14165
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14166
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14167
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14168
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14169
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14170
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14171
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14172
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14173
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14174
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14175
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14176
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14177
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14178
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14179
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"`'
14180
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"`'
14181
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14182
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14183
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14184
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14185
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14186
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14187
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14188
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14189
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14190
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14191
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14192
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14193
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14194
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14195
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14196
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14197
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14198
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14199
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14200
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14201
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14202
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14203
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14204
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14205
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14206
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14207
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14208
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14209
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14210
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14211
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14212
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14213
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14214
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14215
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14216
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14217
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14218
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14219
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14220
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14221
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14222
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14223
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14224
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14225
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14226
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14227
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14228
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14229
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14230
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14231
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14232
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14233
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14234
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14235
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14236
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14237
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14238
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14239
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14240
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14241
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14242
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14243
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14244
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14245
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14246
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14247
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14248
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14249
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14250
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14251
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14252
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14949
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14950
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14951
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14952
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14953
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14954
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14955
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14956
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14957
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14958
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14959
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14960
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14961
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14962
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14963
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14964
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14965
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14966
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14967
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14968
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14969
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14970
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14971
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14972
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14973
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14974
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14975
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14976
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14977
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14978
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14979
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14980
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14981
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14982
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14983
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14984
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14985
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14986
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14987
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14988
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14989
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14990
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14991
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14992
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14993
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14994
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14995
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14996
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14997
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14998
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14999
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15000
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15001
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15002
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15003
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15004
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"`'
15005
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15006
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15007
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15008
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15009
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15010
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15011
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15012
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15013
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15014
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15015
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15016
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15017
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15018
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15019
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15020
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15021
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15022
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15023
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15024
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15025
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15026
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15027
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15028
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15029
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15030
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15031
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15032
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15033
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15034
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15035
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15036
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15037
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15038
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15039
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
15040
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15041
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15042
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15043
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15044
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15045
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15046
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15047
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15048
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15049
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15050
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15051
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15052
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15053
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15054
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15055
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15056
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15057
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15058
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15059
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15060
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15061
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15062
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15063
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15064
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15065
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15066
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15067
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15068
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15069
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15070
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15071
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15072
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15073
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15074
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15075
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15076
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15077
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15078
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14255
15081
LTCFLAGS='$LTCFLAGS'
14256
15082
compiler='$compiler_DEFAULT'
15084
# A function that is used when there is no print builtin or printf.
15085
func_fallback_echo ()
15087
eval 'cat <<_LTECHO_EOF
14258
15092
# Quote evaled strings.
14259
15093
for var in SED \
15503
16389
# if finds mixed CR/LF and LF-only lines. Since sed operates in
15504
16390
# text mode, it properly converts lines to CR/LF. This bash problem
15505
16391
# is reportedly fixed, but why not run on old versions too?
15506
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15507
|| (rm -f "$cfgfile"; exit 1)
15511
cat << \_LT_EOF >> "$cfgfile"
15513
# func_dirname file append nondir_replacement
15514
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15515
# otherwise set result to NONDIR_REPLACEMENT.
15519
*/*) func_dirname_result="${1%/*}${2}" ;;
15520
* ) func_dirname_result="${3}" ;;
15524
# func_basename file
15527
func_basename_result="${1##*/}"
15530
# func_dirname_and_basename file append nondir_replacement
15531
# perform func_basename and func_dirname in a single function
15533
# dirname: Compute the dirname of FILE. If nonempty,
15534
# add APPEND to the result, otherwise set result
15535
# to NONDIR_REPLACEMENT.
15536
# value returned in "$func_dirname_result"
15537
# basename: Compute filename of FILE.
15538
# value retuned in "$func_basename_result"
15539
# Implementation must be kept synchronized with func_dirname
15540
# and func_basename. For efficiency, we do not delegate to
15541
# those functions but instead duplicate the functionality here.
15542
func_dirname_and_basename ()
15545
*/*) func_dirname_result="${1%/*}${2}" ;;
15546
* ) func_dirname_result="${3}" ;;
15548
func_basename_result="${1##*/}"
15551
# func_stripname prefix suffix name
15552
# strip PREFIX and SUFFIX off of NAME.
15553
# PREFIX and SUFFIX must not contain globbing or regex special
15554
# characters, hashes, percent signs, but SUFFIX may contain a leading
15555
# dot (in which case that matches only a dot).
15558
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15559
# positional parameters, so assign one to ordinary parameter first.
15560
func_stripname_result=${3}
15561
func_stripname_result=${func_stripname_result#"${1}"}
15562
func_stripname_result=${func_stripname_result%"${2}"}
15568
func_opt_split_opt=${1%%=*}
15569
func_opt_split_arg=${1#*=}
15576
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15577
*) func_lo2o_result=${1} ;;
15581
# func_xform libobj-or-source
15584
func_xform_result=${1%.*}.lo
15587
# func_arith arithmetic-term...
15590
func_arith_result=$(( $* ))
15594
# STRING may not start with a hyphen.
15597
func_len_result=${#1}
15602
*) # Bourne compatible functions.
15603
cat << \_LT_EOF >> "$cfgfile"
15605
# func_dirname file append nondir_replacement
15606
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15607
# otherwise set result to NONDIR_REPLACEMENT.
15610
# Extract subdirectory from the argument.
15611
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15612
if test "X$func_dirname_result" = "X${1}"; then
15613
func_dirname_result="${3}"
15615
func_dirname_result="$func_dirname_result${2}"
15619
# func_basename file
15622
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15626
# func_stripname prefix suffix name
15627
# strip PREFIX and SUFFIX off of NAME.
15628
# PREFIX and SUFFIX must not contain globbing or regex special
15629
# characters, hashes, percent signs, but SUFFIX may contain a leading
15630
# dot (in which case that matches only a dot).
15631
# func_strip_suffix prefix name
15635
.*) func_stripname_result=`$ECHO "X${3}" \
15636
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15637
*) func_stripname_result=`$ECHO "X${3}" \
15638
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15643
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15644
my_sed_long_arg='1s/^-[^=]*=//'
15649
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15650
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15656
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15659
# func_xform libobj-or-source
15662
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15665
# func_arith arithmetic-term...
15668
func_arith_result=`expr "$@"`
15672
# STRING may not start with a hyphen.
15675
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15681
case $lt_shell_append in
15683
cat << \_LT_EOF >> "$cfgfile"
15685
# func_append var value
15686
# Append VALUE to the end of shell variable VAR.
15694
cat << \_LT_EOF >> "$cfgfile"
15696
# func_append var value
15697
# Append VALUE to the end of shell variable VAR.
15708
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15709
|| (rm -f "$cfgfile"; exit 1)
15711
mv -f "$cfgfile" "$ofile" ||
16392
sed '$q' "$ltmain" >> "$cfgfile" \
16393
|| (rm -f "$cfgfile"; exit 1)
16395
if test x"$xsi_shell" = xyes; then
16396
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16400
\ */*) func_dirname_result="${1%/*}${2}" ;;\
16401
\ * ) func_dirname_result="${3}" ;;\
16403
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16404
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16405
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16406
test 0 -eq $? || _lt_function_replace_fail=:
16409
sed -e '/^func_basename ()$/,/^} # func_basename /c\
16412
\ func_basename_result="${1##*/}"\
16413
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16414
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16415
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16416
test 0 -eq $? || _lt_function_replace_fail=:
16419
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16420
func_dirname_and_basename ()\
16423
\ */*) func_dirname_result="${1%/*}${2}" ;;\
16424
\ * ) func_dirname_result="${3}" ;;\
16426
\ func_basename_result="${1##*/}"\
16427
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16428
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16429
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16430
test 0 -eq $? || _lt_function_replace_fail=:
16433
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16436
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16437
\ # positional parameters, so assign one to ordinary parameter first.\
16438
\ func_stripname_result=${3}\
16439
\ func_stripname_result=${func_stripname_result#"${1}"}\
16440
\ func_stripname_result=${func_stripname_result%"${2}"}\
16441
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16442
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16443
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16444
test 0 -eq $? || _lt_function_replace_fail=:
16447
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16448
func_split_long_opt ()\
16450
\ func_split_long_opt_name=${1%%=*}\
16451
\ func_split_long_opt_arg=${1#*=}\
16452
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16453
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16454
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16455
test 0 -eq $? || _lt_function_replace_fail=:
16458
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16459
func_split_short_opt ()\
16461
\ func_split_short_opt_arg=${1#??}\
16462
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16463
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16464
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16465
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16466
test 0 -eq $? || _lt_function_replace_fail=:
16469
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16473
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16474
\ *) func_lo2o_result=${1} ;;\
16476
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16477
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16478
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16479
test 0 -eq $? || _lt_function_replace_fail=:
16482
sed -e '/^func_xform ()$/,/^} # func_xform /c\
16485
func_xform_result=${1%.*}.lo\
16486
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16487
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16488
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16489
test 0 -eq $? || _lt_function_replace_fail=:
16492
sed -e '/^func_arith ()$/,/^} # func_arith /c\
16495
func_arith_result=$(( $* ))\
16496
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16497
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16498
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16499
test 0 -eq $? || _lt_function_replace_fail=:
16502
sed -e '/^func_len ()$/,/^} # func_len /c\
16505
func_len_result=${#1}\
16506
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16507
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16508
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16509
test 0 -eq $? || _lt_function_replace_fail=:
16513
if test x"$lt_shell_append" = xyes; then
16514
sed -e '/^func_append ()$/,/^} # func_append /c\
16517
eval "${1}+=\\${2}"\
16518
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16519
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16520
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16521
test 0 -eq $? || _lt_function_replace_fail=:
16524
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16525
func_append_quoted ()\
16527
\ func_quote_for_eval "${2}"\
16528
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16529
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16530
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16531
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16532
test 0 -eq $? || _lt_function_replace_fail=:
16535
# Save a `func_append' function call where possible by direct use of '+='
16536
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16537
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16538
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16539
test 0 -eq $? || _lt_function_replace_fail=:
16541
# Save a `func_append' function call even when '+=' is not available
16542
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $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
if test x"$_lt_function_replace_fail" = x":"; then
16549
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16550
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16554
mv -f "$cfgfile" "$ofile" ||
15712
16555
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15713
16556
chmod +x "$ofile"