]> source.dussan.org Git - rspamd.git/commitdiff
Try to detect systems without shared mutexes.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 8 Nov 2014 15:46:03 +0000 (15:46 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 8 Nov 2014 15:46:03 +0000 (15:46 +0000)
CMakeLists.txt

index 14b662eac4701e32a737d329651c4bc2fde18431..beee0e32b221485aa7df7cd060039792bac6eaaf 100644 (file)
@@ -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")