diff -Naur gpgme-1.4.2-cygwin/build-aux/config.guess gpgme-1.4.2/build-aux/config.guess
--- gpgme-1.4.2-cygwin/build-aux/config.guess	2013-10-30 11:19:41.396200000 +0400
+++ gpgme-1.4.2/build-aux/config.guess	2013-10-30 11:20:47.805400000 +0400
@@ -844,6 +844,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 ;;
