diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2023-01-21 14:22:55 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-01-25 14:47:41 -0500 |
commit | 2fdf22aebda2307d86872c792633d1856d666c9b (patch) | |
tree | 5a59191c7e29c5c51f3f3ac6b9d950048fcc37ae /m4/ghc_convert_os.m4 | |
parent | 288fa0179a2f54e4594afe184eac71cc85c46643 (diff) | |
download | haskell-2fdf22aebda2307d86872c792633d1856d666c9b.tar.gz |
configure: support "windows" as an OS
Diffstat (limited to 'm4/ghc_convert_os.m4')
-rw-r--r-- | m4/ghc_convert_os.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/ghc_convert_os.m4 b/m4/ghc_convert_os.m4 index 8e2825d940..586b33d09b 100644 --- a/m4/ghc_convert_os.m4 +++ b/m4/ghc_convert_os.m4 @@ -22,8 +22,11 @@ AC_DEFUN([GHC_CONVERT_OS],[ openbsd*) $3="openbsd" ;; + windows|mingw32) + $3="mingw32" + ;; # As far as I'm aware, none of these have relevant variants - freebsd|dragonfly|hpux|linuxaout|kfreebsdgnu|freebsd2|mingw32|darwin|nextstep2|nextstep3|sunos4|ultrix|haiku) + freebsd|dragonfly|hpux|linuxaout|kfreebsdgnu|freebsd2|darwin|nextstep2|nextstep3|sunos4|ultrix|haiku) $3="$1" ;; msys) |