1413 lines
50 KiB
Diff
1413 lines
50 KiB
Diff
diff -Naur libtool-2.4.2.418-orig/build-aux/compile libtool-2.4.2.418/build-aux/compile
|
|
--- libtool-2.4.2.418-orig/build-aux/compile 2013-10-26 13:45:17.000000000 +0400
|
|
+++ libtool-2.4.2.418/build-aux/compile 2014-09-02 10:08:47.068800000 +0400
|
|
@@ -53,7 +53,7 @@
|
|
MINGW*)
|
|
file_conv=mingw
|
|
;;
|
|
- CYGWIN*)
|
|
+ CYGWIN* | MSYS*)
|
|
file_conv=cygwin
|
|
;;
|
|
*)
|
|
@@ -67,7 +67,7 @@
|
|
mingw/*)
|
|
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
|
|
;;
|
|
- cygwin/*)
|
|
+ cygwin/* | msys/*)
|
|
file=`cygpath -m "$file" || echo "$file"`
|
|
;;
|
|
wine/*)
|
|
diff -Naur libtool-2.4.2.418-orig/build-aux/config.guess libtool-2.4.2.418/build-aux/config.guess
|
|
--- libtool-2.4.2.418-orig/build-aux/config.guess 2013-10-27 01:38:32.000000000 +0400
|
|
+++ libtool-2.4.2.418/build-aux/config.guess 2014-09-02 10:09:19.672800000 +0400
|
|
@@ -866,6 +866,9 @@
|
|
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
|
|
echo x86_64-unknown-cygwin
|
|
exit ;;
|
|
+ amd64:MSYS*:*:* | x86_64:MSYS*:*:*)
|
|
+ echo x86_64-unknown-msys
|
|
+ exit ;;
|
|
p*:CYGWIN*:*)
|
|
echo powerpcle-unknown-cygwin
|
|
exit ;;
|
|
diff -Naur libtool-2.4.3-orig/build-aux/ltmain.in libtool-2.4.3/build-aux/ltmain.in
|
|
--- libtool-2.4.3-orig/build-aux/ltmain.in 2014-09-02 09:54:56.481600000 +0400
|
|
+++ libtool-2.4.3/build-aux/ltmain.in 2014-09-02 10:14:04.809600000 +0400
|
|
@@ -497,7 +497,7 @@
|
|
case $host in
|
|
# Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
|
|
# see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
|
|
- *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
|
|
+ *cygwin* | *msys* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
|
|
# don't eliminate duplications in $postdeps and $predeps
|
|
opt_duplicate_compiler_generated_deps=:
|
|
;;
|
|
@@ -1510,7 +1510,7 @@
|
|
|
|
# On Cygwin there's no "real" PIC flag so we must build both object types
|
|
case $host_os in
|
|
- cygwin* | mingw* | pw32* | os2* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | os2* | cegcc*)
|
|
pic_mode=default
|
|
;;
|
|
esac
|
|
@@ -2383,7 +2383,7 @@
|
|
'exit $?'
|
|
tstripme=$stripme
|
|
case $host_os in
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
case $realname in
|
|
*.dll.a)
|
|
tstripme=
|
|
@@ -2489,7 +2489,7 @@
|
|
|
|
# Do a test to see if this is really a libtool program.
|
|
case $host in
|
|
- *cygwin* | *mingw*)
|
|
+ *cygwin* | *msys* | *mingw*)
|
|
if func_ltwrapper_executable_p "$file"; then
|
|
func_ltwrapper_scriptname "$file"
|
|
wrapper=$func_ltwrapper_scriptname_result
|
|
@@ -2564,7 +2564,7 @@
|
|
# remove .exe since cygwin /usr/bin/install will append another
|
|
# one anyway
|
|
case $install_prog,$host in
|
|
- */usr/bin/install*,*cygwin*)
|
|
+ */usr/bin/install*,*cygwin*|*/usr/bin/install*,*msys*)
|
|
case $file:$destfile in
|
|
*.exe:*.exe)
|
|
# this is ok
|
|
@@ -2717,7 +2717,7 @@
|
|
$RM $export_symbols
|
|
eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
|
|
case $host in
|
|
- *cygwin* | *mingw* | *cegcc* )
|
|
+ *cygwin* | *msys* | *mingw* | *cegcc* )
|
|
eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
|
|
eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
|
|
;;
|
|
@@ -2729,7 +2729,7 @@
|
|
eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
|
|
eval '$MV "$nlist"T "$nlist"'
|
|
case $host in
|
|
- *cygwin* | *mingw* | *cegcc* )
|
|
+ *cygwin* | *msys* | *mingw* | *cegcc* )
|
|
eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
|
|
eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
|
|
;;
|
|
@@ -2743,7 +2743,7 @@
|
|
func_basename "$dlprefile"
|
|
name=$func_basename_result
|
|
case $host in
|
|
- *cygwin* | *mingw* | *cegcc* )
|
|
+ *cygwin* | *msys* | *mingw* | *cegcc* )
|
|
# if an import library, we need to obtain dlname
|
|
if func_win32_import_lib_p "$dlprefile"; then
|
|
func_tr_sh "$dlprefile"
|
|
@@ -2918,7 +2918,7 @@
|
|
# Transform the symbol file into the correct name.
|
|
symfileobj=$output_objdir/${my_outputname}S.$objext
|
|
case $host in
|
|
- *cygwin* | *mingw* | *cegcc* )
|
|
+ *cygwin* | *msys* | *mingw* | *cegcc* )
|
|
if test -f "$output_objdir/$my_outputname.def"; then
|
|
compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
|
|
finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
|
|
@@ -3811,7 +3811,7 @@
|
|
{
|
|
EOF
|
|
case $host in
|
|
- *mingw* | *cygwin* )
|
|
+ *mingw* | *cygwin* | *msys* )
|
|
# make stdout use "unix" line endings
|
|
echo " setmode(1,_O_BINARY);"
|
|
;;
|
|
@@ -4567,7 +4567,7 @@
|
|
$debug_cmd
|
|
|
|
case $host in
|
|
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
|
|
+ *-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
|
|
# It is impossible to link a dll without this setting, and
|
|
# we shouldn't force the makefile maintainer to figure out
|
|
# what system we are compiling for in order to pass an extra
|
|
@@ -5060,7 +5060,7 @@
|
|
;;
|
|
esac
|
|
case $host in
|
|
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
|
|
+ *-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
|
|
testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
|
|
case :$dllsearchpath: in
|
|
*":$dir:"*) ;;
|
|
@@ -5080,7 +5080,7 @@
|
|
-l*)
|
|
if test X-lc = "X$arg" || test X-lm = "X$arg"; then
|
|
case $host in
|
|
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
|
|
+ *-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
|
|
# These systems don't actually have a C or math library (as such)
|
|
continue
|
|
;;
|
|
@@ -5163,7 +5163,7 @@
|
|
|
|
-no-install)
|
|
case $host in
|
|
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
|
|
+ *-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
|
|
# The PATH hackery in wrapper scripts is required on Windows
|
|
# and Darwin in order for the loader to find any dlls it needs.
|
|
func_warning "'-no-install' is ignored for $host"
|
|
@@ -6034,7 +6034,7 @@
|
|
fi
|
|
case $host in
|
|
# special handling for platforms with PE-DLLs.
|
|
- *cygwin* | *mingw* | *cegcc* )
|
|
+ *cygwin* | *msys* | *mingw* | *cegcc* )
|
|
# Linker will automatically link against shared library if both
|
|
# static and shared are present. Therefore, ensure we extract
|
|
# symbols from the import library if a shared library is present
|
|
@@ -6178,7 +6178,7 @@
|
|
if test -n "$library_names" &&
|
|
{ test no = "$use_static_libs" || test -z "$old_library"; }; then
|
|
case $host in
|
|
- *cygwin* | *mingw* | *cegcc* | *os2*)
|
|
+ *cygwin* | *msys* | *mingw* | *cegcc* | *os2*)
|
|
# No point in relinking DLLs because paths are not encoded
|
|
func_append notinst_deplibs " $lib"
|
|
need_relink=no
|
|
@@ -6248,7 +6248,7 @@
|
|
elif test -n "$soname_spec"; then
|
|
# bleh windows
|
|
case $host in
|
|
- *cygwin* | mingw* | *cegcc* | *os2*)
|
|
+ *cygwin* | *msys* | mingw* | *cegcc* | *os2*)
|
|
func_arith $current - $age
|
|
major=$func_arith_result
|
|
versuffix=-$major
|
|
@@ -7123,7 +7123,7 @@
|
|
if test yes = "$build_libtool_libs"; then
|
|
if test -n "$rpath"; then
|
|
case $host in
|
|
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
|
|
+ *-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
|
|
# these systems don't actually have a c library (as such)!
|
|
;;
|
|
*-*-rhapsody* | *-*-darwin1.[012])
|
|
@@ -7637,7 +7637,7 @@
|
|
|
|
orig_export_symbols=
|
|
case $host_os in
|
|
- cygwin* | mingw* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | cegcc*)
|
|
if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
|
|
# exporting using user supplied symfile
|
|
func_dll_def_p "$export_symbols" || {
|
|
@@ -8194,7 +8194,7 @@
|
|
|
|
prog)
|
|
case $host in
|
|
- *cygwin*) func_stripname '' '.exe' "$output"
|
|
+ *cygwin* | *msys*) func_stripname '' '.exe' "$output"
|
|
output=$func_stripname_result.exe;;
|
|
esac
|
|
test -n "$vinfo" && \
|
|
@@ -8305,7 +8305,7 @@
|
|
esac
|
|
fi
|
|
case $host in
|
|
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
|
|
+ *-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
|
|
testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'`
|
|
case :$dllsearchpath: in
|
|
*":$libdir:"*) ;;
|
|
@@ -8383,7 +8383,7 @@
|
|
# Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
|
|
wrappers_required=false
|
|
;;
|
|
- *cygwin* | *mingw* )
|
|
+ *cygwin* | *msys* | *mingw* )
|
|
test yes = "$build_libtool_libs" || wrappers_required=false
|
|
;;
|
|
*)
|
|
@@ -8529,14 +8529,14 @@
|
|
esac
|
|
# test for cygwin because mv fails w/o .exe extensions
|
|
case $host in
|
|
- *cygwin*)
|
|
+ *cygwin* | *msys*)
|
|
exeext=.exe
|
|
func_stripname '' '.exe' "$outputname"
|
|
outputname=$func_stripname_result ;;
|
|
*) exeext= ;;
|
|
esac
|
|
case $host in
|
|
- *cygwin* | *mingw* )
|
|
+ *cygwin* | *msys* | *mingw* )
|
|
func_dirname_and_basename "$output" "" "."
|
|
output_name=$func_basename_result
|
|
output_path=$func_dirname_result
|
|
@@ -8878,7 +8878,7 @@
|
|
# tests/bindir.at for full details.
|
|
tdlname=$dlname
|
|
case $host,$output,$installed,$module,$dlname in
|
|
- *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
|
|
+ *cygwin*,*lai,yes,no,*.dll | *msys*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
|
|
# If a -bindir argument was supplied, place the dll there.
|
|
if test -n "$bindir"; then
|
|
func_relative_path "$install_libdir" "$bindir"
|
|
diff -Naur libtool-2.4.2.418-orig/build-aux/ltmain.sh libtool-2.4.2.418/build-aux/ltmain.sh
|
|
--- libtool-2.4.2.418-orig/build-aux/ltmain.sh 2013-10-27 02:53:58.000000000 +0400
|
|
+++ libtool-2.4.2.418/build-aux/ltmain.sh 2014-09-02 10:29:08.840800000 +0400
|
|
@@ -2315,7 +2315,7 @@
|
|
case $host in
|
|
# Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
|
|
# see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
|
|
- *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
|
|
+ *cygwin* | *msys* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
|
|
# don't eliminate duplications in $postdeps and $predeps
|
|
opt_duplicate_compiler_generated_deps=:
|
|
;;
|
|
@@ -3328,7 +3328,7 @@
|
|
|
|
# On Cygwin there's no "real" PIC flag so we must build both object types
|
|
case $host_os in
|
|
- cygwin* | mingw* | pw32* | os2* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | os2* | cegcc*)
|
|
pic_mode=default
|
|
;;
|
|
esac
|
|
@@ -4201,7 +4201,7 @@
|
|
'exit $?'
|
|
tstripme=$stripme
|
|
case $host_os in
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
case $realname in
|
|
*.dll.a)
|
|
tstripme=
|
|
@@ -4307,7 +4307,7 @@
|
|
|
|
# Do a test to see if this is really a libtool program.
|
|
case $host in
|
|
- *cygwin* | *mingw*)
|
|
+ *cygwin* | *msys* | *mingw*)
|
|
if func_ltwrapper_executable_p "$file"; then
|
|
func_ltwrapper_scriptname "$file"
|
|
wrapper=$func_ltwrapper_scriptname_result
|
|
@@ -4382,7 +4382,7 @@
|
|
# remove .exe since cygwin /usr/bin/install will append another
|
|
# one anyway
|
|
case $install_prog,$host in
|
|
- */usr/bin/install*,*cygwin*)
|
|
+ */usr/bin/install*,*cygwin* | */usr/bin/install*,*msys*)
|
|
case $file:$destfile in
|
|
*.exe:*.exe)
|
|
# this is ok
|
|
@@ -4535,7 +4535,7 @@
|
|
$RM $export_symbols
|
|
eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
|
|
case $host in
|
|
- *cygwin* | *mingw* | *cegcc* )
|
|
+ *cygwin* | *msys* | *mingw* | *cegcc* )
|
|
eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
|
|
eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"'
|
|
;;
|
|
@@ -4547,7 +4547,7 @@
|
|
eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
|
|
eval '$MV "$nlist"T "$nlist"'
|
|
case $host in
|
|
- *cygwin* | *mingw* | *cegcc* )
|
|
+ *cygwin* | *msys* | *mingw* | *cegcc* )
|
|
eval "echo EXPORTS "'> "$output_objdir/$outputname.def"'
|
|
eval 'cat "$nlist" >> "$output_objdir/$outputname.def"'
|
|
;;
|
|
@@ -4561,7 +4561,7 @@
|
|
func_basename "$dlprefile"
|
|
name=$func_basename_result
|
|
case $host in
|
|
- *cygwin* | *mingw* | *cegcc* )
|
|
+ *cygwin* | *msys* | *mingw* | *cegcc* )
|
|
# if an import library, we need to obtain dlname
|
|
if func_win32_import_lib_p "$dlprefile"; then
|
|
func_tr_sh "$dlprefile"
|
|
@@ -4736,7 +4736,7 @@
|
|
# Transform the symbol file into the correct name.
|
|
symfileobj=$output_objdir/${my_outputname}S.$objext
|
|
case $host in
|
|
- *cygwin* | *mingw* | *cegcc* )
|
|
+ *cygwin* | *msys* | *mingw* | *cegcc* )
|
|
if test -f "$output_objdir/$my_outputname.def"; then
|
|
compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
|
|
finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"`
|
|
@@ -5629,7 +5629,7 @@
|
|
{
|
|
EOF
|
|
case $host in
|
|
- *mingw* | *cygwin* )
|
|
+ *mingw* | *cygwin* | *msys* )
|
|
# make stdout use "unix" line endings
|
|
echo " setmode(1,_O_BINARY);"
|
|
;;
|
|
@@ -6350,7 +6350,7 @@
|
|
$debug_cmd
|
|
|
|
case $host in
|
|
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
|
|
+ *-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
|
|
# It is impossible to link a dll without this setting, and
|
|
# we shouldn't force the makefile maintainer to figure out
|
|
# what system we are compiling for in order to pass an extra
|
|
@@ -6843,7 +6843,7 @@
|
|
;;
|
|
esac
|
|
case $host in
|
|
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
|
|
+ *-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
|
|
testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'`
|
|
case :$dllsearchpath: in
|
|
*":$dir:"*) ;;
|
|
@@ -6863,7 +6863,7 @@
|
|
-l*)
|
|
if test X-lc = "X$arg" || test X-lm = "X$arg"; then
|
|
case $host in
|
|
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
|
|
+ *-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
|
|
# These systems don't actually have a C or math library (as such)
|
|
continue
|
|
;;
|
|
@@ -6946,7 +6946,7 @@
|
|
|
|
-no-install)
|
|
case $host in
|
|
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
|
|
+ *-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*)
|
|
# The PATH hackery in wrapper scripts is required on Windows
|
|
# and Darwin in order for the loader to find any dlls it needs.
|
|
func_warning "'-no-install' is ignored for $host"
|
|
@@ -7812,7 +7812,7 @@
|
|
fi
|
|
case $host in
|
|
# special handling for platforms with PE-DLLs.
|
|
- *cygwin* | *mingw* | *cegcc* )
|
|
+ *cygwin* | *msys* | *mingw* | *cegcc* )
|
|
# Linker will automatically link against shared library if both
|
|
# static and shared are present. Therefore, ensure we extract
|
|
# symbols from the import library if a shared library is present
|
|
@@ -7956,7 +7956,7 @@
|
|
if test -n "$library_names" &&
|
|
{ test no = "$use_static_libs" || test -z "$old_library"; }; then
|
|
case $host in
|
|
- *cygwin* | *mingw* | *cegcc* | *os2*)
|
|
+ *cygwin* | *msys* | *mingw* | *cegcc* | *os2*)
|
|
# No point in relinking DLLs because paths are not encoded
|
|
func_append notinst_deplibs " $lib"
|
|
need_relink=no
|
|
@@ -8026,7 +8026,7 @@
|
|
elif test -n "$soname_spec"; then
|
|
# bleh windows
|
|
case $host in
|
|
- *cygwin* | mingw* | *cegcc* | *os2*)
|
|
+ *cygwin* | *msys* | mingw* | *cegcc* | *os2*)
|
|
func_arith $current - $age
|
|
major=$func_arith_result
|
|
versuffix=-$major
|
|
@@ -8899,7 +8899,7 @@
|
|
if test yes = "$build_libtool_libs"; then
|
|
if test -n "$rpath"; then
|
|
case $host in
|
|
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
|
|
+ *-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*)
|
|
# these systems don't actually have a c library (as such)!
|
|
;;
|
|
*-*-rhapsody* | *-*-darwin1.[012])
|
|
@@ -9413,7 +9413,7 @@
|
|
|
|
orig_export_symbols=
|
|
case $host_os in
|
|
- cygwin* | mingw* | cegcc*)
|
|
+ cygwin* | *msys* | mingw* | cegcc*)
|
|
if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
|
|
# exporting using user supplied symfile
|
|
func_dll_def_p "$export_symbols" || {
|
|
@@ -9970,7 +9970,7 @@
|
|
|
|
prog)
|
|
case $host in
|
|
- *cygwin*) func_stripname '' '.exe' "$output"
|
|
+ *cygwin* | *msys*) func_stripname '' '.exe' "$output"
|
|
output=$func_stripname_result.exe;;
|
|
esac
|
|
test -n "$vinfo" && \
|
|
@@ -10081,7 +10081,7 @@
|
|
esac
|
|
fi
|
|
case $host in
|
|
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
|
|
+ *-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
|
|
testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'`
|
|
case :$dllsearchpath: in
|
|
*":$libdir:"*) ;;
|
|
@@ -10159,7 +10159,7 @@
|
|
# Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
|
|
wrappers_required=false
|
|
;;
|
|
- *cygwin* | *mingw* )
|
|
+ *cygwin* | *msys* | *mingw* )
|
|
test yes = "$build_libtool_libs" || wrappers_required=false
|
|
;;
|
|
*)
|
|
@@ -10305,14 +10305,14 @@
|
|
esac
|
|
# test for cygwin because mv fails w/o .exe extensions
|
|
case $host in
|
|
- *cygwin*)
|
|
+ *cygwin* | *msys*)
|
|
exeext=.exe
|
|
func_stripname '' '.exe' "$outputname"
|
|
outputname=$func_stripname_result ;;
|
|
*) exeext= ;;
|
|
esac
|
|
case $host in
|
|
- *cygwin* | *mingw* )
|
|
+ *cygwin* | *msys* | *mingw* )
|
|
func_dirname_and_basename "$output" "" "."
|
|
output_name=$func_basename_result
|
|
output_path=$func_dirname_result
|
|
@@ -10644,7 +10644,7 @@
|
|
# tests/bindir.at for full details.
|
|
tdlname=$dlname
|
|
case $host,$output,$installed,$module,$dlname in
|
|
- *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
|
|
+ *cygwin*,*lai,yes,no,*.dll | *msys*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
|
|
# If a -bindir argument was supplied, place the dll there.
|
|
if test -n "$bindir"; then
|
|
func_relative_path "$install_libdir" "$bindir"
|
|
diff -Naur libtool-2.4.2.418-orig/configure libtool-2.4.2.418/configure
|
|
--- libtool-2.4.2.418-orig/configure 2014-09-02 09:54:56.372400000 +0400
|
|
+++ libtool-2.4.2.418/configure 2014-09-02 10:08:13.716000000 +0400
|
|
@@ -5759,7 +5759,7 @@
|
|
lt_cv_sys_max_cmd_len=-1;
|
|
;;
|
|
|
|
- cygwin* | mingw* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | cegcc*)
|
|
# On Win9x/ME, this test blows up -- it succeeds, but takes
|
|
# about 5 minutes as the teststring grows exponentially.
|
|
# Worse, since 9x/ME are not pre-emptively multitasking,
|
|
@@ -5925,7 +5925,7 @@
|
|
*-*-mingw* ) # actually msys
|
|
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
|
|
;;
|
|
- *-*-cygwin* )
|
|
+ *-*-cygwin* | *-*-msys* )
|
|
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
|
|
;;
|
|
* ) # otherwise, assume *nix
|
|
@@ -5933,12 +5933,12 @@
|
|
;;
|
|
esac
|
|
;;
|
|
- *-*-cygwin* )
|
|
+ *-*-cygwin* | *-*-msys* )
|
|
case $build in
|
|
*-*-mingw* ) # actually msys
|
|
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
|
|
;;
|
|
- *-*-cygwin* )
|
|
+ *-*-cygwin* | *-*-msys* )
|
|
lt_cv_to_host_file_cmd=func_convert_file_noop
|
|
;;
|
|
* ) # otherwise, assume *nix
|
|
@@ -6004,7 +6004,7 @@
|
|
esac
|
|
reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
|
case $host_os in
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
if test yes != "$GCC"; then
|
|
reload_cmds=false
|
|
fi
|
|
@@ -6159,7 +6159,7 @@
|
|
lt_cv_file_magic_test_file=/shlib/libc.so
|
|
;;
|
|
|
|
-cygwin*)
|
|
+cygwin* | msys*)
|
|
# func_win32_libid is a shell function defined in ltmain.sh
|
|
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
|
|
lt_cv_file_magic_cmd='func_win32_libid'
|
|
@@ -6472,7 +6472,7 @@
|
|
lt_cv_sharedlib_from_linklib_cmd='unknown'
|
|
|
|
case $host_os in
|
|
-cygwin* | mingw* | pw32* | cegcc*)
|
|
+cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# two different shell functions defined in ltmain.sh;
|
|
# decide which one to use based on capabilities of $DLLTOOL
|
|
case `$DLLTOOL --help 2>&1` in
|
|
@@ -6964,7 +6964,7 @@
|
|
aix*)
|
|
symcode='[BCDT]'
|
|
;;
|
|
-cygwin* | mingw* | pw32* | cegcc*)
|
|
+cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
symcode='[ABCDGISTW]'
|
|
;;
|
|
hpux*)
|
|
@@ -8456,7 +8456,7 @@
|
|
enable_win32_dll=yes
|
|
|
|
case $host in
|
|
-*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
|
|
+*-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
|
|
if test -n "$ac_tool_prefix"; then
|
|
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
|
|
set dummy ${ac_tool_prefix}as; ac_word=$2
|
|
@@ -9312,7 +9312,7 @@
|
|
# PIC is the default for these OSes.
|
|
;;
|
|
|
|
- mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
@@ -9410,7 +9410,7 @@
|
|
esac
|
|
;;
|
|
|
|
- mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
lt_prog_compiler_pic='-DDLL_EXPORT'
|
|
@@ -9907,7 +9907,7 @@
|
|
extract_expsyms_cmds=
|
|
|
|
case $host_os in
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
@@ -10022,7 +10022,7 @@
|
|
fi
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
|
|
# as there is no search path for DLLs.
|
|
hardcode_libdir_flag_spec='-L$libdir'
|
|
@@ -10481,7 +10481,7 @@
|
|
export_dynamic_flag_spec=-rdynamic
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
|
@@ -11434,7 +11434,7 @@
|
|
# libtool to hard-code these into programs
|
|
;;
|
|
|
|
-cygwin* | mingw* | pw32* | cegcc*)
|
|
+cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
version_type=windows
|
|
shrext_cmds=.dll
|
|
need_version=no
|
|
@@ -11466,6 +11466,12 @@
|
|
|
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
|
|
;;
|
|
+ msys*)
|
|
+ # MSYS DLLs use 'msys-' prefix rather than 'lib'
|
|
+ soname_spec='`echo $libname | sed -e 's/^lib/msys-/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
|
+
|
|
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
|
|
+ ;;
|
|
mingw* | cegcc*)
|
|
# MinGW DLLs use traditional 'lib' prefix
|
|
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
|
@@ -11500,7 +11506,7 @@
|
|
# Convert to MSYS style.
|
|
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
|
|
;;
|
|
- cygwin*)
|
|
+ cygwin* | msys*)
|
|
# Convert to unix form, then to dos form, then back to unix form
|
|
# but this time dos style (no spaces!) so that the unix form looks
|
|
# like /cygdrive/c/PROGRA~1:/cygdr...
|
|
@@ -12159,7 +12165,7 @@
|
|
lt_cv_dlopen_libs=
|
|
;;
|
|
|
|
- cygwin*)
|
|
+ cygwin* | msys*)
|
|
lt_cv_dlopen=dlopen
|
|
lt_cv_dlopen_libs=
|
|
;;
|
|
@@ -13085,7 +13091,7 @@
|
|
beos*)
|
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
|
|
;;
|
|
-cygwin* | mingw* | pw32*)
|
|
+cygwin* | msys* | mingw* | pw32*)
|
|
ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
|
|
"
|
|
if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
|
|
@@ -13507,7 +13513,7 @@
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
case $host_os in #(
|
|
- *cygwin*)
|
|
+ *cygwin* | *msys*)
|
|
lt_cv_sys_argz_works=no
|
|
if test no != "$cross_compiling"; then
|
|
lt_cv_sys_argz_works="guessing no"
|
|
@@ -14742,7 +14748,7 @@
|
|
esac
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
case $GXX,$cc_basename in
|
|
,cl* | no,cl*)
|
|
# Native MSVC
|
|
@@ -15769,7 +15775,7 @@
|
|
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
|
# PIC is the default for these OSes.
|
|
;;
|
|
- mingw* | cygwin* | os2* | pw32* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | os2* | pw32* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
@@ -15839,7 +15845,7 @@
|
|
;;
|
|
esac
|
|
;;
|
|
- mingw* | cygwin* | os2* | pw32* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | os2* | pw32* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
|
|
@@ -16324,7 +16330,7 @@
|
|
pw32*)
|
|
export_symbols_cmds_CXX=$ltdll_cmds
|
|
;;
|
|
- cygwin* | mingw* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | cegcc*)
|
|
case $cc_basename in
|
|
cl*)
|
|
exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
|
|
@@ -16593,7 +16599,7 @@
|
|
# libtool to hard-code these into programs
|
|
;;
|
|
|
|
-cygwin* | mingw* | pw32* | cegcc*)
|
|
+cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
version_type=windows
|
|
shrext_cmds=.dll
|
|
need_version=no
|
|
@@ -16624,6 +16630,11 @@
|
|
soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
|
|
|
;;
|
|
+ msys*)
|
|
+ # MSYS DLLs use 'msys-' prefix rather than 'lib'
|
|
+ soname_spec='`echo $libname | sed -e 's/^lib/msys-/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
|
+
|
|
+ ;;
|
|
mingw* | cegcc*)
|
|
# MinGW DLLs use traditional 'lib' prefix
|
|
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
|
@@ -17662,7 +17673,7 @@
|
|
# PIC is the default for these OSes.
|
|
;;
|
|
|
|
- mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
@@ -17760,7 +17771,7 @@
|
|
esac
|
|
;;
|
|
|
|
- mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
|
|
@@ -18242,7 +18253,7 @@
|
|
extract_expsyms_cmds=
|
|
|
|
case $host_os in
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
@@ -18357,7 +18368,7 @@
|
|
fi
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
|
|
# as there is no search path for DLLs.
|
|
hardcode_libdir_flag_spec_F77='-L$libdir'
|
|
@@ -18804,7 +18815,7 @@
|
|
export_dynamic_flag_spec_F77=-rdynamic
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
|
@@ -19549,7 +19560,7 @@
|
|
# libtool to hard-code these into programs
|
|
;;
|
|
|
|
-cygwin* | mingw* | pw32* | cegcc*)
|
|
+cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
version_type=windows
|
|
shrext_cmds=.dll
|
|
need_version=no
|
|
@@ -19580,6 +19591,11 @@
|
|
soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
|
|
|
;;
|
|
+ msys*)
|
|
+ # MSYS DLLs use 'msys-' prefix rather than 'lib'
|
|
+ soname_spec='`echo $libname | sed -e 's/^lib/msys-/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
|
+
|
|
+ ;;
|
|
mingw* | cegcc*)
|
|
# MinGW DLLs use traditional 'lib' prefix
|
|
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
|
@@ -19614,7 +19630,7 @@
|
|
# Convert to MSYS style.
|
|
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
|
|
;;
|
|
- cygwin*)
|
|
+ cygwin* | msys*)
|
|
# Convert to unix form, then to dos form, then back to unix form
|
|
# but this time dos style (no spaces!) so that the unix form looks
|
|
# like /cygdrive/c/PROGRA~1:/cygdr...
|
|
@@ -20753,7 +20769,7 @@
|
|
# PIC is the default for these OSes.
|
|
;;
|
|
|
|
- mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
@@ -20851,7 +20867,7 @@
|
|
esac
|
|
;;
|
|
|
|
- mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
lt_prog_compiler_pic_FC='-DDLL_EXPORT'
|
|
@@ -21333,7 +21349,7 @@
|
|
extract_expsyms_cmds=
|
|
|
|
case $host_os in
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
@@ -21448,7 +21464,7 @@
|
|
fi
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
|
|
# as there is no search path for DLLs.
|
|
hardcode_libdir_flag_spec_FC='-L$libdir'
|
|
@@ -21895,7 +21911,7 @@
|
|
export_dynamic_flag_spec_FC=-rdynamic
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
|
@@ -22640,7 +22656,7 @@
|
|
# libtool to hard-code these into programs
|
|
;;
|
|
|
|
-cygwin* | mingw* | pw32* | cegcc*)
|
|
+cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
version_type=windows
|
|
shrext_cmds=.dll
|
|
need_version=no
|
|
@@ -22671,6 +22687,11 @@
|
|
soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
|
|
|
;;
|
|
+ msys*)
|
|
+ # MSYS DLLs use 'msys-' prefix rather than 'lib'
|
|
+ soname_spec='`echo $libname | sed -e 's/^lib/msys-/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
|
+
|
|
+ ;;
|
|
mingw* | cegcc*)
|
|
# MinGW DLLs use traditional 'lib' prefix
|
|
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
|
@@ -22705,7 +22726,7 @@
|
|
# Convert to MSYS style.
|
|
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
|
|
;;
|
|
- cygwin*)
|
|
+ cygwin* | msys*)
|
|
# Convert to unix form, then to dos form, then back to unix form
|
|
# but this time dos style (no spaces!) so that the unix form looks
|
|
# like /cygdrive/c/PROGRA~1:/cygdr...
|
|
@@ -23567,7 +23588,7 @@
|
|
# PIC is the default for these OSes.
|
|
;;
|
|
|
|
- mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
@@ -23665,7 +23686,7 @@
|
|
esac
|
|
;;
|
|
|
|
- mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
lt_prog_compiler_pic_GO='-DDLL_EXPORT'
|
|
@@ -24147,7 +24168,7 @@
|
|
extract_expsyms_cmds=
|
|
|
|
case $host_os in
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
@@ -24262,7 +24283,7 @@
|
|
fi
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, GO) is actually meaningless,
|
|
# as there is no search path for DLLs.
|
|
hardcode_libdir_flag_spec_GO='-L$libdir'
|
|
@@ -24721,7 +24742,7 @@
|
|
export_dynamic_flag_spec_GO=-rdynamic
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
|
@@ -25680,7 +25701,7 @@
|
|
# PIC is the default for these OSes.
|
|
;;
|
|
|
|
- mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
@@ -25778,7 +25799,7 @@
|
|
esac
|
|
;;
|
|
|
|
- mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
|
|
@@ -26260,7 +26281,7 @@
|
|
extract_expsyms_cmds=
|
|
|
|
case $host_os in
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
@@ -26375,7 +26396,7 @@
|
|
fi
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
|
|
# as there is no search path for DLLs.
|
|
hardcode_libdir_flag_spec_GCJ='-L$libdir'
|
|
@@ -26834,7 +26855,7 @@
|
|
export_dynamic_flag_spec_GCJ=-rdynamic
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
|
diff -Naur libtool-2.4.2.418-orig/libltdl/configure libtool-2.4.2.418/libltdl/configure
|
|
--- libtool-2.4.2.418-orig/libltdl/configure 2014-09-02 09:54:56.450400000 +0400
|
|
+++ libtool-2.4.2.418/libltdl/configure 2014-09-02 10:24:37.093200000 +0400
|
|
@@ -4752,7 +4752,7 @@
|
|
lt_cv_sys_max_cmd_len=-1;
|
|
;;
|
|
|
|
- cygwin* | mingw* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | cegcc*)
|
|
# On Win9x/ME, this test blows up -- it succeeds, but takes
|
|
# about 5 minutes as the teststring grows exponentially.
|
|
# Worse, since 9x/ME are not pre-emptively multitasking,
|
|
@@ -4918,7 +4918,7 @@
|
|
*-*-mingw* ) # actually msys
|
|
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
|
|
;;
|
|
- *-*-cygwin* )
|
|
+ *-*-cygwin* | *-*-msys* )
|
|
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
|
|
;;
|
|
* ) # otherwise, assume *nix
|
|
@@ -4926,12 +4926,12 @@
|
|
;;
|
|
esac
|
|
;;
|
|
- *-*-cygwin* )
|
|
+ *-*-cygwin* | *-*-msys* )
|
|
case $build in
|
|
*-*-mingw* ) # actually msys
|
|
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
|
|
;;
|
|
- *-*-cygwin* )
|
|
+ *-*-cygwin* | *-*-msys* )
|
|
lt_cv_to_host_file_cmd=func_convert_file_noop
|
|
;;
|
|
* ) # otherwise, assume *nix
|
|
@@ -4997,7 +4997,7 @@
|
|
esac
|
|
reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
|
case $host_os in
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
if test yes != "$GCC"; then
|
|
reload_cmds=false
|
|
fi
|
|
@@ -5152,7 +5152,7 @@
|
|
lt_cv_file_magic_test_file=/shlib/libc.so
|
|
;;
|
|
|
|
-cygwin*)
|
|
+cygwin* | msys*)
|
|
# func_win32_libid is a shell function defined in ltmain.sh
|
|
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
|
|
lt_cv_file_magic_cmd='func_win32_libid'
|
|
@@ -5465,7 +5465,7 @@
|
|
lt_cv_sharedlib_from_linklib_cmd='unknown'
|
|
|
|
case $host_os in
|
|
-cygwin* | mingw* | pw32* | cegcc*)
|
|
+cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# two different shell functions defined in ltmain.sh;
|
|
# decide which one to use based on capabilities of $DLLTOOL
|
|
case `$DLLTOOL --help 2>&1` in
|
|
@@ -5958,7 +5958,7 @@
|
|
aix*)
|
|
symcode='[BCDT]'
|
|
;;
|
|
-cygwin* | mingw* | pw32* | cegcc*)
|
|
+cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
symcode='[ABCDGISTW]'
|
|
;;
|
|
hpux*)
|
|
@@ -7588,7 +7588,7 @@
|
|
enable_win32_dll=yes
|
|
|
|
case $host in
|
|
-*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
|
|
+*-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
|
|
if test -n "$ac_tool_prefix"; then
|
|
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
|
|
set dummy ${ac_tool_prefix}as; ac_word=$2
|
|
@@ -8444,7 +8444,7 @@
|
|
# PIC is the default for these OSes.
|
|
;;
|
|
|
|
- mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
@@ -8542,7 +8542,7 @@
|
|
esac
|
|
;;
|
|
|
|
- mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
lt_prog_compiler_pic='-DDLL_EXPORT'
|
|
@@ -9039,7 +9039,7 @@
|
|
extract_expsyms_cmds=
|
|
|
|
case $host_os in
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
@@ -9154,7 +9154,7 @@
|
|
fi
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
|
|
# as there is no search path for DLLs.
|
|
hardcode_libdir_flag_spec='-L$libdir'
|
|
@@ -9613,7 +9613,7 @@
|
|
export_dynamic_flag_spec=-rdynamic
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
|
@@ -10566,7 +10566,7 @@
|
|
# libtool to hard-code these into programs
|
|
;;
|
|
|
|
-cygwin* | mingw* | pw32* | cegcc*)
|
|
+cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
version_type=windows
|
|
shrext_cmds=.dll
|
|
need_version=no
|
|
@@ -10598,6 +10598,12 @@
|
|
|
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
|
|
;;
|
|
+ msys*)
|
|
+ # MSYS DLLs use 'msys-' prefix rather than 'lib'
|
|
+ soname_spec='`echo $libname | sed -e 's/^lib/msys-/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
|
+
|
|
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
|
|
+ ;;
|
|
mingw* | cegcc*)
|
|
# MinGW DLLs use traditional 'lib' prefix
|
|
soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
|
|
@@ -10632,7 +10638,7 @@
|
|
# Convert to MSYS style.
|
|
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
|
|
;;
|
|
- cygwin*)
|
|
+ cygwin* | msys*)
|
|
# Convert to unix form, then to dos form, then back to unix form
|
|
# but this time dos style (no spaces!) so that the unix form looks
|
|
# like /cygdrive/c/PROGRA~1:/cygdr...
|
|
@@ -11291,7 +11297,7 @@
|
|
lt_cv_dlopen_libs=
|
|
;;
|
|
|
|
- cygwin*)
|
|
+ cygwin* | msys*)
|
|
lt_cv_dlopen=dlopen
|
|
lt_cv_dlopen_libs=
|
|
;;
|
|
@@ -12216,7 +12222,7 @@
|
|
beos*)
|
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
|
|
;;
|
|
-cygwin* | mingw* | pw32*)
|
|
+cygwin* | msys* | mingw* | pw32*)
|
|
ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
|
|
"
|
|
if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
|
|
@@ -12638,7 +12644,7 @@
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
case $host_os in #(
|
|
- *cygwin*)
|
|
+ *cygwin* | *msys*)
|
|
lt_cv_sys_argz_works=no
|
|
if test no != "$cross_compiling"; then
|
|
lt_cv_sys_argz_works="guessing no"
|
|
diff -Naur libtool-2.4.2.418-orig/m4/libtool.m4 libtool-2.4.2.418/m4/libtool.m4
|
|
--- libtool-2.4.2.418-orig/m4/libtool.m4 2013-10-26 03:37:46.000000000 +0400
|
|
+++ libtool-2.4.2.418/m4/libtool.m4 2014-09-02 10:19:40.084800000 +0400
|
|
@@ -1665,7 +1665,7 @@
|
|
lt_cv_sys_max_cmd_len=-1;
|
|
;;
|
|
|
|
- cygwin* | mingw* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | cegcc*)
|
|
# On Win9x/ME, this test blows up -- it succeeds, but takes
|
|
# about 5 minutes as the teststring grows exponentially.
|
|
# Worse, since 9x/ME are not pre-emptively multitasking,
|
|
@@ -1913,7 +1913,7 @@
|
|
lt_cv_dlopen_libs=
|
|
;;
|
|
|
|
- cygwin*)
|
|
+ cygwin* | msys*)
|
|
lt_cv_dlopen=dlopen
|
|
lt_cv_dlopen_libs=
|
|
;;
|
|
@@ -2399,7 +2399,7 @@
|
|
# libtool to hard-code these into programs
|
|
;;
|
|
|
|
-cygwin* | mingw* | pw32* | cegcc*)
|
|
+cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
version_type=windows
|
|
shrext_cmds=.dll
|
|
need_version=no
|
|
@@ -2431,6 +2431,12 @@
|
|
m4_if([$1], [],[
|
|
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
|
|
;;
|
|
+ msys*)
|
|
+ # MSYS DLLs use 'msys-' prefix rather than 'lib'
|
|
+ soname_spec='`echo $libname | sed -e 's/^lib/msys-/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
|
+m4_if([$1], [],[
|
|
+ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
|
|
+ ;;
|
|
mingw* | cegcc*)
|
|
# MinGW DLLs use traditional 'lib' prefix
|
|
soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
|
|
@@ -2465,7 +2471,7 @@
|
|
# Convert to MSYS style.
|
|
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'`
|
|
;;
|
|
- cygwin*)
|
|
+ cygwin* | msys*)
|
|
# Convert to unix form, then to dos form, then back to unix form
|
|
# but this time dos style (no spaces!) so that the unix form looks
|
|
# like /cygdrive/c/PROGRA~1:/cygdr...
|
|
@@ -3203,7 +3209,7 @@
|
|
esac
|
|
reload_cmds='$LD$reload_flag -o $output$reload_objs'
|
|
case $host_os in
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
if test yes != "$GCC"; then
|
|
reload_cmds=false
|
|
fi
|
|
@@ -3259,7 +3265,7 @@
|
|
lt_cv_file_magic_test_file=/shlib/libc.so
|
|
;;
|
|
|
|
-cygwin*)
|
|
+cygwin* | msys*)
|
|
# func_win32_libid is a shell function defined in ltmain.sh
|
|
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
|
|
lt_cv_file_magic_cmd='func_win32_libid'
|
|
@@ -3564,7 +3570,7 @@
|
|
[lt_cv_sharedlib_from_linklib_cmd='unknown'
|
|
|
|
case $host_os in
|
|
-cygwin* | mingw* | pw32* | cegcc*)
|
|
+cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# two different shell functions defined in ltmain.sh;
|
|
# decide which one to use based on capabilities of $DLLTOOL
|
|
case `$DLLTOOL --help 2>&1` in
|
|
@@ -3634,7 +3640,7 @@
|
|
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
|
|
LIBM=
|
|
case $host in
|
|
-*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
|
|
+*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-msys* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
|
|
# These system don't have libm, or don't need it
|
|
;;
|
|
*-ncr-sysv4.3*)
|
|
@@ -3709,7 +3715,7 @@
|
|
aix*)
|
|
symcode='[[BCDT]]'
|
|
;;
|
|
-cygwin* | mingw* | pw32* | cegcc*)
|
|
+cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
symcode='[[ABCDGISTW]]'
|
|
;;
|
|
hpux*)
|
|
@@ -4015,7 +4021,7 @@
|
|
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
|
|
# PIC is the default for these OSes.
|
|
;;
|
|
- mingw* | cygwin* | os2* | pw32* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | os2* | pw32* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
@@ -4086,7 +4092,7 @@
|
|
;;
|
|
esac
|
|
;;
|
|
- mingw* | cygwin* | os2* | pw32* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | os2* | pw32* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
m4_if([$1], [GCJ], [],
|
|
@@ -4334,7 +4340,7 @@
|
|
# PIC is the default for these OSes.
|
|
;;
|
|
|
|
- mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
# Although the cygwin gcc ignores -fPIC, still need this for old-style
|
|
@@ -4433,7 +4439,7 @@
|
|
esac
|
|
;;
|
|
|
|
- mingw* | cygwin* | pw32* | os2* | cegcc*)
|
|
+ mingw* | cygwin* | msys* | pw32* | os2* | cegcc*)
|
|
# This hack is so that the source file can tell whether it is being
|
|
# built for inclusion in a dll (and should export symbols for example).
|
|
m4_if([$1], [GCJ], [],
|
|
@@ -4699,7 +4705,7 @@
|
|
pw32*)
|
|
_LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds
|
|
;;
|
|
- cygwin* | mingw* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | cegcc*)
|
|
case $cc_basename in
|
|
cl*)
|
|
_LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
|
|
@@ -4757,7 +4763,7 @@
|
|
extract_expsyms_cmds=
|
|
|
|
case $host_os in
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# FIXME: the MSVC++ port hasn't been tested in a loooong time
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
@@ -4872,7 +4878,7 @@
|
|
fi
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
|
|
# as there is no search path for DLLs.
|
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
|
|
@@ -5247,7 +5253,7 @@
|
|
_LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
# When not using gcc, we currently assume that we are using
|
|
# Microsoft Visual C++.
|
|
# hardcode_libdir_flag_spec is actually meaningless, as there is
|
|
@@ -6241,7 +6247,7 @@
|
|
esac
|
|
;;
|
|
|
|
- cygwin* | mingw* | pw32* | cegcc*)
|
|
+ cygwin* | msys* | mingw* | pw32* | cegcc*)
|
|
case $GXX,$cc_basename in
|
|
,cl* | no,cl*)
|
|
# Native MSVC
|
|
@@ -7937,7 +7943,7 @@
|
|
*-*-mingw* ) # actually msys
|
|
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
|
|
;;
|
|
- *-*-cygwin* )
|
|
+ *-*-cygwin* | *-*-msys* )
|
|
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
|
|
;;
|
|
* ) # otherwise, assume *nix
|
|
@@ -7945,12 +7951,12 @@
|
|
;;
|
|
esac
|
|
;;
|
|
- *-*-cygwin* )
|
|
+ *-*-cygwin* | *-*-msys* )
|
|
case $build in
|
|
*-*-mingw* ) # actually msys
|
|
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
|
|
;;
|
|
- *-*-cygwin* )
|
|
+ *-*-cygwin* | *-*-msys* )
|
|
lt_cv_to_host_file_cmd=func_convert_file_noop
|
|
;;
|
|
* ) # otherwise, assume *nix
|
|
diff -Naur libtool-2.4.2.418-orig/m4/ltdl.m4 libtool-2.4.2.418/m4/ltdl.m4
|
|
--- libtool-2.4.2.418-orig/m4/ltdl.m4 2013-10-26 03:37:46.000000000 +0400
|
|
+++ libtool-2.4.2.418/m4/ltdl.m4 2014-09-02 10:19:58.102800000 +0400
|
|
@@ -706,7 +706,7 @@
|
|
beos*)
|
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
|
|
;;
|
|
-cygwin* | mingw* | pw32*)
|
|
+cygwin* | msys* | mingw* | pw32*)
|
|
AC_CHECK_DECLS([cygwin_conv_path], [], [], [[#include <sys/cygwin.h>]])
|
|
LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
|
|
;;
|
|
diff -Naur libtool-2.4.2.418-orig/m4/ltoptions.m4 libtool-2.4.2.418/m4/ltoptions.m4
|
|
--- libtool-2.4.2.418-orig/m4/ltoptions.m4 2013-10-26 03:37:46.000000000 +0400
|
|
+++ libtool-2.4.2.418/m4/ltoptions.m4 2014-09-02 10:20:19.069200000 +0400
|
|
@@ -126,7 +126,7 @@
|
|
[enable_win32_dll=yes
|
|
|
|
case $host in
|
|
-*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
|
|
+*-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
|
|
AC_CHECK_TOOL(AS, as, false)
|
|
AC_CHECK_TOOL(DLLTOOL, dlltool, false)
|
|
AC_CHECK_TOOL(OBJDUMP, objdump, false)
|
|
diff -Naur libtool-2.4.2.418-orig/tests/bindir.at libtool-2.4.2.418/tests/bindir.at
|
|
--- libtool-2.4.2.418-orig/tests/bindir.at 2013-01-26 08:19:10.000000000 +0400
|
|
+++ libtool-2.4.2.418/tests/bindir.at 2014-09-02 10:21:21.999600000 +0400
|
|
@@ -65,7 +65,7 @@
|
|
|
|
bindirneeded=:
|
|
case $host_os in
|
|
- cygwin*|mingw*|cegcc*)
|
|
+ cygwin*|msys*|mingw*|cegcc*)
|
|
;;
|
|
*)
|
|
bindirneeded=false
|
|
@@ -174,7 +174,7 @@
|
|
|
|
bindirneeded=:
|
|
case $host_os in
|
|
- cygwin*|mingw*|cegcc*)
|
|
+ cygwin*|msys*|mingw*|cegcc*)
|
|
;;
|
|
*)
|
|
bindirneeded=false
|
|
diff -Naur libtool-2.4.2.418-orig/tests/lt_dladvise.at libtool-2.4.2.418/tests/lt_dladvise.at
|
|
--- libtool-2.4.2.418-orig/tests/lt_dladvise.at 2013-01-01 21:36:01.000000000 +0400
|
|
+++ libtool-2.4.2.418/tests/lt_dladvise.at 2014-09-02 10:20:51.298800000 +0400
|
|
@@ -332,7 +332,7 @@
|
|
$LIBTOOL --features | grep 'enable shared libraries' >/dev/null && have_shared=:
|
|
|
|
case $host_os,$have_shared in
|
|
-cygwin* | mingw* | cegcc* | *,false)
|
|
+cygwin* | msys* | mingw* | cegcc* | *,false)
|
|
# These hosts do not support linking without -no-undefined
|
|
CPPFLAGS="$CPPFLAGS -DHAVE_UNDEFINED_SYMBOLS=0"
|
|
;;
|