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 /autoconf | |
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 'autoconf')
-rw-r--r-- | autoconf/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 090f5dc..d777553 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -1293,7 +1293,7 @@ AC_CHECK_FUNCS([backtrace ceilf floorf roundf rintf nearbyintf getcwd ]) AC_CHECK_FUNCS([powf fmodf strtof round ]) AC_CHECK_FUNCS([getpagesize getrusage getrlimit setrlimit gettimeofday ]) AC_CHECK_FUNCS([isatty mkdtemp mkstemp ]) -AC_CHECK_FUNCS([mktemp posix_spawn realpath sbrk setrlimit strdup ]) +AC_CHECK_FUNCS([mktemp posix_spawn pread realpath sbrk setrlimit strdup ]) AC_CHECK_FUNCS([strerror strerror_r setenv ]) AC_CHECK_FUNCS([strtoll strtoq sysconf malloc_zone_statistics ]) AC_CHECK_FUNCS([setjmp longjmp sigsetjmp siglongjmp writev]) |