528
544
# Sed expression to map a string onto a valid variable name.
529
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
# Check that we are running under the correct shell.
534
547
SHELL=${CONFIG_SHELL-/bin/sh}
538
# Remove one level of quotation (which was required for Make).
539
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544
if test "X$1" = X--no-reexec; then
545
# Discard the --no-reexec flag, and continue.
547
elif test "X$1" = X--fallback-echo; then
548
# Avoid inline document here, it may be left over
550
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
# Yippee, $ECHO works!
554
# Restart under the correct shell.
555
exec $SHELL "$0" --no-reexec ${1+"$@"}
558
if test "X$1" = X--fallback-echo; then
559
# used as fallback echo
567
# The HP-UX ksh and POSIX shell print the target directory to stdout
569
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
if test -z "$lt_ECHO"; then
572
if test "X${echo_test_string+set}" != Xset; then
573
# find a string as large as possible, as long as the shell can cope with it
574
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
test "X$echo_testing_string" = "X$echo_test_string"; then
589
# The Solaris, AIX, and Digital Unix default echo programs unquote
590
# backslashes. This makes it impossible to quote backslashes using
591
# echo "$something" | sed 's/\\/\\\\/g'
593
# So, first we look for a working echo in the user's PATH.
595
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
for dir in $PATH /usr/ucb; do
598
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
test "X$echo_testing_string" = "X$echo_test_string"; then
608
if test "X$ECHO" = Xecho; then
609
# We didn't find a better echo, so look for alternatives.
610
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
test "X$echo_testing_string" = "X$echo_test_string"; then
613
# This shell has a builtin print -r that does the trick.
615
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
test "X$CONFIG_SHELL" != X/bin/ksh; then
617
# If we have ksh, try running configure again with it.
618
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
export ORIGINAL_CONFIG_SHELL
620
CONFIG_SHELL=/bin/ksh
622
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
test "X$echo_testing_string" = "X$echo_test_string"; then
631
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
test "X$echo_testing_string" = 'X\t' &&
633
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
test "X$echo_testing_string" = "X$echo_test_string"; then
635
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637
SHELL="$CONFIG_SHELL"
639
ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
test "X$echo_testing_string" = 'X\t' &&
642
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
644
ECHO="$CONFIG_SHELL $0 --fallback-echo"
646
# maybe with a smaller string...
649
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657
if test "$prev" != 'sed 50q "$0"'; then
658
echo_test_string=`eval $prev`
659
export echo_test_string
660
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662
# Oops. We lost completely, so just stick with echo.
671
# Copy echo and quote the copy suitably for passing to libtool from
672
# the Makefile, instead of quoting the original, which is used later.
674
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681
550
test -n "$DJDIR" || exec 7<&0 </dev/null
5334
if test -n "$ac_tool_prefix"; then
5335
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5336
set dummy ${ac_tool_prefix}ar; ac_word=$2
5337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5338
$as_echo_n "checking for $ac_word... " >&6; }
5339
if test "${ac_cv_prog_AR+set}" = set; then :
5404
if test -n "$ac_tool_prefix"; then
5405
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5406
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408
$as_echo_n "checking for $ac_word... " >&6; }
5409
if ${ac_cv_prog_DLLTOOL+:} false; then :
5410
$as_echo_n "(cached) " >&6
5412
if test -n "$DLLTOOL"; then
5413
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5415
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5419
test -z "$as_dir" && as_dir=.
5420
for ac_exec_ext in '' $ac_executable_extensions; do
5421
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5422
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5423
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5432
DLLTOOL=$ac_cv_prog_DLLTOOL
5433
if test -n "$DLLTOOL"; then
5434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5435
$as_echo "$DLLTOOL" >&6; }
5437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438
$as_echo "no" >&6; }
5443
if test -z "$ac_cv_prog_DLLTOOL"; then
5444
ac_ct_DLLTOOL=$DLLTOOL
5445
# Extract the first word of "dlltool", so it can be a program name with args.
5446
set dummy dlltool; ac_word=$2
5447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448
$as_echo_n "checking for $ac_word... " >&6; }
5449
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5450
$as_echo_n "(cached) " >&6
5452
if test -n "$ac_ct_DLLTOOL"; then
5453
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5455
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5459
test -z "$as_dir" && as_dir=.
5460
for ac_exec_ext in '' $ac_executable_extensions; do
5461
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5462
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5463
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5472
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5473
if test -n "$ac_ct_DLLTOOL"; then
5474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5475
$as_echo "$ac_ct_DLLTOOL" >&6; }
5477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5478
$as_echo "no" >&6; }
5481
if test "x$ac_ct_DLLTOOL" = x; then
5484
case $cross_compiling:$ac_tool_warned in
5486
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5487
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5488
ac_tool_warned=yes ;;
5490
DLLTOOL=$ac_ct_DLLTOOL
5493
DLLTOOL="$ac_cv_prog_DLLTOOL"
5496
test -z "$DLLTOOL" && DLLTOOL=dlltool
5507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5508
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5509
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5510
$as_echo_n "(cached) " >&6
5512
lt_cv_sharedlib_from_linklib_cmd='unknown'
5515
cygwin* | mingw* | pw32* | cegcc*)
5516
# two different shell functions defined in ltmain.sh
5517
# decide which to use based on capabilities of $DLLTOOL
5518
case `$DLLTOOL --help 2>&1` in
5519
*--identify-strict*)
5520
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5523
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5528
# fallback: assume linklib IS sharedlib
5529
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5534
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5535
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5536
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5537
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5546
if test -n "$ac_tool_prefix"; then
5549
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5550
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5552
$as_echo_n "checking for $ac_word... " >&6; }
5553
if ${ac_cv_prog_AR+:} false; then :
5340
5554
$as_echo_n "(cached) " >&6
5342
5556
if test -n "$AR"; then
6138
6489
need_locks="$enable_libtool_lock"
6491
if test -n "$ac_tool_prefix"; then
6492
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6493
set dummy ${ac_tool_prefix}mt; ac_word=$2
6494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6495
$as_echo_n "checking for $ac_word... " >&6; }
6496
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6497
$as_echo_n "(cached) " >&6
6499
if test -n "$MANIFEST_TOOL"; then
6500
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6502
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6506
test -z "$as_dir" && as_dir=.
6507
for ac_exec_ext in '' $ac_executable_extensions; do
6508
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6509
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6510
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6520
if test -n "$MANIFEST_TOOL"; then
6521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6522
$as_echo "$MANIFEST_TOOL" >&6; }
6524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6525
$as_echo "no" >&6; }
6530
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6531
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6532
# Extract the first word of "mt", so it can be a program name with args.
6533
set dummy mt; ac_word=$2
6534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6535
$as_echo_n "checking for $ac_word... " >&6; }
6536
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6537
$as_echo_n "(cached) " >&6
6539
if test -n "$ac_ct_MANIFEST_TOOL"; then
6540
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6542
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6546
test -z "$as_dir" && as_dir=.
6547
for ac_exec_ext in '' $ac_executable_extensions; do
6548
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6549
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6550
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6559
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6560
if test -n "$ac_ct_MANIFEST_TOOL"; then
6561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6562
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6565
$as_echo "no" >&6; }
6568
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6571
case $cross_compiling:$ac_tool_warned in
6573
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6574
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6575
ac_tool_warned=yes ;;
6577
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6580
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6583
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6585
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6586
if ${lt_cv_path_mainfest_tool+:} false; then :
6587
$as_echo_n "(cached) " >&6
6589
lt_cv_path_mainfest_tool=no
6590
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6591
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6592
cat conftest.err >&5
6593
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6594
lt_cv_path_mainfest_tool=yes
6598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6599
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6600
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6141
6609
case $host_os in
6142
6610
rhapsody* | darwin*)
8617
9189
# Microsoft Visual C++.
8618
9190
# hardcode_libdir_flag_spec is actually meaningless, as there is
8619
9191
# no search path for DLLs.
8620
hardcode_libdir_flag_spec=' '
8621
allow_undefined_flag=unsupported
8622
# Tell ltmain to make .lib files, not .a files.
8624
# Tell ltmain to make .dll files, not .so files.
8626
# FIXME: Setting linknames here is a bad hack.
8627
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8628
# The linker will automatically build a .lib file if we build a DLL.
8629
old_archive_from_new_cmds='true'
8630
# FIXME: Should let the user specify the lib program.
8631
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8632
fix_srcfile_path='`cygpath -w "$srcfile"`'
8633
enable_shared_with_static_runtimes=yes
9192
case $cc_basename in
9195
hardcode_libdir_flag_spec=' '
9196
allow_undefined_flag=unsupported
9197
always_export_symbols=yes
9199
# Tell ltmain to make .lib files, not .a files.
9201
# Tell ltmain to make .dll files, not .so files.
9203
# FIXME: Setting linknames here is a bad hack.
9204
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9205
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9206
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9208
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9210
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9212
# The linker will not automatically build a static lib if we build a DLL.
9213
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9214
enable_shared_with_static_runtimes=yes
9215
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9217
old_postinstall_cmds='chmod 644 $oldlib'
9218
postlink_cmds='lt_outputfile="@OUTPUT@"~
9219
lt_tool_outputfile="@TOOL_OUTPUT@"~
9220
case $lt_outputfile in
9223
lt_outputfile="$lt_outputfile.exe"
9224
lt_tool_outputfile="$lt_tool_outputfile.exe"
9227
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9228
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9229
$RM "$lt_outputfile.manifest";
9233
# Assume MSVC wrapper
9234
hardcode_libdir_flag_spec=' '
9235
allow_undefined_flag=unsupported
9236
# Tell ltmain to make .lib files, not .a files.
9238
# Tell ltmain to make .dll files, not .so files.
9240
# FIXME: Setting linknames here is a bad hack.
9241
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9242
# The linker will automatically build a .lib file if we build a DLL.
9243
old_archive_from_new_cmds='true'
9244
# FIXME: Should let the user specify the lib program.
9245
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9246
enable_shared_with_static_runtimes=yes
8636
9251
darwin* | rhapsody*)
9484
10175
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9485
10176
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9486
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10178
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9488
10180
mingw* | cegcc*)
9489
10181
# MinGW DLLs use traditional 'lib' prefix
9490
10182
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9491
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9492
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9493
# It is most probably a Windows format PATH printed by
9494
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9495
# path with ; separators, and with drive letters. We can handle the
9496
# drive letters (cygwin fileutils understands them), so leave them,
9497
# especially as we might pass files found there to a mingw objdump,
9498
# which wouldn't understand a cygwinified path. Ahh.
9499
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9501
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9505
10185
# pw32 DLLs use 'pw' prefix rather than 'lib'
9506
10186
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10189
dynamic_linker='Win32 ld.exe'
10194
libname_spec='$name'
10195
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10196
library_names_spec='${libname}.dll.lib'
10200
sys_lib_search_path_spec=
10203
for lt_path in $LIB
10206
# Let DOS variable expansion print the short 8.3 style file name.
10207
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10208
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10211
# Convert to MSYS style.
10212
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10215
# Convert to unix form, then to dos form, then back to unix form
10216
# but this time dos style (no spaces!) so that the unix form looks
10217
# like /cygdrive/c/PROGRA~1:/cygdr...
10218
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10219
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10220
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10223
sys_lib_search_path_spec="$LIB"
10224
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10225
# It is most probably a Windows format PATH.
10226
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10228
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10230
# FIXME: find the short name or the path components, as spaces are
10231
# common. (e.g. "Program Files" -> "PROGRA~1")
10235
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10236
postinstall_cmds='base_file=`basename \${file}`~
10237
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10238
dldir=$destdir/`dirname \$dlpath`~
10239
test -d \$dldir || mkdir -p \$dldir~
10240
$install_prog $dir/$dlname \$dldir/$dlname'
10241
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10242
dlpath=$dir/\$dldll~
10244
shlibpath_overrides_runpath=yes
10245
dynamic_linker='Win32 link.exe'
10249
# Assume MSVC wrapper
9512
10250
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10251
dynamic_linker='Win32 ld.exe'
9515
dynamic_linker='Win32 ld.exe'
9516
10254
# FIXME: first we should search . and the directory the executable is in
9517
10255
shlibpath_var=PATH
12479
13276
sed_quote_subst='$sed_quote_subst'
12480
13277
double_quote_subst='$double_quote_subst'
12481
13278
delay_variable_subst='$delay_variable_subst'
12482
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12483
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12484
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12485
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12486
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12487
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12488
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12489
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12490
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12491
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12492
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12493
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12494
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12495
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12496
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12497
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12498
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12499
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12500
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12501
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12502
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12503
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12504
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12505
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12506
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12507
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12508
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12509
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12510
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12511
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12512
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12513
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12514
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12515
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12516
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12517
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12518
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12519
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12520
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12521
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12522
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12523
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12524
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12525
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12526
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"`'
12527
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"`'
12528
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12529
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12530
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12531
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12532
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12533
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12534
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12535
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12536
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12537
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12538
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12539
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12540
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12541
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12542
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12543
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12544
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12545
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12546
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12547
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12548
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12549
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12550
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12551
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12552
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12553
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12554
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12555
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12556
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12557
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12558
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12559
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12560
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12561
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12562
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12563
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12564
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12565
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12566
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12567
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12568
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12569
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12570
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12571
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12572
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12573
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12574
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12575
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12576
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12577
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12578
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12579
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12580
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12581
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12582
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12583
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12584
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12585
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12586
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12587
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12588
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12589
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12590
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12591
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12592
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12593
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12594
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12595
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12596
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12597
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12598
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12599
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13279
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13280
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13281
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13282
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13283
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13284
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13285
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13286
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13287
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13288
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13289
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13290
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13291
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13292
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13293
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13294
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13295
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13296
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13297
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13298
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13299
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13300
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13301
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13302
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13303
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13304
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13305
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13306
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13307
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13308
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13309
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13310
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13311
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13312
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13313
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13314
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13315
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13316
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13317
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13318
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13319
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13320
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13321
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13322
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13323
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13324
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13325
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13326
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13327
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13328
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13329
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13330
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13331
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13332
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13333
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13334
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"`'
13335
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13336
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13337
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13338
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13339
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13340
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13341
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13342
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13343
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13344
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13345
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13346
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13347
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13348
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13349
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13350
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13351
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13352
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13353
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13354
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13355
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13356
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13357
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13358
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13359
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13360
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13361
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13362
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13363
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13364
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13365
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13366
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13367
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13368
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13369
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13370
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13371
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13372
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13373
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13374
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13375
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13376
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13377
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13378
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13379
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13380
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13381
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13382
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13383
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13384
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13385
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13386
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13387
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13388
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13389
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13390
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13391
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13392
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13393
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13394
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13395
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13396
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13397
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13398
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13399
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13400
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13401
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13402
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13403
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13404
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13405
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13406
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13407
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13408
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12602
13411
LTCFLAGS='$LTCFLAGS'
12603
13412
compiler='$compiler_DEFAULT'
13414
# A function that is used when there is no print builtin or printf.
13415
func_fallback_echo ()
13417
eval 'cat <<_LTECHO_EOF
12605
13422
# Quote evaled strings.
13856
14717
# if finds mixed CR/LF and LF-only lines. Since sed operates in
13857
14718
# text mode, it properly converts lines to CR/LF. This bash problem
13858
14719
# is reportedly fixed, but why not run on old versions too?
13859
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13860
|| (rm -f "$cfgfile"; exit 1)
13864
cat << \_LT_EOF >> "$cfgfile"
13866
# func_dirname file append nondir_replacement
13867
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
13868
# otherwise set result to NONDIR_REPLACEMENT.
13872
*/*) func_dirname_result="${1%/*}${2}" ;;
13873
* ) func_dirname_result="${3}" ;;
13877
# func_basename file
13880
func_basename_result="${1##*/}"
13883
# func_dirname_and_basename file append nondir_replacement
13884
# perform func_basename and func_dirname in a single function
13886
# dirname: Compute the dirname of FILE. If nonempty,
13887
# add APPEND to the result, otherwise set result
13888
# to NONDIR_REPLACEMENT.
13889
# value returned in "$func_dirname_result"
13890
# basename: Compute filename of FILE.
13891
# value retuned in "$func_basename_result"
13892
# Implementation must be kept synchronized with func_dirname
13893
# and func_basename. For efficiency, we do not delegate to
13894
# those functions but instead duplicate the functionality here.
13895
func_dirname_and_basename ()
13898
*/*) func_dirname_result="${1%/*}${2}" ;;
13899
* ) func_dirname_result="${3}" ;;
13901
func_basename_result="${1##*/}"
13904
# func_stripname prefix suffix name
13905
# strip PREFIX and SUFFIX off of NAME.
13906
# PREFIX and SUFFIX must not contain globbing or regex special
13907
# characters, hashes, percent signs, but SUFFIX may contain a leading
13908
# dot (in which case that matches only a dot).
13911
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13912
# positional parameters, so assign one to ordinary parameter first.
13913
func_stripname_result=${3}
13914
func_stripname_result=${func_stripname_result#"${1}"}
13915
func_stripname_result=${func_stripname_result%"${2}"}
13921
func_opt_split_opt=${1%%=*}
13922
func_opt_split_arg=${1#*=}
13929
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13930
*) func_lo2o_result=${1} ;;
13934
# func_xform libobj-or-source
13937
func_xform_result=${1%.*}.lo
13940
# func_arith arithmetic-term...
13943
func_arith_result=$(( $* ))
13947
# STRING may not start with a hyphen.
13950
func_len_result=${#1}
13955
*) # Bourne compatible functions.
13956
cat << \_LT_EOF >> "$cfgfile"
13958
# func_dirname file append nondir_replacement
13959
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
13960
# otherwise set result to NONDIR_REPLACEMENT.
13963
# Extract subdirectory from the argument.
13964
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13965
if test "X$func_dirname_result" = "X${1}"; then
13966
func_dirname_result="${3}"
13968
func_dirname_result="$func_dirname_result${2}"
13972
# func_basename file
13975
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13979
# func_stripname prefix suffix name
13980
# strip PREFIX and SUFFIX off of NAME.
13981
# PREFIX and SUFFIX must not contain globbing or regex special
13982
# characters, hashes, percent signs, but SUFFIX may contain a leading
13983
# dot (in which case that matches only a dot).
13984
# func_strip_suffix prefix name
13988
.*) func_stripname_result=`$ECHO "X${3}" \
13989
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13990
*) func_stripname_result=`$ECHO "X${3}" \
13991
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13996
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13997
my_sed_long_arg='1s/^-[^=]*=//'
14002
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14003
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14009
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14012
# func_xform libobj-or-source
14015
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14018
# func_arith arithmetic-term...
14021
func_arith_result=`expr "$@"`
14025
# STRING may not start with a hyphen.
14028
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14034
case $lt_shell_append in
14036
cat << \_LT_EOF >> "$cfgfile"
14038
# func_append var value
14039
# Append VALUE to the end of shell variable VAR.
14047
cat << \_LT_EOF >> "$cfgfile"
14049
# func_append var value
14050
# Append VALUE to the end of shell variable VAR.
14061
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14062
|| (rm -f "$cfgfile"; exit 1)
14064
mv -f "$cfgfile" "$ofile" ||
14720
sed '$q' "$ltmain" >> "$cfgfile" \
14721
|| (rm -f "$cfgfile"; exit 1)
14723
if test x"$xsi_shell" = xyes; then
14724
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14728
\ */*) func_dirname_result="${1%/*}${2}" ;;\
14729
\ * ) func_dirname_result="${3}" ;;\
14731
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14732
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14733
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14734
test 0 -eq $? || _lt_function_replace_fail=:
14737
sed -e '/^func_basename ()$/,/^} # func_basename /c\
14740
\ func_basename_result="${1##*/}"\
14741
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14742
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14743
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14744
test 0 -eq $? || _lt_function_replace_fail=:
14747
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14748
func_dirname_and_basename ()\
14751
\ */*) func_dirname_result="${1%/*}${2}" ;;\
14752
\ * ) func_dirname_result="${3}" ;;\
14754
\ func_basename_result="${1##*/}"\
14755
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14756
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14757
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14758
test 0 -eq $? || _lt_function_replace_fail=:
14761
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14764
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14765
\ # positional parameters, so assign one to ordinary parameter first.\
14766
\ func_stripname_result=${3}\
14767
\ func_stripname_result=${func_stripname_result#"${1}"}\
14768
\ func_stripname_result=${func_stripname_result%"${2}"}\
14769
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14770
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14771
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14772
test 0 -eq $? || _lt_function_replace_fail=:
14775
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14776
func_split_long_opt ()\
14778
\ func_split_long_opt_name=${1%%=*}\
14779
\ func_split_long_opt_arg=${1#*=}\
14780
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14781
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14782
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14783
test 0 -eq $? || _lt_function_replace_fail=:
14786
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14787
func_split_short_opt ()\
14789
\ func_split_short_opt_arg=${1#??}\
14790
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14791
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14792
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14793
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14794
test 0 -eq $? || _lt_function_replace_fail=:
14797
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14801
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14802
\ *) func_lo2o_result=${1} ;;\
14804
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14805
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14806
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14807
test 0 -eq $? || _lt_function_replace_fail=:
14810
sed -e '/^func_xform ()$/,/^} # func_xform /c\
14813
func_xform_result=${1%.*}.lo\
14814
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14815
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14816
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14817
test 0 -eq $? || _lt_function_replace_fail=:
14820
sed -e '/^func_arith ()$/,/^} # func_arith /c\
14823
func_arith_result=$(( $* ))\
14824
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14825
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14826
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14827
test 0 -eq $? || _lt_function_replace_fail=:
14830
sed -e '/^func_len ()$/,/^} # func_len /c\
14833
func_len_result=${#1}\
14834
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14835
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14836
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14837
test 0 -eq $? || _lt_function_replace_fail=:
14841
if test x"$lt_shell_append" = xyes; then
14842
sed -e '/^func_append ()$/,/^} # func_append /c\
14845
eval "${1}+=\\${2}"\
14846
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14847
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14848
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14849
test 0 -eq $? || _lt_function_replace_fail=:
14852
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14853
func_append_quoted ()\
14855
\ func_quote_for_eval "${2}"\
14856
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14857
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14858
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14859
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14860
test 0 -eq $? || _lt_function_replace_fail=:
14863
# Save a `func_append' function call where possible by direct use of '+='
14864
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14865
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14866
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14867
test 0 -eq $? || _lt_function_replace_fail=:
14869
# Save a `func_append' function call even when '+=' is not available
14870
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14871
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14872
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14873
test 0 -eq $? || _lt_function_replace_fail=:
14876
if test x"$_lt_function_replace_fail" = x":"; then
14877
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14878
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14882
mv -f "$cfgfile" "$ofile" ||
14065
14883
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14066
14884
chmod +x "$ofile"