aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-11-22 12:31:53 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-11-22 12:31:53 +0000
commit5745fbce1674b29f4dce6b6e31556c4c1e83dc89 (patch)
treea5aaefd6d9fb122e4f744a855d20e57df129b7e9 /configure
parentf264568bae482601431e4ac923172fa3671eb9e7 (diff)
Add configure checking for pread(2) and use it to save a syscall when reading files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145061 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 09173d257f..bfd61dd5e3 100755
--- a/configure
+++ b/configure
@@ -17151,7 +17151,8 @@ done
-for ac_func in mktemp posix_spawn realpath sbrk setrlimit strdup
+
+for ac_func in mktemp posix_spawn pread realpath sbrk setrlimit strdup
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_func" >&5