diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-08 15:46:03 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-08 15:46:03 +0000 |
commit | 5567c33f059cf51f45928e714ded4b09a26f6b1a (patch) | |
tree | 7b2c1e191bef70d1d07f413b11d373cd7095cac9 /CMakeLists.txt | |
parent | e921a8559ccc890c0c0c6e283e61cf6d9e24c955 (diff) | |
download | rspamd-5567c33f059cf51f45928e714ded4b09a26f6b1a.tar.gz rspamd-5567c33f059cf51f45928e714ded4b09a26f6b1a.zip |
Try to detect systems without shared mutexes.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 14b662eac..beee0e32b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -748,7 +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) +CHECK_SYMBOL_EXISTS(pthread_mutexattr_setpshared "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") |