summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPHO <pho@cielonegro.org>2020-01-18 10:31:19 (GMT)
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-01-20 20:37:08 (GMT)
commit3dae006fc424e768bb43fc73851a08fefcb732a5 (patch)
tree0c588f19212945ad2b2f31a3cf90cb7cbd39ffd2
parent17e43a7cd48d862f38d3944d44024646f2e97b87 (diff)
downloadghc-3dae006fc424e768bb43fc73851a08fefcb732a5.zip
ghc-3dae006fc424e768bb43fc73851a08fefcb732a5.tar.gz
ghc-3dae006fc424e768bb43fc73851a08fefcb732a5.tar.bz2
Avoid ./configure failure on NetBSD
-rw-r--r--aclocal.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index f211515..4a037a4 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)