aboutsummaryrefslogtreecommitdiff
path: root/gold/configure.ac
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2009-06-23 18:10:42 +0000
committerDoug Kwan <dougkwan@google.com>2009-06-23 18:10:42 +0000
commit3d857b98f555ee56c6fa6ed90c024424215574ed (patch)
treec68df6e845e52dc25b22b566e7d61de85004920f /gold/configure.ac
parent27aa8d6aa032b25160328cd92c78c4f8158fa0b7 (diff)
downloadgdb-3d857b98f555ee56c6fa6ed90c024424215574ed.zip
gdb-3d857b98f555ee56c6fa6ed90c024424215574ed.tar.gz
gdb-3d857b98f555ee56c6fa6ed90c024424215574ed.tar.bz2
2009-06-23 Doug Kwan <dougkwan@google.com>
* Makefile.am (libgold_a_LIBADD): New. (ld_new_DEPENDENCIES, ld_new_LDADD): Remove LIBOBJS * Makefile.in: Regenerate. * config.in (HAVE_DECL_MEMMEM, HAVE_DECL_STRNDUP): New. * configure: Regenerate. * configure.ac (AC_CHECK_DECLS): Add strndup and memmem. * fileread.cc: Include sys/state.h * gold.h: Declare memmem and strndup if found missing. * gold_reloc.h: Include byteswap.h if HAVE_BYTESWAP_H is defined.
Diffstat (limited to 'gold/configure.ac')
-rw-r--r--gold/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/configure.ac b/gold/configure.ac
index 6415271..0a53598 100644
--- a/gold/configure.ac
+++ b/gold/configure.ac
@@ -333,6 +333,7 @@ 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 posix_fallocate)
+AC_CHECK_DECLS([basename, ffs, asprintf, vasprintf, snprintf, vsnprintf, strverscmp, strndup, memmem])
# Use of ::std::tr1::unordered_map::rehash causes undefined symbols
# at link time with some versions of GCC.