529
545
# Sed expression to map a string onto a valid variable name.
530
546
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
# Check that we are running under the correct shell.
535
548
SHELL=${CONFIG_SHELL-/bin/sh}
539
# Remove one level of quotation (which was required for Make).
540
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
545
if test "X$1" = X--no-reexec; then
546
# Discard the --no-reexec flag, and continue.
548
elif test "X$1" = X--fallback-echo; then
549
# Avoid inline document here, it may be left over
551
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552
# Yippee, $ECHO works!
555
# Restart under the correct shell.
556
exec $SHELL "$0" --no-reexec ${1+"$@"}
559
if test "X$1" = X--fallback-echo; then
560
# used as fallback echo
568
# The HP-UX ksh and POSIX shell print the target directory to stdout
570
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
572
if test -z "$lt_ECHO"; then
573
if test "X${echo_test_string+set}" != Xset; then
574
# find a string as large as possible, as long as the shell can cope with it
575
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
585
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587
test "X$echo_testing_string" = "X$echo_test_string"; then
590
# The Solaris, AIX, and Digital Unix default echo programs unquote
591
# backslashes. This makes it impossible to quote backslashes using
592
# echo "$something" | sed 's/\\/\\\\/g'
594
# So, first we look for a working echo in the user's PATH.
596
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597
for dir in $PATH /usr/ucb; do
599
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602
test "X$echo_testing_string" = "X$echo_test_string"; then
609
if test "X$ECHO" = Xecho; then
610
# We didn't find a better echo, so look for alternatives.
611
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613
test "X$echo_testing_string" = "X$echo_test_string"; then
614
# This shell has a builtin print -r that does the trick.
616
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617
test "X$CONFIG_SHELL" != X/bin/ksh; then
618
# If we have ksh, try running configure again with it.
619
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620
export ORIGINAL_CONFIG_SHELL
621
CONFIG_SHELL=/bin/ksh
623
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
627
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629
test "X$echo_testing_string" = "X$echo_test_string"; then
632
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633
test "X$echo_testing_string" = 'X\t' &&
634
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635
test "X$echo_testing_string" = "X$echo_test_string"; then
636
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
638
SHELL="$CONFIG_SHELL"
640
ECHO="$CONFIG_SHELL $0 --fallback-echo"
641
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642
test "X$echo_testing_string" = 'X\t' &&
643
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644
test "X$echo_testing_string" = "X$echo_test_string"; then
645
ECHO="$CONFIG_SHELL $0 --fallback-echo"
647
# maybe with a smaller string...
650
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
658
if test "$prev" != 'sed 50q "$0"'; then
659
echo_test_string=`eval $prev`
660
export echo_test_string
661
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
663
# Oops. We lost completely, so just stick with echo.
672
# Copy echo and quote the copy suitably for passing to libtool from
673
# the Makefile, instead of quoting the original, which is used later.
675
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681
550
as_awk_strverscmp='
682
551
# Use only awk features that work with 7th edition Unix awk (1978).
683
552
# My, what an old awk you have, Mr. Solaris!
6453
if test -n "$ac_tool_prefix"; then
6454
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6455
set dummy ${ac_tool_prefix}ar; ac_word=$2
6456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457
$as_echo_n "checking for $ac_word... " >&6; }
6458
if test "${ac_cv_prog_AR+set}" = set; then :
6514
if test -n "$ac_tool_prefix"; then
6515
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6516
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6518
$as_echo_n "checking for $ac_word... " >&6; }
6519
if ${ac_cv_prog_DLLTOOL+:} false; then :
6520
$as_echo_n "(cached) " >&6
6522
if test -n "$DLLTOOL"; then
6523
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6525
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529
test -z "$as_dir" && as_dir=.
6530
for ac_exec_ext in '' $ac_executable_extensions; do
6531
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6532
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6533
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6542
DLLTOOL=$ac_cv_prog_DLLTOOL
6543
if test -n "$DLLTOOL"; then
6544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6545
$as_echo "$DLLTOOL" >&6; }
6547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6548
$as_echo "no" >&6; }
6553
if test -z "$ac_cv_prog_DLLTOOL"; then
6554
ac_ct_DLLTOOL=$DLLTOOL
6555
# Extract the first word of "dlltool", so it can be a program name with args.
6556
set dummy dlltool; ac_word=$2
6557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6558
$as_echo_n "checking for $ac_word... " >&6; }
6559
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6560
$as_echo_n "(cached) " >&6
6562
if test -n "$ac_ct_DLLTOOL"; then
6563
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6565
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6569
test -z "$as_dir" && as_dir=.
6570
for ac_exec_ext in '' $ac_executable_extensions; do
6571
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6572
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6573
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6582
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6583
if test -n "$ac_ct_DLLTOOL"; then
6584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6585
$as_echo "$ac_ct_DLLTOOL" >&6; }
6587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588
$as_echo "no" >&6; }
6591
if test "x$ac_ct_DLLTOOL" = x; then
6594
case $cross_compiling:$ac_tool_warned in
6596
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6597
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6598
ac_tool_warned=yes ;;
6600
DLLTOOL=$ac_ct_DLLTOOL
6603
DLLTOOL="$ac_cv_prog_DLLTOOL"
6606
test -z "$DLLTOOL" && DLLTOOL=dlltool
6617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6618
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6619
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6620
$as_echo_n "(cached) " >&6
6622
lt_cv_sharedlib_from_linklib_cmd='unknown'
6625
cygwin* | mingw* | pw32* | cegcc*)
6626
# two different shell functions defined in ltmain.sh
6627
# decide which to use based on capabilities of $DLLTOOL
6628
case `$DLLTOOL --help 2>&1` in
6629
*--identify-strict*)
6630
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6633
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6638
# fallback: assume linklib IS sharedlib
6639
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6645
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6646
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6647
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6655
if test -n "$ac_tool_prefix"; then
6658
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6659
set dummy $ac_tool_prefix$ac_prog; 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_AR+:} false; then :
6459
6663
$as_echo_n "(cached) " >&6
6461
6665
if test -n "$AR"; then
7256
7598
need_locks="$enable_libtool_lock"
7600
if test -n "$ac_tool_prefix"; then
7601
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7602
set dummy ${ac_tool_prefix}mt; ac_word=$2
7603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7604
$as_echo_n "checking for $ac_word... " >&6; }
7605
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7606
$as_echo_n "(cached) " >&6
7608
if test -n "$MANIFEST_TOOL"; then
7609
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7611
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7615
test -z "$as_dir" && as_dir=.
7616
for ac_exec_ext in '' $ac_executable_extensions; do
7617
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7618
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7619
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7628
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7629
if test -n "$MANIFEST_TOOL"; then
7630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7631
$as_echo "$MANIFEST_TOOL" >&6; }
7633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7634
$as_echo "no" >&6; }
7639
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7640
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7641
# Extract the first word of "mt", so it can be a program name with args.
7642
set dummy mt; ac_word=$2
7643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7644
$as_echo_n "checking for $ac_word... " >&6; }
7645
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7646
$as_echo_n "(cached) " >&6
7648
if test -n "$ac_ct_MANIFEST_TOOL"; then
7649
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7651
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7655
test -z "$as_dir" && as_dir=.
7656
for ac_exec_ext in '' $ac_executable_extensions; do
7657
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7658
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7659
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7668
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7669
if test -n "$ac_ct_MANIFEST_TOOL"; then
7670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7671
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7674
$as_echo "no" >&6; }
7677
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7680
case $cross_compiling:$ac_tool_warned in
7682
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7683
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7684
ac_tool_warned=yes ;;
7686
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7689
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7692
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7694
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7695
if ${lt_cv_path_mainfest_tool+:} false; then :
7696
$as_echo_n "(cached) " >&6
7698
lt_cv_path_mainfest_tool=no
7699
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7700
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7701
cat conftest.err >&5
7702
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7703
lt_cv_path_mainfest_tool=yes
7707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7708
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7709
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7259
7718
case $host_os in
7260
7719
rhapsody* | darwin*)
9466
10033
# Microsoft Visual C++.
9467
10034
# hardcode_libdir_flag_spec is actually meaningless, as there is
9468
10035
# no search path for DLLs.
9469
hardcode_libdir_flag_spec=' '
9470
allow_undefined_flag=unsupported
9471
# Tell ltmain to make .lib files, not .a files.
9473
# Tell ltmain to make .dll files, not .so files.
9475
# FIXME: Setting linknames here is a bad hack.
9476
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9477
# The linker will automatically build a .lib file if we build a DLL.
9478
old_archive_from_new_cmds='true'
9479
# FIXME: Should let the user specify the lib program.
9480
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9481
fix_srcfile_path='`cygpath -w "$srcfile"`'
9482
enable_shared_with_static_runtimes=yes
10036
case $cc_basename in
10039
hardcode_libdir_flag_spec=' '
10040
allow_undefined_flag=unsupported
10041
always_export_symbols=yes
10043
# Tell ltmain to make .lib files, not .a files.
10045
# Tell ltmain to make .dll files, not .so files.
10047
# FIXME: Setting linknames here is a bad hack.
10048
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10049
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10050
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10052
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10054
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10056
# The linker will not automatically build a static lib if we build a DLL.
10057
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10058
enable_shared_with_static_runtimes=yes
10059
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10061
old_postinstall_cmds='chmod 644 $oldlib'
10062
postlink_cmds='lt_outputfile="@OUTPUT@"~
10063
lt_tool_outputfile="@TOOL_OUTPUT@"~
10064
case $lt_outputfile in
10067
lt_outputfile="$lt_outputfile.exe"
10068
lt_tool_outputfile="$lt_tool_outputfile.exe"
10071
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10072
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10073
$RM "$lt_outputfile.manifest";
10077
# Assume MSVC wrapper
10078
hardcode_libdir_flag_spec=' '
10079
allow_undefined_flag=unsupported
10080
# Tell ltmain to make .lib files, not .a files.
10082
# Tell ltmain to make .dll files, not .so files.
10084
# FIXME: Setting linknames here is a bad hack.
10085
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10086
# The linker will automatically build a .lib file if we build a DLL.
10087
old_archive_from_new_cmds='true'
10088
# FIXME: Should let the user specify the lib program.
10089
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10090
enable_shared_with_static_runtimes=yes
9485
10095
darwin* | rhapsody*)
10333
11019
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10334
11020
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10335
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11022
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10337
11024
mingw* | cegcc*)
10338
11025
# MinGW DLLs use traditional 'lib' prefix
10339
11026
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10340
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10341
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10342
# It is most probably a Windows format PATH printed by
10343
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10344
# path with ; separators, and with drive letters. We can handle the
10345
# drive letters (cygwin fileutils understands them), so leave them,
10346
# especially as we might pass files found there to a mingw objdump,
10347
# which wouldn't understand a cygwinified path. Ahh.
10348
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10350
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10354
11029
# pw32 DLLs use 'pw' prefix rather than 'lib'
10355
11030
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11033
dynamic_linker='Win32 ld.exe'
11038
libname_spec='$name'
11039
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11040
library_names_spec='${libname}.dll.lib'
11044
sys_lib_search_path_spec=
11047
for lt_path in $LIB
11050
# Let DOS variable expansion print the short 8.3 style file name.
11051
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11052
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11055
# Convert to MSYS style.
11056
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11059
# Convert to unix form, then to dos form, then back to unix form
11060
# but this time dos style (no spaces!) so that the unix form looks
11061
# like /cygdrive/c/PROGRA~1:/cygdr...
11062
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11063
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11064
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11067
sys_lib_search_path_spec="$LIB"
11068
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11069
# It is most probably a Windows format PATH.
11070
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11072
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11074
# FIXME: find the short name or the path components, as spaces are
11075
# common. (e.g. "Program Files" -> "PROGRA~1")
11079
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11080
postinstall_cmds='base_file=`basename \${file}`~
11081
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11082
dldir=$destdir/`dirname \$dlpath`~
11083
test -d \$dldir || mkdir -p \$dldir~
11084
$install_prog $dir/$dlname \$dldir/$dlname'
11085
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11086
dlpath=$dir/\$dldll~
11088
shlibpath_overrides_runpath=yes
11089
dynamic_linker='Win32 link.exe'
11093
# Assume MSVC wrapper
10361
11094
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11095
dynamic_linker='Win32 ld.exe'
10364
dynamic_linker='Win32 ld.exe'
10365
11098
# FIXME: first we should search . and the directory the executable is in
10366
11099
shlibpath_var=PATH
12277
13072
pkg_failed=no
12278
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PBU" >&5
12279
$as_echo_n "checking for GST_PBU... " >&6; }
12281
if test -n "$GST_PBU_CFLAGS"; then
12282
pkg_cv_GST_PBU_CFLAGS="$GST_PBU_CFLAGS"
12283
elif test -n "$PKG_CONFIG"; then
12284
if test -n "$PKG_CONFIG" && \
12285
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-0.10 >= \$GSTPBU_REQUIRED\""; } >&5
12286
($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-0.10 >= $GSTPBU_REQUIRED") 2>&5
12288
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12289
test $ac_status = 0; }; then
12290
pkg_cv_GST_PBU_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-pbutils-0.10 >= $GSTPBU_REQUIRED" 2>/dev/null`
12297
if test -n "$GST_PBU_LIBS"; then
12298
pkg_cv_GST_PBU_LIBS="$GST_PBU_LIBS"
12299
elif test -n "$PKG_CONFIG"; then
12300
if test -n "$PKG_CONFIG" && \
12301
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-pbutils-0.10 >= \$GSTPBU_REQUIRED\""; } >&5
12302
($PKG_CONFIG --exists --print-errors "gstreamer-pbutils-0.10 >= $GSTPBU_REQUIRED") 2>&5
12304
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12305
test $ac_status = 0; }; then
12306
pkg_cv_GST_PBU_LIBS=`$PKG_CONFIG --libs "gstreamer-pbutils-0.10 >= $GSTPBU_REQUIRED" 2>/dev/null`
12316
if test $pkg_failed = yes; then
12317
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12318
$as_echo "no" >&6; }
12320
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12321
_pkg_short_errors_supported=yes
12323
_pkg_short_errors_supported=no
12325
if test $_pkg_short_errors_supported = yes; then
12326
GST_PBU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gstreamer-pbutils-0.10 >= $GSTPBU_REQUIRED" 2>&1`
12328
GST_PBU_PKG_ERRORS=`$PKG_CONFIG --print-errors "gstreamer-pbutils-0.10 >= $GSTPBU_REQUIRED" 2>&1`
12330
# Put the nasty error message in config.log where it belongs
12331
echo "$GST_PBU_PKG_ERRORS" >&5
12333
as_fn_error $? "Package requirements (gstreamer-pbutils-0.10 >= $GSTPBU_REQUIRED) were not met:
12335
$GST_PBU_PKG_ERRORS
12337
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12338
installed software in a non-standard prefix.
12340
Alternatively, you may set the environment variables GST_PBU_CFLAGS
12341
and GST_PBU_LIBS to avoid the need to call pkg-config.
12342
See the pkg-config man page for more details." "$LINENO" 5
12343
elif test $pkg_failed = untried; then
12344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12345
$as_echo "no" >&6; }
12346
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12347
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12348
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12349
is in your PATH or set the PKG_CONFIG environment variable to the full
12350
path to pkg-config.
12352
Alternatively, you may set the environment variables GST_PBU_CFLAGS
12353
and GST_PBU_LIBS to avoid the need to call pkg-config.
12354
See the pkg-config man page for more details.
12356
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12357
See \`config.log' for more details" "$LINENO" 5 ; }
12359
GST_PBU_CFLAGS=$pkg_cv_GST_PBU_CFLAGS
12360
GST_PBU_LIBS=$pkg_cv_GST_PBU_LIBS
12361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12362
$as_echo "yes" >&6; }
12367
13073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGIO" >&5
12368
13074
$as_echo_n "checking for LIBGIO... " >&6; }
15898
16557
sed_quote_subst='$sed_quote_subst'
15899
16558
double_quote_subst='$double_quote_subst'
15900
16559
delay_variable_subst='$delay_variable_subst'
15901
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15902
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15903
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15904
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15905
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15906
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15907
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15908
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15909
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15910
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15911
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15912
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15913
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15914
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15915
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15916
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15917
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15918
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15919
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15920
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15921
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15922
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15923
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15924
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15925
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15926
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15927
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15928
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15929
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15930
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15931
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15932
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15933
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15934
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15935
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15936
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15937
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15938
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15939
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15940
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15941
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15942
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15943
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15944
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15945
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"`'
15946
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"`'
15947
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15948
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15949
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15950
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15951
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15952
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15953
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15954
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15955
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15956
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15957
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15958
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15959
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15960
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15961
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15962
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15963
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15964
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15965
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15966
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15967
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15968
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15969
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15970
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15971
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15972
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15973
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15974
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15975
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15976
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15977
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15978
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15979
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15980
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15981
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15982
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15983
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15984
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15985
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15986
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15987
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15988
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15989
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15990
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15991
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15992
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15993
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15994
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15995
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15996
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15997
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15998
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15999
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16000
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16001
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16002
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16003
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16004
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16005
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16006
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16007
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16008
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16009
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16010
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16011
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16012
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16013
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16014
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16015
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16016
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16017
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16018
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16560
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16561
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16562
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16563
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16564
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16565
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16566
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16567
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16568
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16569
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16570
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16571
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16572
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16573
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16574
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16575
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16576
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16577
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16578
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16579
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16580
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16581
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16582
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16583
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16584
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16585
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16586
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16587
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16588
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16589
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16590
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16591
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16592
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16593
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16594
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16595
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16596
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16597
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16598
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16599
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16600
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16601
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16602
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16603
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16604
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16605
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16606
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16607
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16608
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16609
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16610
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16611
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16612
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16613
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16614
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16615
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"`'
16616
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16617
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16618
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16619
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16620
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16621
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16622
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16623
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16624
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16625
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16626
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16627
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16628
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16629
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16630
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16631
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16632
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16633
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16634
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16635
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16636
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16637
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16638
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16639
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16640
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16641
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16642
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16643
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16644
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16645
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16646
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16647
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16648
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16649
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16650
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16651
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16652
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16653
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16654
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16655
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16656
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16657
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16658
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16659
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16660
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16661
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16662
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16663
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16664
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16665
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16666
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16667
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16668
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16669
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16670
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16671
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16672
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16673
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16674
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16675
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16676
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16677
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16678
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16679
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16680
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16681
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16682
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16683
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16684
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16685
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16686
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16687
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16688
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16689
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16021
16692
LTCFLAGS='$LTCFLAGS'
16022
16693
compiler='$compiler_DEFAULT'
16695
# A function that is used when there is no print builtin or printf.
16696
func_fallback_echo ()
16698
eval 'cat <<_LTECHO_EOF
16024
16703
# Quote evaled strings.
17297
18020
# if finds mixed CR/LF and LF-only lines. Since sed operates in
17298
18021
# text mode, it properly converts lines to CR/LF. This bash problem
17299
18022
# is reportedly fixed, but why not run on old versions too?
17300
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17301
|| (rm -f "$cfgfile"; exit 1)
17305
cat << \_LT_EOF >> "$cfgfile"
17307
# func_dirname file append nondir_replacement
17308
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
17309
# otherwise set result to NONDIR_REPLACEMENT.
17313
*/*) func_dirname_result="${1%/*}${2}" ;;
17314
* ) func_dirname_result="${3}" ;;
17318
# func_basename file
17321
func_basename_result="${1##*/}"
17324
# func_dirname_and_basename file append nondir_replacement
17325
# perform func_basename and func_dirname in a single function
17327
# dirname: Compute the dirname of FILE. If nonempty,
17328
# add APPEND to the result, otherwise set result
17329
# to NONDIR_REPLACEMENT.
17330
# value returned in "$func_dirname_result"
17331
# basename: Compute filename of FILE.
17332
# value retuned in "$func_basename_result"
17333
# Implementation must be kept synchronized with func_dirname
17334
# and func_basename. For efficiency, we do not delegate to
17335
# those functions but instead duplicate the functionality here.
17336
func_dirname_and_basename ()
17339
*/*) func_dirname_result="${1%/*}${2}" ;;
17340
* ) func_dirname_result="${3}" ;;
17342
func_basename_result="${1##*/}"
17345
# func_stripname prefix suffix name
17346
# strip PREFIX and SUFFIX off of NAME.
17347
# PREFIX and SUFFIX must not contain globbing or regex special
17348
# characters, hashes, percent signs, but SUFFIX may contain a leading
17349
# dot (in which case that matches only a dot).
17352
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17353
# positional parameters, so assign one to ordinary parameter first.
17354
func_stripname_result=${3}
17355
func_stripname_result=${func_stripname_result#"${1}"}
17356
func_stripname_result=${func_stripname_result%"${2}"}
17362
func_opt_split_opt=${1%%=*}
17363
func_opt_split_arg=${1#*=}
17370
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17371
*) func_lo2o_result=${1} ;;
17375
# func_xform libobj-or-source
17378
func_xform_result=${1%.*}.lo
17381
# func_arith arithmetic-term...
17384
func_arith_result=$(( $* ))
17388
# STRING may not start with a hyphen.
17391
func_len_result=${#1}
17396
*) # Bourne compatible functions.
17397
cat << \_LT_EOF >> "$cfgfile"
17399
# func_dirname file append nondir_replacement
17400
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
17401
# otherwise set result to NONDIR_REPLACEMENT.
17404
# Extract subdirectory from the argument.
17405
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17406
if test "X$func_dirname_result" = "X${1}"; then
17407
func_dirname_result="${3}"
17409
func_dirname_result="$func_dirname_result${2}"
17413
# func_basename file
17416
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17420
# func_stripname prefix suffix name
17421
# strip PREFIX and SUFFIX off of NAME.
17422
# PREFIX and SUFFIX must not contain globbing or regex special
17423
# characters, hashes, percent signs, but SUFFIX may contain a leading
17424
# dot (in which case that matches only a dot).
17425
# func_strip_suffix prefix name
17429
.*) func_stripname_result=`$ECHO "X${3}" \
17430
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17431
*) func_stripname_result=`$ECHO "X${3}" \
17432
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17437
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17438
my_sed_long_arg='1s/^-[^=]*=//'
17443
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17444
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17450
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17453
# func_xform libobj-or-source
17456
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17459
# func_arith arithmetic-term...
17462
func_arith_result=`expr "$@"`
17466
# STRING may not start with a hyphen.
17469
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17475
case $lt_shell_append in
17477
cat << \_LT_EOF >> "$cfgfile"
17479
# func_append var value
17480
# Append VALUE to the end of shell variable VAR.
17488
cat << \_LT_EOF >> "$cfgfile"
17490
# func_append var value
17491
# Append VALUE to the end of shell variable VAR.
17502
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17503
|| (rm -f "$cfgfile"; exit 1)
17505
mv -f "$cfgfile" "$ofile" ||
18023
sed '$q' "$ltmain" >> "$cfgfile" \
18024
|| (rm -f "$cfgfile"; exit 1)
18026
if test x"$xsi_shell" = xyes; then
18027
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18031
\ */*) func_dirname_result="${1%/*}${2}" ;;\
18032
\ * ) func_dirname_result="${3}" ;;\
18034
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18035
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18036
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18037
test 0 -eq $? || _lt_function_replace_fail=:
18040
sed -e '/^func_basename ()$/,/^} # func_basename /c\
18043
\ func_basename_result="${1##*/}"\
18044
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18045
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18046
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18047
test 0 -eq $? || _lt_function_replace_fail=:
18050
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18051
func_dirname_and_basename ()\
18054
\ */*) func_dirname_result="${1%/*}${2}" ;;\
18055
\ * ) func_dirname_result="${3}" ;;\
18057
\ func_basename_result="${1##*/}"\
18058
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18059
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18060
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18061
test 0 -eq $? || _lt_function_replace_fail=:
18064
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18067
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18068
\ # positional parameters, so assign one to ordinary parameter first.\
18069
\ func_stripname_result=${3}\
18070
\ func_stripname_result=${func_stripname_result#"${1}"}\
18071
\ func_stripname_result=${func_stripname_result%"${2}"}\
18072
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18073
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18074
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18075
test 0 -eq $? || _lt_function_replace_fail=:
18078
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18079
func_split_long_opt ()\
18081
\ func_split_long_opt_name=${1%%=*}\
18082
\ func_split_long_opt_arg=${1#*=}\
18083
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18084
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18085
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18086
test 0 -eq $? || _lt_function_replace_fail=:
18089
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18090
func_split_short_opt ()\
18092
\ func_split_short_opt_arg=${1#??}\
18093
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18094
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18095
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18096
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18097
test 0 -eq $? || _lt_function_replace_fail=:
18100
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18104
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18105
\ *) func_lo2o_result=${1} ;;\
18107
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18108
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18109
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18110
test 0 -eq $? || _lt_function_replace_fail=:
18113
sed -e '/^func_xform ()$/,/^} # func_xform /c\
18116
func_xform_result=${1%.*}.lo\
18117
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18118
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18119
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18120
test 0 -eq $? || _lt_function_replace_fail=:
18123
sed -e '/^func_arith ()$/,/^} # func_arith /c\
18126
func_arith_result=$(( $* ))\
18127
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18128
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18129
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18130
test 0 -eq $? || _lt_function_replace_fail=:
18133
sed -e '/^func_len ()$/,/^} # func_len /c\
18136
func_len_result=${#1}\
18137
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18138
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18139
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18140
test 0 -eq $? || _lt_function_replace_fail=:
18144
if test x"$lt_shell_append" = xyes; then
18145
sed -e '/^func_append ()$/,/^} # func_append /c\
18148
eval "${1}+=\\${2}"\
18149
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18150
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18151
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18152
test 0 -eq $? || _lt_function_replace_fail=:
18155
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18156
func_append_quoted ()\
18158
\ func_quote_for_eval "${2}"\
18159
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18160
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18161
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18162
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18163
test 0 -eq $? || _lt_function_replace_fail=:
18166
# Save a `func_append' function call where possible by direct use of '+='
18167
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18168
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18169
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18170
test 0 -eq $? || _lt_function_replace_fail=:
18172
# Save a `func_append' function call even when '+=' is not available
18173
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18174
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18175
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18176
test 0 -eq $? || _lt_function_replace_fail=:
18179
if test x"$_lt_function_replace_fail" = x":"; then
18180
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18181
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18185
mv -f "$cfgfile" "$ofile" ||
17506
18186
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17507
18187
chmod +x "$ofile"