528
536
# Sed expression to map a string onto a valid variable name.
529
537
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
# Check that we are running under the correct shell.
534
539
SHELL=${CONFIG_SHELL-/bin/sh}
538
# Remove one level of quotation (which was required for Make).
539
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544
if test "X$1" = X--no-reexec; then
545
# Discard the --no-reexec flag, and continue.
547
elif test "X$1" = X--fallback-echo; then
548
# Avoid inline document here, it may be left over
550
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
# Yippee, $ECHO works!
554
# Restart under the correct shell.
555
exec $SHELL "$0" --no-reexec ${1+"$@"}
558
if test "X$1" = X--fallback-echo; then
559
# used as fallback echo
567
# The HP-UX ksh and POSIX shell print the target directory to stdout
569
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
if test -z "$lt_ECHO"; then
572
if test "X${echo_test_string+set}" != Xset; then
573
# find a string as large as possible, as long as the shell can cope with it
574
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
test "X$echo_testing_string" = "X$echo_test_string"; then
589
# The Solaris, AIX, and Digital Unix default echo programs unquote
590
# backslashes. This makes it impossible to quote backslashes using
591
# echo "$something" | sed 's/\\/\\\\/g'
593
# So, first we look for a working echo in the user's PATH.
595
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
for dir in $PATH /usr/ucb; do
598
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
test "X$echo_testing_string" = "X$echo_test_string"; then
608
if test "X$ECHO" = Xecho; then
609
# We didn't find a better echo, so look for alternatives.
610
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
test "X$echo_testing_string" = "X$echo_test_string"; then
613
# This shell has a builtin print -r that does the trick.
615
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
test "X$CONFIG_SHELL" != X/bin/ksh; then
617
# If we have ksh, try running configure again with it.
618
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
export ORIGINAL_CONFIG_SHELL
620
CONFIG_SHELL=/bin/ksh
622
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
test "X$echo_testing_string" = "X$echo_test_string"; then
631
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
test "X$echo_testing_string" = 'X\t' &&
633
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
test "X$echo_testing_string" = "X$echo_test_string"; then
635
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637
SHELL="$CONFIG_SHELL"
639
ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
test "X$echo_testing_string" = 'X\t' &&
642
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
644
ECHO="$CONFIG_SHELL $0 --fallback-echo"
646
# maybe with a smaller string...
649
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657
if test "$prev" != 'sed 50q "$0"'; then
658
echo_test_string=`eval $prev`
659
export echo_test_string
660
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662
# Oops. We lost completely, so just stick with echo.
671
# Copy echo and quote the copy suitably for passing to libtool from
672
# the Makefile, instead of quoting the original, which is used later.
674
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681
542
test -n "$DJDIR" || exec 7<&0 </dev/null
684
545
# Name of the host.
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
546
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686
547
# so uname gets run too.
687
548
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5165
if test -n "$ac_tool_prefix"; then
5166
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5167
set dummy ${ac_tool_prefix}ar; ac_word=$2
5239
if test -n "$ac_tool_prefix"; then
5240
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5241
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5243
$as_echo_n "checking for $ac_word... " >&6; }
5244
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5245
$as_echo_n "(cached) " >&6
5247
if test -n "$DLLTOOL"; then
5248
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5250
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254
test -z "$as_dir" && as_dir=.
5255
for ac_exec_ext in '' $ac_executable_extensions; do
5256
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5258
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5267
DLLTOOL=$ac_cv_prog_DLLTOOL
5268
if test -n "$DLLTOOL"; then
5269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5270
$as_echo "$DLLTOOL" >&6; }
5272
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5273
$as_echo "no" >&6; }
5278
if test -z "$ac_cv_prog_DLLTOOL"; then
5279
ac_ct_DLLTOOL=$DLLTOOL
5280
# Extract the first word of "dlltool", so it can be a program name with args.
5281
set dummy dlltool; ac_word=$2
5282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5283
$as_echo_n "checking for $ac_word... " >&6; }
5284
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5285
$as_echo_n "(cached) " >&6
5287
if test -n "$ac_ct_DLLTOOL"; then
5288
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5290
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294
test -z "$as_dir" && as_dir=.
5295
for ac_exec_ext in '' $ac_executable_extensions; do
5296
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5297
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5298
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5307
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5308
if test -n "$ac_ct_DLLTOOL"; then
5309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5310
$as_echo "$ac_ct_DLLTOOL" >&6; }
5312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5313
$as_echo "no" >&6; }
5316
if test "x$ac_ct_DLLTOOL" = x; then
5319
case $cross_compiling:$ac_tool_warned in
5321
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5322
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5323
ac_tool_warned=yes ;;
5325
DLLTOOL=$ac_ct_DLLTOOL
5328
DLLTOOL="$ac_cv_prog_DLLTOOL"
5331
test -z "$DLLTOOL" && DLLTOOL=dlltool
5339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5340
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5341
if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then :
5342
$as_echo_n "(cached) " >&6
5344
lt_cv_sharedlib_from_linklib_cmd='unknown'
5347
cygwin* | mingw* | pw32* | cegcc*)
5348
# two different shell functions defined in ltmain.sh
5349
# decide which to use based on capabilities of $DLLTOOL
5350
case `$DLLTOOL --help 2>&1` in
5351
*--identify-strict*)
5352
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5355
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5360
# fallback: assume linklib IS sharedlib
5361
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5367
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5368
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5369
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5378
if test -n "$ac_tool_prefix"; then
5381
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5382
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5168
5383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169
5384
$as_echo_n "checking for $ac_word... " >&6; }
5170
5385
if test "${ac_cv_prog_AR+set}" = set; then :
5969
6321
need_locks="$enable_libtool_lock"
6323
if test -n "$ac_tool_prefix"; then
6324
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6325
set dummy ${ac_tool_prefix}mt; ac_word=$2
6326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6327
$as_echo_n "checking for $ac_word... " >&6; }
6328
if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then :
6329
$as_echo_n "(cached) " >&6
6331
if test -n "$MANIFEST_TOOL"; then
6332
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6334
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6338
test -z "$as_dir" && as_dir=.
6339
for ac_exec_ext in '' $ac_executable_extensions; do
6340
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6341
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6342
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6351
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6352
if test -n "$MANIFEST_TOOL"; then
6353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6354
$as_echo "$MANIFEST_TOOL" >&6; }
6356
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6357
$as_echo "no" >&6; }
6362
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6363
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6364
# Extract the first word of "mt", so it can be a program name with args.
6365
set dummy mt; ac_word=$2
6366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6367
$as_echo_n "checking for $ac_word... " >&6; }
6368
if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then :
6369
$as_echo_n "(cached) " >&6
6371
if test -n "$ac_ct_MANIFEST_TOOL"; then
6372
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6374
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6378
test -z "$as_dir" && as_dir=.
6379
for ac_exec_ext in '' $ac_executable_extensions; do
6380
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6381
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6382
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6391
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6392
if test -n "$ac_ct_MANIFEST_TOOL"; then
6393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6394
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6397
$as_echo "no" >&6; }
6400
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6403
case $cross_compiling:$ac_tool_warned in
6405
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6406
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6407
ac_tool_warned=yes ;;
6409
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6412
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6415
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6417
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6418
if test "${lt_cv_path_mainfest_tool+set}" = set; then :
6419
$as_echo_n "(cached) " >&6
6421
lt_cv_path_mainfest_tool=no
6422
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6423
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6424
cat conftest.err >&5
6425
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6426
lt_cv_path_mainfest_tool=yes
6430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6431
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6432
if test "x$lt_cv_path_mainfest_tool" != xyes; then
5972
6441
case $host_os in
5973
6442
rhapsody* | darwin*)
8844
9421
# Microsoft Visual C++.
8845
9422
# hardcode_libdir_flag_spec is actually meaningless, as there is
8846
9423
# no search path for DLLs.
8847
hardcode_libdir_flag_spec=' '
8848
allow_undefined_flag=unsupported
8849
# Tell ltmain to make .lib files, not .a files.
8851
# Tell ltmain to make .dll files, not .so files.
8853
# FIXME: Setting linknames here is a bad hack.
8854
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8855
# The linker will automatically build a .lib file if we build a DLL.
8856
old_archive_from_new_cmds='true'
8857
# FIXME: Should let the user specify the lib program.
8858
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8859
fix_srcfile_path='`cygpath -w "$srcfile"`'
8860
enable_shared_with_static_runtimes=yes
9424
case $cc_basename in
9427
hardcode_libdir_flag_spec=' '
9428
allow_undefined_flag=unsupported
9429
always_export_symbols=yes
9431
# Tell ltmain to make .lib files, not .a files.
9433
# Tell ltmain to make .dll files, not .so files.
9435
# FIXME: Setting linknames here is a bad hack.
9436
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9437
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9438
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9440
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9442
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9444
# The linker will not automatically build a static lib if we build a DLL.
9445
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9446
enable_shared_with_static_runtimes=yes
9447
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9449
old_postinstall_cmds='chmod 644 $oldlib'
9450
postlink_cmds='lt_outputfile="@OUTPUT@"~
9451
lt_tool_outputfile="@TOOL_OUTPUT@"~
9452
case $lt_outputfile in
9455
lt_outputfile="$lt_outputfile.exe"
9456
lt_tool_outputfile="$lt_tool_outputfile.exe"
9459
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9460
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9461
$RM "$lt_outputfile.manifest";
9465
# Assume MSVC wrapper
9466
hardcode_libdir_flag_spec=' '
9467
allow_undefined_flag=unsupported
9468
# Tell ltmain to make .lib files, not .a files.
9470
# Tell ltmain to make .dll files, not .so files.
9472
# FIXME: Setting linknames here is a bad hack.
9473
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9474
# The linker will automatically build a .lib file if we build a DLL.
9475
old_archive_from_new_cmds='true'
9476
# FIXME: Should let the user specify the lib program.
9477
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9478
enable_shared_with_static_runtimes=yes
8863
9483
darwin* | rhapsody*)
9711
10407
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9712
10408
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9713
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10410
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9715
10412
mingw* | cegcc*)
9716
10413
# MinGW DLLs use traditional 'lib' prefix
9717
10414
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9718
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9719
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9720
# It is most probably a Windows format PATH printed by
9721
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9722
# path with ; separators, and with drive letters. We can handle the
9723
# drive letters (cygwin fileutils understands them), so leave them,
9724
# especially as we might pass files found there to a mingw objdump,
9725
# which wouldn't understand a cygwinified path. Ahh.
9726
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9728
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9732
10417
# pw32 DLLs use 'pw' prefix rather than 'lib'
9733
10418
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10421
dynamic_linker='Win32 ld.exe'
10426
libname_spec='$name'
10427
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10428
library_names_spec='${libname}.dll.lib'
10432
sys_lib_search_path_spec=
10435
for lt_path in $LIB
10438
# Let DOS variable expansion print the short 8.3 style file name.
10439
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10440
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10443
# Convert to MSYS style.
10444
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10447
# Convert to unix form, then to dos form, then back to unix form
10448
# but this time dos style (no spaces!) so that the unix form looks
10449
# like /cygdrive/c/PROGRA~1:/cygdr...
10450
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10451
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10452
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10455
sys_lib_search_path_spec="$LIB"
10456
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10457
# It is most probably a Windows format PATH.
10458
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10460
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10462
# FIXME: find the short name or the path components, as spaces are
10463
# common. (e.g. "Program Files" -> "PROGRA~1")
10467
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10468
postinstall_cmds='base_file=`basename \${file}`~
10469
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10470
dldir=$destdir/`dirname \$dlpath`~
10471
test -d \$dldir || mkdir -p \$dldir~
10472
$install_prog $dir/$dlname \$dldir/$dlname'
10473
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10474
dlpath=$dir/\$dldll~
10476
shlibpath_overrides_runpath=yes
10477
dynamic_linker='Win32 link.exe'
10481
# Assume MSVC wrapper
9739
10482
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10483
dynamic_linker='Win32 ld.exe'
9742
dynamic_linker='Win32 ld.exe'
9743
10486
# FIXME: first we should search . and the directory the executable is in
9744
10487
shlibpath_var=PATH
12814
13644
sed_quote_subst='$sed_quote_subst'
12815
13645
double_quote_subst='$double_quote_subst'
12816
13646
delay_variable_subst='$delay_variable_subst'
12817
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12818
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12819
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
12820
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12821
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12822
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12823
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12824
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12825
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12826
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12827
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12828
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12829
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12830
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12831
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12832
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12833
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12834
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12835
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12836
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12837
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12838
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12839
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12840
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12841
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12842
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12843
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12844
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12845
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12846
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12847
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12848
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12849
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12850
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12851
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12852
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12853
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12854
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12855
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12856
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12857
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12858
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12859
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12860
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12861
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12862
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12863
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"`'
12864
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"`'
12865
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12866
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12867
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12868
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12869
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12870
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12871
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12872
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12873
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12874
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12875
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12876
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12877
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12878
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12879
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12880
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12881
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12882
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12883
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12884
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12885
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12886
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12887
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12888
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12889
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12890
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12891
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12892
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12893
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12894
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12895
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12896
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12897
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12898
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12899
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12900
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12901
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12902
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12903
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12904
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12905
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12906
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12907
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12908
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12909
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12910
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12911
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12912
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12913
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12914
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12915
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12916
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12917
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12918
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12919
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12920
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12921
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12922
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12923
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12924
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12925
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12926
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12927
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12928
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12929
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12930
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12931
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12932
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12933
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12934
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12935
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12936
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13647
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13648
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13649
AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
13650
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13651
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13652
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13653
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13654
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13655
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13656
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13657
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13658
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13659
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13660
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13661
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13662
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13663
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13664
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13665
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13666
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13667
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13668
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13669
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13670
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13671
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13672
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13673
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13674
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13675
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13676
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13677
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13678
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13679
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13680
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13681
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13682
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13683
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13684
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13685
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13686
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13687
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13688
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13689
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13690
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13691
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13692
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13693
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13694
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13695
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13696
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13697
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13698
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13699
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13700
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13701
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13702
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13703
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"`'
13704
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13705
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13706
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13707
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13708
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13709
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13710
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13711
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13712
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13713
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13714
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13715
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13716
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13717
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13718
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13719
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13720
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13721
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13722
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13723
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13724
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13725
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13726
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13727
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13728
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13729
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13730
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13731
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13732
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13733
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13734
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13735
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13736
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13737
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13738
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13739
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13740
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13741
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13742
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13743
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13744
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13745
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13746
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13747
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13748
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13749
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13750
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13751
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13752
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13753
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13754
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13755
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13756
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13757
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13758
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13759
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13760
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13761
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13762
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13763
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13764
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13765
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13766
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13767
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13768
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13769
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13770
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13771
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13772
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13773
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13774
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13775
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13776
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13777
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12939
13780
LTCFLAGS='$LTCFLAGS'
12940
13781
compiler='$compiler_DEFAULT'
13783
# A function that is used when there is no print builtin or printf.
13784
func_fallback_echo ()
13786
eval 'cat <<_LTECHO_EOF
12942
13791
# Quote evaled strings.
14186
15083
# if finds mixed CR/LF and LF-only lines. Since sed operates in
14187
15084
# text mode, it properly converts lines to CR/LF. This bash problem
14188
15085
# is reportedly fixed, but why not run on old versions too?
14189
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14190
|| (rm -f "$cfgfile"; exit 1)
14194
cat << \_LT_EOF >> "$cfgfile"
14196
# func_dirname file append nondir_replacement
14197
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14198
# otherwise set result to NONDIR_REPLACEMENT.
14202
*/*) func_dirname_result="${1%/*}${2}" ;;
14203
* ) func_dirname_result="${3}" ;;
14207
# func_basename file
14210
func_basename_result="${1##*/}"
14213
# func_dirname_and_basename file append nondir_replacement
14214
# perform func_basename and func_dirname in a single function
14216
# dirname: Compute the dirname of FILE. If nonempty,
14217
# add APPEND to the result, otherwise set result
14218
# to NONDIR_REPLACEMENT.
14219
# value returned in "$func_dirname_result"
14220
# basename: Compute filename of FILE.
14221
# value retuned in "$func_basename_result"
14222
# Implementation must be kept synchronized with func_dirname
14223
# and func_basename. For efficiency, we do not delegate to
14224
# those functions but instead duplicate the functionality here.
14225
func_dirname_and_basename ()
14228
*/*) func_dirname_result="${1%/*}${2}" ;;
14229
* ) func_dirname_result="${3}" ;;
14231
func_basename_result="${1##*/}"
14234
# func_stripname prefix suffix name
14235
# strip PREFIX and SUFFIX off of NAME.
14236
# PREFIX and SUFFIX must not contain globbing or regex special
14237
# characters, hashes, percent signs, but SUFFIX may contain a leading
14238
# dot (in which case that matches only a dot).
14241
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14242
# positional parameters, so assign one to ordinary parameter first.
14243
func_stripname_result=${3}
14244
func_stripname_result=${func_stripname_result#"${1}"}
14245
func_stripname_result=${func_stripname_result%"${2}"}
14251
func_opt_split_opt=${1%%=*}
14252
func_opt_split_arg=${1#*=}
14259
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14260
*) func_lo2o_result=${1} ;;
14264
# func_xform libobj-or-source
14267
func_xform_result=${1%.*}.lo
14270
# func_arith arithmetic-term...
14273
func_arith_result=$(( $* ))
14277
# STRING may not start with a hyphen.
14280
func_len_result=${#1}
14285
*) # Bourne compatible functions.
14286
cat << \_LT_EOF >> "$cfgfile"
14288
# func_dirname file append nondir_replacement
14289
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14290
# otherwise set result to NONDIR_REPLACEMENT.
14293
# Extract subdirectory from the argument.
14294
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14295
if test "X$func_dirname_result" = "X${1}"; then
14296
func_dirname_result="${3}"
14298
func_dirname_result="$func_dirname_result${2}"
14302
# func_basename file
14305
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14309
# func_stripname prefix suffix name
14310
# strip PREFIX and SUFFIX off of NAME.
14311
# PREFIX and SUFFIX must not contain globbing or regex special
14312
# characters, hashes, percent signs, but SUFFIX may contain a leading
14313
# dot (in which case that matches only a dot).
14314
# func_strip_suffix prefix name
14318
.*) func_stripname_result=`$ECHO "X${3}" \
14319
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14320
*) func_stripname_result=`$ECHO "X${3}" \
14321
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14326
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14327
my_sed_long_arg='1s/^-[^=]*=//'
14332
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14333
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14339
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14342
# func_xform libobj-or-source
14345
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14348
# func_arith arithmetic-term...
14351
func_arith_result=`expr "$@"`
14355
# STRING may not start with a hyphen.
14358
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14364
case $lt_shell_append in
14366
cat << \_LT_EOF >> "$cfgfile"
14368
# func_append var value
14369
# Append VALUE to the end of shell variable VAR.
14377
cat << \_LT_EOF >> "$cfgfile"
14379
# func_append var value
14380
# Append VALUE to the end of shell variable VAR.
14391
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14392
|| (rm -f "$cfgfile"; exit 1)
14394
mv -f "$cfgfile" "$ofile" ||
15086
sed '$q' "$ltmain" >> "$cfgfile" \
15087
|| (rm -f "$cfgfile"; exit 1)
15089
if test x"$xsi_shell" = xyes; then
15090
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15094
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15095
\ * ) func_dirname_result="${3}" ;;\
15097
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15098
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15099
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15100
test 0 -eq $? || _lt_function_replace_fail=:
15103
sed -e '/^func_basename ()$/,/^} # func_basename /c\
15106
\ func_basename_result="${1##*/}"\
15107
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15108
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15109
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15110
test 0 -eq $? || _lt_function_replace_fail=:
15113
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15114
func_dirname_and_basename ()\
15117
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15118
\ * ) func_dirname_result="${3}" ;;\
15120
\ func_basename_result="${1##*/}"\
15121
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15122
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15123
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15124
test 0 -eq $? || _lt_function_replace_fail=:
15127
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15130
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15131
\ # positional parameters, so assign one to ordinary parameter first.\
15132
\ func_stripname_result=${3}\
15133
\ func_stripname_result=${func_stripname_result#"${1}"}\
15134
\ func_stripname_result=${func_stripname_result%"${2}"}\
15135
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15136
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15137
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15138
test 0 -eq $? || _lt_function_replace_fail=:
15141
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15142
func_split_long_opt ()\
15144
\ func_split_long_opt_name=${1%%=*}\
15145
\ func_split_long_opt_arg=${1#*=}\
15146
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15147
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15148
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15149
test 0 -eq $? || _lt_function_replace_fail=:
15152
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15153
func_split_short_opt ()\
15155
\ func_split_short_opt_arg=${1#??}\
15156
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15157
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15158
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15159
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15160
test 0 -eq $? || _lt_function_replace_fail=:
15163
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15167
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15168
\ *) func_lo2o_result=${1} ;;\
15170
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15171
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15172
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15173
test 0 -eq $? || _lt_function_replace_fail=:
15176
sed -e '/^func_xform ()$/,/^} # func_xform /c\
15179
func_xform_result=${1%.*}.lo\
15180
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15181
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15182
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15183
test 0 -eq $? || _lt_function_replace_fail=:
15186
sed -e '/^func_arith ()$/,/^} # func_arith /c\
15189
func_arith_result=$(( $* ))\
15190
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15191
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15192
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15193
test 0 -eq $? || _lt_function_replace_fail=:
15196
sed -e '/^func_len ()$/,/^} # func_len /c\
15199
func_len_result=${#1}\
15200
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15201
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15202
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15203
test 0 -eq $? || _lt_function_replace_fail=:
15207
if test x"$lt_shell_append" = xyes; then
15208
sed -e '/^func_append ()$/,/^} # func_append /c\
15211
eval "${1}+=\\${2}"\
15212
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15213
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15214
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15215
test 0 -eq $? || _lt_function_replace_fail=:
15218
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15219
func_append_quoted ()\
15221
\ func_quote_for_eval "${2}"\
15222
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15223
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15224
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15225
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15226
test 0 -eq $? || _lt_function_replace_fail=:
15229
# Save a `func_append' function call where possible by direct use of '+='
15230
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15231
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15232
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15233
test 0 -eq $? || _lt_function_replace_fail=:
15235
# Save a `func_append' function call even when '+=' is not available
15236
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15237
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15238
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15239
test 0 -eq $? || _lt_function_replace_fail=:
15242
if test x"$_lt_function_replace_fail" = x":"; then
15243
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15244
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15248
mv -f "$cfgfile" "$ofile" ||
14395
15249
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14396
15250
chmod +x "$ofile"