summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2015-12-13 12:36:47 +0000
committerSergei Trofimovich <siarheit@google.com>2015-12-13 12:41:21 +0000
commitf48015bcac59960f6d266506a5f378c9bcf8f005 (patch)
tree0a03b671b35252f008ef9255caaaf9b2a401fecd /aclocal.m4
parent669c5ed6e67deb39648de614a2e58892807a6840 (diff)
downloadhaskell-f48015bcac59960f6d266506a5f378c9bcf8f005.tar.gz
configure: add support for 'sh4' (Trac #11209)
Debian has Renesas SH4 (SuperH) port with a triplet: sh4-linux-gnu Patch by glaubitz adds 'sh4' CPU to recognize target as ArchUnknown. Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index e0cd330555..e46a19f475 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -212,7 +212,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
mipsel)
test -z "[$]2" || eval "[$]2=ArchMipsel"
;;
- hppa|hppa1_1|ia64|m68k|rs6000|s390|s390x|sparc64|vax)
+ hppa|hppa1_1|ia64|m68k|rs6000|s390|s390x|sh4|sparc64|vax)
test -z "[$]2" || eval "[$]2=ArchUnknown"
;;
*)
@@ -1825,6 +1825,9 @@ case "$1" in
s390*)
$2="s390"
;;
+ sh4)
+ $2="sh4"
+ ;;
sparc64*)
$2="sparc64"
;;