aboutsummaryrefslogtreecommitdiff
path: root/gold/configure.ac
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-10-09 23:20:44 +0000
committerIan Lance Taylor <ian@airs.com>2009-10-09 23:20:44 +0000
commitd9a893b837890cddc71ea116e4d7e5b7bf9aadb8 (patch)
tree9c062c6e4c64b7d9c52415a8b93afecada7e957e /gold/configure.ac
parentc0a628659598a06ce2b60c956763f075a2b64b30 (diff)
downloadgdb-d9a893b837890cddc71ea116e4d7e5b7bf9aadb8.zip
gdb-d9a893b837890cddc71ea116e4d7e5b7bf9aadb8.tar.gz
gdb-d9a893b837890cddc71ea116e4d7e5b7bf9aadb8.tar.bz2
* configure.ac: Check for readv function also.
* fileread.cc (readv): Define if not HAVE_READV. * fileread.h (File_read:: max_readv_entries): Set to 1 if readv does not exist. * config.in: Regenerate. * configure: Regenerate.
Diffstat (limited to 'gold/configure.ac')
-rw-r--r--gold/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/configure.ac b/gold/configure.ac
index 2492c7a..85e23f9 100644
--- a/gold/configure.ac
+++ b/gold/configure.ac
@@ -338,7 +338,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 posix_fallocate)
+AC_CHECK_FUNCS(mallinfo posix_fallocate readv)
AC_CHECK_DECLS([basename, ffs, asprintf, vasprintf, snprintf, vsnprintf, strverscmp, strndup, memmem])
# Use of ::std::tr1::unordered_map::rehash causes undefined symbols