[commit: ghc] master: configure in base: add msys to windows check (1f92420)
git at git.haskell.org
git at git.haskell.org
Tue Oct 7 13:53:05 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/1f924208b3d85ed115c16f40ad9fc2f729fbb344/ghc
>---------------------------------------------------------------
commit 1f924208b3d85ed115c16f40ad9fc2f729fbb344
Author: Yuras Shumovich <shumovichy at gmail.com>
Date: Tue Oct 7 08:49:25 2014 -0500
configure in base: add msys to windows check
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
>---------------------------------------------------------------
1f924208b3d85ed115c16f40ad9fc2f729fbb344
libraries/base/configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libraries/base/configure.ac b/libraries/base/configure.ac
index 06e8a5d..4835a2b 100644
--- a/libraries/base/configure.ac
+++ b/libraries/base/configure.ac
@@ -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;;
More information about the ghc-commits
mailing list