Skip to content

Commit

Permalink
configure: Accept suffix in OpenBSD triple's OS name
Browse files Browse the repository at this point in the history
Reviewers: hvr

Subscribers: rwbarton, thomie, erikd, carter

Differential Revision: https://phabricator.haskell.org/D4483
  • Loading branch information
bgamari committed Mar 8, 2018
1 parent 47e2a28 commit a25b763
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aclocal.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a25b763

Please sign in to comment.