summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-06-26 14:35:43 +0000
committerDouglas Gregor <dgregor@apple.com>2009-06-26 14:35:43 +0000
commitc7077c701541f7d07d41f3926f7ea9edd204347c (patch)
tree705b8153e311cc3a599b3eb57f663daceb6121c5 /cmake
parent02b97355aa79f4403eb7677a9c595854ac175f1d (diff)
downloadllvm-c7077c701541f7d07d41f3926f7ea9edd204347c.tar.gz
llvm-c7077c701541f7d07d41f3926f7ea9edd204347c.tar.bz2
llvm-c7077c701541f7d07d41f3926f7ea9edd204347c.tar.xz
CMake: add configure checks for pthread_rwlock_init and pthread_getspecific
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/config-ix.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index c460fa2aa0..61161ed63b 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -64,6 +64,8 @@ check_symbol_exists(mallinfo malloc.h HAVE_MALLINFO)
check_symbol_exists(malloc_zone_statistics malloc/malloc.h
HAVE_MALLOC_ZONE_STATISTICS)
check_symbol_exists(pthread_mutex_lock pthread.h HAVE_PTHREAD_MUTEX_LOCK)
+check_symbol_exists(pthread_rwlock_init pthread.h HAVE_PTHREAD_RWLOCK_INIT)
+check_symbol_exists(pthread_getspecific pthread.h HAVE_PTHREAD_GETSPECIFIC)
check_symbol_exists(strtoll stdlib.h HAVE_STRTOLL)
check_symbol_exists(__GLIBC__ stdio.h LLVM_USING_GLIBC)