[commit: ghc] ghc-8.4: configure: Accept suffix in OpenBSD triple's OS name (5b0eb47)
git at git.haskell.org
git at git.haskell.org
Sun Mar 25 19:45:24 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.4
Link : http://ghc.haskell.org/trac/ghc/changeset/5b0eb477709c013554ec62661ac2afb222317752/ghc
>---------------------------------------------------------------
commit 5b0eb477709c013554ec62661ac2afb222317752
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Thu Mar 8 13:29:01 2018 -0500
configure: Accept suffix in OpenBSD triple's OS name
Reviewers: hvr
Subscribers: rwbarton, thomie, erikd, carter
Differential Revision: https://phabricator.haskell.org/D4483
(cherry picked from commit a25b763fa9e09d3bf7c82fef1eaed89a7afc54f7)
>---------------------------------------------------------------
5b0eb477709c013554ec62661ac2afb222317752
aclocal.m4 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/aclocal.m4 b/aclocal.m4
index 7c85e06..ac20bbc 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1978,8 +1978,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|mingw32|darwin|gnu|nextstep2|nextstep3|sunos4|ultrix|haiku)
+ freebsd|netbsd|dragonfly|hpux|linuxaout|kfreebsdgnu|freebsd2|mingw32|darwin|gnu|nextstep2|nextstep3|sunos4|ultrix|haiku)
$3="$1"
;;
aix*) # e.g. powerpc-ibm-aix7.1.3.0
More information about the ghc-commits
mailing list