diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-22 12:31:53 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-11-22 12:31:53 +0000 |
commit | 5745fbce1674b29f4dce6b6e31556c4c1e83dc89 (patch) | |
tree | a5aaefd6d9fb122e4f744a855d20e57df129b7e9 /configure | |
parent | f264568bae482601431e4ac923172fa3671eb9e7 (diff) | |
download | external_llvm-5745fbce1674b29f4dce6b6e31556c4c1e83dc89.zip external_llvm-5745fbce1674b29f4dce6b6e31556c4c1e83dc89.tar.gz external_llvm-5745fbce1674b29f4dce6b6e31556c4c1e83dc89.tar.bz2 |
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-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |