Commit 8cfd2e4e authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari

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
parent 3ebf05f5
......@@ -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"
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment