diff options
author | Ian Lance Taylor <ian@airs.com> | 2009-03-02 02:45:29 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2009-03-02 02:45:29 +0000 |
commit | 15d5fa160781daaf2e5c2b1d130f996a502016ea (patch) | |
tree | b746bde2e4e7c6e1e2878ac6465ed2140d9185d7 /gold/configure.ac | |
parent | 3c54f1401bfc577f557a2a482647b19612b324ff (diff) | |
download | gdb-15d5fa160781daaf2e5c2b1d130f996a502016ea.zip gdb-15d5fa160781daaf2e5c2b1d130f996a502016ea.tar.gz gdb-15d5fa160781daaf2e5c2b1d130f996a502016ea.tar.bz2 |
elfcpp:/
* elfcpp_swap.h: #include "config.h". Only #include <byteswap.h>
if HAVE_BYTESWAP_H is defined; if not, provide definitions for
bswap_{16,32,64}. For gcc 4.3 and later, use the builtin bswap
functions. Check WORDS_BIGENDIAN rather than __BYTE_ORDER.
gold:/
* configure.ac: Check for byteswap.h.
* configure: Rebuild.
* config.in: Rebuild.
Diffstat (limited to 'gold/configure.ac')
-rw-r--r-- | gold/configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/configure.ac b/gold/configure.ac index e19161c..c26c05d 100644 --- a/gold/configure.ac +++ b/gold/configure.ac @@ -317,6 +317,7 @@ AC_LANG_PUSH(C++) AC_CHECK_HEADERS(tr1/unordered_set tr1/unordered_map) AC_CHECK_HEADERS(ext/hash_map ext/hash_set) +AC_CHECK_HEADERS(byteswap.h) AC_CHECK_FUNCS(mallinfo) # gcc 4.3.0 doesn't recognize the printf attribute on a template |