585
601
if (length(v1)) exit 2
590
# Check that we are running under the correct shell.
591
604
SHELL=${CONFIG_SHELL-/bin/sh}
595
# Remove one level of quotation (which was required for Make).
596
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
601
if test "X$1" = X--no-reexec; then
602
# Discard the --no-reexec flag, and continue.
604
elif test "X$1" = X--fallback-echo; then
605
# Avoid inline document here, it may be left over
607
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
608
# Yippee, $ECHO works!
611
# Restart under the correct shell.
612
exec $SHELL "$0" --no-reexec ${1+"$@"}
615
if test "X$1" = X--fallback-echo; then
616
# used as fallback echo
624
# The HP-UX ksh and POSIX shell print the target directory to stdout
626
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
628
if test -z "$lt_ECHO"; then
629
if test "X${echo_test_string+set}" != Xset; then
630
# find a string as large as possible, as long as the shell can cope with it
631
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
632
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
633
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
634
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
641
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
642
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
646
# The Solaris, AIX, and Digital Unix default echo programs unquote
647
# backslashes. This makes it impossible to quote backslashes using
648
# echo "$something" | sed 's/\\/\\\\/g'
650
# So, first we look for a working echo in the user's PATH.
652
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
653
for dir in $PATH /usr/ucb; do
655
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
656
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
657
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
658
test "X$echo_testing_string" = "X$echo_test_string"; then
665
if test "X$ECHO" = Xecho; then
666
# We didn't find a better echo, so look for alternatives.
667
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
668
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
669
test "X$echo_testing_string" = "X$echo_test_string"; then
670
# This shell has a builtin print -r that does the trick.
672
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
673
test "X$CONFIG_SHELL" != X/bin/ksh; then
674
# If we have ksh, try running configure again with it.
675
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
676
export ORIGINAL_CONFIG_SHELL
677
CONFIG_SHELL=/bin/ksh
679
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
683
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
684
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
685
test "X$echo_testing_string" = "X$echo_test_string"; then
688
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
689
test "X$echo_testing_string" = 'X\t' &&
690
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
691
test "X$echo_testing_string" = "X$echo_test_string"; then
692
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
694
SHELL="$CONFIG_SHELL"
696
ECHO="$CONFIG_SHELL $0 --fallback-echo"
697
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
698
test "X$echo_testing_string" = 'X\t' &&
699
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
700
test "X$echo_testing_string" = "X$echo_test_string"; then
701
ECHO="$CONFIG_SHELL $0 --fallback-echo"
703
# maybe with a smaller string...
706
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
707
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
714
if test "$prev" != 'sed 50q "$0"'; then
715
echo_test_string=`eval $prev`
716
export echo_test_string
717
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
719
# Oops. We lost completely, so just stick with echo.
728
# Copy echo and quote the copy suitably for passing to libtool from
729
# the Makefile, instead of quoting the original, which is used later.
731
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
732
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
738
607
test -n "$DJDIR" || exec 7<&0 </dev/null
8040
if test -n "$ac_tool_prefix"; then
8041
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8042
set dummy ${ac_tool_prefix}ar; ac_word=$2
8043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8044
$as_echo_n "checking for $ac_word... " >&6; }
8045
if test "${ac_cv_prog_AR+set}" = set; then :
8111
if test -n "$ac_tool_prefix"; then
8112
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8113
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8115
$as_echo_n "checking for $ac_word... " >&6; }
8116
if ${ac_cv_prog_DLLTOOL+:} false; then :
8117
$as_echo_n "(cached) " >&6
8119
if test -n "$DLLTOOL"; then
8120
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8126
test -z "$as_dir" && as_dir=.
8127
for ac_exec_ext in '' $ac_executable_extensions; do
8128
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8129
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8130
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8139
DLLTOOL=$ac_cv_prog_DLLTOOL
8140
if test -n "$DLLTOOL"; then
8141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8142
$as_echo "$DLLTOOL" >&6; }
8144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8145
$as_echo "no" >&6; }
8150
if test -z "$ac_cv_prog_DLLTOOL"; then
8151
ac_ct_DLLTOOL=$DLLTOOL
8152
# Extract the first word of "dlltool", so it can be a program name with args.
8153
set dummy dlltool; ac_word=$2
8154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8155
$as_echo_n "checking for $ac_word... " >&6; }
8156
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8157
$as_echo_n "(cached) " >&6
8159
if test -n "$ac_ct_DLLTOOL"; then
8160
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8162
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8166
test -z "$as_dir" && as_dir=.
8167
for ac_exec_ext in '' $ac_executable_extensions; do
8168
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8169
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8170
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8179
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8180
if test -n "$ac_ct_DLLTOOL"; then
8181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8182
$as_echo "$ac_ct_DLLTOOL" >&6; }
8184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185
$as_echo "no" >&6; }
8188
if test "x$ac_ct_DLLTOOL" = x; then
8191
case $cross_compiling:$ac_tool_warned in
8193
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8194
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8195
ac_tool_warned=yes ;;
8197
DLLTOOL=$ac_ct_DLLTOOL
8200
DLLTOOL="$ac_cv_prog_DLLTOOL"
8203
test -z "$DLLTOOL" && DLLTOOL=dlltool
8214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8215
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8216
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8217
$as_echo_n "(cached) " >&6
8219
lt_cv_sharedlib_from_linklib_cmd='unknown'
8222
cygwin* | mingw* | pw32* | cegcc*)
8223
# two different shell functions defined in ltmain.sh
8224
# decide which to use based on capabilities of $DLLTOOL
8225
case `$DLLTOOL --help 2>&1` in
8226
*--identify-strict*)
8227
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8230
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8235
# fallback: assume linklib IS sharedlib
8236
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
8241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8242
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8243
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8244
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8252
if test -n "$ac_tool_prefix"; then
8255
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8256
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8258
$as_echo_n "checking for $ac_word... " >&6; }
8259
if ${ac_cv_prog_AR+:} false; then :
8046
8260
$as_echo_n "(cached) " >&6
8048
8262
if test -n "$AR"; then
8843
9195
need_locks="$enable_libtool_lock"
9197
if test -n "$ac_tool_prefix"; then
9198
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9199
set dummy ${ac_tool_prefix}mt; ac_word=$2
9200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9201
$as_echo_n "checking for $ac_word... " >&6; }
9202
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9203
$as_echo_n "(cached) " >&6
9205
if test -n "$MANIFEST_TOOL"; then
9206
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9208
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9212
test -z "$as_dir" && as_dir=.
9213
for ac_exec_ext in '' $ac_executable_extensions; do
9214
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9215
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9216
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9225
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9226
if test -n "$MANIFEST_TOOL"; then
9227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9228
$as_echo "$MANIFEST_TOOL" >&6; }
9230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9231
$as_echo "no" >&6; }
9236
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9237
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9238
# Extract the first word of "mt", so it can be a program name with args.
9239
set dummy mt; ac_word=$2
9240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9241
$as_echo_n "checking for $ac_word... " >&6; }
9242
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9243
$as_echo_n "(cached) " >&6
9245
if test -n "$ac_ct_MANIFEST_TOOL"; then
9246
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9248
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9252
test -z "$as_dir" && as_dir=.
9253
for ac_exec_ext in '' $ac_executable_extensions; do
9254
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9255
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9256
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9265
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9266
if test -n "$ac_ct_MANIFEST_TOOL"; then
9267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9268
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9271
$as_echo "no" >&6; }
9274
if test "x$ac_ct_MANIFEST_TOOL" = x; then
9277
case $cross_compiling:$ac_tool_warned in
9279
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9280
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9281
ac_tool_warned=yes ;;
9283
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9286
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9289
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9291
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9292
if ${lt_cv_path_mainfest_tool+:} false; then :
9293
$as_echo_n "(cached) " >&6
9295
lt_cv_path_mainfest_tool=no
9296
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9297
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9298
cat conftest.err >&5
9299
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9300
lt_cv_path_mainfest_tool=yes
9304
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9305
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
9306
if test "x$lt_cv_path_mainfest_tool" != xyes; then
8846
9315
case $host_os in
8847
9316
rhapsody* | darwin*)
11021
11598
# Microsoft Visual C++.
11022
11599
# hardcode_libdir_flag_spec is actually meaningless, as there is
11023
11600
# no search path for DLLs.
11024
hardcode_libdir_flag_spec=' '
11025
allow_undefined_flag=unsupported
11026
# Tell ltmain to make .lib files, not .a files.
11028
# Tell ltmain to make .dll files, not .so files.
11030
# FIXME: Setting linknames here is a bad hack.
11031
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11032
# The linker will automatically build a .lib file if we build a DLL.
11033
old_archive_from_new_cmds='true'
11034
# FIXME: Should let the user specify the lib program.
11035
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11036
fix_srcfile_path='`cygpath -w "$srcfile"`'
11037
enable_shared_with_static_runtimes=yes
11601
case $cc_basename in
11604
hardcode_libdir_flag_spec=' '
11605
allow_undefined_flag=unsupported
11606
always_export_symbols=yes
11608
# Tell ltmain to make .lib files, not .a files.
11610
# Tell ltmain to make .dll files, not .so files.
11612
# FIXME: Setting linknames here is a bad hack.
11613
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11614
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11615
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11617
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11619
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11621
# The linker will not automatically build a static lib if we build a DLL.
11622
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11623
enable_shared_with_static_runtimes=yes
11624
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11626
old_postinstall_cmds='chmod 644 $oldlib'
11627
postlink_cmds='lt_outputfile="@OUTPUT@"~
11628
lt_tool_outputfile="@TOOL_OUTPUT@"~
11629
case $lt_outputfile in
11632
lt_outputfile="$lt_outputfile.exe"
11633
lt_tool_outputfile="$lt_tool_outputfile.exe"
11636
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11637
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11638
$RM "$lt_outputfile.manifest";
11642
# Assume MSVC wrapper
11643
hardcode_libdir_flag_spec=' '
11644
allow_undefined_flag=unsupported
11645
# Tell ltmain to make .lib files, not .a files.
11647
# Tell ltmain to make .dll files, not .so files.
11649
# FIXME: Setting linknames here is a bad hack.
11650
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11651
# The linker will automatically build a .lib file if we build a DLL.
11652
old_archive_from_new_cmds='true'
11653
# FIXME: Should let the user specify the lib program.
11654
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11655
enable_shared_with_static_runtimes=yes
11040
11660
darwin* | rhapsody*)
11888
12584
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
11889
12585
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11890
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12587
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11892
12589
mingw* | cegcc*)
11893
12590
# MinGW DLLs use traditional 'lib' prefix
11894
12591
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11895
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11896
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11897
# It is most probably a Windows format PATH printed by
11898
# mingw gcc, but we are running on Cygwin. Gcc prints its search
11899
# path with ; separators, and with drive letters. We can handle the
11900
# drive letters (cygwin fileutils understands them), so leave them,
11901
# especially as we might pass files found there to a mingw objdump,
11902
# which wouldn't understand a cygwinified path. Ahh.
11903
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11905
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11909
12594
# pw32 DLLs use 'pw' prefix rather than 'lib'
11910
12595
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12598
dynamic_linker='Win32 ld.exe'
12603
libname_spec='$name'
12604
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12605
library_names_spec='${libname}.dll.lib'
12609
sys_lib_search_path_spec=
12612
for lt_path in $LIB
12615
# Let DOS variable expansion print the short 8.3 style file name.
12616
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12617
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12620
# Convert to MSYS style.
12621
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12624
# Convert to unix form, then to dos form, then back to unix form
12625
# but this time dos style (no spaces!) so that the unix form looks
12626
# like /cygdrive/c/PROGRA~1:/cygdr...
12627
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12628
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12629
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12632
sys_lib_search_path_spec="$LIB"
12633
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12634
# It is most probably a Windows format PATH.
12635
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12637
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12639
# FIXME: find the short name or the path components, as spaces are
12640
# common. (e.g. "Program Files" -> "PROGRA~1")
12644
# DLL is installed to $(libdir)/../bin by postinstall_cmds
12645
postinstall_cmds='base_file=`basename \${file}`~
12646
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12647
dldir=$destdir/`dirname \$dlpath`~
12648
test -d \$dldir || mkdir -p \$dldir~
12649
$install_prog $dir/$dlname \$dldir/$dlname'
12650
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12651
dlpath=$dir/\$dldll~
12653
shlibpath_overrides_runpath=yes
12654
dynamic_linker='Win32 link.exe'
12658
# Assume MSVC wrapper
11916
12659
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12660
dynamic_linker='Win32 ld.exe'
11919
dynamic_linker='Win32 ld.exe'
11920
12663
# FIXME: first we should search . and the directory the executable is in
11921
12664
shlibpath_var=PATH
15730
16580
sed_quote_subst='$sed_quote_subst'
15731
16581
double_quote_subst='$double_quote_subst'
15732
16582
delay_variable_subst='$delay_variable_subst'
15733
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15734
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15735
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15736
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15737
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15738
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15739
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15740
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15741
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15742
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15743
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15744
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15745
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15746
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15747
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15748
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15749
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15750
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15751
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15752
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15753
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15754
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15755
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15756
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15757
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15758
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15759
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15760
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15761
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15762
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15763
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15764
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15765
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15766
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15767
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15768
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15769
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15770
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15771
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15772
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15773
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15774
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15775
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15776
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15777
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"`'
15778
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"`'
15779
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15780
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15781
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15782
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15783
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15784
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15785
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15786
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15787
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15788
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15789
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15790
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15791
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15792
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15793
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15794
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15795
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15796
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15797
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15798
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15799
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15800
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15801
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15802
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15803
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15804
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15805
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15806
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15807
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15808
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15809
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15810
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15811
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15812
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15813
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15814
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15815
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15816
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15817
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15818
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15819
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15820
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15821
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15822
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15823
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15824
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15825
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15826
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15827
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15828
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15829
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15830
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15831
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15832
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15833
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15834
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15835
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15836
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15837
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15838
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15839
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15840
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15841
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15842
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15843
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15844
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15845
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15846
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15847
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15848
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15849
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15850
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16583
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16584
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16585
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16586
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16587
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16588
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16589
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16590
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16591
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16592
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16593
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16594
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16595
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16596
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16597
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16598
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16599
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16600
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16601
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16602
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16603
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16604
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16605
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16606
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16607
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16608
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16609
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16610
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16611
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16612
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16613
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16614
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16615
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16616
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16617
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16618
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16619
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16620
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16621
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16622
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16623
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16624
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16625
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16626
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16627
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16628
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16629
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16630
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16631
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16632
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16633
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16634
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16635
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16636
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16637
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16638
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"`'
16639
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16640
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16641
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16642
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16643
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16644
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16645
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16646
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16647
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16648
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16649
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16650
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16651
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16652
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16653
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16654
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16655
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16656
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16657
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16658
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16659
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16660
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16661
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16662
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16663
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16664
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16665
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16666
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16667
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16668
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16669
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16670
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16671
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16672
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16673
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16674
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16675
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16676
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16677
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16678
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16679
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16680
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16681
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16682
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16683
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16684
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16685
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16686
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16687
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16688
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16689
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16690
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16691
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16692
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16693
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16694
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16695
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16696
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16697
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16698
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16699
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16700
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16701
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16702
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16703
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16704
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16705
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16706
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16707
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16708
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16709
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16710
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16711
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16712
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15853
16715
LTCFLAGS='$LTCFLAGS'
15854
16716
compiler='$compiler_DEFAULT'
16718
# A function that is used when there is no print builtin or printf.
16719
func_fallback_echo ()
16721
eval 'cat <<_LTECHO_EOF
15856
16726
# Quote evaled strings.
16980
17894
# if finds mixed CR/LF and LF-only lines. Since sed operates in
16981
17895
# text mode, it properly converts lines to CR/LF. This bash problem
16982
17896
# is reportedly fixed, but why not run on old versions too?
16983
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16984
|| (rm -f "$cfgfile"; exit 1)
16988
cat << \_LT_EOF >> "$cfgfile"
16990
# func_dirname file append nondir_replacement
16991
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
16992
# otherwise set result to NONDIR_REPLACEMENT.
16996
*/*) func_dirname_result="${1%/*}${2}" ;;
16997
* ) func_dirname_result="${3}" ;;
17001
# func_basename file
17004
func_basename_result="${1##*/}"
17007
# func_dirname_and_basename file append nondir_replacement
17008
# perform func_basename and func_dirname in a single function
17010
# dirname: Compute the dirname of FILE. If nonempty,
17011
# add APPEND to the result, otherwise set result
17012
# to NONDIR_REPLACEMENT.
17013
# value returned in "$func_dirname_result"
17014
# basename: Compute filename of FILE.
17015
# value retuned in "$func_basename_result"
17016
# Implementation must be kept synchronized with func_dirname
17017
# and func_basename. For efficiency, we do not delegate to
17018
# those functions but instead duplicate the functionality here.
17019
func_dirname_and_basename ()
17022
*/*) func_dirname_result="${1%/*}${2}" ;;
17023
* ) func_dirname_result="${3}" ;;
17025
func_basename_result="${1##*/}"
17028
# func_stripname prefix suffix name
17029
# strip PREFIX and SUFFIX off of NAME.
17030
# PREFIX and SUFFIX must not contain globbing or regex special
17031
# characters, hashes, percent signs, but SUFFIX may contain a leading
17032
# dot (in which case that matches only a dot).
17035
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17036
# positional parameters, so assign one to ordinary parameter first.
17037
func_stripname_result=${3}
17038
func_stripname_result=${func_stripname_result#"${1}"}
17039
func_stripname_result=${func_stripname_result%"${2}"}
17045
func_opt_split_opt=${1%%=*}
17046
func_opt_split_arg=${1#*=}
17053
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17054
*) func_lo2o_result=${1} ;;
17058
# func_xform libobj-or-source
17061
func_xform_result=${1%.*}.lo
17064
# func_arith arithmetic-term...
17067
func_arith_result=$(( $* ))
17071
# STRING may not start with a hyphen.
17074
func_len_result=${#1}
17079
*) # Bourne compatible functions.
17080
cat << \_LT_EOF >> "$cfgfile"
17082
# func_dirname file append nondir_replacement
17083
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
17084
# otherwise set result to NONDIR_REPLACEMENT.
17087
# Extract subdirectory from the argument.
17088
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17089
if test "X$func_dirname_result" = "X${1}"; then
17090
func_dirname_result="${3}"
17092
func_dirname_result="$func_dirname_result${2}"
17096
# func_basename file
17099
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17103
# func_stripname prefix suffix name
17104
# strip PREFIX and SUFFIX off of NAME.
17105
# PREFIX and SUFFIX must not contain globbing or regex special
17106
# characters, hashes, percent signs, but SUFFIX may contain a leading
17107
# dot (in which case that matches only a dot).
17108
# func_strip_suffix prefix name
17112
.*) func_stripname_result=`$ECHO "X${3}" \
17113
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17114
*) func_stripname_result=`$ECHO "X${3}" \
17115
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17120
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17121
my_sed_long_arg='1s/^-[^=]*=//'
17126
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17127
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17133
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17136
# func_xform libobj-or-source
17139
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17142
# func_arith arithmetic-term...
17145
func_arith_result=`expr "$@"`
17149
# STRING may not start with a hyphen.
17152
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17158
case $lt_shell_append in
17160
cat << \_LT_EOF >> "$cfgfile"
17162
# func_append var value
17163
# Append VALUE to the end of shell variable VAR.
17171
cat << \_LT_EOF >> "$cfgfile"
17173
# func_append var value
17174
# Append VALUE to the end of shell variable VAR.
17185
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17186
|| (rm -f "$cfgfile"; exit 1)
17188
mv -f "$cfgfile" "$ofile" ||
17897
sed '$q' "$ltmain" >> "$cfgfile" \
17898
|| (rm -f "$cfgfile"; exit 1)
17900
if test x"$xsi_shell" = xyes; then
17901
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17905
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17906
\ * ) func_dirname_result="${3}" ;;\
17908
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17909
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17910
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17911
test 0 -eq $? || _lt_function_replace_fail=:
17914
sed -e '/^func_basename ()$/,/^} # func_basename /c\
17917
\ func_basename_result="${1##*/}"\
17918
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17919
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17920
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17921
test 0 -eq $? || _lt_function_replace_fail=:
17924
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17925
func_dirname_and_basename ()\
17928
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17929
\ * ) func_dirname_result="${3}" ;;\
17931
\ func_basename_result="${1##*/}"\
17932
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17933
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17934
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17935
test 0 -eq $? || _lt_function_replace_fail=:
17938
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17941
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17942
\ # positional parameters, so assign one to ordinary parameter first.\
17943
\ func_stripname_result=${3}\
17944
\ func_stripname_result=${func_stripname_result#"${1}"}\
17945
\ func_stripname_result=${func_stripname_result%"${2}"}\
17946
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17947
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17948
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17949
test 0 -eq $? || _lt_function_replace_fail=:
17952
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17953
func_split_long_opt ()\
17955
\ func_split_long_opt_name=${1%%=*}\
17956
\ func_split_long_opt_arg=${1#*=}\
17957
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17958
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17959
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17960
test 0 -eq $? || _lt_function_replace_fail=:
17963
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17964
func_split_short_opt ()\
17966
\ func_split_short_opt_arg=${1#??}\
17967
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17968
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17969
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17970
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17971
test 0 -eq $? || _lt_function_replace_fail=:
17974
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17978
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17979
\ *) func_lo2o_result=${1} ;;\
17981
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17982
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17983
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17984
test 0 -eq $? || _lt_function_replace_fail=:
17987
sed -e '/^func_xform ()$/,/^} # func_xform /c\
17990
func_xform_result=${1%.*}.lo\
17991
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17992
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17993
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17994
test 0 -eq $? || _lt_function_replace_fail=:
17997
sed -e '/^func_arith ()$/,/^} # func_arith /c\
18000
func_arith_result=$(( $* ))\
18001
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18002
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18003
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18004
test 0 -eq $? || _lt_function_replace_fail=:
18007
sed -e '/^func_len ()$/,/^} # func_len /c\
18010
func_len_result=${#1}\
18011
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18012
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18013
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18014
test 0 -eq $? || _lt_function_replace_fail=:
18018
if test x"$lt_shell_append" = xyes; then
18019
sed -e '/^func_append ()$/,/^} # func_append /c\
18022
eval "${1}+=\\${2}"\
18023
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18024
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18025
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18026
test 0 -eq $? || _lt_function_replace_fail=:
18029
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18030
func_append_quoted ()\
18032
\ func_quote_for_eval "${2}"\
18033
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18034
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18035
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18036
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18037
test 0 -eq $? || _lt_function_replace_fail=:
18040
# Save a `func_append' function call where possible by direct use of '+='
18041
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18042
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18043
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18044
test 0 -eq $? || _lt_function_replace_fail=:
18046
# Save a `func_append' function call even when '+=' is not available
18047
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18048
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18049
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18050
test 0 -eq $? || _lt_function_replace_fail=:
18053
if test x"$_lt_function_replace_fail" = x":"; then
18054
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18055
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18059
mv -f "$cfgfile" "$ofile" ||
17189
18060
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17190
18061
chmod +x "$ofile"