summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorPHO <pho@cielonegro.org>2020-01-18 19:31:19 +0900
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-01-20 15:37:08 -0500
commit3dae006fc424e768bb43fc73851a08fefcb732a5 (patch)
tree0c588f19212945ad2b2f31a3cf90cb7cbd39ffd2 /aclocal.m4
parent17e43a7cd48d862f38d3944d44024646f2e97b87 (diff)
downloadhaskell-3dae006fc424e768bb43fc73851a08fefcb732a5.tar.gz
Avoid ./configure failure on NetBSD
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m45
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)