aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-02-07 17:24:59 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-03-02 12:15:25 -0800
commitdd1913e777f97188b0d52318bcd5914a8ba67a12 (patch)
tree15fcc7c4cfc7729c5063ff5724e08380bc0714a5 /configure.ac
parent0d5bd9e810db2f2eafaed3de472ac1130501fd41 (diff)
downloadspike-dd1913e777f97188b0d52318bcd5914a8ba67a12.zip
spike-dd1913e777f97188b0d52318bcd5914a8ba67a12.tar.gz
spike-dd1913e777f97188b0d52318bcd5914a8ba67a12.tar.bz2
Add autoconf check for little-endianness
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 92289de..dbf50c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,6 +52,8 @@ AC_PROG_CXX
AC_CHECK_TOOL([AR],[ar])
AC_CHECK_TOOL([RANLIB],[ranlib])
+AC_C_BIGENDIAN(AC_MSG_ERROR([Spike requires a little-endian host]))
+
#-------------------------------------------------------------------------
# MCPPBS specific program checks
#-------------------------------------------------------------------------