diff options
author | PHO <pho@cielonegro.org> | 2020-01-18 19:31:19 +0900 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-01-20 15:37:08 -0500 |
commit | 3dae006fc424e768bb43fc73851a08fefcb732a5 (patch) | |
tree | 0c588f19212945ad2b2f31a3cf90cb7cbd39ffd2 /aclocal.m4 | |
parent | 17e43a7cd48d862f38d3944d44024646f2e97b87 (diff) | |
download | haskell-3dae006fc424e768bb43fc73851a08fefcb732a5.tar.gz |
Avoid ./configure failure on NetBSD
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index f2115152ea..4a037a46fd 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -2065,11 +2065,14 @@ AC_DEFUN([GHC_CONVERT_OS],[ linux-*|linux) $3="linux" ;; + netbsd*) + $3="netbsd" + ;; openbsd*) $3="openbsd" ;; # As far as I'm aware, none of these have relevant variants - freebsd|netbsd|dragonfly|hpux|linuxaout|kfreebsdgnu|freebsd2|mingw32|darwin|nextstep2|nextstep3|sunos4|ultrix|haiku) + freebsd|dragonfly|hpux|linuxaout|kfreebsdgnu|freebsd2|mingw32|darwin|nextstep2|nextstep3|sunos4|ultrix|haiku) $3="$1" ;; msys) |