diff options
author | Duncan Sands <baldrick@free.fr> | 2007-12-12 23:03:45 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2007-12-12 23:03:45 +0000 |
commit | 67f1c493d105fdfb8ffa980ff82ff7d9e3fafefc (patch) | |
tree | f4deb78e05abb63d0a95fc6c7eb5f0bcbf58d20b /autoconf | |
parent | 8d2ed33f6f16850a7062d1fb5ab66fd025f301e8 (diff) | |
download | external_llvm-67f1c493d105fdfb8ffa980ff82ff7d9e3fafefc.zip external_llvm-67f1c493d105fdfb8ffa980ff82ff7d9e3fafefc.tar.gz external_llvm-67f1c493d105fdfb8ffa980ff82ff7d9e3fafefc.tar.bz2 |
Remove host endianness info from TargetData and
put it in a new header System/Host.h instead.
Instead of getting the endianness from configure,
calculate it directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44959 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index fe16b50..979e3a8 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -227,10 +227,7 @@ dnl Define a substitution, ARCH, for the target architecture AC_SUBST(ARCH,$llvm_cv_target_arch) dnl Check for the endianness of the target -AC_C_BIGENDIAN([AC_SUBST([ENDIAN],[big]), - AC_DEFINE([MSB_FIRST], [1], [Define if this target is big endian])], - [AC_SUBST([ENDIAN],[little]), - AC_DEFINE([LSB_FIRST], [1], [Define if this target is little endian])]) +AC_C_BIGENDIAN(AC_SUBST([ENDIAN],[big]),AC_SUBST([ENDIAN],[little])) dnl Check for build platform executable suffix if we're crosscompiling if test "$cross_compiling" = yes; then |