diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-06-01 22:30:05 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-06-01 22:32:42 +0100 |
commit | d39a3409acd3c40fb018ec1c114f15d3ecef6ef9 (patch) | |
tree | d9ef2108e7db0d1fae4196d54c874276cacdc51b /aclocal.m4 | |
parent | 69d9081d9fa3ff36fda36e4e11ef7e8f946ecf2a (diff) | |
download | haskell-d39a3409acd3c40fb018ec1c114f15d3ecef6ef9.tar.gz |
aclocal.m4: add support for versioned darwin triplets
The change adds support for 'darwin*' OS:
$ ./configure --target=aarch64-apple-darwin14
Reported-by: jp_rider
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 7ad9c36453..437974a0c7 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1906,6 +1906,9 @@ AC_DEFUN([GHC_CONVERT_OS],[ aix*) # e.g. powerpc-ibm-aix7.1.3.0 $3="aix" ;; + darwin*) # e.g. aarch64-apple-darwin14 + $3="darwin" + ;; freebsd*) # like i686-gentoo-freebsd7 # i686-gentoo-freebsd8 # i686-gentoo-freebsd8.2 |