diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-02-07 17:24:59 -0800 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2016-03-02 12:15:25 -0800 |
commit | dd1913e777f97188b0d52318bcd5914a8ba67a12 (patch) | |
tree | 15fcc7c4cfc7729c5063ff5724e08380bc0714a5 /configure.ac | |
parent | 0d5bd9e810db2f2eafaed3de472ac1130501fd41 (diff) | |
download | spike-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.ac | 2 |
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 #------------------------------------------------------------------------- |