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
6172
if test -n "$ac_tool_prefix"; then
6173
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6174
set dummy ${ac_tool_prefix}ar; ac_word=$2
6175
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6176
$as_echo_n "checking for $ac_word... " >&6; }
6177
if test "${ac_cv_prog_AR+set}" = set; then :
6242
if test -n "$ac_tool_prefix"; then
6243
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6244
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246
$as_echo_n "checking for $ac_word... " >&6; }
6247
if ${ac_cv_prog_DLLTOOL+:} false; then :
6248
$as_echo_n "(cached) " >&6
6250
if test -n "$DLLTOOL"; then
6251
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6253
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257
test -z "$as_dir" && as_dir=.
6258
for ac_exec_ext in '' $ac_executable_extensions; do
6259
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6260
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6261
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6270
DLLTOOL=$ac_cv_prog_DLLTOOL
6271
if test -n "$DLLTOOL"; then
6272
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6273
$as_echo "$DLLTOOL" >&6; }
6275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6276
$as_echo "no" >&6; }
6281
if test -z "$ac_cv_prog_DLLTOOL"; then
6282
ac_ct_DLLTOOL=$DLLTOOL
6283
# Extract the first word of "dlltool", so it can be a program name with args.
6284
set dummy dlltool; ac_word=$2
6285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6286
$as_echo_n "checking for $ac_word... " >&6; }
6287
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6288
$as_echo_n "(cached) " >&6
6290
if test -n "$ac_ct_DLLTOOL"; then
6291
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6293
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6297
test -z "$as_dir" && as_dir=.
6298
for ac_exec_ext in '' $ac_executable_extensions; do
6299
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6300
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6301
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6310
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6311
if test -n "$ac_ct_DLLTOOL"; then
6312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6313
$as_echo "$ac_ct_DLLTOOL" >&6; }
6315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6316
$as_echo "no" >&6; }
6319
if test "x$ac_ct_DLLTOOL" = x; then
6322
case $cross_compiling:$ac_tool_warned in
6324
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6325
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6326
ac_tool_warned=yes ;;
6328
DLLTOOL=$ac_ct_DLLTOOL
6331
DLLTOOL="$ac_cv_prog_DLLTOOL"
6334
test -z "$DLLTOOL" && DLLTOOL=dlltool
6345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6346
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6347
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6348
$as_echo_n "(cached) " >&6
6350
lt_cv_sharedlib_from_linklib_cmd='unknown'
6353
cygwin* | mingw* | pw32* | cegcc*)
6354
# two different shell functions defined in ltmain.sh
6355
# decide which to use based on capabilities of $DLLTOOL
6356
case `$DLLTOOL --help 2>&1` in
6357
*--identify-strict*)
6358
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6361
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6366
# fallback: assume linklib IS sharedlib
6367
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6373
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6374
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6375
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6383
if test -n "$ac_tool_prefix"; then
6386
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6387
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6389
$as_echo_n "checking for $ac_word... " >&6; }
6390
if ${ac_cv_prog_AR+:} false; then :
6178
6391
$as_echo_n "(cached) " >&6
6180
6393
if test -n "$AR"; then
6975
7326
need_locks="$enable_libtool_lock"
7328
if test -n "$ac_tool_prefix"; then
7329
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7330
set dummy ${ac_tool_prefix}mt; ac_word=$2
7331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7332
$as_echo_n "checking for $ac_word... " >&6; }
7333
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7334
$as_echo_n "(cached) " >&6
7336
if test -n "$MANIFEST_TOOL"; then
7337
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7339
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343
test -z "$as_dir" && as_dir=.
7344
for ac_exec_ext in '' $ac_executable_extensions; do
7345
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7346
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7347
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7356
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7357
if test -n "$MANIFEST_TOOL"; then
7358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7359
$as_echo "$MANIFEST_TOOL" >&6; }
7361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7362
$as_echo "no" >&6; }
7367
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7368
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7369
# Extract the first word of "mt", so it can be a program name with args.
7370
set dummy mt; ac_word=$2
7371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372
$as_echo_n "checking for $ac_word... " >&6; }
7373
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7374
$as_echo_n "(cached) " >&6
7376
if test -n "$ac_ct_MANIFEST_TOOL"; then
7377
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7379
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383
test -z "$as_dir" && as_dir=.
7384
for ac_exec_ext in '' $ac_executable_extensions; do
7385
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7386
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7387
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7396
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7397
if test -n "$ac_ct_MANIFEST_TOOL"; then
7398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7399
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402
$as_echo "no" >&6; }
7405
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7408
case $cross_compiling:$ac_tool_warned in
7410
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7411
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7412
ac_tool_warned=yes ;;
7414
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7417
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7420
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7422
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7423
if ${lt_cv_path_mainfest_tool+:} false; then :
7424
$as_echo_n "(cached) " >&6
7426
lt_cv_path_mainfest_tool=no
7427
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7428
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7429
cat conftest.err >&5
7430
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7431
lt_cv_path_mainfest_tool=yes
7435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7436
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7437
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6978
7446
case $host_os in
6979
7447
rhapsody* | darwin*)
9200
9776
# Microsoft Visual C++.
9201
9777
# hardcode_libdir_flag_spec is actually meaningless, as there is
9202
9778
# no search path for DLLs.
9203
hardcode_libdir_flag_spec=' '
9204
allow_undefined_flag=unsupported
9205
# Tell ltmain to make .lib files, not .a files.
9207
# Tell ltmain to make .dll files, not .so files.
9209
# FIXME: Setting linknames here is a bad hack.
9210
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9211
# The linker will automatically build a .lib file if we build a DLL.
9212
old_archive_from_new_cmds='true'
9213
# FIXME: Should let the user specify the lib program.
9214
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9215
fix_srcfile_path='`cygpath -w "$srcfile"`'
9216
enable_shared_with_static_runtimes=yes
9779
case $cc_basename in
9782
hardcode_libdir_flag_spec=' '
9783
allow_undefined_flag=unsupported
9784
always_export_symbols=yes
9786
# Tell ltmain to make .lib files, not .a files.
9788
# Tell ltmain to make .dll files, not .so files.
9790
# FIXME: Setting linknames here is a bad hack.
9791
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9792
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9793
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9795
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9797
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9799
# The linker will not automatically build a static lib if we build a DLL.
9800
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9801
enable_shared_with_static_runtimes=yes
9802
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9804
old_postinstall_cmds='chmod 644 $oldlib'
9805
postlink_cmds='lt_outputfile="@OUTPUT@"~
9806
lt_tool_outputfile="@TOOL_OUTPUT@"~
9807
case $lt_outputfile in
9810
lt_outputfile="$lt_outputfile.exe"
9811
lt_tool_outputfile="$lt_tool_outputfile.exe"
9814
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9815
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9816
$RM "$lt_outputfile.manifest";
9820
# Assume MSVC wrapper
9821
hardcode_libdir_flag_spec=' '
9822
allow_undefined_flag=unsupported
9823
# Tell ltmain to make .lib files, not .a files.
9825
# Tell ltmain to make .dll files, not .so files.
9827
# FIXME: Setting linknames here is a bad hack.
9828
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9829
# The linker will automatically build a .lib file if we build a DLL.
9830
old_archive_from_new_cmds='true'
9831
# FIXME: Should let the user specify the lib program.
9832
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9833
enable_shared_with_static_runtimes=yes
9219
9838
darwin* | rhapsody*)
10067
10762
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10068
10763
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10069
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10765
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10071
10767
mingw* | cegcc*)
10072
10768
# MinGW DLLs use traditional 'lib' prefix
10073
10769
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10074
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10075
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10076
# It is most probably a Windows format PATH printed by
10077
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10078
# path with ; separators, and with drive letters. We can handle the
10079
# drive letters (cygwin fileutils understands them), so leave them,
10080
# especially as we might pass files found there to a mingw objdump,
10081
# which wouldn't understand a cygwinified path. Ahh.
10082
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10084
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10088
10772
# pw32 DLLs use 'pw' prefix rather than 'lib'
10089
10773
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10776
dynamic_linker='Win32 ld.exe'
10781
libname_spec='$name'
10782
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10783
library_names_spec='${libname}.dll.lib'
10787
sys_lib_search_path_spec=
10790
for lt_path in $LIB
10793
# Let DOS variable expansion print the short 8.3 style file name.
10794
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10795
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10798
# Convert to MSYS style.
10799
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10802
# Convert to unix form, then to dos form, then back to unix form
10803
# but this time dos style (no spaces!) so that the unix form looks
10804
# like /cygdrive/c/PROGRA~1:/cygdr...
10805
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10806
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10807
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10810
sys_lib_search_path_spec="$LIB"
10811
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10812
# It is most probably a Windows format PATH.
10813
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10815
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10817
# FIXME: find the short name or the path components, as spaces are
10818
# common. (e.g. "Program Files" -> "PROGRA~1")
10822
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10823
postinstall_cmds='base_file=`basename \${file}`~
10824
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10825
dldir=$destdir/`dirname \$dlpath`~
10826
test -d \$dldir || mkdir -p \$dldir~
10827
$install_prog $dir/$dlname \$dldir/$dlname'
10828
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10829
dlpath=$dir/\$dldll~
10831
shlibpath_overrides_runpath=yes
10832
dynamic_linker='Win32 link.exe'
10836
# Assume MSVC wrapper
10095
10837
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10838
dynamic_linker='Win32 ld.exe'
10098
dynamic_linker='Win32 ld.exe'
10099
10841
# FIXME: first we should search . and the directory the executable is in
10100
10842
shlibpath_var=PATH
13629
14460
sed_quote_subst='$sed_quote_subst'
13630
14461
double_quote_subst='$double_quote_subst'
13631
14462
delay_variable_subst='$delay_variable_subst'
13632
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13633
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13634
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13635
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13636
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13637
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13638
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13639
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13640
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13641
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13642
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13643
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13644
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13645
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13646
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13647
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13648
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13649
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13650
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13651
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13652
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13653
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13654
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13655
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13656
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13657
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13658
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13659
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13660
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13661
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13662
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13663
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13664
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13665
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13666
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13667
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13668
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13669
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13670
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13671
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13672
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13673
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13674
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13675
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13676
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"`'
13677
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"`'
13678
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13679
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13680
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13681
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13682
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13683
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13684
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13685
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13686
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13687
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13688
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13689
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13690
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13691
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13692
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13693
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13694
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13695
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13696
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13697
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13698
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13699
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13700
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13701
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13702
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13703
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13704
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13705
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13706
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13707
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13708
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13709
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13710
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13711
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13712
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13713
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13714
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13715
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13716
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13717
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13718
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13719
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13720
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13721
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13722
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13723
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13724
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13725
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13726
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13727
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13728
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13729
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13730
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13731
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13732
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13733
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13734
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13735
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13736
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13737
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13738
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13739
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13740
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13741
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13742
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13743
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13744
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13745
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13746
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13747
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13748
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13749
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14463
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14464
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14465
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14466
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14467
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14468
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14469
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14470
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14471
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14472
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14473
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14474
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14475
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14476
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14477
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14478
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14479
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14480
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14481
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14482
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14483
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14484
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14485
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14486
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14487
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14488
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14489
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14490
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14491
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14492
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14493
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14494
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14495
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14496
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14497
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14498
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14499
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14500
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14501
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14502
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14503
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14504
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14505
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14506
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14507
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14508
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14509
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14510
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14511
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14512
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14513
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14514
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14515
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14516
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14517
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14518
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"`'
14519
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14520
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14521
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14522
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14523
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14524
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14525
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14526
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14527
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14528
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14529
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14530
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14531
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14532
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14533
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14534
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14535
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14536
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14537
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14538
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14539
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14540
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14541
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14542
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14543
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14544
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14545
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14546
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14547
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14548
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14549
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14550
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14551
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14552
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14553
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14554
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14555
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14556
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14557
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14558
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14559
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14560
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14561
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14562
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14563
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14564
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14565
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14566
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14567
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14568
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14569
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14570
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14571
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14572
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14573
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14574
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14575
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14576
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14577
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14578
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14579
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14580
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14581
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14582
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14583
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14584
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14585
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14586
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14587
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14588
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14589
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14590
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14591
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14592
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13752
14595
LTCFLAGS='$LTCFLAGS'
13753
14596
compiler='$compiler_DEFAULT'
14598
# A function that is used when there is no print builtin or printf.
14599
func_fallback_echo ()
14601
eval 'cat <<_LTECHO_EOF
13755
14606
# Quote evaled strings.
15008
15903
# if finds mixed CR/LF and LF-only lines. Since sed operates in
15009
15904
# text mode, it properly converts lines to CR/LF. This bash problem
15010
15905
# is reportedly fixed, but why not run on old versions too?
15011
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15012
|| (rm -f "$cfgfile"; exit 1)
15016
cat << \_LT_EOF >> "$cfgfile"
15018
# func_dirname file append nondir_replacement
15019
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15020
# otherwise set result to NONDIR_REPLACEMENT.
15024
*/*) func_dirname_result="${1%/*}${2}" ;;
15025
* ) func_dirname_result="${3}" ;;
15029
# func_basename file
15032
func_basename_result="${1##*/}"
15035
# func_dirname_and_basename file append nondir_replacement
15036
# perform func_basename and func_dirname in a single function
15038
# dirname: Compute the dirname of FILE. If nonempty,
15039
# add APPEND to the result, otherwise set result
15040
# to NONDIR_REPLACEMENT.
15041
# value returned in "$func_dirname_result"
15042
# basename: Compute filename of FILE.
15043
# value retuned in "$func_basename_result"
15044
# Implementation must be kept synchronized with func_dirname
15045
# and func_basename. For efficiency, we do not delegate to
15046
# those functions but instead duplicate the functionality here.
15047
func_dirname_and_basename ()
15050
*/*) func_dirname_result="${1%/*}${2}" ;;
15051
* ) func_dirname_result="${3}" ;;
15053
func_basename_result="${1##*/}"
15056
# func_stripname prefix suffix name
15057
# strip PREFIX and SUFFIX off of NAME.
15058
# PREFIX and SUFFIX must not contain globbing or regex special
15059
# characters, hashes, percent signs, but SUFFIX may contain a leading
15060
# dot (in which case that matches only a dot).
15063
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15064
# positional parameters, so assign one to ordinary parameter first.
15065
func_stripname_result=${3}
15066
func_stripname_result=${func_stripname_result#"${1}"}
15067
func_stripname_result=${func_stripname_result%"${2}"}
15073
func_opt_split_opt=${1%%=*}
15074
func_opt_split_arg=${1#*=}
15081
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15082
*) func_lo2o_result=${1} ;;
15086
# func_xform libobj-or-source
15089
func_xform_result=${1%.*}.lo
15092
# func_arith arithmetic-term...
15095
func_arith_result=$(( $* ))
15099
# STRING may not start with a hyphen.
15102
func_len_result=${#1}
15107
*) # Bourne compatible functions.
15108
cat << \_LT_EOF >> "$cfgfile"
15110
# func_dirname file append nondir_replacement
15111
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15112
# otherwise set result to NONDIR_REPLACEMENT.
15115
# Extract subdirectory from the argument.
15116
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15117
if test "X$func_dirname_result" = "X${1}"; then
15118
func_dirname_result="${3}"
15120
func_dirname_result="$func_dirname_result${2}"
15124
# func_basename file
15127
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15131
# func_stripname prefix suffix name
15132
# strip PREFIX and SUFFIX off of NAME.
15133
# PREFIX and SUFFIX must not contain globbing or regex special
15134
# characters, hashes, percent signs, but SUFFIX may contain a leading
15135
# dot (in which case that matches only a dot).
15136
# func_strip_suffix prefix name
15140
.*) func_stripname_result=`$ECHO "X${3}" \
15141
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15142
*) func_stripname_result=`$ECHO "X${3}" \
15143
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15148
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15149
my_sed_long_arg='1s/^-[^=]*=//'
15154
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15155
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15161
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15164
# func_xform libobj-or-source
15167
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15170
# func_arith arithmetic-term...
15173
func_arith_result=`expr "$@"`
15177
# STRING may not start with a hyphen.
15180
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15186
case $lt_shell_append in
15188
cat << \_LT_EOF >> "$cfgfile"
15190
# func_append var value
15191
# Append VALUE to the end of shell variable VAR.
15199
cat << \_LT_EOF >> "$cfgfile"
15201
# func_append var value
15202
# Append VALUE to the end of shell variable VAR.
15213
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15214
|| (rm -f "$cfgfile"; exit 1)
15216
mv -f "$cfgfile" "$ofile" ||
15906
sed '$q' "$ltmain" >> "$cfgfile" \
15907
|| (rm -f "$cfgfile"; exit 1)
15909
if test x"$xsi_shell" = xyes; then
15910
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15914
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15915
\ * ) func_dirname_result="${3}" ;;\
15917
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15918
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15919
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15920
test 0 -eq $? || _lt_function_replace_fail=:
15923
sed -e '/^func_basename ()$/,/^} # func_basename /c\
15926
\ func_basename_result="${1##*/}"\
15927
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15928
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15929
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15930
test 0 -eq $? || _lt_function_replace_fail=:
15933
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15934
func_dirname_and_basename ()\
15937
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15938
\ * ) func_dirname_result="${3}" ;;\
15940
\ func_basename_result="${1##*/}"\
15941
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15942
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15943
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15944
test 0 -eq $? || _lt_function_replace_fail=:
15947
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15950
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15951
\ # positional parameters, so assign one to ordinary parameter first.\
15952
\ func_stripname_result=${3}\
15953
\ func_stripname_result=${func_stripname_result#"${1}"}\
15954
\ func_stripname_result=${func_stripname_result%"${2}"}\
15955
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15956
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15957
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15958
test 0 -eq $? || _lt_function_replace_fail=:
15961
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15962
func_split_long_opt ()\
15964
\ func_split_long_opt_name=${1%%=*}\
15965
\ func_split_long_opt_arg=${1#*=}\
15966
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15967
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15968
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15969
test 0 -eq $? || _lt_function_replace_fail=:
15972
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15973
func_split_short_opt ()\
15975
\ func_split_short_opt_arg=${1#??}\
15976
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15977
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15978
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15979
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15980
test 0 -eq $? || _lt_function_replace_fail=:
15983
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15987
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15988
\ *) func_lo2o_result=${1} ;;\
15990
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15991
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15992
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15993
test 0 -eq $? || _lt_function_replace_fail=:
15996
sed -e '/^func_xform ()$/,/^} # func_xform /c\
15999
func_xform_result=${1%.*}.lo\
16000
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16001
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16002
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16003
test 0 -eq $? || _lt_function_replace_fail=:
16006
sed -e '/^func_arith ()$/,/^} # func_arith /c\
16009
func_arith_result=$(( $* ))\
16010
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16011
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16012
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16013
test 0 -eq $? || _lt_function_replace_fail=:
16016
sed -e '/^func_len ()$/,/^} # func_len /c\
16019
func_len_result=${#1}\
16020
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16021
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16022
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16023
test 0 -eq $? || _lt_function_replace_fail=:
16027
if test x"$lt_shell_append" = xyes; then
16028
sed -e '/^func_append ()$/,/^} # func_append /c\
16031
eval "${1}+=\\${2}"\
16032
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16033
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16034
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16035
test 0 -eq $? || _lt_function_replace_fail=:
16038
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16039
func_append_quoted ()\
16041
\ func_quote_for_eval "${2}"\
16042
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16043
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16044
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16045
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16046
test 0 -eq $? || _lt_function_replace_fail=:
16049
# Save a `func_append' function call where possible by direct use of '+='
16050
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16051
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16052
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16053
test 0 -eq $? || _lt_function_replace_fail=:
16055
# Save a `func_append' function call even when '+=' is not available
16056
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16057
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16058
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16059
test 0 -eq $? || _lt_function_replace_fail=:
16062
if test x"$_lt_function_replace_fail" = x":"; then
16063
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16064
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16068
mv -f "$cfgfile" "$ofile" ||
15217
16069
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15218
16070
chmod +x "$ofile"