|
@@ -41,6 +41,9 @@ endif(WITH_SYSTEM_CALLS STREQUAL "mmap")
|
|
if(NOT HAVE_LOCKS AND TRYLOCK_ON_MALLOC)
|
|
if(NOT HAVE_LOCKS AND TRYLOCK_ON_MALLOC)
|
|
message(FATAL_ERROR "You have to set HAVE_LOCKS to use TRYLOCK_ON_MALLOC.")
|
|
message(FATAL_ERROR "You have to set HAVE_LOCKS to use TRYLOCK_ON_MALLOC.")
|
|
endif(NOT HAVE_LOCKS AND TRYLOCK_ON_MALLOC)
|
|
endif(NOT HAVE_LOCKS AND TRYLOCK_ON_MALLOC)
|
|
|
|
+if(HAVE_LOCKS)
|
|
|
|
+ find_package(Threads)
|
|
|
|
+endif(HAVE_LOCKS)
|
|
|
|
|
|
# Checking free-list setups
|
|
# Checking free-list setups
|
|
if(RAW_BLOCKS_TYPE STREQUAL "freelist")
|
|
if(RAW_BLOCKS_TYPE STREQUAL "freelist")
|