diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2018-03-26 15:18:00 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-03-27 09:53:10 -0400 |
commit | 8cfd2e4e5832bd188816e64daaa95c9003437723 (patch) | |
tree | db219aaf91726ea8f3fc00c12250b42161f10449 /aclocal.m4 | |
parent | 3ebf05f5410a3e89d4dc6d451aea5020706fa5b0 (diff) | |
download | haskell-8cfd2e4e5832bd188816e64daaa95c9003437723.tar.gz |
configure: Throw error if OS is found to be msys
Test Plan: Try running configure on Windows with msys and mingw
toolchains
Reviewers: Phyx, hvr
Reviewed By: Phyx
Subscribers: rwbarton, thomie, erikd, carter
Differential Revision: https://phabricator.haskell.org/D4526
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index b0a3d44cd6..5b0a679e58 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1973,6 +1973,9 @@ AC_DEFUN([GHC_CONVERT_OS],[ freebsd|netbsd|dragonfly|hpux|linuxaout|kfreebsdgnu|freebsd2|mingw32|darwin|nextstep2|nextstep3|sunos4|ultrix|haiku) $3="$1" ;; + msys) + AC_MSG_ERROR([Building GHC using the msys toolchain is not supported; please use mingw instead. Perhaps you need to set 'MSYSTEM=MINGW64 or MINGW32?']) + ;; aix*) # e.g. powerpc-ibm-aix7.1.3.0 $3="aix" ;; |