aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-11-01 22:11:15 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-11-01 22:11:15 +0000
commit2eed87e9b8d39f4f1d03e83f02dce377a1b187f5 (patch)
tree0ff97489a98773cf4b845b610398c91cbef8bbdd /CMakeLists.txt
parent75ef01b07b276ead8199f85a8942735f5b762028 (diff)
downloadrspamd-2eed87e9b8d39f4f1d03e83f02dce377a1b187f5.tar.gz
rspamd-2eed87e9b8d39f4f1d03e83f02dce377a1b187f5.zip
Use PTHREAD_PROCESS_SHARED mutexes if possible.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 34e07940b..a00d9cc48 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -748,6 +748,7 @@ CHECK_SYMBOL_EXISTS(_SC_NPROCESSORS_ONLN unistd.h HAVE_SC_NPROCESSORS_ONLN)
CHECK_SYMBOL_EXISTS(setbit sys/param.h PARAM_H_HAS_BITSET)
CHECK_SYMBOL_EXISTS(getaddrinfo "sys/types.h;sys/socket.h;netdb.h" HAVE_GETADDRINFO)
CHECK_SYMBOL_EXISTS(sched_yield "sched.h" HAVE_SCHED_YIELD)
+CHECK_SYMBOL_EXISTS(PTHREAD_PROCESS_SHARED "pthread.h" HAVE_PTHREAD_PROCESS_SHARED)
IF(NOT HAVE_GETADDRINFO)
MESSAGE(FATAL_ERROR "Your system does not support getaddrinfo call, please consider upgrading it to run rspamd")