diff options
author | John Criswell <criswell@uiuc.edu> | 2004-02-13 21:57:29 +0000 |
---|---|---|
committer | John Criswell <criswell@uiuc.edu> | 2004-02-13 21:57:29 +0000 |
commit | 0021c31b60706f0a35f0858c112ebdc709f3d3e7 (patch) | |
tree | 37e28b7a26ec4c9deb02c96562f3d14574d82a6a /autoconf/configure.ac | |
parent | 339d8df4c04c5d0be8dc70722153d94cfef7171a (diff) | |
download | llvm-0021c31b60706f0a35f0858c112ebdc709f3d3e7.tar.gz llvm-0021c31b60706f0a35f0858c112ebdc709f3d3e7.tar.bz2 llvm-0021c31b60706f0a35f0858c112ebdc709f3d3e7.tar.xz |
Added check for target machine endian-ness and put the result into
Makefile.config (ENDIAN variable is set to big or little).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11398 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf/configure.ac')
-rw-r--r-- | autoconf/configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index e0012759b2..8333333047 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -244,6 +244,9 @@ AC_STRUCT_TM dnl Check for various C features AC_C_PRINTF_A +dnl Check for the endianness of the target +AC_C_BIGENDIAN(AC_SUBST([ENDIAN],[big]),AC_SUBST([ENDIAN],[little])) + dnl Check for C++ extensions AC_CXX_HAVE_HASH_MAP AC_CXX_HAVE_HASH_SET |