diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2018-03-08 13:29:01 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-03-08 16:08:04 -0500 |
commit | a25b763fa9e09d3bf7c82fef1eaed89a7afc54f7 (patch) | |
tree | 413c7ed4ff2f0f2ed4cf96d44af589c315a70511 /aclocal.m4 | |
parent | 47e2a28d8c8c80aa9309ceb195ee8671b5a76d3e (diff) | |
download | haskell-a25b763fa9e09d3bf7c82fef1eaed89a7afc54f7.tar.gz |
configure: Accept suffix in OpenBSD triple's OS name
Reviewers: hvr
Subscribers: rwbarton, thomie, erikd, carter
Differential Revision: https://phabricator.haskell.org/D4483
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 a2fdbdc956..528fd0c306 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1960,8 +1960,11 @@ AC_DEFUN([GHC_CONVERT_OS],[ linux-*|linux) $3="linux" ;; + openbsd*) + $3="openbsd" + ;; # As far as I'm aware, none of these have relevant variants - freebsd|netbsd|openbsd|dragonfly|hpux|linuxaout|kfreebsdgnu|freebsd2|solaris2|mingw32|darwin|gnu|nextstep2|nextstep3|sunos4|ultrix|haiku) + freebsd|netbsd|dragonfly|hpux|linuxaout|kfreebsdgnu|freebsd2|solaris2|mingw32|darwin|gnu|nextstep2|nextstep3|sunos4|ultrix|haiku) $3="$1" ;; aix*) # e.g. powerpc-ibm-aix7.1.3.0 |