diff -Naur apr-util-1.5.2-orig/build/config.guess apr-util-1.5.2/build/config.guess
--- apr-util-1.5.2-orig/build/config.guess	2011-05-20 20:22:23.000000000 +0000
@@ -870,6 +870,9 @@
     amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
 	echo x86_64-unknown-cygwin
 	exit ;;
+    amd64:MSYS*:*:* | x86_64:MSYS*:*:*)
+	echo x86_64-unknown-msys
+	exit ;;
     prep*:SunOS:5.*:*)
 	echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
 	exit ;;
