diff -Naur a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -225,7 +225,7 @@
 AC_SUBST(MPC_LDFLAGS)
 AC_LIBTOOL_WIN32_DLL
 case $host in
-  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
+  *-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-os2*)
      MPC_WINDOWS
 esac
 
