525
564
# Sed expression to map a string onto a valid variable name.
526
565
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
# Check that we are running under the correct shell.
531
567
SHELL=${CONFIG_SHELL-/bin/sh}
535
# Remove one level of quotation (which was required for Make).
536
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541
if test "X$1" = X--no-reexec; then
542
# Discard the --no-reexec flag, and continue.
544
elif test "X$1" = X--fallback-echo; then
545
# Avoid inline document here, it may be left over
547
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
# Yippee, $ECHO works!
551
# Restart under the correct shell.
552
exec $SHELL "$0" --no-reexec ${1+"$@"}
555
if test "X$1" = X--fallback-echo; then
556
# used as fallback echo
564
# The HP-UX ksh and POSIX shell print the target directory to stdout
566
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568
if test -z "$lt_ECHO"; then
569
if test "X${echo_test_string+set}" != Xset; then
570
# find a string as large as possible, as long as the shell can cope with it
571
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
test "X$echo_testing_string" = "X$echo_test_string"; then
586
# The Solaris, AIX, and Digital Unix default echo programs unquote
587
# backslashes. This makes it impossible to quote backslashes using
588
# echo "$something" | sed 's/\\/\\\\/g'
590
# So, first we look for a working echo in the user's PATH.
592
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
for dir in $PATH /usr/ucb; do
595
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
test "X$echo_testing_string" = "X$echo_test_string"; then
605
if test "X$ECHO" = Xecho; then
606
# We didn't find a better echo, so look for alternatives.
607
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
test "X$echo_testing_string" = "X$echo_test_string"; then
610
# This shell has a builtin print -r that does the trick.
612
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
test "X$CONFIG_SHELL" != X/bin/ksh; then
614
# If we have ksh, try running configure again with it.
615
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
export ORIGINAL_CONFIG_SHELL
617
CONFIG_SHELL=/bin/ksh
619
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
test "X$echo_testing_string" = "X$echo_test_string"; then
628
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
test "X$echo_testing_string" = 'X\t' &&
630
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
test "X$echo_testing_string" = "X$echo_test_string"; then
632
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634
SHELL="$CONFIG_SHELL"
636
ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
test "X$echo_testing_string" = 'X\t' &&
639
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
test "X$echo_testing_string" = "X$echo_test_string"; then
641
ECHO="$CONFIG_SHELL $0 --fallback-echo"
643
# maybe with a smaller string...
646
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654
if test "$prev" != 'sed 50q "$0"'; then
655
echo_test_string=`eval $prev`
656
export echo_test_string
657
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659
# Oops. We lost completely, so just stick with echo.
668
# Copy echo and quote the copy suitably for passing to libtool from
669
# the Makefile, instead of quoting the original, which is used later.
671
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678
570
test -n "$DJDIR" || exec 7<&0 </dev/null
5629
if test -n "$ac_tool_prefix"; then
5630
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5631
set dummy ${ac_tool_prefix}ar; ac_word=$2
5632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633
$as_echo_n "checking for $ac_word... " >&6; }
5634
if test "${ac_cv_prog_AR+set}" = set; then :
5737
if test -n "$ac_tool_prefix"; then
5738
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5739
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5741
$as_echo_n "checking for $ac_word... " >&6; }
5742
if ${ac_cv_prog_DLLTOOL+:} false; then :
5743
$as_echo_n "(cached) " >&6
5745
if test -n "$DLLTOOL"; then
5746
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5748
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752
test -z "$as_dir" && as_dir=.
5753
for ac_exec_ext in '' $ac_executable_extensions; do
5754
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5755
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5756
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5765
DLLTOOL=$ac_cv_prog_DLLTOOL
5766
if test -n "$DLLTOOL"; then
5767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5768
$as_echo "$DLLTOOL" >&6; }
5770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5771
$as_echo "no" >&6; }
5776
if test -z "$ac_cv_prog_DLLTOOL"; then
5777
ac_ct_DLLTOOL=$DLLTOOL
5778
# Extract the first word of "dlltool", so it can be a program name with args.
5779
set dummy dlltool; ac_word=$2
5780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5781
$as_echo_n "checking for $ac_word... " >&6; }
5782
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5783
$as_echo_n "(cached) " >&6
5785
if test -n "$ac_ct_DLLTOOL"; then
5786
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792
test -z "$as_dir" && as_dir=.
5793
for ac_exec_ext in '' $ac_executable_extensions; do
5794
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5795
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5796
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5805
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5806
if test -n "$ac_ct_DLLTOOL"; then
5807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5808
$as_echo "$ac_ct_DLLTOOL" >&6; }
5810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5811
$as_echo "no" >&6; }
5814
if test "x$ac_ct_DLLTOOL" = x; then
5817
case $cross_compiling:$ac_tool_warned in
5819
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5820
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5821
ac_tool_warned=yes ;;
5823
DLLTOOL=$ac_ct_DLLTOOL
5826
DLLTOOL="$ac_cv_prog_DLLTOOL"
5829
test -z "$DLLTOOL" && DLLTOOL=dlltool
5840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5841
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5842
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5843
$as_echo_n "(cached) " >&6
5845
lt_cv_sharedlib_from_linklib_cmd='unknown'
5848
cygwin* | mingw* | pw32* | cegcc*)
5849
# two different shell functions defined in ltmain.sh
5850
# decide which to use based on capabilities of $DLLTOOL
5851
case `$DLLTOOL --help 2>&1` in
5852
*--identify-strict*)
5853
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5856
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5861
# fallback: assume linklib IS sharedlib
5862
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5868
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5869
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5870
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5878
if test -n "$ac_tool_prefix"; then
5881
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5882
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5884
$as_echo_n "checking for $ac_word... " >&6; }
5885
if ${ac_cv_prog_AR+:} false; then :
5635
5886
$as_echo_n "(cached) " >&6
5637
5888
if test -n "$AR"; then
6432
6842
need_locks="$enable_libtool_lock"
6844
if test -n "$ac_tool_prefix"; then
6845
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6846
set dummy ${ac_tool_prefix}mt; ac_word=$2
6847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6848
$as_echo_n "checking for $ac_word... " >&6; }
6849
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6850
$as_echo_n "(cached) " >&6
6852
if test -n "$MANIFEST_TOOL"; then
6853
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6855
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6859
test -z "$as_dir" && as_dir=.
6860
for ac_exec_ext in '' $ac_executable_extensions; do
6861
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6862
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6863
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6872
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6873
if test -n "$MANIFEST_TOOL"; then
6874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6875
$as_echo "$MANIFEST_TOOL" >&6; }
6877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6878
$as_echo "no" >&6; }
6883
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6884
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6885
# Extract the first word of "mt", so it can be a program name with args.
6886
set dummy mt; ac_word=$2
6887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6888
$as_echo_n "checking for $ac_word... " >&6; }
6889
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6890
$as_echo_n "(cached) " >&6
6892
if test -n "$ac_ct_MANIFEST_TOOL"; then
6893
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6899
test -z "$as_dir" && as_dir=.
6900
for ac_exec_ext in '' $ac_executable_extensions; do
6901
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6902
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6903
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6912
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6913
if test -n "$ac_ct_MANIFEST_TOOL"; then
6914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6915
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6918
$as_echo "no" >&6; }
6921
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6924
case $cross_compiling:$ac_tool_warned in
6926
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6927
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6928
ac_tool_warned=yes ;;
6930
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6933
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6936
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6938
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6939
if ${lt_cv_path_mainfest_tool+:} false; then :
6940
$as_echo_n "(cached) " >&6
6942
lt_cv_path_mainfest_tool=no
6943
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6944
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6945
cat conftest.err >&5
6946
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6947
lt_cv_path_mainfest_tool=yes
6951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6952
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6953
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6435
6962
case $host_os in
6436
6963
rhapsody* | darwin*)
8644
9323
# Microsoft Visual C++.
8645
9324
# hardcode_libdir_flag_spec is actually meaningless, as there is
8646
9325
# no search path for DLLs.
8647
hardcode_libdir_flag_spec=' '
8648
allow_undefined_flag=unsupported
8649
# Tell ltmain to make .lib files, not .a files.
8651
# Tell ltmain to make .dll files, not .so files.
8653
# FIXME: Setting linknames here is a bad hack.
8654
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8655
# The linker will automatically build a .lib file if we build a DLL.
8656
old_archive_from_new_cmds='true'
8657
# FIXME: Should let the user specify the lib program.
8658
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8659
fix_srcfile_path='`cygpath -w "$srcfile"`'
8660
enable_shared_with_static_runtimes=yes
9326
case $cc_basename in
9329
hardcode_libdir_flag_spec=' '
9330
allow_undefined_flag=unsupported
9331
always_export_symbols=yes
9333
# Tell ltmain to make .lib files, not .a files.
9335
# Tell ltmain to make .dll files, not .so files.
9337
# FIXME: Setting linknames here is a bad hack.
9338
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9339
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9340
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9342
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9344
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9346
# The linker will not automatically build a static lib if we build a DLL.
9347
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9348
enable_shared_with_static_runtimes=yes
9349
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9350
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9352
old_postinstall_cmds='chmod 644 $oldlib'
9353
postlink_cmds='lt_outputfile="@OUTPUT@"~
9354
lt_tool_outputfile="@TOOL_OUTPUT@"~
9355
case $lt_outputfile in
9358
lt_outputfile="$lt_outputfile.exe"
9359
lt_tool_outputfile="$lt_tool_outputfile.exe"
9362
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9363
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9364
$RM "$lt_outputfile.manifest";
9368
# Assume MSVC wrapper
9369
hardcode_libdir_flag_spec=' '
9370
allow_undefined_flag=unsupported
9371
# Tell ltmain to make .lib files, not .a files.
9373
# Tell ltmain to make .dll files, not .so files.
9375
# FIXME: Setting linknames here is a bad hack.
9376
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9377
# The linker will automatically build a .lib file if we build a DLL.
9378
old_archive_from_new_cmds='true'
9379
# FIXME: Should let the user specify the lib program.
9380
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9381
enable_shared_with_static_runtimes=yes
8663
9386
darwin* | rhapsody*)
9511
10301
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9512
10302
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9513
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10304
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9515
10306
mingw* | cegcc*)
9516
10307
# MinGW DLLs use traditional 'lib' prefix
9517
10308
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9518
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9519
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9520
# It is most probably a Windows format PATH printed by
9521
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9522
# path with ; separators, and with drive letters. We can handle the
9523
# drive letters (cygwin fileutils understands them), so leave them,
9524
# especially as we might pass files found there to a mingw objdump,
9525
# which wouldn't understand a cygwinified path. Ahh.
9526
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9528
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9532
10311
# pw32 DLLs use 'pw' prefix rather than 'lib'
9533
10312
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10315
dynamic_linker='Win32 ld.exe'
10320
libname_spec='$name'
10321
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10322
library_names_spec='${libname}.dll.lib'
10326
sys_lib_search_path_spec=
10329
for lt_path in $LIB
10332
# Let DOS variable expansion print the short 8.3 style file name.
10333
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10334
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10337
# Convert to MSYS style.
10338
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10341
# Convert to unix form, then to dos form, then back to unix form
10342
# but this time dos style (no spaces!) so that the unix form looks
10343
# like /cygdrive/c/PROGRA~1:/cygdr...
10344
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10345
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10346
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10349
sys_lib_search_path_spec="$LIB"
10350
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10351
# It is most probably a Windows format PATH.
10352
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10354
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10356
# FIXME: find the short name or the path components, as spaces are
10357
# common. (e.g. "Program Files" -> "PROGRA~1")
10361
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10362
postinstall_cmds='base_file=`basename \${file}`~
10363
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10364
dldir=$destdir/`dirname \$dlpath`~
10365
test -d \$dldir || mkdir -p \$dldir~
10366
$install_prog $dir/$dlname \$dldir/$dlname'
10367
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10368
dlpath=$dir/\$dldll~
10370
shlibpath_overrides_runpath=yes
10371
dynamic_linker='Win32 link.exe'
10375
# Assume MSVC wrapper
9539
10376
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10377
dynamic_linker='Win32 ld.exe'
9542
dynamic_linker='Win32 ld.exe'
9543
10380
# FIXME: first we should search . and the directory the executable is in
9544
10381
shlibpath_var=PATH
10930
11956
PKG_CONFIG=""
11959
if test "$enable_http" != "no"; then :
11963
$as_echo "#define OP_ENABLE_HTTP 1" >>confdefs.h
11967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for URL_DEPS" >&5
11968
$as_echo_n "checking for URL_DEPS... " >&6; }
11970
if test -n "$URL_DEPS_CFLAGS"; then
11971
pkg_cv_URL_DEPS_CFLAGS="$URL_DEPS_CFLAGS"
11972
elif test -n "$PKG_CONFIG"; then
11973
if test -n "$PKG_CONFIG" && \
11974
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
11975
($PKG_CONFIG --exists --print-errors "openssl") 2>&5
11977
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11978
test $ac_status = 0; }; then
11979
pkg_cv_URL_DEPS_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
11980
test "x$?" != "x0" && pkg_failed=yes
11987
if test -n "$URL_DEPS_LIBS"; then
11988
pkg_cv_URL_DEPS_LIBS="$URL_DEPS_LIBS"
11989
elif test -n "$PKG_CONFIG"; then
11990
if test -n "$PKG_CONFIG" && \
11991
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
11992
($PKG_CONFIG --exists --print-errors "openssl") 2>&5
11994
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11995
test $ac_status = 0; }; then
11996
pkg_cv_URL_DEPS_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
11997
test "x$?" != "x0" && pkg_failed=yes
12007
if test $pkg_failed = yes; then
12008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12009
$as_echo "no" >&6; }
12011
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12012
_pkg_short_errors_supported=yes
12014
_pkg_short_errors_supported=no
12016
if test $_pkg_short_errors_supported = yes; then
12017
URL_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "openssl" 2>&1`
12019
URL_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "openssl" 2>&1`
12021
# Put the nasty error message in config.log where it belongs
12022
echo "$URL_DEPS_PKG_ERRORS" >&5
12024
as_fn_error $? "Package requirements (openssl) were not met:
12026
$URL_DEPS_PKG_ERRORS
12028
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12029
installed software in a non-standard prefix.
12031
Alternatively, you may set the environment variables URL_DEPS_CFLAGS
12032
and URL_DEPS_LIBS to avoid the need to call pkg-config.
12033
See the pkg-config man page for more details." "$LINENO" 5
12034
elif test $pkg_failed = untried; then
12035
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12036
$as_echo "no" >&6; }
12037
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12038
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12039
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12040
is in your PATH or set the PKG_CONFIG environment variable to the full
12041
path to pkg-config.
12043
Alternatively, you may set the environment variables URL_DEPS_CFLAGS
12044
and URL_DEPS_LIBS to avoid the need to call pkg-config.
12045
See the pkg-config man page for more details.
12047
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12048
See \`config.log' for more details" "$LINENO" 5; }
12050
URL_DEPS_CFLAGS=$pkg_cv_URL_DEPS_CFLAGS
12051
URL_DEPS_LIBS=$pkg_cv_URL_DEPS_LIBS
12052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12053
$as_echo "yes" >&6; }
12058
if test "$enable_http" != "no"; then
12059
OP_ENABLE_HTTP_TRUE=
12060
OP_ENABLE_HTTP_FALSE='#'
12062
OP_ENABLE_HTTP_TRUE='#'
12063
OP_ENABLE_HTTP_FALSE=
10934
12069
pkg_failed=no
10935
12070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DEPS" >&5
12165
13217
sed_quote_subst='$sed_quote_subst'
12166
13218
double_quote_subst='$double_quote_subst'
12167
13219
delay_variable_subst='$delay_variable_subst'
12168
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
12169
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
12170
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
12171
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
12172
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
12173
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
12174
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
12175
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
12176
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
12177
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
12178
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
12179
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
12180
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
12181
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
12182
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
12183
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
12184
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
12185
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
12186
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
12187
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
12188
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
12189
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
12190
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
12191
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
12192
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
12193
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
12194
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
12195
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12196
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
12197
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
12198
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
12199
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
12200
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12201
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
12202
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
12203
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12204
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12205
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12206
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
12207
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
12208
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
12209
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
12210
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
12211
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
12212
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"`'
12213
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"`'
12214
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
12215
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
12216
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
12217
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
12218
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
12219
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
12220
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
12221
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
12222
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
12223
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
12224
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
12225
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
12226
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
12227
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
12228
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
12229
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
12230
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12231
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12232
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
12233
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
12234
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12235
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12236
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
12237
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12238
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12239
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12240
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12241
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12242
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12243
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
12244
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12245
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
12246
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
12247
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
12248
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
12249
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
12250
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
12251
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
12252
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12253
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
12254
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
12255
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
12256
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
12257
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
12258
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12259
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12260
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
12261
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12262
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
12263
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
12264
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
12265
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
12266
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
12267
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12268
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
12269
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
12270
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12271
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
12272
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
12273
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12274
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12275
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
12276
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
12277
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
12278
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12279
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
12280
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
12281
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
12282
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
12283
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
12284
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
12285
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13220
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13221
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13222
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13223
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13224
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13225
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13226
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13227
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13228
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
13229
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13230
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13231
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13232
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13233
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13234
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13235
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13236
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13237
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13238
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13239
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13240
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13241
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13242
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13243
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13244
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13245
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13246
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13247
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13248
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13249
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13250
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13251
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13252
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13253
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13254
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13255
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13256
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13257
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13258
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13259
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13260
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13261
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13262
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13263
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13264
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13265
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13266
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13267
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13268
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13269
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13270
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13271
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13272
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13273
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13274
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13275
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13276
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"`'
13277
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13278
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13279
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13280
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13281
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13282
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13283
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13284
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13285
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13286
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13287
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13288
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13289
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13290
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13291
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13292
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13293
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13294
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13295
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13296
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13297
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13298
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13299
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13300
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13301
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13302
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13303
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13304
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13305
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13306
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13307
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13308
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13309
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13310
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13311
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13312
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13313
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13314
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13315
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13316
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13317
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13318
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13319
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13320
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13321
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13322
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13323
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13324
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13325
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13326
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13327
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13328
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13329
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13330
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13331
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13332
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13333
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13334
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13335
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13336
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13337
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13338
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13339
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13340
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13341
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13342
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13343
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13344
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13345
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13346
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13347
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13348
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13349
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12288
13352
LTCFLAGS='$LTCFLAGS'
12289
13353
compiler='$compiler_DEFAULT'
13355
# A function that is used when there is no print builtin or printf.
13356
func_fallback_echo ()
13358
eval 'cat <<_LTECHO_EOF
12291
13363
# Quote evaled strings.
13372
14489
# if finds mixed CR/LF and LF-only lines. Since sed operates in
13373
14490
# text mode, it properly converts lines to CR/LF. This bash problem
13374
14491
# is reportedly fixed, but why not run on old versions too?
13375
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13376
|| (rm -f "$cfgfile"; exit 1)
13380
cat << \_LT_EOF >> "$cfgfile"
13382
# func_dirname file append nondir_replacement
13383
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
13384
# otherwise set result to NONDIR_REPLACEMENT.
13388
*/*) func_dirname_result="${1%/*}${2}" ;;
13389
* ) func_dirname_result="${3}" ;;
13393
# func_basename file
13396
func_basename_result="${1##*/}"
13399
# func_dirname_and_basename file append nondir_replacement
13400
# perform func_basename and func_dirname in a single function
13402
# dirname: Compute the dirname of FILE. If nonempty,
13403
# add APPEND to the result, otherwise set result
13404
# to NONDIR_REPLACEMENT.
13405
# value returned in "$func_dirname_result"
13406
# basename: Compute filename of FILE.
13407
# value retuned in "$func_basename_result"
13408
# Implementation must be kept synchronized with func_dirname
13409
# and func_basename. For efficiency, we do not delegate to
13410
# those functions but instead duplicate the functionality here.
13411
func_dirname_and_basename ()
13414
*/*) func_dirname_result="${1%/*}${2}" ;;
13415
* ) func_dirname_result="${3}" ;;
13417
func_basename_result="${1##*/}"
13420
# func_stripname prefix suffix name
13421
# strip PREFIX and SUFFIX off of NAME.
13422
# PREFIX and SUFFIX must not contain globbing or regex special
13423
# characters, hashes, percent signs, but SUFFIX may contain a leading
13424
# dot (in which case that matches only a dot).
13427
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13428
# positional parameters, so assign one to ordinary parameter first.
13429
func_stripname_result=${3}
13430
func_stripname_result=${func_stripname_result#"${1}"}
13431
func_stripname_result=${func_stripname_result%"${2}"}
13437
func_opt_split_opt=${1%%=*}
13438
func_opt_split_arg=${1#*=}
13445
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13446
*) func_lo2o_result=${1} ;;
13450
# func_xform libobj-or-source
13453
func_xform_result=${1%.*}.lo
13456
# func_arith arithmetic-term...
13459
func_arith_result=$(( $* ))
13463
# STRING may not start with a hyphen.
13466
func_len_result=${#1}
13471
*) # Bourne compatible functions.
13472
cat << \_LT_EOF >> "$cfgfile"
13474
# func_dirname file append nondir_replacement
13475
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
13476
# otherwise set result to NONDIR_REPLACEMENT.
13479
# Extract subdirectory from the argument.
13480
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13481
if test "X$func_dirname_result" = "X${1}"; then
13482
func_dirname_result="${3}"
13484
func_dirname_result="$func_dirname_result${2}"
13488
# func_basename file
13491
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13495
# func_stripname prefix suffix name
13496
# strip PREFIX and SUFFIX off of NAME.
13497
# PREFIX and SUFFIX must not contain globbing or regex special
13498
# characters, hashes, percent signs, but SUFFIX may contain a leading
13499
# dot (in which case that matches only a dot).
13500
# func_strip_suffix prefix name
13504
.*) func_stripname_result=`$ECHO "X${3}" \
13505
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13506
*) func_stripname_result=`$ECHO "X${3}" \
13507
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13512
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13513
my_sed_long_arg='1s/^-[^=]*=//'
13518
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13519
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13525
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13528
# func_xform libobj-or-source
13531
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13534
# func_arith arithmetic-term...
13537
func_arith_result=`expr "$@"`
13541
# STRING may not start with a hyphen.
13544
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13550
case $lt_shell_append in
13552
cat << \_LT_EOF >> "$cfgfile"
13554
# func_append var value
13555
# Append VALUE to the end of shell variable VAR.
13563
cat << \_LT_EOF >> "$cfgfile"
13565
# func_append var value
13566
# Append VALUE to the end of shell variable VAR.
13577
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13578
|| (rm -f "$cfgfile"; exit 1)
13580
mv -f "$cfgfile" "$ofile" ||
14492
sed '$q' "$ltmain" >> "$cfgfile" \
14493
|| (rm -f "$cfgfile"; exit 1)
14495
if test x"$xsi_shell" = xyes; then
14496
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14500
\ */*) func_dirname_result="${1%/*}${2}" ;;\
14501
\ * ) func_dirname_result="${3}" ;;\
14503
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14504
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14505
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14506
test 0 -eq $? || _lt_function_replace_fail=:
14509
sed -e '/^func_basename ()$/,/^} # func_basename /c\
14512
\ func_basename_result="${1##*/}"\
14513
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14514
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14515
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14516
test 0 -eq $? || _lt_function_replace_fail=:
14519
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14520
func_dirname_and_basename ()\
14523
\ */*) func_dirname_result="${1%/*}${2}" ;;\
14524
\ * ) func_dirname_result="${3}" ;;\
14526
\ func_basename_result="${1##*/}"\
14527
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14528
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14529
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14530
test 0 -eq $? || _lt_function_replace_fail=:
14533
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14536
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14537
\ # positional parameters, so assign one to ordinary parameter first.\
14538
\ func_stripname_result=${3}\
14539
\ func_stripname_result=${func_stripname_result#"${1}"}\
14540
\ func_stripname_result=${func_stripname_result%"${2}"}\
14541
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14542
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14543
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14544
test 0 -eq $? || _lt_function_replace_fail=:
14547
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14548
func_split_long_opt ()\
14550
\ func_split_long_opt_name=${1%%=*}\
14551
\ func_split_long_opt_arg=${1#*=}\
14552
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14553
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14554
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14555
test 0 -eq $? || _lt_function_replace_fail=:
14558
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14559
func_split_short_opt ()\
14561
\ func_split_short_opt_arg=${1#??}\
14562
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14563
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14564
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14565
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14566
test 0 -eq $? || _lt_function_replace_fail=:
14569
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14573
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14574
\ *) func_lo2o_result=${1} ;;\
14576
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14577
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14578
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14579
test 0 -eq $? || _lt_function_replace_fail=:
14582
sed -e '/^func_xform ()$/,/^} # func_xform /c\
14585
func_xform_result=${1%.*}.lo\
14586
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14587
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14588
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14589
test 0 -eq $? || _lt_function_replace_fail=:
14592
sed -e '/^func_arith ()$/,/^} # func_arith /c\
14595
func_arith_result=$(( $* ))\
14596
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14597
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14598
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14599
test 0 -eq $? || _lt_function_replace_fail=:
14602
sed -e '/^func_len ()$/,/^} # func_len /c\
14605
func_len_result=${#1}\
14606
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14607
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14608
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14609
test 0 -eq $? || _lt_function_replace_fail=:
14613
if test x"$lt_shell_append" = xyes; then
14614
sed -e '/^func_append ()$/,/^} # func_append /c\
14617
eval "${1}+=\\${2}"\
14618
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14619
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14620
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14621
test 0 -eq $? || _lt_function_replace_fail=:
14624
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14625
func_append_quoted ()\
14627
\ func_quote_for_eval "${2}"\
14628
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14629
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14630
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14631
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14632
test 0 -eq $? || _lt_function_replace_fail=:
14635
# Save a `func_append' function call where possible by direct use of '+='
14636
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14637
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14638
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14639
test 0 -eq $? || _lt_function_replace_fail=:
14641
# Save a `func_append' function call even when '+=' is not available
14642
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14643
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14644
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14645
test 0 -eq $? || _lt_function_replace_fail=:
14648
if test x"$_lt_function_replace_fail" = x":"; then
14649
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14650
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14654
mv -f "$cfgfile" "$ofile" ||
13581
14655
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13582
14656
chmod +x "$ofile"