528
544
# Sed expression to map a string onto a valid variable name.
529
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
# Check that we are running under the correct shell.
534
547
SHELL=${CONFIG_SHELL-/bin/sh}
538
# Remove one level of quotation (which was required for Make).
539
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544
if test "X$1" = X--no-reexec; then
545
# Discard the --no-reexec flag, and continue.
547
elif test "X$1" = X--fallback-echo; then
548
# Avoid inline document here, it may be left over
550
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
# Yippee, $ECHO works!
554
# Restart under the correct shell.
555
exec $SHELL "$0" --no-reexec ${1+"$@"}
558
if test "X$1" = X--fallback-echo; then
559
# used as fallback echo
567
# The HP-UX ksh and POSIX shell print the target directory to stdout
569
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
if test -z "$lt_ECHO"; then
572
if test "X${echo_test_string+set}" != Xset; then
573
# find a string as large as possible, as long as the shell can cope with it
574
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
test "X$echo_testing_string" = "X$echo_test_string"; then
589
# The Solaris, AIX, and Digital Unix default echo programs unquote
590
# backslashes. This makes it impossible to quote backslashes using
591
# echo "$something" | sed 's/\\/\\\\/g'
593
# So, first we look for a working echo in the user's PATH.
595
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
for dir in $PATH /usr/ucb; do
598
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
test "X$echo_testing_string" = "X$echo_test_string"; then
608
if test "X$ECHO" = Xecho; then
609
# We didn't find a better echo, so look for alternatives.
610
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
test "X$echo_testing_string" = "X$echo_test_string"; then
613
# This shell has a builtin print -r that does the trick.
615
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
test "X$CONFIG_SHELL" != X/bin/ksh; then
617
# If we have ksh, try running configure again with it.
618
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
export ORIGINAL_CONFIG_SHELL
620
CONFIG_SHELL=/bin/ksh
622
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
test "X$echo_testing_string" = "X$echo_test_string"; then
631
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
test "X$echo_testing_string" = 'X\t' &&
633
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
test "X$echo_testing_string" = "X$echo_test_string"; then
635
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637
SHELL="$CONFIG_SHELL"
639
ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
test "X$echo_testing_string" = 'X\t' &&
642
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
644
ECHO="$CONFIG_SHELL $0 --fallback-echo"
646
# maybe with a smaller string...
649
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657
if test "$prev" != 'sed 50q "$0"'; then
658
echo_test_string=`eval $prev`
659
export echo_test_string
660
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662
# Oops. We lost completely, so just stick with echo.
671
# Copy echo and quote the copy suitably for passing to libtool from
672
# the Makefile, instead of quoting the original, which is used later.
674
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681
550
test -n "$DJDIR" || exec 7<&0 </dev/null
684
553
# Name of the host.
685
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
554
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686
555
# so uname gets run too.
687
556
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
5470
if test -n "$ac_tool_prefix"; then
5471
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5472
set dummy ${ac_tool_prefix}ar; ac_word=$2
5473
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5474
$as_echo_n "checking for $ac_word... " >&6; }
5475
if test "${ac_cv_prog_AR+set}" = set; then :
5571
if test -n "$ac_tool_prefix"; then
5572
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5573
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5575
$as_echo_n "checking for $ac_word... " >&6; }
5576
if ${ac_cv_prog_DLLTOOL+:} false; then :
5577
$as_echo_n "(cached) " >&6
5579
if test -n "$DLLTOOL"; then
5580
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5582
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5586
test -z "$as_dir" && as_dir=.
5587
for ac_exec_ext in '' $ac_executable_extensions; do
5588
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5589
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5590
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5599
DLLTOOL=$ac_cv_prog_DLLTOOL
5600
if test -n "$DLLTOOL"; then
5601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5602
$as_echo "$DLLTOOL" >&6; }
5604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5605
$as_echo "no" >&6; }
5610
if test -z "$ac_cv_prog_DLLTOOL"; then
5611
ac_ct_DLLTOOL=$DLLTOOL
5612
# Extract the first word of "dlltool", so it can be a program name with args.
5613
set dummy dlltool; ac_word=$2
5614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5615
$as_echo_n "checking for $ac_word... " >&6; }
5616
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5617
$as_echo_n "(cached) " >&6
5619
if test -n "$ac_ct_DLLTOOL"; then
5620
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5622
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5626
test -z "$as_dir" && as_dir=.
5627
for ac_exec_ext in '' $ac_executable_extensions; do
5628
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5629
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5630
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5639
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5640
if test -n "$ac_ct_DLLTOOL"; then
5641
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5642
$as_echo "$ac_ct_DLLTOOL" >&6; }
5644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5645
$as_echo "no" >&6; }
5648
if test "x$ac_ct_DLLTOOL" = x; then
5651
case $cross_compiling:$ac_tool_warned in
5653
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5654
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5655
ac_tool_warned=yes ;;
5657
DLLTOOL=$ac_ct_DLLTOOL
5660
DLLTOOL="$ac_cv_prog_DLLTOOL"
5663
test -z "$DLLTOOL" && DLLTOOL=dlltool
5674
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5675
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5676
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5677
$as_echo_n "(cached) " >&6
5679
lt_cv_sharedlib_from_linklib_cmd='unknown'
5682
cygwin* | mingw* | pw32* | cegcc*)
5683
# two different shell functions defined in ltmain.sh
5684
# decide which to use based on capabilities of $DLLTOOL
5685
case `$DLLTOOL --help 2>&1` in
5686
*--identify-strict*)
5687
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5690
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5695
# fallback: assume linklib IS sharedlib
5696
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5702
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5703
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5704
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5712
if test -n "$ac_tool_prefix"; then
5715
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5716
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718
$as_echo_n "checking for $ac_word... " >&6; }
5719
if ${ac_cv_prog_AR+:} false; then :
5476
5720
$as_echo_n "(cached) " >&6
5478
5722
if test -n "$AR"; then
6273
6655
need_locks="$enable_libtool_lock"
6657
if test -n "$ac_tool_prefix"; then
6658
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6659
set dummy ${ac_tool_prefix}mt; ac_word=$2
6660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661
$as_echo_n "checking for $ac_word... " >&6; }
6662
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6663
$as_echo_n "(cached) " >&6
6665
if test -n "$MANIFEST_TOOL"; then
6666
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6668
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672
test -z "$as_dir" && as_dir=.
6673
for ac_exec_ext in '' $ac_executable_extensions; do
6674
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6675
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6676
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6685
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6686
if test -n "$MANIFEST_TOOL"; then
6687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6688
$as_echo "$MANIFEST_TOOL" >&6; }
6690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691
$as_echo "no" >&6; }
6696
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6697
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6698
# Extract the first word of "mt", so it can be a program name with args.
6699
set dummy mt; ac_word=$2
6700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6701
$as_echo_n "checking for $ac_word... " >&6; }
6702
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6703
$as_echo_n "(cached) " >&6
6705
if test -n "$ac_ct_MANIFEST_TOOL"; then
6706
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6708
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6712
test -z "$as_dir" && as_dir=.
6713
for ac_exec_ext in '' $ac_executable_extensions; do
6714
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6715
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6716
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6726
if test -n "$ac_ct_MANIFEST_TOOL"; then
6727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6728
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6731
$as_echo "no" >&6; }
6734
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6737
case $cross_compiling:$ac_tool_warned in
6739
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6740
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6741
ac_tool_warned=yes ;;
6743
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6746
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6749
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6751
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6752
if ${lt_cv_path_mainfest_tool+:} false; then :
6753
$as_echo_n "(cached) " >&6
6755
lt_cv_path_mainfest_tool=no
6756
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6757
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6758
cat conftest.err >&5
6759
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6760
lt_cv_path_mainfest_tool=yes
6764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6765
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6766
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6276
6775
case $host_os in
6277
6776
rhapsody* | darwin*)
8499
9105
# Microsoft Visual C++.
8500
9106
# hardcode_libdir_flag_spec is actually meaningless, as there is
8501
9107
# no search path for DLLs.
8502
hardcode_libdir_flag_spec=' '
8503
allow_undefined_flag=unsupported
8504
# Tell ltmain to make .lib files, not .a files.
8506
# Tell ltmain to make .dll files, not .so files.
8508
# FIXME: Setting linknames here is a bad hack.
8509
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8510
# The linker will automatically build a .lib file if we build a DLL.
8511
old_archive_from_new_cmds='true'
8512
# FIXME: Should let the user specify the lib program.
8513
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8514
fix_srcfile_path='`cygpath -w "$srcfile"`'
8515
enable_shared_with_static_runtimes=yes
9108
case $cc_basename in
9111
hardcode_libdir_flag_spec=' '
9112
allow_undefined_flag=unsupported
9113
always_export_symbols=yes
9115
# Tell ltmain to make .lib files, not .a files.
9117
# Tell ltmain to make .dll files, not .so files.
9119
# FIXME: Setting linknames here is a bad hack.
9120
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9121
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9122
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9124
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9126
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9128
# The linker will not automatically build a static lib if we build a DLL.
9129
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9130
enable_shared_with_static_runtimes=yes
9131
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9133
old_postinstall_cmds='chmod 644 $oldlib'
9134
postlink_cmds='lt_outputfile="@OUTPUT@"~
9135
lt_tool_outputfile="@TOOL_OUTPUT@"~
9136
case $lt_outputfile in
9139
lt_outputfile="$lt_outputfile.exe"
9140
lt_tool_outputfile="$lt_tool_outputfile.exe"
9143
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9144
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9145
$RM "$lt_outputfile.manifest";
9149
# Assume MSVC wrapper
9150
hardcode_libdir_flag_spec=' '
9151
allow_undefined_flag=unsupported
9152
# Tell ltmain to make .lib files, not .a files.
9154
# Tell ltmain to make .dll files, not .so files.
9156
# FIXME: Setting linknames here is a bad hack.
9157
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9158
# The linker will automatically build a .lib file if we build a DLL.
9159
old_archive_from_new_cmds='true'
9160
# FIXME: Should let the user specify the lib program.
9161
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9162
enable_shared_with_static_runtimes=yes
8518
9167
darwin* | rhapsody*)
9366
10091
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9367
10092
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9368
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10094
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9370
10096
mingw* | cegcc*)
9371
10097
# MinGW DLLs use traditional 'lib' prefix
9372
10098
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9373
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9374
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9375
# It is most probably a Windows format PATH printed by
9376
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9377
# path with ; separators, and with drive letters. We can handle the
9378
# drive letters (cygwin fileutils understands them), so leave them,
9379
# especially as we might pass files found there to a mingw objdump,
9380
# which wouldn't understand a cygwinified path. Ahh.
9381
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9383
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9387
10101
# pw32 DLLs use 'pw' prefix rather than 'lib'
9388
10102
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10105
dynamic_linker='Win32 ld.exe'
10110
libname_spec='$name'
10111
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10112
library_names_spec='${libname}.dll.lib'
10116
sys_lib_search_path_spec=
10119
for lt_path in $LIB
10122
# Let DOS variable expansion print the short 8.3 style file name.
10123
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10124
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10127
# Convert to MSYS style.
10128
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10131
# Convert to unix form, then to dos form, then back to unix form
10132
# but this time dos style (no spaces!) so that the unix form looks
10133
# like /cygdrive/c/PROGRA~1:/cygdr...
10134
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10135
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10136
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10139
sys_lib_search_path_spec="$LIB"
10140
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10141
# It is most probably a Windows format PATH.
10142
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10144
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10146
# FIXME: find the short name or the path components, as spaces are
10147
# common. (e.g. "Program Files" -> "PROGRA~1")
10151
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10152
postinstall_cmds='base_file=`basename \${file}`~
10153
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10154
dldir=$destdir/`dirname \$dlpath`~
10155
test -d \$dldir || mkdir -p \$dldir~
10156
$install_prog $dir/$dlname \$dldir/$dlname'
10157
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10158
dlpath=$dir/\$dldll~
10160
shlibpath_overrides_runpath=yes
10161
dynamic_linker='Win32 link.exe'
10165
# Assume MSVC wrapper
9394
10166
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10167
dynamic_linker='Win32 ld.exe'
9397
dynamic_linker='Win32 ld.exe'
9398
10170
# FIXME: first we should search . and the directory the executable is in
9399
10171
shlibpath_var=PATH
12216
13042
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME" >&5
12217
13043
$as_echo_n "checking for GNOME... " >&6; }
12219
if test -n "$PKG_CONFIG"; then
12220
if test -n "$GNOME_CFLAGS"; then
12221
pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
12223
if test -n "$PKG_CONFIG" && \
12224
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0 >= \$LIBGNOME_REQUIRED
12225
libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED
12226
libpanelapplet-2.0 >= \$LIBPANEL_REQUIRED\""; } >&5
12227
($PKG_CONFIG --exists --print-errors "libgnome-2.0 >= $LIBGNOME_REQUIRED
12228
libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12229
libpanelapplet-2.0 >= $LIBPANEL_REQUIRED") 2>&5
12231
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12232
test $ac_status = 0; }; then
12233
pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "libgnome-2.0 >= $LIBGNOME_REQUIRED
12234
libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12235
libpanelapplet-2.0 >= $LIBPANEL_REQUIRED" 2>/dev/null`
12243
if test -n "$PKG_CONFIG"; then
12244
if test -n "$GNOME_LIBS"; then
12245
pkg_cv_GNOME_LIBS="$GNOME_LIBS"
12247
if test -n "$PKG_CONFIG" && \
12248
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0 >= \$LIBGNOME_REQUIRED
12249
libgnomeui-2.0 >= \$LIBGNOMEUI_REQUIRED
12250
libpanelapplet-2.0 >= \$LIBPANEL_REQUIRED\""; } >&5
12251
($PKG_CONFIG --exists --print-errors "libgnome-2.0 >= $LIBGNOME_REQUIRED
12252
libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12253
libpanelapplet-2.0 >= $LIBPANEL_REQUIRED") 2>&5
12255
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12256
test $ac_status = 0; }; then
12257
pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "libgnome-2.0 >= $LIBGNOME_REQUIRED
12258
libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED
12259
libpanelapplet-2.0 >= $LIBPANEL_REQUIRED" 2>/dev/null`
13045
if test -n "$GNOME_CFLAGS"; then
13046
pkg_cv_GNOME_CFLAGS="$GNOME_CFLAGS"
13047
elif test -n "$PKG_CONFIG"; then
13048
if test -n "$PKG_CONFIG" && \
13049
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpanelapplet-4.0 >= \$LIBPANEL_REQUIRED\""; } >&5
13050
($PKG_CONFIG --exists --print-errors "libpanelapplet-4.0 >= $LIBPANEL_REQUIRED") 2>&5
13052
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13053
test $ac_status = 0; }; then
13054
pkg_cv_GNOME_CFLAGS=`$PKG_CONFIG --cflags "libpanelapplet-4.0 >= $LIBPANEL_REQUIRED" 2>/dev/null`
13055
test "x$?" != "x0" && pkg_failed=yes
13062
if test -n "$GNOME_LIBS"; then
13063
pkg_cv_GNOME_LIBS="$GNOME_LIBS"
13064
elif test -n "$PKG_CONFIG"; then
13065
if test -n "$PKG_CONFIG" && \
13066
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpanelapplet-4.0 >= \$LIBPANEL_REQUIRED\""; } >&5
13067
($PKG_CONFIG --exists --print-errors "libpanelapplet-4.0 >= $LIBPANEL_REQUIRED") 2>&5
13069
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13070
test $ac_status = 0; }; then
13071
pkg_cv_GNOME_LIBS=`$PKG_CONFIG --libs "libpanelapplet-4.0 >= $LIBPANEL_REQUIRED" 2>/dev/null`
13072
test "x$?" != "x0" && pkg_failed=yes
12270
13082
if test $pkg_failed = yes; then
13083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13084
$as_echo "no" >&6; }
12272
13086
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12273
13087
_pkg_short_errors_supported=yes
14064
14895
sed_quote_subst='$sed_quote_subst'
14065
14896
double_quote_subst='$double_quote_subst'
14066
14897
delay_variable_subst='$delay_variable_subst'
14067
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14068
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14069
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14070
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14071
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14072
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14073
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14074
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14075
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14076
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14077
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14078
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14079
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14080
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14081
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14082
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14083
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14084
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14085
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14086
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14087
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14088
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14089
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14090
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14091
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14092
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14093
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14094
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14095
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14096
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14097
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14098
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14099
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14100
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14101
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14102
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14103
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14104
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14105
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14106
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14107
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14108
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14109
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14110
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14111
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"`'
14112
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"`'
14113
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14114
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14115
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14116
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14117
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14118
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14119
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14120
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14121
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14122
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14123
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14124
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14125
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14126
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14127
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14128
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14129
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14130
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14131
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14132
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14133
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14134
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14135
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14136
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14137
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14138
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14139
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14140
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14141
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14142
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14143
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14144
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14145
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14146
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14147
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14148
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14149
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14150
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14151
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14152
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14153
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14154
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14155
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14156
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14157
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14158
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14159
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14160
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14161
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14162
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14163
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14164
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14165
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14166
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14167
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14168
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14169
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14170
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14171
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14172
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14173
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14174
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14175
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14176
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14177
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14178
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14179
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14180
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14181
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14182
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14183
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14184
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14898
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14899
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14900
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14901
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14902
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14903
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14904
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14905
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14906
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14907
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14908
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14909
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14910
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14911
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14912
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14913
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14914
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14915
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14916
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14917
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14918
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14919
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14920
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14921
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14922
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14923
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14924
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14925
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14926
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14927
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14928
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14929
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14930
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14931
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14932
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14933
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14934
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14935
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14936
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14937
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14938
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14939
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14940
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14941
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14942
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14943
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14944
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14945
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14946
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14947
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14948
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14949
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14950
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14951
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14952
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14953
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"`'
14954
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14955
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14956
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14957
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14958
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14959
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14960
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14961
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14962
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14963
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14964
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14965
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14966
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14967
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14968
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14969
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14970
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14971
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14972
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14973
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14974
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14975
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14976
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14977
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14978
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14979
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14980
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14981
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14982
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14983
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14984
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14985
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14986
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14987
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14988
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14989
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14990
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14991
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14992
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14993
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14994
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14995
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14996
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14997
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14998
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14999
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15000
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15001
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15002
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15003
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15004
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15005
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15006
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15007
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15008
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15009
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15010
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15011
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15012
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15013
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15014
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15015
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15016
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15017
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15018
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15019
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15020
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15021
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15022
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15023
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15024
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15025
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15026
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15027
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14187
15030
LTCFLAGS='$LTCFLAGS'
14188
15031
compiler='$compiler_DEFAULT'
15033
# A function that is used when there is no print builtin or printf.
15034
func_fallback_echo ()
15036
eval 'cat <<_LTECHO_EOF
14190
15041
# Quote evaled strings.
15451
16355
# if finds mixed CR/LF and LF-only lines. Since sed operates in
15452
16356
# text mode, it properly converts lines to CR/LF. This bash problem
15453
16357
# is reportedly fixed, but why not run on old versions too?
15454
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15455
|| (rm -f "$cfgfile"; exit 1)
15459
cat << \_LT_EOF >> "$cfgfile"
15461
# func_dirname file append nondir_replacement
15462
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15463
# otherwise set result to NONDIR_REPLACEMENT.
15467
*/*) func_dirname_result="${1%/*}${2}" ;;
15468
* ) func_dirname_result="${3}" ;;
15472
# func_basename file
15475
func_basename_result="${1##*/}"
15478
# func_dirname_and_basename file append nondir_replacement
15479
# perform func_basename and func_dirname in a single function
15481
# dirname: Compute the dirname of FILE. If nonempty,
15482
# add APPEND to the result, otherwise set result
15483
# to NONDIR_REPLACEMENT.
15484
# value returned in "$func_dirname_result"
15485
# basename: Compute filename of FILE.
15486
# value retuned in "$func_basename_result"
15487
# Implementation must be kept synchronized with func_dirname
15488
# and func_basename. For efficiency, we do not delegate to
15489
# those functions but instead duplicate the functionality here.
15490
func_dirname_and_basename ()
15493
*/*) func_dirname_result="${1%/*}${2}" ;;
15494
* ) func_dirname_result="${3}" ;;
15496
func_basename_result="${1##*/}"
15499
# func_stripname prefix suffix name
15500
# strip PREFIX and SUFFIX off of NAME.
15501
# PREFIX and SUFFIX must not contain globbing or regex special
15502
# characters, hashes, percent signs, but SUFFIX may contain a leading
15503
# dot (in which case that matches only a dot).
15506
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15507
# positional parameters, so assign one to ordinary parameter first.
15508
func_stripname_result=${3}
15509
func_stripname_result=${func_stripname_result#"${1}"}
15510
func_stripname_result=${func_stripname_result%"${2}"}
15516
func_opt_split_opt=${1%%=*}
15517
func_opt_split_arg=${1#*=}
15524
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15525
*) func_lo2o_result=${1} ;;
15529
# func_xform libobj-or-source
15532
func_xform_result=${1%.*}.lo
15535
# func_arith arithmetic-term...
15538
func_arith_result=$(( $* ))
15542
# STRING may not start with a hyphen.
15545
func_len_result=${#1}
15550
*) # Bourne compatible functions.
15551
cat << \_LT_EOF >> "$cfgfile"
15553
# func_dirname file append nondir_replacement
15554
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15555
# otherwise set result to NONDIR_REPLACEMENT.
15558
# Extract subdirectory from the argument.
15559
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15560
if test "X$func_dirname_result" = "X${1}"; then
15561
func_dirname_result="${3}"
15563
func_dirname_result="$func_dirname_result${2}"
15567
# func_basename file
15570
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15574
# func_stripname prefix suffix name
15575
# strip PREFIX and SUFFIX off of NAME.
15576
# PREFIX and SUFFIX must not contain globbing or regex special
15577
# characters, hashes, percent signs, but SUFFIX may contain a leading
15578
# dot (in which case that matches only a dot).
15579
# func_strip_suffix prefix name
15583
.*) func_stripname_result=`$ECHO "X${3}" \
15584
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15585
*) func_stripname_result=`$ECHO "X${3}" \
15586
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15591
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15592
my_sed_long_arg='1s/^-[^=]*=//'
15597
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15598
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15604
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15607
# func_xform libobj-or-source
15610
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15613
# func_arith arithmetic-term...
15616
func_arith_result=`expr "$@"`
15620
# STRING may not start with a hyphen.
15623
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15629
case $lt_shell_append in
15631
cat << \_LT_EOF >> "$cfgfile"
15633
# func_append var value
15634
# Append VALUE to the end of shell variable VAR.
15642
cat << \_LT_EOF >> "$cfgfile"
15644
# func_append var value
15645
# Append VALUE to the end of shell variable VAR.
15656
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15657
|| (rm -f "$cfgfile"; exit 1)
15659
mv -f "$cfgfile" "$ofile" ||
16358
sed '$q' "$ltmain" >> "$cfgfile" \
16359
|| (rm -f "$cfgfile"; exit 1)
16361
if test x"$xsi_shell" = xyes; then
16362
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16366
\ */*) func_dirname_result="${1%/*}${2}" ;;\
16367
\ * ) func_dirname_result="${3}" ;;\
16369
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16370
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16371
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16372
test 0 -eq $? || _lt_function_replace_fail=:
16375
sed -e '/^func_basename ()$/,/^} # func_basename /c\
16378
\ func_basename_result="${1##*/}"\
16379
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16380
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16381
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16382
test 0 -eq $? || _lt_function_replace_fail=:
16385
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16386
func_dirname_and_basename ()\
16389
\ */*) func_dirname_result="${1%/*}${2}" ;;\
16390
\ * ) func_dirname_result="${3}" ;;\
16392
\ func_basename_result="${1##*/}"\
16393
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16394
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16395
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16396
test 0 -eq $? || _lt_function_replace_fail=:
16399
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16402
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16403
\ # positional parameters, so assign one to ordinary parameter first.\
16404
\ func_stripname_result=${3}\
16405
\ func_stripname_result=${func_stripname_result#"${1}"}\
16406
\ func_stripname_result=${func_stripname_result%"${2}"}\
16407
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16408
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16409
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16410
test 0 -eq $? || _lt_function_replace_fail=:
16413
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16414
func_split_long_opt ()\
16416
\ func_split_long_opt_name=${1%%=*}\
16417
\ func_split_long_opt_arg=${1#*=}\
16418
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16419
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16420
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16421
test 0 -eq $? || _lt_function_replace_fail=:
16424
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16425
func_split_short_opt ()\
16427
\ func_split_short_opt_arg=${1#??}\
16428
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16429
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16430
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16431
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16432
test 0 -eq $? || _lt_function_replace_fail=:
16435
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16439
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16440
\ *) func_lo2o_result=${1} ;;\
16442
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16443
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16444
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16445
test 0 -eq $? || _lt_function_replace_fail=:
16448
sed -e '/^func_xform ()$/,/^} # func_xform /c\
16451
func_xform_result=${1%.*}.lo\
16452
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16453
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16454
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16455
test 0 -eq $? || _lt_function_replace_fail=:
16458
sed -e '/^func_arith ()$/,/^} # func_arith /c\
16461
func_arith_result=$(( $* ))\
16462
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16463
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16464
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16465
test 0 -eq $? || _lt_function_replace_fail=:
16468
sed -e '/^func_len ()$/,/^} # func_len /c\
16471
func_len_result=${#1}\
16472
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16473
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16474
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16475
test 0 -eq $? || _lt_function_replace_fail=:
16479
if test x"$lt_shell_append" = xyes; then
16480
sed -e '/^func_append ()$/,/^} # func_append /c\
16483
eval "${1}+=\\${2}"\
16484
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16485
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16486
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16487
test 0 -eq $? || _lt_function_replace_fail=:
16490
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16491
func_append_quoted ()\
16493
\ func_quote_for_eval "${2}"\
16494
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16495
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16496
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16497
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16498
test 0 -eq $? || _lt_function_replace_fail=:
16501
# Save a `func_append' function call where possible by direct use of '+='
16502
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16503
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16504
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16505
test 0 -eq $? || _lt_function_replace_fail=:
16507
# Save a `func_append' function call even when '+=' is not available
16508
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16509
&& mv -f "$cfgfile.tmp" "$cfgfile" \
16510
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16511
test 0 -eq $? || _lt_function_replace_fail=:
16514
if test x"$_lt_function_replace_fail" = x":"; then
16515
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16516
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16520
mv -f "$cfgfile" "$ofile" ||
15660
16521
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15661
16522
chmod +x "$ofile"