1
diff -Naur gmp-5.1.2-orig/configfsf.guess gmp-5.1.2/configfsf.guess
2
--- gmp-5.1.2-orig/configfsf.guess 2013-05-20 14:59:56.000000000 +0000
3
+++ gmp-5.1.2/configfsf.guess 2013-06-02 05:43:41.018554700 +0000
5
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
6
echo x86_64-unknown-cygwin
8
+ amd64:MSYS*:*:* | x86_64:MSYS*:*:*)
9
+ echo x86_64-unknown-msys
12
echo powerpcle-unknown-cygwin
14
diff -Naur gmp-5.1.2-orig/configure.ac gmp-5.1.2/configure.ac
15
--- gmp-5.1.2-orig/configure.ac 2013-05-20 14:59:56.000000000 +0000
16
+++ gmp-5.1.2/configure.ac 2013-06-02 05:42:33.099609400 +0000
18
cclist_64="$cclist_64 cc"
19
cc_64_cflags="-xO3 -m64"
21
- *-*-mingw* | *-*-cygwin)
22
+ *-*-mingw* | *-*-cygwin | *-*-msys)
24
CALLING_CONVENTIONS_OBJS_64=""
25
AC_DEFINE(HOST_DOS64,1,[Define to 1 for Windos/64])
28
AC_SUBST(LIBGMP_DLL,0)
30
- *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
31
+ *-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-os2*)
32
# By default, build only static.
33
if test -z "$enable_shared"; then
38
GMP_INCLUDE_MPN(x86_64/darwin.m4) ;;
39
- *-*-mingw* | *-*-cygwin)
40
+ *-*-mingw* | *-*-cygwin | *-*-msys)
41
GMP_INCLUDE_MPN(x86_64/dos64.m4) ;;
46
if test x$cross_compiling = xyes ; then
48
- *-*-mingw* | *-*-cygwin)
49
+ *-*-mingw* | *-*-cygwin | *-*-msys)
50
if test x$ABI = x64 ; then
51
AC_MSG_NOTICE([If wine64 is installed, use make check TESTS_ENVIRONMENT=wine64.])