590
606
if (length(v1)) exit 2
595
# Check that we are running under the correct shell.
596
609
SHELL=${CONFIG_SHELL-/bin/sh}
600
# Remove one level of quotation (which was required for Make).
601
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
606
if test "X$1" = X--no-reexec; then
607
# Discard the --no-reexec flag, and continue.
609
elif test "X$1" = X--fallback-echo; then
610
# Avoid inline document here, it may be left over
612
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
613
# Yippee, $ECHO works!
616
# Restart under the correct shell.
617
exec $SHELL "$0" --no-reexec ${1+"$@"}
620
if test "X$1" = X--fallback-echo; then
621
# used as fallback echo
629
# The HP-UX ksh and POSIX shell print the target directory to stdout
631
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
633
if test -z "$lt_ECHO"; then
634
if test "X${echo_test_string+set}" != Xset; then
635
# find a string as large as possible, as long as the shell can cope with it
636
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
637
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
638
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
639
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
646
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
647
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
648
test "X$echo_testing_string" = "X$echo_test_string"; then
651
# The Solaris, AIX, and Digital Unix default echo programs unquote
652
# backslashes. This makes it impossible to quote backslashes using
653
# echo "$something" | sed 's/\\/\\\\/g'
655
# So, first we look for a working echo in the user's PATH.
657
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
658
for dir in $PATH /usr/ucb; do
660
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
661
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
662
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
663
test "X$echo_testing_string" = "X$echo_test_string"; then
670
if test "X$ECHO" = Xecho; then
671
# We didn't find a better echo, so look for alternatives.
672
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
673
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
674
test "X$echo_testing_string" = "X$echo_test_string"; then
675
# This shell has a builtin print -r that does the trick.
677
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
678
test "X$CONFIG_SHELL" != X/bin/ksh; then
679
# If we have ksh, try running configure again with it.
680
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
681
export ORIGINAL_CONFIG_SHELL
682
CONFIG_SHELL=/bin/ksh
684
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
688
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
689
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
690
test "X$echo_testing_string" = "X$echo_test_string"; then
693
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
694
test "X$echo_testing_string" = 'X\t' &&
695
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
696
test "X$echo_testing_string" = "X$echo_test_string"; then
697
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
699
SHELL="$CONFIG_SHELL"
701
ECHO="$CONFIG_SHELL $0 --fallback-echo"
702
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
703
test "X$echo_testing_string" = 'X\t' &&
704
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
705
test "X$echo_testing_string" = "X$echo_test_string"; then
706
ECHO="$CONFIG_SHELL $0 --fallback-echo"
708
# maybe with a smaller string...
711
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
712
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
719
if test "$prev" != 'sed 50q "$0"'; then
720
echo_test_string=`eval $prev`
721
export echo_test_string
722
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
724
# Oops. We lost completely, so just stick with echo.
733
# Copy echo and quote the copy suitably for passing to libtool from
734
# the Makefile, instead of quoting the original, which is used later.
736
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
737
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
743
612
test -n "$DJDIR" || exec 7<&0 </dev/null
5693
if test -n "$ac_tool_prefix"; then
5694
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5695
set dummy ${ac_tool_prefix}ar; ac_word=$2
5696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5697
$as_echo_n "checking for $ac_word... " >&6; }
5698
if test "${ac_cv_prog_AR+set}" = set; then :
5764
if test -n "$ac_tool_prefix"; then
5765
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5766
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5768
$as_echo_n "checking for $ac_word... " >&6; }
5769
if ${ac_cv_prog_DLLTOOL+:} false; then :
5770
$as_echo_n "(cached) " >&6
5772
if test -n "$DLLTOOL"; then
5773
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5775
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779
test -z "$as_dir" && as_dir=.
5780
for ac_exec_ext in '' $ac_executable_extensions; do
5781
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5782
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5783
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5792
DLLTOOL=$ac_cv_prog_DLLTOOL
5793
if test -n "$DLLTOOL"; then
5794
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5795
$as_echo "$DLLTOOL" >&6; }
5797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5798
$as_echo "no" >&6; }
5803
if test -z "$ac_cv_prog_DLLTOOL"; then
5804
ac_ct_DLLTOOL=$DLLTOOL
5805
# Extract the first word of "dlltool", so it can be a program name with args.
5806
set dummy dlltool; ac_word=$2
5807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5808
$as_echo_n "checking for $ac_word... " >&6; }
5809
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5810
$as_echo_n "(cached) " >&6
5812
if test -n "$ac_ct_DLLTOOL"; then
5813
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5815
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5819
test -z "$as_dir" && as_dir=.
5820
for ac_exec_ext in '' $ac_executable_extensions; do
5821
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5822
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5823
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5832
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5833
if test -n "$ac_ct_DLLTOOL"; then
5834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5835
$as_echo "$ac_ct_DLLTOOL" >&6; }
5837
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5838
$as_echo "no" >&6; }
5841
if test "x$ac_ct_DLLTOOL" = x; then
5844
case $cross_compiling:$ac_tool_warned in
5846
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5847
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5848
ac_tool_warned=yes ;;
5850
DLLTOOL=$ac_ct_DLLTOOL
5853
DLLTOOL="$ac_cv_prog_DLLTOOL"
5856
test -z "$DLLTOOL" && DLLTOOL=dlltool
5867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5868
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5869
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5870
$as_echo_n "(cached) " >&6
5872
lt_cv_sharedlib_from_linklib_cmd='unknown'
5875
cygwin* | mingw* | pw32* | cegcc*)
5876
# two different shell functions defined in ltmain.sh
5877
# decide which to use based on capabilities of $DLLTOOL
5878
case `$DLLTOOL --help 2>&1` in
5879
*--identify-strict*)
5880
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5883
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5888
# fallback: assume linklib IS sharedlib
5889
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5895
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5896
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5897
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5905
if test -n "$ac_tool_prefix"; then
5908
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5909
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5911
$as_echo_n "checking for $ac_word... " >&6; }
5912
if ${ac_cv_prog_AR+:} false; then :
5699
5913
$as_echo_n "(cached) " >&6
5701
5915
if test -n "$AR"; then
6496
6848
need_locks="$enable_libtool_lock"
6850
if test -n "$ac_tool_prefix"; then
6851
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6852
set dummy ${ac_tool_prefix}mt; ac_word=$2
6853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6854
$as_echo_n "checking for $ac_word... " >&6; }
6855
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6856
$as_echo_n "(cached) " >&6
6858
if test -n "$MANIFEST_TOOL"; then
6859
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6865
test -z "$as_dir" && as_dir=.
6866
for ac_exec_ext in '' $ac_executable_extensions; do
6867
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6868
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6869
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6878
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6879
if test -n "$MANIFEST_TOOL"; then
6880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6881
$as_echo "$MANIFEST_TOOL" >&6; }
6883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6884
$as_echo "no" >&6; }
6889
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6890
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6891
# Extract the first word of "mt", so it can be a program name with args.
6892
set dummy mt; ac_word=$2
6893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6894
$as_echo_n "checking for $ac_word... " >&6; }
6895
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6896
$as_echo_n "(cached) " >&6
6898
if test -n "$ac_ct_MANIFEST_TOOL"; then
6899
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6901
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6905
test -z "$as_dir" && as_dir=.
6906
for ac_exec_ext in '' $ac_executable_extensions; do
6907
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6908
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6909
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6918
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6919
if test -n "$ac_ct_MANIFEST_TOOL"; then
6920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6921
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6923
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6924
$as_echo "no" >&6; }
6927
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6930
case $cross_compiling:$ac_tool_warned in
6932
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6933
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6934
ac_tool_warned=yes ;;
6936
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6939
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6942
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6944
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6945
if ${lt_cv_path_mainfest_tool+:} false; then :
6946
$as_echo_n "(cached) " >&6
6948
lt_cv_path_mainfest_tool=no
6949
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6950
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6951
cat conftest.err >&5
6952
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6953
lt_cv_path_mainfest_tool=yes
6957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6958
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6959
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6499
6968
case $host_os in
6500
6969
rhapsody* | darwin*)
8725
9302
# Microsoft Visual C++.
8726
9303
# hardcode_libdir_flag_spec is actually meaningless, as there is
8727
9304
# no search path for DLLs.
8728
hardcode_libdir_flag_spec=' '
8729
allow_undefined_flag=unsupported
8730
# Tell ltmain to make .lib files, not .a files.
8732
# Tell ltmain to make .dll files, not .so files.
8734
# FIXME: Setting linknames here is a bad hack.
8735
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8736
# The linker will automatically build a .lib file if we build a DLL.
8737
old_archive_from_new_cmds='true'
8738
# FIXME: Should let the user specify the lib program.
8739
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8740
fix_srcfile_path='`cygpath -w "$srcfile"`'
8741
enable_shared_with_static_runtimes=yes
9305
case $cc_basename in
9308
hardcode_libdir_flag_spec=' '
9309
allow_undefined_flag=unsupported
9310
always_export_symbols=yes
9312
# Tell ltmain to make .lib files, not .a files.
9314
# Tell ltmain to make .dll files, not .so files.
9316
# FIXME: Setting linknames here is a bad hack.
9317
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9318
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9319
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9321
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9323
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9325
# The linker will not automatically build a static lib if we build a DLL.
9326
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9327
enable_shared_with_static_runtimes=yes
9328
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9330
old_postinstall_cmds='chmod 644 $oldlib'
9331
postlink_cmds='lt_outputfile="@OUTPUT@"~
9332
lt_tool_outputfile="@TOOL_OUTPUT@"~
9333
case $lt_outputfile in
9336
lt_outputfile="$lt_outputfile.exe"
9337
lt_tool_outputfile="$lt_tool_outputfile.exe"
9340
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9341
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9342
$RM "$lt_outputfile.manifest";
9346
# Assume MSVC wrapper
9347
hardcode_libdir_flag_spec=' '
9348
allow_undefined_flag=unsupported
9349
# Tell ltmain to make .lib files, not .a files.
9351
# Tell ltmain to make .dll files, not .so files.
9353
# FIXME: Setting linknames here is a bad hack.
9354
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9355
# The linker will automatically build a .lib file if we build a DLL.
9356
old_archive_from_new_cmds='true'
9357
# FIXME: Should let the user specify the lib program.
9358
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9359
enable_shared_with_static_runtimes=yes
8744
9364
darwin* | rhapsody*)
9592
10288
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9593
10289
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9594
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10291
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
9596
10293
mingw* | cegcc*)
9597
10294
# MinGW DLLs use traditional 'lib' prefix
9598
10295
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9599
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9600
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9601
# It is most probably a Windows format PATH printed by
9602
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9603
# path with ; separators, and with drive letters. We can handle the
9604
# drive letters (cygwin fileutils understands them), so leave them,
9605
# especially as we might pass files found there to a mingw objdump,
9606
# which wouldn't understand a cygwinified path. Ahh.
9607
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9609
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9613
10298
# pw32 DLLs use 'pw' prefix rather than 'lib'
9614
10299
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10302
dynamic_linker='Win32 ld.exe'
10307
libname_spec='$name'
10308
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10309
library_names_spec='${libname}.dll.lib'
10313
sys_lib_search_path_spec=
10316
for lt_path in $LIB
10319
# Let DOS variable expansion print the short 8.3 style file name.
10320
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10321
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10324
# Convert to MSYS style.
10325
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10328
# Convert to unix form, then to dos form, then back to unix form
10329
# but this time dos style (no spaces!) so that the unix form looks
10330
# like /cygdrive/c/PROGRA~1:/cygdr...
10331
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10332
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10333
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10336
sys_lib_search_path_spec="$LIB"
10337
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10338
# It is most probably a Windows format PATH.
10339
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10341
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10343
# FIXME: find the short name or the path components, as spaces are
10344
# common. (e.g. "Program Files" -> "PROGRA~1")
10348
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10349
postinstall_cmds='base_file=`basename \${file}`~
10350
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10351
dldir=$destdir/`dirname \$dlpath`~
10352
test -d \$dldir || mkdir -p \$dldir~
10353
$install_prog $dir/$dlname \$dldir/$dlname'
10354
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10355
dlpath=$dir/\$dldll~
10357
shlibpath_overrides_runpath=yes
10358
dynamic_linker='Win32 link.exe'
10362
# Assume MSVC wrapper
9620
10363
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10364
dynamic_linker='Win32 ld.exe'
9623
dynamic_linker='Win32 ld.exe'
9624
10367
# FIXME: first we should search . and the directory the executable is in
9625
10368
shlibpath_var=PATH
13324
14144
sed_quote_subst='$sed_quote_subst'
13325
14145
double_quote_subst='$double_quote_subst'
13326
14146
delay_variable_subst='$delay_variable_subst'
13327
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13328
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13329
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13330
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13331
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13332
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13333
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13334
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13335
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13336
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13337
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13338
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13339
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13340
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13341
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13342
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13343
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13344
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13345
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13346
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13347
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13348
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13349
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13350
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13351
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13352
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13353
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13354
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13355
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13356
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13357
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13358
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13359
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13360
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13361
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13362
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13363
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13364
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13365
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13366
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13367
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13368
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13369
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13370
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13371
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"`'
13372
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"`'
13373
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13374
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13375
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13376
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13377
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13378
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13379
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13380
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13381
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13382
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13383
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13384
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13385
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13386
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13387
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13388
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13389
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13390
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13391
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13392
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13393
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13394
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13395
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13396
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13397
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13398
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13399
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13400
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13401
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13402
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13403
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13404
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13405
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13406
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13407
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13408
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13409
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13410
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13411
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13412
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13413
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13414
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13415
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13416
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13417
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13418
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13419
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13420
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13421
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13422
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13423
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13424
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13425
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13426
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13427
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13428
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13429
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13430
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13431
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13432
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13433
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13434
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13435
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13436
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13437
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13438
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13439
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13440
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13441
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13442
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13443
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13444
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14147
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14148
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14149
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14150
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14151
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14152
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14153
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14154
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14155
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14156
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14157
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14158
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14159
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14160
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14161
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14162
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14163
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14164
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14165
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14166
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14167
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14168
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14169
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14170
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14171
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14172
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14173
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14174
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14175
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14176
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14177
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14178
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14179
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14180
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14181
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14182
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14183
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14184
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14185
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14186
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14187
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14188
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14189
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14190
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14191
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14192
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14193
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14194
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14195
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14196
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14197
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14198
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14199
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14200
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14201
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14202
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"`'
14203
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14204
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14205
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14206
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14207
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14208
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14209
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14210
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14211
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14212
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14213
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14214
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14215
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14216
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14217
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14218
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14219
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14220
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14221
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14222
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14223
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14224
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14225
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14226
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14227
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14228
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14229
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14230
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14231
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14232
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14233
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14234
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14235
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14236
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14237
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14238
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14239
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14240
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14241
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14242
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14243
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14244
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14245
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14246
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14247
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14248
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14249
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14250
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14251
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14252
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14253
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14254
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14255
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14256
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14257
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14258
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14259
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14260
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14261
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14262
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14263
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14264
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14265
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14266
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14267
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14268
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14269
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14270
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14271
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14272
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14273
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14274
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14275
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14276
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13447
14279
LTCFLAGS='$LTCFLAGS'
13448
14280
compiler='$compiler_DEFAULT'
14282
# A function that is used when there is no print builtin or printf.
14283
func_fallback_echo ()
14285
eval 'cat <<_LTECHO_EOF
13450
14290
# Quote evaled strings.
14703
15587
# if finds mixed CR/LF and LF-only lines. Since sed operates in
14704
15588
# text mode, it properly converts lines to CR/LF. This bash problem
14705
15589
# is reportedly fixed, but why not run on old versions too?
14706
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14707
|| (rm -f "$cfgfile"; exit 1)
14711
cat << \_LT_EOF >> "$cfgfile"
14713
# func_dirname file append nondir_replacement
14714
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14715
# otherwise set result to NONDIR_REPLACEMENT.
14719
*/*) func_dirname_result="${1%/*}${2}" ;;
14720
* ) func_dirname_result="${3}" ;;
14724
# func_basename file
14727
func_basename_result="${1##*/}"
14730
# func_dirname_and_basename file append nondir_replacement
14731
# perform func_basename and func_dirname in a single function
14733
# dirname: Compute the dirname of FILE. If nonempty,
14734
# add APPEND to the result, otherwise set result
14735
# to NONDIR_REPLACEMENT.
14736
# value returned in "$func_dirname_result"
14737
# basename: Compute filename of FILE.
14738
# value retuned in "$func_basename_result"
14739
# Implementation must be kept synchronized with func_dirname
14740
# and func_basename. For efficiency, we do not delegate to
14741
# those functions but instead duplicate the functionality here.
14742
func_dirname_and_basename ()
14745
*/*) func_dirname_result="${1%/*}${2}" ;;
14746
* ) func_dirname_result="${3}" ;;
14748
func_basename_result="${1##*/}"
14751
# func_stripname prefix suffix name
14752
# strip PREFIX and SUFFIX off of NAME.
14753
# PREFIX and SUFFIX must not contain globbing or regex special
14754
# characters, hashes, percent signs, but SUFFIX may contain a leading
14755
# dot (in which case that matches only a dot).
14758
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14759
# positional parameters, so assign one to ordinary parameter first.
14760
func_stripname_result=${3}
14761
func_stripname_result=${func_stripname_result#"${1}"}
14762
func_stripname_result=${func_stripname_result%"${2}"}
14768
func_opt_split_opt=${1%%=*}
14769
func_opt_split_arg=${1#*=}
14776
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14777
*) func_lo2o_result=${1} ;;
14781
# func_xform libobj-or-source
14784
func_xform_result=${1%.*}.lo
14787
# func_arith arithmetic-term...
14790
func_arith_result=$(( $* ))
14794
# STRING may not start with a hyphen.
14797
func_len_result=${#1}
14802
*) # Bourne compatible functions.
14803
cat << \_LT_EOF >> "$cfgfile"
14805
# func_dirname file append nondir_replacement
14806
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
14807
# otherwise set result to NONDIR_REPLACEMENT.
14810
# Extract subdirectory from the argument.
14811
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
14812
if test "X$func_dirname_result" = "X${1}"; then
14813
func_dirname_result="${3}"
14815
func_dirname_result="$func_dirname_result${2}"
14819
# func_basename file
14822
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
14826
# func_stripname prefix suffix name
14827
# strip PREFIX and SUFFIX off of NAME.
14828
# PREFIX and SUFFIX must not contain globbing or regex special
14829
# characters, hashes, percent signs, but SUFFIX may contain a leading
14830
# dot (in which case that matches only a dot).
14831
# func_strip_suffix prefix name
14835
.*) func_stripname_result=`$ECHO "X${3}" \
14836
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
14837
*) func_stripname_result=`$ECHO "X${3}" \
14838
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
14843
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14844
my_sed_long_arg='1s/^-[^=]*=//'
14849
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
14850
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
14856
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
14859
# func_xform libobj-or-source
14862
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
14865
# func_arith arithmetic-term...
14868
func_arith_result=`expr "$@"`
14872
# STRING may not start with a hyphen.
14875
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14881
case $lt_shell_append in
14883
cat << \_LT_EOF >> "$cfgfile"
14885
# func_append var value
14886
# Append VALUE to the end of shell variable VAR.
14894
cat << \_LT_EOF >> "$cfgfile"
14896
# func_append var value
14897
# Append VALUE to the end of shell variable VAR.
14908
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14909
|| (rm -f "$cfgfile"; exit 1)
14911
mv -f "$cfgfile" "$ofile" ||
15590
sed '$q' "$ltmain" >> "$cfgfile" \
15591
|| (rm -f "$cfgfile"; exit 1)
15593
if test x"$xsi_shell" = xyes; then
15594
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15598
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15599
\ * ) func_dirname_result="${3}" ;;\
15601
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15602
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15603
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15604
test 0 -eq $? || _lt_function_replace_fail=:
15607
sed -e '/^func_basename ()$/,/^} # func_basename /c\
15610
\ func_basename_result="${1##*/}"\
15611
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15612
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15613
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15614
test 0 -eq $? || _lt_function_replace_fail=:
15617
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15618
func_dirname_and_basename ()\
15621
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15622
\ * ) func_dirname_result="${3}" ;;\
15624
\ func_basename_result="${1##*/}"\
15625
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15626
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15627
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15628
test 0 -eq $? || _lt_function_replace_fail=:
15631
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15634
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15635
\ # positional parameters, so assign one to ordinary parameter first.\
15636
\ func_stripname_result=${3}\
15637
\ func_stripname_result=${func_stripname_result#"${1}"}\
15638
\ func_stripname_result=${func_stripname_result%"${2}"}\
15639
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15640
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15641
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15642
test 0 -eq $? || _lt_function_replace_fail=:
15645
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15646
func_split_long_opt ()\
15648
\ func_split_long_opt_name=${1%%=*}\
15649
\ func_split_long_opt_arg=${1#*=}\
15650
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15651
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15652
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15653
test 0 -eq $? || _lt_function_replace_fail=:
15656
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15657
func_split_short_opt ()\
15659
\ func_split_short_opt_arg=${1#??}\
15660
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15661
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15662
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15663
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15664
test 0 -eq $? || _lt_function_replace_fail=:
15667
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15671
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15672
\ *) func_lo2o_result=${1} ;;\
15674
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15675
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15676
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15677
test 0 -eq $? || _lt_function_replace_fail=:
15680
sed -e '/^func_xform ()$/,/^} # func_xform /c\
15683
func_xform_result=${1%.*}.lo\
15684
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15685
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15686
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15687
test 0 -eq $? || _lt_function_replace_fail=:
15690
sed -e '/^func_arith ()$/,/^} # func_arith /c\
15693
func_arith_result=$(( $* ))\
15694
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15695
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15696
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15697
test 0 -eq $? || _lt_function_replace_fail=:
15700
sed -e '/^func_len ()$/,/^} # func_len /c\
15703
func_len_result=${#1}\
15704
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15705
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15706
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15707
test 0 -eq $? || _lt_function_replace_fail=:
15711
if test x"$lt_shell_append" = xyes; then
15712
sed -e '/^func_append ()$/,/^} # func_append /c\
15715
eval "${1}+=\\${2}"\
15716
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15717
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15718
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15719
test 0 -eq $? || _lt_function_replace_fail=:
15722
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15723
func_append_quoted ()\
15725
\ func_quote_for_eval "${2}"\
15726
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15727
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15728
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15729
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15730
test 0 -eq $? || _lt_function_replace_fail=:
15733
# Save a `func_append' function call where possible by direct use of '+='
15734
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15735
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15736
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15737
test 0 -eq $? || _lt_function_replace_fail=:
15739
# Save a `func_append' function call even when '+=' is not available
15740
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15741
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15742
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15743
test 0 -eq $? || _lt_function_replace_fail=:
15746
if test x"$_lt_function_replace_fail" = x":"; then
15747
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15748
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15752
mv -f "$cfgfile" "$ofile" ||
14912
15753
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14913
15754
chmod +x "$ofile"