6210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6211
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6212
if ${lt_cv_to_host_file_cmd+:} false; then :
6213
$as_echo_n "(cached) " >&6
6218
*-*-mingw* ) # actually msys
6219
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6222
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6224
* ) # otherwise, assume *nix
6225
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6231
*-*-mingw* ) # actually msys
6232
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6235
lt_cv_to_host_file_cmd=func_convert_file_noop
6237
* ) # otherwise, assume *nix
6238
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6242
* ) # unhandled hosts (and "normal" native builds)
6243
lt_cv_to_host_file_cmd=func_convert_file_noop
6249
to_host_file_cmd=$lt_cv_to_host_file_cmd
6250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6251
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6258
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6259
if ${lt_cv_to_tool_file_cmd+:} false; then :
6260
$as_echo_n "(cached) " >&6
6262
#assume ordinary cross tools, or native build.
6263
lt_cv_to_tool_file_cmd=func_convert_file_noop
6267
*-*-mingw* ) # actually msys
6268
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6276
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6277
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6278
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6195
6284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6196
6285
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6197
if test "${lt_cv_ld_reload_flag+set}" = set; then :
6286
if ${lt_cv_ld_reload_flag+:} false; then :
6198
6287
$as_echo_n "(cached) " >&6
6200
6289
lt_cv_ld_reload_flag='-r'
6549
if test -n "$ac_tool_prefix"; then
6550
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6551
set dummy ${ac_tool_prefix}ar; ac_word=$2
6552
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553
$as_echo_n "checking for $ac_word... " >&6; }
6554
if test "${ac_cv_prog_AR+set}" = set; then :
6668
if test -n "$ac_tool_prefix"; then
6669
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6670
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672
$as_echo_n "checking for $ac_word... " >&6; }
6673
if ${ac_cv_prog_DLLTOOL+:} false; then :
6674
$as_echo_n "(cached) " >&6
6676
if test -n "$DLLTOOL"; then
6677
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6679
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6683
test -z "$as_dir" && as_dir=.
6684
for ac_exec_ext in '' $ac_executable_extensions; do
6685
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6687
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6696
DLLTOOL=$ac_cv_prog_DLLTOOL
6697
if test -n "$DLLTOOL"; then
6698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6699
$as_echo "$DLLTOOL" >&6; }
6701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702
$as_echo "no" >&6; }
6707
if test -z "$ac_cv_prog_DLLTOOL"; then
6708
ac_ct_DLLTOOL=$DLLTOOL
6709
# Extract the first word of "dlltool", so it can be a program name with args.
6710
set dummy dlltool; ac_word=$2
6711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6712
$as_echo_n "checking for $ac_word... " >&6; }
6713
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6714
$as_echo_n "(cached) " >&6
6716
if test -n "$ac_ct_DLLTOOL"; then
6717
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6719
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6723
test -z "$as_dir" && as_dir=.
6724
for ac_exec_ext in '' $ac_executable_extensions; do
6725
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6726
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6727
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6736
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6737
if test -n "$ac_ct_DLLTOOL"; then
6738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6739
$as_echo "$ac_ct_DLLTOOL" >&6; }
6741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6742
$as_echo "no" >&6; }
6745
if test "x$ac_ct_DLLTOOL" = x; then
6748
case $cross_compiling:$ac_tool_warned in
6750
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6751
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6752
ac_tool_warned=yes ;;
6754
DLLTOOL=$ac_ct_DLLTOOL
6757
DLLTOOL="$ac_cv_prog_DLLTOOL"
6760
test -z "$DLLTOOL" && DLLTOOL=dlltool
6771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6772
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6773
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6774
$as_echo_n "(cached) " >&6
6776
lt_cv_sharedlib_from_linklib_cmd='unknown'
6779
cygwin* | mingw* | pw32* | cegcc*)
6780
# two different shell functions defined in ltmain.sh
6781
# decide which to use based on capabilities of $DLLTOOL
6782
case `$DLLTOOL --help 2>&1` in
6783
*--identify-strict*)
6784
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6787
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6792
# fallback: assume linklib IS sharedlib
6793
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6799
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6800
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6801
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6809
if test -n "$ac_tool_prefix"; then
6812
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6813
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6815
$as_echo_n "checking for $ac_word... " >&6; }
6816
if ${ac_cv_prog_AR+:} false; then :
6555
6817
$as_echo_n "(cached) " >&6
6557
6819
if test -n "$AR"; then
7364
7752
need_locks="$enable_libtool_lock"
7754
if test -n "$ac_tool_prefix"; then
7755
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7756
set dummy ${ac_tool_prefix}mt; ac_word=$2
7757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7758
$as_echo_n "checking for $ac_word... " >&6; }
7759
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7760
$as_echo_n "(cached) " >&6
7762
if test -n "$MANIFEST_TOOL"; then
7763
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7765
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769
test -z "$as_dir" && as_dir=.
7770
for ac_exec_ext in '' $ac_executable_extensions; do
7771
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7772
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7773
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7782
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7783
if test -n "$MANIFEST_TOOL"; then
7784
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7785
$as_echo "$MANIFEST_TOOL" >&6; }
7787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7788
$as_echo "no" >&6; }
7793
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7794
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7795
# Extract the first word of "mt", so it can be a program name with args.
7796
set dummy mt; ac_word=$2
7797
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7798
$as_echo_n "checking for $ac_word... " >&6; }
7799
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7800
$as_echo_n "(cached) " >&6
7802
if test -n "$ac_ct_MANIFEST_TOOL"; then
7803
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7805
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7809
test -z "$as_dir" && as_dir=.
7810
for ac_exec_ext in '' $ac_executable_extensions; do
7811
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7812
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7813
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7822
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7823
if test -n "$ac_ct_MANIFEST_TOOL"; then
7824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7825
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7827
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7828
$as_echo "no" >&6; }
7831
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7834
case $cross_compiling:$ac_tool_warned in
7836
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7837
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7838
ac_tool_warned=yes ;;
7840
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7843
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7846
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7848
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7849
if ${lt_cv_path_mainfest_tool+:} false; then :
7850
$as_echo_n "(cached) " >&6
7852
lt_cv_path_mainfest_tool=no
7853
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7854
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7855
cat conftest.err >&5
7856
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7857
lt_cv_path_mainfest_tool=yes
7861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7862
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7863
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7367
7872
case $host_os in
7368
7873
rhapsody* | darwin*)
9637
10192
# Microsoft Visual C++.
9638
10193
# hardcode_libdir_flag_spec is actually meaningless, as there is
9639
10194
# no search path for DLLs.
9640
hardcode_libdir_flag_spec=' '
9641
allow_undefined_flag=unsupported
9642
# Tell ltmain to make .lib files, not .a files.
9644
# Tell ltmain to make .dll files, not .so files.
9646
# FIXME: Setting linknames here is a bad hack.
9647
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9648
# The linker will automatically build a .lib file if we build a DLL.
9649
old_archive_from_new_cmds='true'
9650
# FIXME: Should let the user specify the lib program.
9651
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9652
fix_srcfile_path='`cygpath -w "$srcfile"`'
9653
enable_shared_with_static_runtimes=yes
10195
case $cc_basename in
10198
hardcode_libdir_flag_spec=' '
10199
allow_undefined_flag=unsupported
10200
always_export_symbols=yes
10202
# Tell ltmain to make .lib files, not .a files.
10204
# Tell ltmain to make .dll files, not .so files.
10206
# FIXME: Setting linknames here is a bad hack.
10207
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10208
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10209
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10211
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10213
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10215
# The linker will not automatically build a static lib if we build a DLL.
10216
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10217
enable_shared_with_static_runtimes=yes
10218
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10220
old_postinstall_cmds='chmod 644 $oldlib'
10221
postlink_cmds='lt_outputfile="@OUTPUT@"~
10222
lt_tool_outputfile="@TOOL_OUTPUT@"~
10223
case $lt_outputfile in
10226
lt_outputfile="$lt_outputfile.exe"
10227
lt_tool_outputfile="$lt_tool_outputfile.exe"
10230
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10231
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10232
$RM "$lt_outputfile.manifest";
10236
# Assume MSVC wrapper
10237
hardcode_libdir_flag_spec=' '
10238
allow_undefined_flag=unsupported
10239
# Tell ltmain to make .lib files, not .a files.
10241
# Tell ltmain to make .dll files, not .so files.
10243
# FIXME: Setting linknames here is a bad hack.
10244
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10245
# The linker will automatically build a .lib file if we build a DLL.
10246
old_archive_from_new_cmds='true'
10247
# FIXME: Should let the user specify the lib program.
10248
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10249
enable_shared_with_static_runtimes=yes
9656
10254
darwin* | rhapsody*)
10577
11189
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11192
dynamic_linker='Win32 ld.exe'
11197
libname_spec='$name'
11198
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11199
library_names_spec='${libname}.dll.lib'
11203
sys_lib_search_path_spec=
11206
for lt_path in $LIB
11209
# Let DOS variable expansion print the short 8.3 style file name.
11210
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11211
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11214
# Convert to MSYS style.
11215
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11218
# Convert to unix form, then to dos form, then back to unix form
11219
# but this time dos style (no spaces!) so that the unix form looks
11220
# like /cygdrive/c/PROGRA~1:/cygdr...
11221
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11222
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11223
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11226
sys_lib_search_path_spec="$LIB"
11227
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11228
# It is most probably a Windows format PATH.
11229
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11231
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11233
# FIXME: find the short name or the path components, as spaces are
11234
# common. (e.g. "Program Files" -> "PROGRA~1")
11238
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11239
postinstall_cmds='base_file=`basename \${file}`~
11240
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11241
dldir=$destdir/`dirname \$dlpath`~
11242
test -d \$dldir || mkdir -p \$dldir~
11243
$install_prog $dir/$dlname \$dldir/$dlname'
11244
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11245
dlpath=$dir/\$dldll~
11247
shlibpath_overrides_runpath=yes
11248
dynamic_linker='Win32 link.exe'
11252
# Assume MSVC wrapper
10583
11253
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11254
dynamic_linker='Win32 ld.exe'
10586
dynamic_linker='Win32 ld.exe'
10587
11257
# FIXME: first we should search . and the directory the executable is in
10588
11258
shlibpath_var=PATH
12437
13135
cygwin* | mingw* | pw32* | cegcc*)
12438
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12439
# as there is no search path for DLLs.
12440
hardcode_libdir_flag_spec_CXX='-L$libdir'
12441
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12442
allow_undefined_flag_CXX=unsupported
12443
always_export_symbols_CXX=no
12444
enable_shared_with_static_runtimes_CXX=yes
13136
case $GXX,$cc_basename in
13139
# hardcode_libdir_flag_spec is actually meaningless, as there is
13140
# no search path for DLLs.
13141
hardcode_libdir_flag_spec_CXX=' '
13142
allow_undefined_flag_CXX=unsupported
13143
always_export_symbols_CXX=yes
13144
file_list_spec_CXX='@'
13145
# Tell ltmain to make .lib files, not .a files.
13147
# Tell ltmain to make .dll files, not .so files.
13149
# FIXME: Setting linknames here is a bad hack.
13150
archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13151
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13152
$SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13154
$SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13156
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13158
# The linker will not automatically build a static lib if we build a DLL.
13159
# _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13160
enable_shared_with_static_runtimes_CXX=yes
13162
old_postinstall_cmds_CXX='chmod 644 $oldlib'
13163
postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13164
lt_tool_outputfile="@TOOL_OUTPUT@"~
13165
case $lt_outputfile in
13168
lt_outputfile="$lt_outputfile.exe"
13169
lt_tool_outputfile="$lt_tool_outputfile.exe"
13172
func_to_tool_file "$lt_outputfile"~
13173
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13174
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13175
$RM "$lt_outputfile.manifest";
13180
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13181
# as there is no search path for DLLs.
13182
hardcode_libdir_flag_spec_CXX='-L$libdir'
13183
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13184
allow_undefined_flag_CXX=unsupported
13185
always_export_symbols_CXX=no
13186
enable_shared_with_static_runtimes_CXX=yes
12446
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12447
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'
12448
# If the export-symbols file already is a .def file (1st line
12449
# is EXPORTS), use it as is; otherwise, prepend...
12450
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12451
cp $export_symbols $output_objdir/$soname.def;
12453
echo EXPORTS > $output_objdir/$soname.def;
12454
cat $export_symbols >> $output_objdir/$soname.def;
12456
$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'
13188
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13189
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'
13190
# If the export-symbols file already is a .def file (1st line
13191
# is EXPORTS), use it as is; otherwise, prepend...
13192
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13193
cp $export_symbols $output_objdir/$soname.def;
13195
echo EXPORTS > $output_objdir/$soname.def;
13196
cat $export_symbols >> $output_objdir/$soname.def;
13198
$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'
12461
13205
darwin* | rhapsody*)
14245
15027
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15030
dynamic_linker='Win32 ld.exe'
15035
libname_spec='$name'
15036
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15037
library_names_spec='${libname}.dll.lib'
15041
sys_lib_search_path_spec=
15044
for lt_path in $LIB
15047
# Let DOS variable expansion print the short 8.3 style file name.
15048
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15049
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15052
# Convert to MSYS style.
15053
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15056
# Convert to unix form, then to dos form, then back to unix form
15057
# but this time dos style (no spaces!) so that the unix form looks
15058
# like /cygdrive/c/PROGRA~1:/cygdr...
15059
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15060
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15061
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15064
sys_lib_search_path_spec="$LIB"
15065
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15066
# It is most probably a Windows format PATH.
15067
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15069
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15071
# FIXME: find the short name or the path components, as spaces are
15072
# common. (e.g. "Program Files" -> "PROGRA~1")
15076
# DLL is installed to $(libdir)/../bin by postinstall_cmds
15077
postinstall_cmds='base_file=`basename \${file}`~
15078
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15079
dldir=$destdir/`dirname \$dlpath`~
15080
test -d \$dldir || mkdir -p \$dldir~
15081
$install_prog $dir/$dlname \$dldir/$dlname'
15082
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15083
dlpath=$dir/\$dldll~
15085
shlibpath_overrides_runpath=yes
15086
dynamic_linker='Win32 link.exe'
15090
# Assume MSVC wrapper
14251
15091
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15092
dynamic_linker='Win32 ld.exe'
14254
dynamic_linker='Win32 ld.exe'
14255
15095
# FIXME: first we should search . and the directory the executable is in
14256
15096
shlibpath_var=PATH
25515
26426
# if finds mixed CR/LF and LF-only lines. Since sed operates in
25516
26427
# text mode, it properly converts lines to CR/LF. This bash problem
25517
26428
# is reportedly fixed, but why not run on old versions too?
25518
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
25519
|| (rm -f "$cfgfile"; exit 1)
25523
cat << \_LT_EOF >> "$cfgfile"
25525
# func_dirname file append nondir_replacement
25526
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
25527
# otherwise set result to NONDIR_REPLACEMENT.
25531
*/*) func_dirname_result="${1%/*}${2}" ;;
25532
* ) func_dirname_result="${3}" ;;
25536
# func_basename file
25539
func_basename_result="${1##*/}"
25542
# func_dirname_and_basename file append nondir_replacement
25543
# perform func_basename and func_dirname in a single function
25545
# dirname: Compute the dirname of FILE. If nonempty,
25546
# add APPEND to the result, otherwise set result
25547
# to NONDIR_REPLACEMENT.
25548
# value returned in "$func_dirname_result"
25549
# basename: Compute filename of FILE.
25550
# value retuned in "$func_basename_result"
25551
# Implementation must be kept synchronized with func_dirname
25552
# and func_basename. For efficiency, we do not delegate to
25553
# those functions but instead duplicate the functionality here.
25554
func_dirname_and_basename ()
25557
*/*) func_dirname_result="${1%/*}${2}" ;;
25558
* ) func_dirname_result="${3}" ;;
25560
func_basename_result="${1##*/}"
25563
# func_stripname prefix suffix name
25564
# strip PREFIX and SUFFIX off of NAME.
25565
# PREFIX and SUFFIX must not contain globbing or regex special
25566
# characters, hashes, percent signs, but SUFFIX may contain a leading
25567
# dot (in which case that matches only a dot).
25570
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
25571
# positional parameters, so assign one to ordinary parameter first.
25572
func_stripname_result=${3}
25573
func_stripname_result=${func_stripname_result#"${1}"}
25574
func_stripname_result=${func_stripname_result%"${2}"}
25580
func_opt_split_opt=${1%%=*}
25581
func_opt_split_arg=${1#*=}
25588
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
25589
*) func_lo2o_result=${1} ;;
25593
# func_xform libobj-or-source
25596
func_xform_result=${1%.*}.lo
25599
# func_arith arithmetic-term...
25602
func_arith_result=$(( $* ))
25606
# STRING may not start with a hyphen.
25609
func_len_result=${#1}
25614
*) # Bourne compatible functions.
25615
cat << \_LT_EOF >> "$cfgfile"
25617
# func_dirname file append nondir_replacement
25618
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
25619
# otherwise set result to NONDIR_REPLACEMENT.
25622
# Extract subdirectory from the argument.
25623
func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
25624
if test "X$func_dirname_result" = "X${1}"; then
25625
func_dirname_result="${3}"
25627
func_dirname_result="$func_dirname_result${2}"
25631
# func_basename file
25634
func_basename_result=`$ECHO "${1}" | $SED "$basename"`
25638
# func_stripname prefix suffix name
25639
# strip PREFIX and SUFFIX off of NAME.
25640
# PREFIX and SUFFIX must not contain globbing or regex special
25641
# characters, hashes, percent signs, but SUFFIX may contain a leading
25642
# dot (in which case that matches only a dot).
25643
# func_strip_suffix prefix name
25647
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
25648
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
25653
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
25654
my_sed_long_arg='1s/^-[^=]*=//'
25659
func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
25660
func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
25666
func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
25669
# func_xform libobj-or-source
25672
func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
25675
# func_arith arithmetic-term...
25678
func_arith_result=`expr "$@"`
25682
# STRING may not start with a hyphen.
25685
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
25691
case $lt_shell_append in
25693
cat << \_LT_EOF >> "$cfgfile"
25695
# func_append var value
25696
# Append VALUE to the end of shell variable VAR.
25704
cat << \_LT_EOF >> "$cfgfile"
25706
# func_append var value
25707
# Append VALUE to the end of shell variable VAR.
25718
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
25719
|| (rm -f "$cfgfile"; exit 1)
25721
mv -f "$cfgfile" "$ofile" ||
26429
sed '$q' "$ltmain" >> "$cfgfile" \
26430
|| (rm -f "$cfgfile"; exit 1)
26432
if test x"$xsi_shell" = xyes; then
26433
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
26437
\ */*) func_dirname_result="${1%/*}${2}" ;;\
26438
\ * ) func_dirname_result="${3}" ;;\
26440
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
26441
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26442
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26443
test 0 -eq $? || _lt_function_replace_fail=:
26446
sed -e '/^func_basename ()$/,/^} # func_basename /c\
26449
\ func_basename_result="${1##*/}"\
26450
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
26451
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26452
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26453
test 0 -eq $? || _lt_function_replace_fail=:
26456
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
26457
func_dirname_and_basename ()\
26460
\ */*) func_dirname_result="${1%/*}${2}" ;;\
26461
\ * ) func_dirname_result="${3}" ;;\
26463
\ func_basename_result="${1##*/}"\
26464
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
26465
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26466
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26467
test 0 -eq $? || _lt_function_replace_fail=:
26470
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
26473
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
26474
\ # positional parameters, so assign one to ordinary parameter first.\
26475
\ func_stripname_result=${3}\
26476
\ func_stripname_result=${func_stripname_result#"${1}"}\
26477
\ func_stripname_result=${func_stripname_result%"${2}"}\
26478
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
26479
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26480
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26481
test 0 -eq $? || _lt_function_replace_fail=:
26484
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
26485
func_split_long_opt ()\
26487
\ func_split_long_opt_name=${1%%=*}\
26488
\ func_split_long_opt_arg=${1#*=}\
26489
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
26490
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26491
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26492
test 0 -eq $? || _lt_function_replace_fail=:
26495
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
26496
func_split_short_opt ()\
26498
\ func_split_short_opt_arg=${1#??}\
26499
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
26500
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
26501
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26502
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26503
test 0 -eq $? || _lt_function_replace_fail=:
26506
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
26510
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
26511
\ *) func_lo2o_result=${1} ;;\
26513
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
26514
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26515
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26516
test 0 -eq $? || _lt_function_replace_fail=:
26519
sed -e '/^func_xform ()$/,/^} # func_xform /c\
26522
func_xform_result=${1%.*}.lo\
26523
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
26524
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26525
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26526
test 0 -eq $? || _lt_function_replace_fail=:
26529
sed -e '/^func_arith ()$/,/^} # func_arith /c\
26532
func_arith_result=$(( $* ))\
26533
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
26534
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26535
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26536
test 0 -eq $? || _lt_function_replace_fail=:
26539
sed -e '/^func_len ()$/,/^} # func_len /c\
26542
func_len_result=${#1}\
26543
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
26544
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26545
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26546
test 0 -eq $? || _lt_function_replace_fail=:
26550
if test x"$lt_shell_append" = xyes; then
26551
sed -e '/^func_append ()$/,/^} # func_append /c\
26554
eval "${1}+=\\${2}"\
26555
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
26556
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26557
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26558
test 0 -eq $? || _lt_function_replace_fail=:
26561
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
26562
func_append_quoted ()\
26564
\ func_quote_for_eval "${2}"\
26565
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
26566
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
26567
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26568
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26569
test 0 -eq $? || _lt_function_replace_fail=:
26572
# Save a `func_append' function call where possible by direct use of '+='
26573
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
26574
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26575
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26576
test 0 -eq $? || _lt_function_replace_fail=:
26578
# Save a `func_append' function call even when '+=' is not available
26579
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
26580
&& mv -f "$cfgfile.tmp" "$cfgfile" \
26581
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
26582
test 0 -eq $? || _lt_function_replace_fail=:
26585
if test x"$_lt_function_replace_fail" = x":"; then
26586
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
26587
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
26591
mv -f "$cfgfile" "$ofile" ||
25722
26592
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25723
26593
chmod +x "$ofile"