6155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6156
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6157
if ${lt_cv_to_host_file_cmd+:} false; then :
6158
$as_echo_n "(cached) " >&6
6163
*-*-mingw* ) # actually msys
6164
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6167
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6169
* ) # otherwise, assume *nix
6170
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6176
*-*-mingw* ) # actually msys
6177
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6180
lt_cv_to_host_file_cmd=func_convert_file_noop
6182
* ) # otherwise, assume *nix
6183
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6187
* ) # unhandled hosts (and "normal" native builds)
6188
lt_cv_to_host_file_cmd=func_convert_file_noop
6194
to_host_file_cmd=$lt_cv_to_host_file_cmd
6195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6196
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6203
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6204
if ${lt_cv_to_tool_file_cmd+:} false; then :
6205
$as_echo_n "(cached) " >&6
6207
#assume ordinary cross tools, or native build.
6208
lt_cv_to_tool_file_cmd=func_convert_file_noop
6212
*-*-mingw* ) # actually msys
6213
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6221
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6223
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6140
6229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6141
6230
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6142
if test "${lt_cv_ld_reload_flag+set}" = set; then :
6231
if ${lt_cv_ld_reload_flag+:} false; then :
6143
6232
$as_echo_n "(cached) " >&6
6145
6234
lt_cv_ld_reload_flag='-r'
6494
if test -n "$ac_tool_prefix"; then
6495
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6496
set dummy ${ac_tool_prefix}ar; ac_word=$2
6497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6498
$as_echo_n "checking for $ac_word... " >&6; }
6499
if test "${ac_cv_prog_AR+set}" = set; then :
6613
if test -n "$ac_tool_prefix"; then
6614
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6615
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617
$as_echo_n "checking for $ac_word... " >&6; }
6618
if ${ac_cv_prog_DLLTOOL+:} false; then :
6619
$as_echo_n "(cached) " >&6
6621
if test -n "$DLLTOOL"; then
6622
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6624
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6628
test -z "$as_dir" && as_dir=.
6629
for ac_exec_ext in '' $ac_executable_extensions; do
6630
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6631
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6632
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6641
DLLTOOL=$ac_cv_prog_DLLTOOL
6642
if test -n "$DLLTOOL"; then
6643
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6644
$as_echo "$DLLTOOL" >&6; }
6646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647
$as_echo "no" >&6; }
6652
if test -z "$ac_cv_prog_DLLTOOL"; then
6653
ac_ct_DLLTOOL=$DLLTOOL
6654
# Extract the first word of "dlltool", so it can be a program name with args.
6655
set dummy dlltool; ac_word=$2
6656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657
$as_echo_n "checking for $ac_word... " >&6; }
6658
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6659
$as_echo_n "(cached) " >&6
6661
if test -n "$ac_ct_DLLTOOL"; then
6662
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6664
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6668
test -z "$as_dir" && as_dir=.
6669
for ac_exec_ext in '' $ac_executable_extensions; do
6670
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6671
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6672
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6681
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6682
if test -n "$ac_ct_DLLTOOL"; then
6683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6684
$as_echo "$ac_ct_DLLTOOL" >&6; }
6686
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687
$as_echo "no" >&6; }
6690
if test "x$ac_ct_DLLTOOL" = x; then
6693
case $cross_compiling:$ac_tool_warned in
6695
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6696
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6697
ac_tool_warned=yes ;;
6699
DLLTOOL=$ac_ct_DLLTOOL
6702
DLLTOOL="$ac_cv_prog_DLLTOOL"
6705
test -z "$DLLTOOL" && DLLTOOL=dlltool
6716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6717
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6718
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6719
$as_echo_n "(cached) " >&6
6721
lt_cv_sharedlib_from_linklib_cmd='unknown'
6724
cygwin* | mingw* | pw32* | cegcc*)
6725
# two different shell functions defined in ltmain.sh
6726
# decide which to use based on capabilities of $DLLTOOL
6727
case `$DLLTOOL --help 2>&1` in
6728
*--identify-strict*)
6729
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6732
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6737
# fallback: assume linklib IS sharedlib
6738
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6744
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6745
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6746
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6754
if test -n "$ac_tool_prefix"; then
6757
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6758
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760
$as_echo_n "checking for $ac_word... " >&6; }
6761
if ${ac_cv_prog_AR+:} false; then :
6500
6762
$as_echo_n "(cached) " >&6
6502
6764
if test -n "$AR"; then
7309
7697
need_locks="$enable_libtool_lock"
7699
if test -n "$ac_tool_prefix"; then
7700
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7701
set dummy ${ac_tool_prefix}mt; ac_word=$2
7702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7703
$as_echo_n "checking for $ac_word... " >&6; }
7704
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7705
$as_echo_n "(cached) " >&6
7707
if test -n "$MANIFEST_TOOL"; then
7708
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7710
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7714
test -z "$as_dir" && as_dir=.
7715
for ac_exec_ext in '' $ac_executable_extensions; do
7716
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7717
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7718
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7727
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7728
if test -n "$MANIFEST_TOOL"; then
7729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7730
$as_echo "$MANIFEST_TOOL" >&6; }
7732
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7733
$as_echo "no" >&6; }
7738
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7739
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7740
# Extract the first word of "mt", so it can be a program name with args.
7741
set dummy mt; ac_word=$2
7742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7743
$as_echo_n "checking for $ac_word... " >&6; }
7744
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7745
$as_echo_n "(cached) " >&6
7747
if test -n "$ac_ct_MANIFEST_TOOL"; then
7748
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7750
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7754
test -z "$as_dir" && as_dir=.
7755
for ac_exec_ext in '' $ac_executable_extensions; do
7756
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7757
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7758
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7767
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7768
if test -n "$ac_ct_MANIFEST_TOOL"; then
7769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7770
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7773
$as_echo "no" >&6; }
7776
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7779
case $cross_compiling:$ac_tool_warned in
7781
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7782
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7783
ac_tool_warned=yes ;;
7785
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7788
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7791
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7793
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7794
if ${lt_cv_path_mainfest_tool+:} false; then :
7795
$as_echo_n "(cached) " >&6
7797
lt_cv_path_mainfest_tool=no
7798
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7799
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7800
cat conftest.err >&5
7801
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7802
lt_cv_path_mainfest_tool=yes
7806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7807
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7808
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7312
7817
case $host_os in
7313
7818
rhapsody* | darwin*)
9586
10141
# Microsoft Visual C++.
9587
10142
# hardcode_libdir_flag_spec is actually meaningless, as there is
9588
10143
# no search path for DLLs.
9589
hardcode_libdir_flag_spec=' '
9590
allow_undefined_flag=unsupported
9591
# Tell ltmain to make .lib files, not .a files.
9593
# Tell ltmain to make .dll files, not .so files.
9595
# FIXME: Setting linknames here is a bad hack.
9596
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9597
# The linker will automatically build a .lib file if we build a DLL.
9598
old_archive_from_new_cmds='true'
9599
# FIXME: Should let the user specify the lib program.
9600
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9601
fix_srcfile_path='`cygpath -w "$srcfile"`'
9602
enable_shared_with_static_runtimes=yes
10144
case $cc_basename in
10147
hardcode_libdir_flag_spec=' '
10148
allow_undefined_flag=unsupported
10149
always_export_symbols=yes
10151
# Tell ltmain to make .lib files, not .a files.
10153
# Tell ltmain to make .dll files, not .so files.
10155
# FIXME: Setting linknames here is a bad hack.
10156
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10157
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10158
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10160
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10162
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10164
# The linker will not automatically build a static lib if we build a DLL.
10165
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10166
enable_shared_with_static_runtimes=yes
10167
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10169
old_postinstall_cmds='chmod 644 $oldlib'
10170
postlink_cmds='lt_outputfile="@OUTPUT@"~
10171
lt_tool_outputfile="@TOOL_OUTPUT@"~
10172
case $lt_outputfile in
10175
lt_outputfile="$lt_outputfile.exe"
10176
lt_tool_outputfile="$lt_tool_outputfile.exe"
10179
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10180
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10181
$RM "$lt_outputfile.manifest";
10185
# Assume MSVC wrapper
10186
hardcode_libdir_flag_spec=' '
10187
allow_undefined_flag=unsupported
10188
# Tell ltmain to make .lib files, not .a files.
10190
# Tell ltmain to make .dll files, not .so files.
10192
# FIXME: Setting linknames here is a bad hack.
10193
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10194
# The linker will automatically build a .lib file if we build a DLL.
10195
old_archive_from_new_cmds='true'
10196
# FIXME: Should let the user specify the lib program.
10197
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10198
enable_shared_with_static_runtimes=yes
9605
10203
darwin* | rhapsody*)
10526
11138
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11141
dynamic_linker='Win32 ld.exe'
11146
libname_spec='$name'
11147
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11148
library_names_spec='${libname}.dll.lib'
11152
sys_lib_search_path_spec=
11155
for lt_path in $LIB
11158
# Let DOS variable expansion print the short 8.3 style file name.
11159
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11160
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11163
# Convert to MSYS style.
11164
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11167
# Convert to unix form, then to dos form, then back to unix form
11168
# but this time dos style (no spaces!) so that the unix form looks
11169
# like /cygdrive/c/PROGRA~1:/cygdr...
11170
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11171
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11172
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11175
sys_lib_search_path_spec="$LIB"
11176
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11177
# It is most probably a Windows format PATH.
11178
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11180
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11182
# FIXME: find the short name or the path components, as spaces are
11183
# common. (e.g. "Program Files" -> "PROGRA~1")
11187
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11188
postinstall_cmds='base_file=`basename \${file}`~
11189
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11190
dldir=$destdir/`dirname \$dlpath`~
11191
test -d \$dldir || mkdir -p \$dldir~
11192
$install_prog $dir/$dlname \$dldir/$dlname'
11193
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11194
dlpath=$dir/\$dldll~
11196
shlibpath_overrides_runpath=yes
11197
dynamic_linker='Win32 link.exe'
11201
# Assume MSVC wrapper
10532
11202
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11203
dynamic_linker='Win32 ld.exe'
10535
dynamic_linker='Win32 ld.exe'
10536
11206
# FIXME: first we should search . and the directory the executable is in
10537
11207
shlibpath_var=PATH
12386
13084
cygwin* | mingw* | pw32* | cegcc*)
12387
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12388
# as there is no search path for DLLs.
12389
hardcode_libdir_flag_spec_CXX='-L$libdir'
12390
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12391
allow_undefined_flag_CXX=unsupported
12392
always_export_symbols_CXX=no
12393
enable_shared_with_static_runtimes_CXX=yes
13085
case $GXX,$cc_basename in
13088
# hardcode_libdir_flag_spec is actually meaningless, as there is
13089
# no search path for DLLs.
13090
hardcode_libdir_flag_spec_CXX=' '
13091
allow_undefined_flag_CXX=unsupported
13092
always_export_symbols_CXX=yes
13093
file_list_spec_CXX='@'
13094
# Tell ltmain to make .lib files, not .a files.
13096
# Tell ltmain to make .dll files, not .so files.
13098
# FIXME: Setting linknames here is a bad hack.
13099
archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13100
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13101
$SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13103
$SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13105
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13107
# The linker will not automatically build a static lib if we build a DLL.
13108
# _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13109
enable_shared_with_static_runtimes_CXX=yes
13111
old_postinstall_cmds_CXX='chmod 644 $oldlib'
13112
postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13113
lt_tool_outputfile="@TOOL_OUTPUT@"~
13114
case $lt_outputfile in
13117
lt_outputfile="$lt_outputfile.exe"
13118
lt_tool_outputfile="$lt_tool_outputfile.exe"
13121
func_to_tool_file "$lt_outputfile"~
13122
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13123
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13124
$RM "$lt_outputfile.manifest";
13129
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13130
# as there is no search path for DLLs.
13131
hardcode_libdir_flag_spec_CXX='-L$libdir'
13132
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13133
allow_undefined_flag_CXX=unsupported
13134
always_export_symbols_CXX=no
13135
enable_shared_with_static_runtimes_CXX=yes
12395
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12396
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12397
# If the export-symbols file already is a .def file (1st line
12398
# is EXPORTS), use it as is; otherwise, prepend...
12399
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12400
cp $export_symbols $output_objdir/$soname.def;
12402
echo EXPORTS > $output_objdir/$soname.def;
12403
cat $export_symbols >> $output_objdir/$soname.def;
12405
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13137
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13138
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13139
# If the export-symbols file already is a .def file (1st line
13140
# is EXPORTS), use it as is; otherwise, prepend...
13141
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13142
cp $export_symbols $output_objdir/$soname.def;
13144
echo EXPORTS > $output_objdir/$soname.def;
13145
cat $export_symbols >> $output_objdir/$soname.def;
13147
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12410
13154
darwin* | rhapsody*)
14194
14976
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14979
dynamic_linker='Win32 ld.exe'
14984
libname_spec='$name'
14985
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14986
library_names_spec='${libname}.dll.lib'
14990
sys_lib_search_path_spec=
14993
for lt_path in $LIB
14996
# Let DOS variable expansion print the short 8.3 style file name.
14997
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14998
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15001
# Convert to MSYS style.
15002
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15005
# Convert to unix form, then to dos form, then back to unix form
15006
# but this time dos style (no spaces!) so that the unix form looks
15007
# like /cygdrive/c/PROGRA~1:/cygdr...
15008
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15009
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15010
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15013
sys_lib_search_path_spec="$LIB"
15014
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15015
# It is most probably a Windows format PATH.
15016
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15018
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15020
# FIXME: find the short name or the path components, as spaces are
15021
# common. (e.g. "Program Files" -> "PROGRA~1")
15025
# DLL is installed to $(libdir)/../bin by postinstall_cmds
15026
postinstall_cmds='base_file=`basename \${file}`~
15027
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15028
dldir=$destdir/`dirname \$dlpath`~
15029
test -d \$dldir || mkdir -p \$dldir~
15030
$install_prog $dir/$dlname \$dldir/$dlname'
15031
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15032
dlpath=$dir/\$dldll~
15034
shlibpath_overrides_runpath=yes
15035
dynamic_linker='Win32 link.exe'
15039
# Assume MSVC wrapper
14200
15040
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15041
dynamic_linker='Win32 ld.exe'
14203
dynamic_linker='Win32 ld.exe'
14204
15044
# FIXME: first we should search . and the directory the executable is in
14205
15045
shlibpath_var=PATH
20291
21202
# if finds mixed CR/LF and LF-only lines. Since sed operates in
20292
21203
# text mode, it properly converts lines to CR/LF. This bash problem
20293
21204
# is reportedly fixed, but why not run on old versions too?
20294
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20295
|| (rm -f "$cfgfile"; exit 1)
20299
cat << \_LT_EOF >> "$cfgfile"
20301
# func_dirname file append nondir_replacement
20302
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
20303
# otherwise set result to NONDIR_REPLACEMENT.
20307
*/*) func_dirname_result="${1%/*}${2}" ;;
20308
* ) func_dirname_result="${3}" ;;
20312
# func_basename file
20315
func_basename_result="${1##*/}"
20318
# func_dirname_and_basename file append nondir_replacement
20319
# perform func_basename and func_dirname in a single function
20321
# dirname: Compute the dirname of FILE. If nonempty,
20322
# add APPEND to the result, otherwise set result
20323
# to NONDIR_REPLACEMENT.
20324
# value returned in "$func_dirname_result"
20325
# basename: Compute filename of FILE.
20326
# value retuned in "$func_basename_result"
20327
# Implementation must be kept synchronized with func_dirname
20328
# and func_basename. For efficiency, we do not delegate to
20329
# those functions but instead duplicate the functionality here.
20330
func_dirname_and_basename ()
20333
*/*) func_dirname_result="${1%/*}${2}" ;;
20334
* ) func_dirname_result="${3}" ;;
20336
func_basename_result="${1##*/}"
20339
# func_stripname prefix suffix name
20340
# strip PREFIX and SUFFIX off of NAME.
20341
# PREFIX and SUFFIX must not contain globbing or regex special
20342
# characters, hashes, percent signs, but SUFFIX may contain a leading
20343
# dot (in which case that matches only a dot).
20346
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20347
# positional parameters, so assign one to ordinary parameter first.
20348
func_stripname_result=${3}
20349
func_stripname_result=${func_stripname_result#"${1}"}
20350
func_stripname_result=${func_stripname_result%"${2}"}
20356
func_opt_split_opt=${1%%=*}
20357
func_opt_split_arg=${1#*=}
20364
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
20365
*) func_lo2o_result=${1} ;;
20369
# func_xform libobj-or-source
20372
func_xform_result=${1%.*}.lo
20375
# func_arith arithmetic-term...
20378
func_arith_result=$(( $* ))
20382
# STRING may not start with a hyphen.
20385
func_len_result=${#1}
20390
*) # Bourne compatible functions.
20391
cat << \_LT_EOF >> "$cfgfile"
20393
# func_dirname file append nondir_replacement
20394
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
20395
# otherwise set result to NONDIR_REPLACEMENT.
20398
# Extract subdirectory from the argument.
20399
func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
20400
if test "X$func_dirname_result" = "X${1}"; then
20401
func_dirname_result="${3}"
20403
func_dirname_result="$func_dirname_result${2}"
20407
# func_basename file
20410
func_basename_result=`$ECHO "${1}" | $SED "$basename"`
20414
# func_stripname prefix suffix name
20415
# strip PREFIX and SUFFIX off of NAME.
20416
# PREFIX and SUFFIX must not contain globbing or regex special
20417
# characters, hashes, percent signs, but SUFFIX may contain a leading
20418
# dot (in which case that matches only a dot).
20419
# func_strip_suffix prefix name
20423
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
20424
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
20429
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
20430
my_sed_long_arg='1s/^-[^=]*=//'
20435
func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
20436
func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
20442
func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
20445
# func_xform libobj-or-source
20448
func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
20451
# func_arith arithmetic-term...
20454
func_arith_result=`expr "$@"`
20458
# STRING may not start with a hyphen.
20461
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20467
case $lt_shell_append in
20469
cat << \_LT_EOF >> "$cfgfile"
20471
# func_append var value
20472
# Append VALUE to the end of shell variable VAR.
20480
cat << \_LT_EOF >> "$cfgfile"
20482
# func_append var value
20483
# Append VALUE to the end of shell variable VAR.
20494
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20495
|| (rm -f "$cfgfile"; exit 1)
20497
mv -f "$cfgfile" "$ofile" ||
21205
sed '$q' "$ltmain" >> "$cfgfile" \
21206
|| (rm -f "$cfgfile"; exit 1)
21208
if test x"$xsi_shell" = xyes; then
21209
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21213
\ */*) func_dirname_result="${1%/*}${2}" ;;\
21214
\ * ) func_dirname_result="${3}" ;;\
21216
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21217
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21218
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21219
test 0 -eq $? || _lt_function_replace_fail=:
21222
sed -e '/^func_basename ()$/,/^} # func_basename /c\
21225
\ func_basename_result="${1##*/}"\
21226
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21227
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21228
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21229
test 0 -eq $? || _lt_function_replace_fail=:
21232
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21233
func_dirname_and_basename ()\
21236
\ */*) func_dirname_result="${1%/*}${2}" ;;\
21237
\ * ) func_dirname_result="${3}" ;;\
21239
\ func_basename_result="${1##*/}"\
21240
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21241
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21242
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21243
test 0 -eq $? || _lt_function_replace_fail=:
21246
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21249
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21250
\ # positional parameters, so assign one to ordinary parameter first.\
21251
\ func_stripname_result=${3}\
21252
\ func_stripname_result=${func_stripname_result#"${1}"}\
21253
\ func_stripname_result=${func_stripname_result%"${2}"}\
21254
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21255
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21256
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21257
test 0 -eq $? || _lt_function_replace_fail=:
21260
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21261
func_split_long_opt ()\
21263
\ func_split_long_opt_name=${1%%=*}\
21264
\ func_split_long_opt_arg=${1#*=}\
21265
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21266
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21267
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21268
test 0 -eq $? || _lt_function_replace_fail=:
21271
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21272
func_split_short_opt ()\
21274
\ func_split_short_opt_arg=${1#??}\
21275
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21276
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21277
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21278
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21279
test 0 -eq $? || _lt_function_replace_fail=:
21282
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21286
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21287
\ *) func_lo2o_result=${1} ;;\
21289
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21290
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21291
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21292
test 0 -eq $? || _lt_function_replace_fail=:
21295
sed -e '/^func_xform ()$/,/^} # func_xform /c\
21298
func_xform_result=${1%.*}.lo\
21299
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21300
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21301
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21302
test 0 -eq $? || _lt_function_replace_fail=:
21305
sed -e '/^func_arith ()$/,/^} # func_arith /c\
21308
func_arith_result=$(( $* ))\
21309
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21310
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21311
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21312
test 0 -eq $? || _lt_function_replace_fail=:
21315
sed -e '/^func_len ()$/,/^} # func_len /c\
21318
func_len_result=${#1}\
21319
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21320
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21321
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21322
test 0 -eq $? || _lt_function_replace_fail=:
21326
if test x"$lt_shell_append" = xyes; then
21327
sed -e '/^func_append ()$/,/^} # func_append /c\
21330
eval "${1}+=\\${2}"\
21331
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21332
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21333
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21334
test 0 -eq $? || _lt_function_replace_fail=:
21337
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21338
func_append_quoted ()\
21340
\ func_quote_for_eval "${2}"\
21341
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21342
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21343
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21344
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21345
test 0 -eq $? || _lt_function_replace_fail=:
21348
# Save a `func_append' function call where possible by direct use of '+='
21349
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21350
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21351
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21352
test 0 -eq $? || _lt_function_replace_fail=:
21354
# Save a `func_append' function call even when '+=' is not available
21355
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21356
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21357
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21358
test 0 -eq $? || _lt_function_replace_fail=:
21361
if test x"$_lt_function_replace_fail" = x":"; then
21362
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21363
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21367
mv -f "$cfgfile" "$ofile" ||
20498
21368
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20499
21369
chmod +x "$ofile"