529
545
# Sed expression to map a string onto a valid variable name.
530
546
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
# Check that we are running under the correct shell.
535
548
SHELL=${CONFIG_SHELL-/bin/sh}
539
# Remove one level of quotation (which was required for Make).
540
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
545
if test "X$1" = X--no-reexec; then
546
# Discard the --no-reexec flag, and continue.
548
elif test "X$1" = X--fallback-echo; then
549
# Avoid inline document here, it may be left over
551
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552
# Yippee, $ECHO works!
555
# Restart under the correct shell.
556
exec $SHELL "$0" --no-reexec ${1+"$@"}
559
if test "X$1" = X--fallback-echo; then
560
# used as fallback echo
568
# The HP-UX ksh and POSIX shell print the target directory to stdout
570
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
572
if test -z "$lt_ECHO"; then
573
if test "X${echo_test_string+set}" != Xset; then
574
# find a string as large as possible, as long as the shell can cope with it
575
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
585
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587
test "X$echo_testing_string" = "X$echo_test_string"; then
590
# The Solaris, AIX, and Digital Unix default echo programs unquote
591
# backslashes. This makes it impossible to quote backslashes using
592
# echo "$something" | sed 's/\\/\\\\/g'
594
# So, first we look for a working echo in the user's PATH.
596
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597
for dir in $PATH /usr/ucb; do
599
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602
test "X$echo_testing_string" = "X$echo_test_string"; then
609
if test "X$ECHO" = Xecho; then
610
# We didn't find a better echo, so look for alternatives.
611
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613
test "X$echo_testing_string" = "X$echo_test_string"; then
614
# This shell has a builtin print -r that does the trick.
616
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617
test "X$CONFIG_SHELL" != X/bin/ksh; then
618
# If we have ksh, try running configure again with it.
619
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620
export ORIGINAL_CONFIG_SHELL
621
CONFIG_SHELL=/bin/ksh
623
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
627
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629
test "X$echo_testing_string" = "X$echo_test_string"; then
632
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633
test "X$echo_testing_string" = 'X\t' &&
634
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635
test "X$echo_testing_string" = "X$echo_test_string"; then
636
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
638
SHELL="$CONFIG_SHELL"
640
ECHO="$CONFIG_SHELL $0 --fallback-echo"
641
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642
test "X$echo_testing_string" = 'X\t' &&
643
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644
test "X$echo_testing_string" = "X$echo_test_string"; then
645
ECHO="$CONFIG_SHELL $0 --fallback-echo"
647
# maybe with a smaller string...
650
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
658
if test "$prev" != 'sed 50q "$0"'; then
659
echo_test_string=`eval $prev`
660
export echo_test_string
661
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
663
# Oops. We lost completely, so just stick with echo.
672
# Copy echo and quote the copy suitably for passing to libtool from
673
# the Makefile, instead of quoting the original, which is used later.
675
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
682
551
test -n "$DJDIR" || exec 7<&0 </dev/null
5179
if test -n "$ac_tool_prefix"; then
5180
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5181
set dummy ${ac_tool_prefix}ar; ac_word=$2
5182
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5183
$as_echo_n "checking for $ac_word... " >&6; }
5184
if test "${ac_cv_prog_AR+set}" = set; then :
5249
if test -n "$ac_tool_prefix"; then
5250
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5251
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5253
$as_echo_n "checking for $ac_word... " >&6; }
5254
if ${ac_cv_prog_DLLTOOL+:} false; then :
5255
$as_echo_n "(cached) " >&6
5257
if test -n "$DLLTOOL"; then
5258
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5260
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5264
test -z "$as_dir" && as_dir=.
5265
for ac_exec_ext in '' $ac_executable_extensions; do
5266
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5267
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5268
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277
DLLTOOL=$ac_cv_prog_DLLTOOL
5278
if test -n "$DLLTOOL"; then
5279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5280
$as_echo "$DLLTOOL" >&6; }
5282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283
$as_echo "no" >&6; }
5288
if test -z "$ac_cv_prog_DLLTOOL"; then
5289
ac_ct_DLLTOOL=$DLLTOOL
5290
# Extract the first word of "dlltool", so it can be a program name with args.
5291
set dummy dlltool; ac_word=$2
5292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5293
$as_echo_n "checking for $ac_word... " >&6; }
5294
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5295
$as_echo_n "(cached) " >&6
5297
if test -n "$ac_ct_DLLTOOL"; then
5298
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5300
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5304
test -z "$as_dir" && as_dir=.
5305
for ac_exec_ext in '' $ac_executable_extensions; do
5306
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5307
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5308
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5317
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5318
if test -n "$ac_ct_DLLTOOL"; then
5319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5320
$as_echo "$ac_ct_DLLTOOL" >&6; }
5322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5323
$as_echo "no" >&6; }
5326
if test "x$ac_ct_DLLTOOL" = x; then
5329
case $cross_compiling:$ac_tool_warned in
5331
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5332
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5333
ac_tool_warned=yes ;;
5335
DLLTOOL=$ac_ct_DLLTOOL
5338
DLLTOOL="$ac_cv_prog_DLLTOOL"
5341
test -z "$DLLTOOL" && DLLTOOL=dlltool
5352
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5353
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5354
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5355
$as_echo_n "(cached) " >&6
5357
lt_cv_sharedlib_from_linklib_cmd='unknown'
5360
cygwin* | mingw* | pw32* | cegcc*)
5361
# two different shell functions defined in ltmain.sh
5362
# decide which to use based on capabilities of $DLLTOOL
5363
case `$DLLTOOL --help 2>&1` in
5364
*--identify-strict*)
5365
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5368
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5373
# fallback: assume linklib IS sharedlib
5374
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5380
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5381
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5382
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5391
if test -n "$ac_tool_prefix"; then
5394
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5395
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5397
$as_echo_n "checking for $ac_word... " >&6; }
5398
if ${ac_cv_prog_AR+:} false; then :
5185
5399
$as_echo_n "(cached) " >&6
5187
5401
if test -n "$AR"; then
5983
6334
need_locks="$enable_libtool_lock"
6336
if test -n "$ac_tool_prefix"; then
6337
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6338
set dummy ${ac_tool_prefix}mt; ac_word=$2
6339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6340
$as_echo_n "checking for $ac_word... " >&6; }
6341
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6342
$as_echo_n "(cached) " >&6
6344
if test -n "$MANIFEST_TOOL"; then
6345
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6347
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6351
test -z "$as_dir" && as_dir=.
6352
for ac_exec_ext in '' $ac_executable_extensions; do
6353
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6354
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6355
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6364
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6365
if test -n "$MANIFEST_TOOL"; then
6366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6367
$as_echo "$MANIFEST_TOOL" >&6; }
6369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6370
$as_echo "no" >&6; }
6375
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6376
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6377
# Extract the first word of "mt", so it can be a program name with args.
6378
set dummy mt; ac_word=$2
6379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6380
$as_echo_n "checking for $ac_word... " >&6; }
6381
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6382
$as_echo_n "(cached) " >&6
6384
if test -n "$ac_ct_MANIFEST_TOOL"; then
6385
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6387
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391
test -z "$as_dir" && as_dir=.
6392
for ac_exec_ext in '' $ac_executable_extensions; do
6393
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6394
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6395
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6404
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6405
if test -n "$ac_ct_MANIFEST_TOOL"; then
6406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6407
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6409
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6410
$as_echo "no" >&6; }
6413
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6416
case $cross_compiling:$ac_tool_warned in
6418
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6419
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6420
ac_tool_warned=yes ;;
6422
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6425
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6428
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6430
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6431
if ${lt_cv_path_mainfest_tool+:} false; then :
6432
$as_echo_n "(cached) " >&6
6434
lt_cv_path_mainfest_tool=no
6435
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6436
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6437
cat conftest.err >&5
6438
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6439
lt_cv_path_mainfest_tool=yes
6443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6444
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6445
if test "x$lt_cv_path_mainfest_tool" != xyes; then
5986
6454
case $host_os in
5987
6455
rhapsody* | darwin*)
8462
9034
# Microsoft Visual C++.
8463
9035
# hardcode_libdir_flag_spec is actually meaningless, as there is
8464
9036
# no search path for DLLs.
8465
hardcode_libdir_flag_spec=' '
8466
allow_undefined_flag=unsupported
8467
# Tell ltmain to make .lib files, not .a files.
8469
# Tell ltmain to make .dll files, not .so files.
8471
# FIXME: Setting linknames here is a bad hack.
8472
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8473
# The linker will automatically build a .lib file if we build a DLL.
8474
old_archive_from_new_cmds='true'
8475
# FIXME: Should let the user specify the lib program.
8476
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8477
fix_srcfile_path='`cygpath -w "$srcfile"`'
8478
enable_shared_with_static_runtimes=yes
9037
case $cc_basename in
9040
hardcode_libdir_flag_spec=' '
9041
allow_undefined_flag=unsupported
9042
always_export_symbols=yes
9044
# Tell ltmain to make .lib files, not .a files.
9046
# Tell ltmain to make .dll files, not .so files.
9048
# FIXME: Setting linknames here is a bad hack.
9049
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9050
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9051
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9053
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9055
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9057
# The linker will not automatically build a static lib if we build a DLL.
9058
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9059
enable_shared_with_static_runtimes=yes
9060
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9062
old_postinstall_cmds='chmod 644 $oldlib'
9063
postlink_cmds='lt_outputfile="@OUTPUT@"~
9064
lt_tool_outputfile="@TOOL_OUTPUT@"~
9065
case $lt_outputfile in
9068
lt_outputfile="$lt_outputfile.exe"
9069
lt_tool_outputfile="$lt_tool_outputfile.exe"
9072
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9073
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9074
$RM "$lt_outputfile.manifest";
9078
# Assume MSVC wrapper
9079
hardcode_libdir_flag_spec=' '
9080
allow_undefined_flag=unsupported
9081
# Tell ltmain to make .lib files, not .a files.
9083
# Tell ltmain to make .dll files, not .so files.
9085
# FIXME: Setting linknames here is a bad hack.
9086
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9087
# The linker will automatically build a .lib file if we build a DLL.
9088
old_archive_from_new_cmds='true'
9089
# FIXME: Should let the user specify the lib program.
9090
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9091
enable_shared_with_static_runtimes=yes
8481
9096
darwin* | rhapsody*)
9329
10020
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9330
10021
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9331
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10023
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9333
10025
mingw* | cegcc*)
9334
10026
# MinGW DLLs use traditional 'lib' prefix
9335
10027
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9336
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9337
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9338
# It is most probably a Windows format PATH printed by
9339
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9340
# path with ; separators, and with drive letters. We can handle the
9341
# drive letters (cygwin fileutils understands them), so leave them,
9342
# especially as we might pass files found there to a mingw objdump,
9343
# which wouldn't understand a cygwinified path. Ahh.
9344
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9346
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9350
10030
# pw32 DLLs use 'pw' prefix rather than 'lib'
9351
10031
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10034
dynamic_linker='Win32 ld.exe'
10039
libname_spec='$name'
10040
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10041
library_names_spec='${libname}.dll.lib'
10045
sys_lib_search_path_spec=
10048
for lt_path in $LIB
10051
# Let DOS variable expansion print the short 8.3 style file name.
10052
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10053
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10056
# Convert to MSYS style.
10057
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10060
# Convert to unix form, then to dos form, then back to unix form
10061
# but this time dos style (no spaces!) so that the unix form looks
10062
# like /cygdrive/c/PROGRA~1:/cygdr...
10063
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10064
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10065
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10068
sys_lib_search_path_spec="$LIB"
10069
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10070
# It is most probably a Windows format PATH.
10071
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10073
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10075
# FIXME: find the short name or the path components, as spaces are
10076
# common. (e.g. "Program Files" -> "PROGRA~1")
10080
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10081
postinstall_cmds='base_file=`basename \${file}`~
10082
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10083
dldir=$destdir/`dirname \$dlpath`~
10084
test -d \$dldir || mkdir -p \$dldir~
10085
$install_prog $dir/$dlname \$dldir/$dlname'
10086
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10087
dlpath=$dir/\$dldll~
10089
shlibpath_overrides_runpath=yes
10090
dynamic_linker='Win32 link.exe'
10094
# Assume MSVC wrapper
9357
10095
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10096
dynamic_linker='Win32 ld.exe'
9360
dynamic_linker='Win32 ld.exe'
9361
10099
# FIXME: first we should search . and the directory the executable is in
9362
10100
shlibpath_var=PATH
12948
13743
sed_quote_subst='$sed_quote_subst'
12949
13744
double_quote_subst='$double_quote_subst'
12950
13745
delay_variable_subst='$delay_variable_subst'
12951
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12952
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12953
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12954
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12955
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12956
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12957
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12958
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12959
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12960
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12961
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12962
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12963
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12964
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12965
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12966
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12967
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12968
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12969
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12970
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12971
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12972
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12973
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12974
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12975
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12976
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12977
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12978
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12979
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12980
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12981
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12982
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12983
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12984
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12985
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12986
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12987
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12988
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12989
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12990
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12991
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12992
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12993
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12994
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12995
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"`'
12996
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"`'
12997
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12998
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12999
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13000
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13001
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13002
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13003
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13004
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13005
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13006
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13007
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13008
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13009
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13010
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13011
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13012
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13013
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13014
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13015
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13016
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13017
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13018
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13019
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13020
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13021
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13022
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13023
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13024
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13025
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13026
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13027
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13028
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13029
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13030
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13031
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13032
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13033
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13034
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13035
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13036
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13037
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13038
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13039
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13040
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13041
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13042
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13043
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13044
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13045
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13046
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13047
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13048
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13049
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13050
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13051
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13052
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13053
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13054
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13055
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13056
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13057
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13058
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13059
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13060
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13061
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13062
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13063
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13064
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13065
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13066
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13067
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13068
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13746
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13747
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13748
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13749
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13750
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13751
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13752
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13753
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13754
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13755
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13756
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13757
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13758
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13759
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13760
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13761
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13762
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13763
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13764
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13765
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13766
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13767
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13768
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13769
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13770
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13771
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13772
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13773
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13774
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13775
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13776
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13777
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13778
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13779
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13780
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13781
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13782
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13783
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13784
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13785
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13786
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13787
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13788
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13789
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13790
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13791
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13792
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13793
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13794
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13795
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13796
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13797
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13798
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13799
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13800
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13801
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"`'
13802
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13803
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13804
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13805
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13806
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13807
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13808
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13809
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13810
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13811
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13812
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13813
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13814
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13815
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13816
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13817
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13818
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13819
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13820
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13821
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13822
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13823
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13824
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13825
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13826
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13827
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13828
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13829
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13830
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13831
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13832
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13833
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13834
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13835
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13836
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13837
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13838
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13839
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13840
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13841
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13842
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13843
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13844
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13845
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13846
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13847
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13848
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13849
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13850
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13851
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13852
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13853
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13854
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13855
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13856
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13857
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13858
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13859
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13860
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13861
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13862
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13863
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13864
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13865
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13866
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13867
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13868
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13869
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13870
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13871
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13872
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13873
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13874
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13875
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13071
13878
LTCFLAGS='$LTCFLAGS'
13072
13879
compiler='$compiler_DEFAULT'
13881
# A function that is used when there is no print builtin or printf.
13882
func_fallback_echo ()
13884
eval 'cat <<_LTECHO_EOF
13074
13889
# Quote evaled strings.
14346
15205
# if finds mixed CR/LF and LF-only lines. Since sed operates in
14347
15206
# text mode, it properly converts lines to CR/LF. This bash problem
14348
15207
# is reportedly fixed, but why not run on old versions too?
14349
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14350
|| (rm -f "$cfgfile"; exit 1)
14354
cat << \_LT_EOF >> "$cfgfile"
14356
# func_dirname file append nondir_replacement
14357
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14358
# otherwise set result to NONDIR_REPLACEMENT.
14362
*/*) func_dirname_result="${1%/*}${2}" ;;
14363
* ) func_dirname_result="${3}" ;;
14367
# func_basename file
14370
func_basename_result="${1##*/}"
14373
# func_dirname_and_basename file append nondir_replacement
14374
# perform func_basename and func_dirname in a single function
14376
# dirname: Compute the dirname of FILE. If nonempty,
14377
# add APPEND to the result, otherwise set result
14378
# to NONDIR_REPLACEMENT.
14379
# value returned in "$func_dirname_result"
14380
# basename: Compute filename of FILE.
14381
# value retuned in "$func_basename_result"
14382
# Implementation must be kept synchronized with func_dirname
14383
# and func_basename. For efficiency, we do not delegate to
14384
# those functions but instead duplicate the functionality here.
14385
func_dirname_and_basename ()
14388
*/*) func_dirname_result="${1%/*}${2}" ;;
14389
* ) func_dirname_result="${3}" ;;
14391
func_basename_result="${1##*/}"
14394
# func_stripname prefix suffix name
14395
# strip PREFIX and SUFFIX off of NAME.
14396
# PREFIX and SUFFIX must not contain globbing or regex special
14397
# characters, hashes, percent signs, but SUFFIX may contain a leading
14398
# dot (in which case that matches only a dot).
14401
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14402
# positional parameters, so assign one to ordinary parameter first.
14403
func_stripname_result=${3}
14404
func_stripname_result=${func_stripname_result#"${1}"}
14405
func_stripname_result=${func_stripname_result%"${2}"}
14411
func_opt_split_opt=${1%%=*}
14412
func_opt_split_arg=${1#*=}
14419
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14420
*) func_lo2o_result=${1} ;;
14424
# func_xform libobj-or-source
14427
func_xform_result=${1%.*}.lo
14430
# func_arith arithmetic-term...
14433
func_arith_result=$(( $* ))
14437
# STRING may not start with a hyphen.
14440
func_len_result=${#1}
14445
*) # Bourne compatible functions.
14446
cat << \_LT_EOF >> "$cfgfile"
14448
# func_dirname file append nondir_replacement
14449
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14450
# otherwise set result to NONDIR_REPLACEMENT.
14453
# Extract subdirectory from the argument.
14454
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14455
if test "X$func_dirname_result" = "X${1}"; then
14456
func_dirname_result="${3}"
14458
func_dirname_result="$func_dirname_result${2}"
14462
# func_basename file
14465
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14469
# func_stripname prefix suffix name
14470
# strip PREFIX and SUFFIX off of NAME.
14471
# PREFIX and SUFFIX must not contain globbing or regex special
14472
# characters, hashes, percent signs, but SUFFIX may contain a leading
14473
# dot (in which case that matches only a dot).
14474
# func_strip_suffix prefix name
14478
.*) func_stripname_result=`$ECHO "X${3}" \
14479
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14480
*) func_stripname_result=`$ECHO "X${3}" \
14481
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14486
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14487
my_sed_long_arg='1s/^-[^=]*=//'
14492
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14493
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14499
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14502
# func_xform libobj-or-source
14505
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14508
# func_arith arithmetic-term...
14511
func_arith_result=`expr "$@"`
14515
# STRING may not start with a hyphen.
14518
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14524
case $lt_shell_append in
14526
cat << \_LT_EOF >> "$cfgfile"
14528
# func_append var value
14529
# Append VALUE to the end of shell variable VAR.
14537
cat << \_LT_EOF >> "$cfgfile"
14539
# func_append var value
14540
# Append VALUE to the end of shell variable VAR.
14551
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14552
|| (rm -f "$cfgfile"; exit 1)
14554
mv -f "$cfgfile" "$ofile" ||
15208
sed '$q' "$ltmain" >> "$cfgfile" \
15209
|| (rm -f "$cfgfile"; exit 1)
15211
if test x"$xsi_shell" = xyes; then
15212
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15216
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15217
\ * ) func_dirname_result="${3}" ;;\
15219
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15220
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15221
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15222
test 0 -eq $? || _lt_function_replace_fail=:
15225
sed -e '/^func_basename ()$/,/^} # func_basename /c\
15228
\ func_basename_result="${1##*/}"\
15229
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15230
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15231
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15232
test 0 -eq $? || _lt_function_replace_fail=:
15235
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15236
func_dirname_and_basename ()\
15239
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15240
\ * ) func_dirname_result="${3}" ;;\
15242
\ func_basename_result="${1##*/}"\
15243
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15244
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15245
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15246
test 0 -eq $? || _lt_function_replace_fail=:
15249
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15252
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15253
\ # positional parameters, so assign one to ordinary parameter first.\
15254
\ func_stripname_result=${3}\
15255
\ func_stripname_result=${func_stripname_result#"${1}"}\
15256
\ func_stripname_result=${func_stripname_result%"${2}"}\
15257
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15258
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15259
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15260
test 0 -eq $? || _lt_function_replace_fail=:
15263
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15264
func_split_long_opt ()\
15266
\ func_split_long_opt_name=${1%%=*}\
15267
\ func_split_long_opt_arg=${1#*=}\
15268
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15269
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15270
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15271
test 0 -eq $? || _lt_function_replace_fail=:
15274
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15275
func_split_short_opt ()\
15277
\ func_split_short_opt_arg=${1#??}\
15278
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15279
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15280
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15281
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15282
test 0 -eq $? || _lt_function_replace_fail=:
15285
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15289
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15290
\ *) func_lo2o_result=${1} ;;\
15292
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15293
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15294
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15295
test 0 -eq $? || _lt_function_replace_fail=:
15298
sed -e '/^func_xform ()$/,/^} # func_xform /c\
15301
func_xform_result=${1%.*}.lo\
15302
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15303
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15304
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15305
test 0 -eq $? || _lt_function_replace_fail=:
15308
sed -e '/^func_arith ()$/,/^} # func_arith /c\
15311
func_arith_result=$(( $* ))\
15312
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15313
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15314
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15315
test 0 -eq $? || _lt_function_replace_fail=:
15318
sed -e '/^func_len ()$/,/^} # func_len /c\
15321
func_len_result=${#1}\
15322
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15323
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15324
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15325
test 0 -eq $? || _lt_function_replace_fail=:
15329
if test x"$lt_shell_append" = xyes; then
15330
sed -e '/^func_append ()$/,/^} # func_append /c\
15333
eval "${1}+=\\${2}"\
15334
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15335
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15336
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15337
test 0 -eq $? || _lt_function_replace_fail=:
15340
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15341
func_append_quoted ()\
15343
\ func_quote_for_eval "${2}"\
15344
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15345
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15346
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15347
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15348
test 0 -eq $? || _lt_function_replace_fail=:
15351
# Save a `func_append' function call where possible by direct use of '+='
15352
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15353
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15354
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15355
test 0 -eq $? || _lt_function_replace_fail=:
15357
# Save a `func_append' function call even when '+=' is not available
15358
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15359
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15360
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15361
test 0 -eq $? || _lt_function_replace_fail=:
15364
if test x"$_lt_function_replace_fail" = x":"; then
15365
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15366
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15370
mv -f "$cfgfile" "$ofile" ||
14555
15371
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14556
15372
chmod +x "$ofile"