525
541
# Sed expression to map a string onto a valid variable name.
526
542
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
# Check that we are running under the correct shell.
531
544
SHELL=${CONFIG_SHELL-/bin/sh}
535
# Remove one level of quotation (which was required for Make).
536
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541
if test "X$1" = X--no-reexec; then
542
# Discard the --no-reexec flag, and continue.
544
elif test "X$1" = X--fallback-echo; then
545
# Avoid inline document here, it may be left over
547
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
# Yippee, $ECHO works!
551
# Restart under the correct shell.
552
exec $SHELL "$0" --no-reexec ${1+"$@"}
555
if test "X$1" = X--fallback-echo; then
556
# used as fallback echo
564
# The HP-UX ksh and POSIX shell print the target directory to stdout
566
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568
if test -z "$lt_ECHO"; then
569
if test "X${echo_test_string+set}" != Xset; then
570
# find a string as large as possible, as long as the shell can cope with it
571
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
test "X$echo_testing_string" = "X$echo_test_string"; then
586
# The Solaris, AIX, and Digital Unix default echo programs unquote
587
# backslashes. This makes it impossible to quote backslashes using
588
# echo "$something" | sed 's/\\/\\\\/g'
590
# So, first we look for a working echo in the user's PATH.
592
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
for dir in $PATH /usr/ucb; do
595
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
test "X$echo_testing_string" = "X$echo_test_string"; then
605
if test "X$ECHO" = Xecho; then
606
# We didn't find a better echo, so look for alternatives.
607
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
test "X$echo_testing_string" = "X$echo_test_string"; then
610
# This shell has a builtin print -r that does the trick.
612
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
test "X$CONFIG_SHELL" != X/bin/ksh; then
614
# If we have ksh, try running configure again with it.
615
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
export ORIGINAL_CONFIG_SHELL
617
CONFIG_SHELL=/bin/ksh
619
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
test "X$echo_testing_string" = "X$echo_test_string"; then
628
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
test "X$echo_testing_string" = 'X\t' &&
630
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
test "X$echo_testing_string" = "X$echo_test_string"; then
632
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634
SHELL="$CONFIG_SHELL"
636
ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
test "X$echo_testing_string" = 'X\t' &&
639
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
test "X$echo_testing_string" = "X$echo_test_string"; then
641
ECHO="$CONFIG_SHELL $0 --fallback-echo"
643
# maybe with a smaller string...
646
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654
if test "$prev" != 'sed 50q "$0"'; then
655
echo_test_string=`eval $prev`
656
export echo_test_string
657
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659
# Oops. We lost completely, so just stick with echo.
668
# Copy echo and quote the copy suitably for passing to libtool from
669
# the Makefile, instead of quoting the original, which is used later.
671
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678
547
test -n "$DJDIR" || exec 7<&0 </dev/null
681
550
# Name of the host.
682
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
551
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683
552
# so uname gets run too.
684
553
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5055
if test -n "$ac_tool_prefix"; then
5056
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5057
set dummy ${ac_tool_prefix}ar; ac_word=$2
5058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059
$as_echo_n "checking for $ac_word... " >&6; }
5060
if test "${ac_cv_prog_AR+set}" = set; then :
5177
if test -n "$ac_tool_prefix"; then
5178
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5179
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181
$as_echo_n "checking for $ac_word... " >&6; }
5182
if ${ac_cv_prog_DLLTOOL+:} false; then :
5183
$as_echo_n "(cached) " >&6
5185
if test -n "$DLLTOOL"; then
5186
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5188
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192
test -z "$as_dir" && as_dir=.
5193
for ac_exec_ext in '' $ac_executable_extensions; do
5194
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5195
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5196
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5205
DLLTOOL=$ac_cv_prog_DLLTOOL
5206
if test -n "$DLLTOOL"; then
5207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5208
$as_echo "$DLLTOOL" >&6; }
5210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211
$as_echo "no" >&6; }
5216
if test -z "$ac_cv_prog_DLLTOOL"; then
5217
ac_ct_DLLTOOL=$DLLTOOL
5218
# Extract the first word of "dlltool", so it can be a program name with args.
5219
set dummy dlltool; ac_word=$2
5220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5221
$as_echo_n "checking for $ac_word... " >&6; }
5222
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5223
$as_echo_n "(cached) " >&6
5225
if test -n "$ac_ct_DLLTOOL"; then
5226
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5228
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5232
test -z "$as_dir" && as_dir=.
5233
for ac_exec_ext in '' $ac_executable_extensions; do
5234
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5235
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5236
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5246
if test -n "$ac_ct_DLLTOOL"; then
5247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5248
$as_echo "$ac_ct_DLLTOOL" >&6; }
5250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5251
$as_echo "no" >&6; }
5254
if test "x$ac_ct_DLLTOOL" = x; then
5257
case $cross_compiling:$ac_tool_warned in
5259
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5260
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5261
ac_tool_warned=yes ;;
5263
DLLTOOL=$ac_ct_DLLTOOL
5266
DLLTOOL="$ac_cv_prog_DLLTOOL"
5269
test -z "$DLLTOOL" && DLLTOOL=dlltool
5280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5281
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5282
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5283
$as_echo_n "(cached) " >&6
5285
lt_cv_sharedlib_from_linklib_cmd='unknown'
5288
cygwin* | mingw* | pw32* | cegcc*)
5289
# two different shell functions defined in ltmain.sh
5290
# decide which to use based on capabilities of $DLLTOOL
5291
case `$DLLTOOL --help 2>&1` in
5292
*--identify-strict*)
5293
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5296
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5301
# fallback: assume linklib IS sharedlib
5302
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5308
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5309
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5310
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5319
if test -n "$ac_tool_prefix"; then
5322
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5323
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5325
$as_echo_n "checking for $ac_word... " >&6; }
5326
if ${ac_cv_prog_AR+:} false; then :
5061
5327
$as_echo_n "(cached) " >&6
5063
5329
if test -n "$AR"; then
5859
6276
need_locks="$enable_libtool_lock"
6278
if test -n "$ac_tool_prefix"; then
6279
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6280
set dummy ${ac_tool_prefix}mt; ac_word=$2
6281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6282
$as_echo_n "checking for $ac_word... " >&6; }
6283
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6284
$as_echo_n "(cached) " >&6
6286
if test -n "$MANIFEST_TOOL"; then
6287
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6289
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6293
test -z "$as_dir" && as_dir=.
6294
for ac_exec_ext in '' $ac_executable_extensions; do
6295
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6296
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6297
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6306
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6307
if test -n "$MANIFEST_TOOL"; then
6308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6309
$as_echo "$MANIFEST_TOOL" >&6; }
6311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6312
$as_echo "no" >&6; }
6317
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6318
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6319
# Extract the first word of "mt", so it can be a program name with args.
6320
set dummy mt; ac_word=$2
6321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6322
$as_echo_n "checking for $ac_word... " >&6; }
6323
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6324
$as_echo_n "(cached) " >&6
6326
if test -n "$ac_ct_MANIFEST_TOOL"; then
6327
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6329
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6333
test -z "$as_dir" && as_dir=.
6334
for ac_exec_ext in '' $ac_executable_extensions; do
6335
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6336
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6337
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6346
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6347
if test -n "$ac_ct_MANIFEST_TOOL"; then
6348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6349
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6352
$as_echo "no" >&6; }
6355
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6358
case $cross_compiling:$ac_tool_warned in
6360
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6361
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6362
ac_tool_warned=yes ;;
6364
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6367
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6370
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6372
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6373
if ${lt_cv_path_mainfest_tool+:} false; then :
6374
$as_echo_n "(cached) " >&6
6376
lt_cv_path_mainfest_tool=no
6377
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6378
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6379
cat conftest.err >&5
6380
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6381
lt_cv_path_mainfest_tool=yes
6385
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6386
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6387
if test "x$lt_cv_path_mainfest_tool" != xyes; then
5862
6396
case $host_os in
5863
6397
rhapsody* | darwin*)
8330
9020
# Microsoft Visual C++.
8331
9021
# hardcode_libdir_flag_spec is actually meaningless, as there is
8332
9022
# no search path for DLLs.
8333
hardcode_libdir_flag_spec=' '
8334
allow_undefined_flag=unsupported
8335
# Tell ltmain to make .lib files, not .a files.
8337
# Tell ltmain to make .dll files, not .so files.
8339
# FIXME: Setting linknames here is a bad hack.
8340
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8341
# The linker will automatically build a .lib file if we build a DLL.
8342
old_archive_from_new_cmds='true'
8343
# FIXME: Should let the user specify the lib program.
8344
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8345
fix_srcfile_path='`cygpath -w "$srcfile"`'
8346
enable_shared_with_static_runtimes=yes
9023
case $cc_basename in
9026
hardcode_libdir_flag_spec=' '
9027
allow_undefined_flag=unsupported
9028
always_export_symbols=yes
9030
# Tell ltmain to make .lib files, not .a files.
9032
# Tell ltmain to make .dll files, not .so files.
9034
# FIXME: Setting linknames here is a bad hack.
9035
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9036
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9037
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9039
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9041
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9043
# The linker will not automatically build a static lib if we build a DLL.
9044
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9045
enable_shared_with_static_runtimes=yes
9046
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9047
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9049
old_postinstall_cmds='chmod 644 $oldlib'
9050
postlink_cmds='lt_outputfile="@OUTPUT@"~
9051
lt_tool_outputfile="@TOOL_OUTPUT@"~
9052
case $lt_outputfile in
9055
lt_outputfile="$lt_outputfile.exe"
9056
lt_tool_outputfile="$lt_tool_outputfile.exe"
9059
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9060
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9061
$RM "$lt_outputfile.manifest";
9065
# Assume MSVC wrapper
9066
hardcode_libdir_flag_spec=' '
9067
allow_undefined_flag=unsupported
9068
# Tell ltmain to make .lib files, not .a files.
9070
# Tell ltmain to make .dll files, not .so files.
9072
# FIXME: Setting linknames here is a bad hack.
9073
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9074
# The linker will automatically build a .lib file if we build a DLL.
9075
old_archive_from_new_cmds='true'
9076
# FIXME: Should let the user specify the lib program.
9077
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9078
enable_shared_with_static_runtimes=yes
8349
9083
darwin* | rhapsody*)
9197
9998
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9198
9999
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9199
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10001
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9201
10003
mingw* | cegcc*)
9202
10004
# MinGW DLLs use traditional 'lib' prefix
9203
10005
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9204
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9205
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9206
# It is most probably a Windows format PATH printed by
9207
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9208
# path with ; separators, and with drive letters. We can handle the
9209
# drive letters (cygwin fileutils understands them), so leave them,
9210
# especially as we might pass files found there to a mingw objdump,
9211
# which wouldn't understand a cygwinified path. Ahh.
9212
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9214
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9218
10008
# pw32 DLLs use 'pw' prefix rather than 'lib'
9219
10009
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10012
dynamic_linker='Win32 ld.exe'
10017
libname_spec='$name'
10018
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10019
library_names_spec='${libname}.dll.lib'
10023
sys_lib_search_path_spec=
10026
for lt_path in $LIB
10029
# Let DOS variable expansion print the short 8.3 style file name.
10030
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10031
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10034
# Convert to MSYS style.
10035
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10038
# Convert to unix form, then to dos form, then back to unix form
10039
# but this time dos style (no spaces!) so that the unix form looks
10040
# like /cygdrive/c/PROGRA~1:/cygdr...
10041
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10042
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10043
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10046
sys_lib_search_path_spec="$LIB"
10047
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10048
# It is most probably a Windows format PATH.
10049
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10051
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10053
# FIXME: find the short name or the path components, as spaces are
10054
# common. (e.g. "Program Files" -> "PROGRA~1")
10058
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10059
postinstall_cmds='base_file=`basename \${file}`~
10060
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10061
dldir=$destdir/`dirname \$dlpath`~
10062
test -d \$dldir || mkdir -p \$dldir~
10063
$install_prog $dir/$dlname \$dldir/$dlname'
10064
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10065
dlpath=$dir/\$dldll~
10067
shlibpath_overrides_runpath=yes
10068
dynamic_linker='Win32 link.exe'
10072
# Assume MSVC wrapper
9225
10073
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10074
dynamic_linker='Win32 ld.exe'
9228
dynamic_linker='Win32 ld.exe'
9229
10077
# FIXME: first we should search . and the directory the executable is in
9230
10078
shlibpath_var=PATH
13079
14028
sed_quote_subst='$sed_quote_subst'
13080
14029
double_quote_subst='$double_quote_subst'
13081
14030
delay_variable_subst='$delay_variable_subst'
13082
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13083
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13084
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13085
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13086
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13087
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13088
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13089
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13090
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13091
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13092
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13093
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13094
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13095
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13096
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13097
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13098
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13099
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13100
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13101
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13102
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13103
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13104
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13105
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13106
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13107
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13108
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13109
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13110
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13111
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13112
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13113
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13114
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13115
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13116
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13117
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13118
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13119
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13120
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13121
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13122
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13123
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13124
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13125
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13126
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"`'
13127
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"`'
13128
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13129
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13130
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13131
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13132
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13133
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13134
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13135
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13136
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13137
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13138
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13139
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13140
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13141
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13142
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13143
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13144
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13145
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13146
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13147
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13148
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13149
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13150
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13151
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13152
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13153
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13154
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13155
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13156
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13157
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13158
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13159
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13160
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13161
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13162
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13163
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13164
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13165
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13166
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13167
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13168
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13169
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13170
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13171
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13172
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13173
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13174
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13175
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13176
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13177
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13178
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13179
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13180
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13181
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13182
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13183
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13184
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13185
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13186
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13187
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13188
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13189
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13190
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13191
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13192
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13193
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13194
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13195
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13196
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13197
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13198
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13199
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14031
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14032
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14033
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14034
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14035
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14036
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14037
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14038
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14039
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14040
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14041
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14042
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14043
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14044
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14045
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14046
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14047
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14048
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14049
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14050
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14051
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14052
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14053
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14054
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14055
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14056
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14057
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14058
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14059
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14060
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14061
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14062
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14063
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14064
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14065
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14066
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14067
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14068
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14069
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14070
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14071
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14072
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14073
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14074
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14075
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14076
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14077
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14078
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14079
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14080
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14081
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14082
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14083
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14084
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14085
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14086
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14087
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"`'
14088
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14089
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14090
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14091
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14092
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14093
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14094
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14095
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14096
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14097
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14098
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14099
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14100
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14101
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14102
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14103
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14104
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14105
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14106
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14107
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14108
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14109
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14110
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14111
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14112
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14113
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14114
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14115
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14116
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14117
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14118
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14119
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14120
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14121
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14122
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14123
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14124
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14125
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14126
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14127
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14128
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14129
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14130
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14131
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14132
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14133
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14134
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14135
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14136
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14137
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14138
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14139
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14140
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14141
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14142
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14143
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14144
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14145
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14146
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14147
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14148
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14149
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14150
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14151
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14152
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14153
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14154
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14155
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14156
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14157
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14158
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14159
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14160
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13202
14163
LTCFLAGS='$LTCFLAGS'
13203
14164
compiler='$compiler_DEFAULT'
14166
# A function that is used when there is no print builtin or printf.
14167
func_fallback_echo ()
14169
eval 'cat <<_LTECHO_EOF
13205
14174
# Quote evaled strings.
14447
15467
# if finds mixed CR/LF and LF-only lines. Since sed operates in
14448
15468
# text mode, it properly converts lines to CR/LF. This bash problem
14449
15469
# is reportedly fixed, but why not run on old versions too?
14450
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14451
|| (rm -f "$cfgfile"; exit 1)
14455
cat << \_LT_EOF >> "$cfgfile"
14457
# func_dirname file append nondir_replacement
14458
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14459
# otherwise set result to NONDIR_REPLACEMENT.
14463
*/*) func_dirname_result="${1%/*}${2}" ;;
14464
* ) func_dirname_result="${3}" ;;
14468
# func_basename file
14471
func_basename_result="${1##*/}"
14474
# func_dirname_and_basename file append nondir_replacement
14475
# perform func_basename and func_dirname in a single function
14477
# dirname: Compute the dirname of FILE. If nonempty,
14478
# add APPEND to the result, otherwise set result
14479
# to NONDIR_REPLACEMENT.
14480
# value returned in "$func_dirname_result"
14481
# basename: Compute filename of FILE.
14482
# value retuned in "$func_basename_result"
14483
# Implementation must be kept synchronized with func_dirname
14484
# and func_basename. For efficiency, we do not delegate to
14485
# those functions but instead duplicate the functionality here.
14486
func_dirname_and_basename ()
14489
*/*) func_dirname_result="${1%/*}${2}" ;;
14490
* ) func_dirname_result="${3}" ;;
14492
func_basename_result="${1##*/}"
14495
# func_stripname prefix suffix name
14496
# strip PREFIX and SUFFIX off of NAME.
14497
# PREFIX and SUFFIX must not contain globbing or regex special
14498
# characters, hashes, percent signs, but SUFFIX may contain a leading
14499
# dot (in which case that matches only a dot).
14502
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14503
# positional parameters, so assign one to ordinary parameter first.
14504
func_stripname_result=${3}
14505
func_stripname_result=${func_stripname_result#"${1}"}
14506
func_stripname_result=${func_stripname_result%"${2}"}
14512
func_opt_split_opt=${1%%=*}
14513
func_opt_split_arg=${1#*=}
14520
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14521
*) func_lo2o_result=${1} ;;
14525
# func_xform libobj-or-source
14528
func_xform_result=${1%.*}.lo
14531
# func_arith arithmetic-term...
14534
func_arith_result=$(( $* ))
14538
# STRING may not start with a hyphen.
14541
func_len_result=${#1}
14546
*) # Bourne compatible functions.
14547
cat << \_LT_EOF >> "$cfgfile"
14549
# func_dirname file append nondir_replacement
14550
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14551
# otherwise set result to NONDIR_REPLACEMENT.
14554
# Extract subdirectory from the argument.
14555
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14556
if test "X$func_dirname_result" = "X${1}"; then
14557
func_dirname_result="${3}"
14559
func_dirname_result="$func_dirname_result${2}"
14563
# func_basename file
14566
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14570
# func_stripname prefix suffix name
14571
# strip PREFIX and SUFFIX off of NAME.
14572
# PREFIX and SUFFIX must not contain globbing or regex special
14573
# characters, hashes, percent signs, but SUFFIX may contain a leading
14574
# dot (in which case that matches only a dot).
14575
# func_strip_suffix prefix name
14579
.*) func_stripname_result=`$ECHO "X${3}" \
14580
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14581
*) func_stripname_result=`$ECHO "X${3}" \
14582
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14587
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14588
my_sed_long_arg='1s/^-[^=]*=//'
14593
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14594
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14600
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14603
# func_xform libobj-or-source
14606
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14609
# func_arith arithmetic-term...
14612
func_arith_result=`expr "$@"`
14616
# STRING may not start with a hyphen.
14619
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14625
case $lt_shell_append in
14627
cat << \_LT_EOF >> "$cfgfile"
14629
# func_append var value
14630
# Append VALUE to the end of shell variable VAR.
14638
cat << \_LT_EOF >> "$cfgfile"
14640
# func_append var value
14641
# Append VALUE to the end of shell variable VAR.
14652
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14653
|| (rm -f "$cfgfile"; exit 1)
14655
mv -f "$cfgfile" "$ofile" ||
15470
sed '$q' "$ltmain" >> "$cfgfile" \
15471
|| (rm -f "$cfgfile"; exit 1)
15473
if test x"$xsi_shell" = xyes; then
15474
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15478
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15479
\ * ) func_dirname_result="${3}" ;;\
15481
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15482
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15483
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15484
test 0 -eq $? || _lt_function_replace_fail=:
15487
sed -e '/^func_basename ()$/,/^} # func_basename /c\
15490
\ func_basename_result="${1##*/}"\
15491
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15492
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15493
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15494
test 0 -eq $? || _lt_function_replace_fail=:
15497
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15498
func_dirname_and_basename ()\
15501
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15502
\ * ) func_dirname_result="${3}" ;;\
15504
\ func_basename_result="${1##*/}"\
15505
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15506
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15507
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15508
test 0 -eq $? || _lt_function_replace_fail=:
15511
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15514
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15515
\ # positional parameters, so assign one to ordinary parameter first.\
15516
\ func_stripname_result=${3}\
15517
\ func_stripname_result=${func_stripname_result#"${1}"}\
15518
\ func_stripname_result=${func_stripname_result%"${2}"}\
15519
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15520
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15521
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15522
test 0 -eq $? || _lt_function_replace_fail=:
15525
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15526
func_split_long_opt ()\
15528
\ func_split_long_opt_name=${1%%=*}\
15529
\ func_split_long_opt_arg=${1#*=}\
15530
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15531
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15532
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15533
test 0 -eq $? || _lt_function_replace_fail=:
15536
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15537
func_split_short_opt ()\
15539
\ func_split_short_opt_arg=${1#??}\
15540
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15541
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15542
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15543
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15544
test 0 -eq $? || _lt_function_replace_fail=:
15547
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15551
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15552
\ *) func_lo2o_result=${1} ;;\
15554
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15555
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15556
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15557
test 0 -eq $? || _lt_function_replace_fail=:
15560
sed -e '/^func_xform ()$/,/^} # func_xform /c\
15563
func_xform_result=${1%.*}.lo\
15564
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15565
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15566
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15567
test 0 -eq $? || _lt_function_replace_fail=:
15570
sed -e '/^func_arith ()$/,/^} # func_arith /c\
15573
func_arith_result=$(( $* ))\
15574
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15575
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15576
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15577
test 0 -eq $? || _lt_function_replace_fail=:
15580
sed -e '/^func_len ()$/,/^} # func_len /c\
15583
func_len_result=${#1}\
15584
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15585
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15586
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15587
test 0 -eq $? || _lt_function_replace_fail=:
15591
if test x"$lt_shell_append" = xyes; then
15592
sed -e '/^func_append ()$/,/^} # func_append /c\
15595
eval "${1}+=\\${2}"\
15596
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15597
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15598
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15599
test 0 -eq $? || _lt_function_replace_fail=:
15602
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15603
func_append_quoted ()\
15605
\ func_quote_for_eval "${2}"\
15606
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15607
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15608
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15609
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15610
test 0 -eq $? || _lt_function_replace_fail=:
15613
# Save a `func_append' function call where possible by direct use of '+='
15614
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15615
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15616
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15617
test 0 -eq $? || _lt_function_replace_fail=:
15619
# Save a `func_append' function call even when '+=' is not available
15620
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15621
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15622
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15623
test 0 -eq $? || _lt_function_replace_fail=:
15626
if test x"$_lt_function_replace_fail" = x":"; then
15627
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15628
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15632
mv -f "$cfgfile" "$ofile" ||
14656
15633
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14657
15634
chmod +x "$ofile"