aboutsummaryrefslogtreecommitdiff
path: root/gold/configure.ac
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-09-25 06:43:17 +0000
committerIan Lance Taylor <iant@google.com>2007-09-25 06:43:17 +0000
commit82dcae9de0f7ca290bba97b6dfb8449e1a2e27fb (patch)
tree0c47d6a96f9fedfe8ed7862d913ff5e5cf9b9537 /gold/configure.ac
parentbae3688d8f8566ea43c712982cea95897ed359da (diff)
downloadgdb-82dcae9de0f7ca290bba97b6dfb8449e1a2e27fb.zip
gdb-82dcae9de0f7ca290bba97b6dfb8449e1a2e27fb.tar.gz
gdb-82dcae9de0f7ca290bba97b6dfb8449e1a2e27fb.tar.bz2
Rework File_read interface. Get file size. Use pread when
available.
Diffstat (limited to 'gold/configure.ac')
-rw-r--r--gold/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/configure.ac b/gold/configure.ac
index 1294fa6..fcb176f 100644
--- a/gold/configure.ac
+++ b/gold/configure.ac
@@ -106,6 +106,8 @@ dnl host dependent. If build == host, we can check getconf LFS_CFLAGS.
LFS_CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
AC_SUBST(LFS_CXXFLAGS)
+AC_REPLACE_FUNCS(pread)
+
AC_LANG_PUSH(C++)
AC_CHECK_HEADERS(tr1/unordered_set tr1/unordered_map)