diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/fptools_set_haskell_platform_vars.m4 | 2 | ||||
-rw-r--r-- | m4/ghc_convert_os.m4 | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/m4/fptools_set_haskell_platform_vars.m4 b/m4/fptools_set_haskell_platform_vars.m4 index 1a32b3046b..02b5b4e53c 100644 --- a/m4/fptools_set_haskell_platform_vars.m4 +++ b/m4/fptools_set_haskell_platform_vars.m4 @@ -82,7 +82,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS_SHELL_FUNCTIONS], solaris2) test -z "[$]2" || eval "[$]2=OSSolaris2" ;; - mingw32) + mingw32|windows) test -z "[$]2" || eval "[$]2=OSMinGW32" ;; freebsd) 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) |