configure in base: add msys to windows check
authorYuras Shumovich <shumovichy@gmail.com>
Tue, 7 Oct 2014 13:49:25 +0000 (08:49 -0500)
committerAustin Seipp <austin@well-typed.com>
Tue, 7 Oct 2014 13:49:25 +0000 (08:49 -0500)
Summary:
I'm building ghc on windows x86 under msys2, and found that libraries/base/configure isn't able to detect msys as windows platform.

I'm not 100% sure it is the right solution. Probably I have local misconfiguration somewhere. So feel free to reject.

Test Plan: not necessary

Reviewers: austin

Reviewed By: austin

Subscribers: simonmar, ezyang, carter, thomie

Projects: #ghc

Differential Revision: https://phabricator.haskell.org/D305

libraries/base/configure.ac

index 06e8a5d..4835a2b 100644 (file)
@@ -16,7 +16,7 @@ AC_PROG_CC()
 
 AC_MSG_CHECKING(for WINDOWS platform)
 case $host in
-    *mingw32*|*mingw64*|*cygwin*)
+    *mingw32*|*mingw64*|*cygwin*|*msys*)
         WINDOWS=YES;;
     *)
         WINDOWS=NO;;