- check_compiles(HAVE_WAITID_NOWAIT "siginfo_t s; waitid(P_ALL, 0, &s, WNOWAIT|WEXITED);" sys/types.h sys/wait.h)
+ check_compiles(HAVE_WAITID_NOWAIT "
+ siginfo_t s;
+ waitid(P_ALL, 0, &s, WNOWAIT|WEXITED);"
+ sys/types.h sys/wait.h)
+endif()
+if(NOT HAVE_SYS_WAIT_H)
+ message(SEND_ERROR "Could not find header <sys/wait.h>")
+ set(ENV{INVALID_CONFIGURATION} 1)
+endif()
+
+# parallelism
+if(NOT (thread IN_LIST ENABLE_SANITIZERS))
+ check_tbb()
+endif()
+
+# memcached(1)
+if(NOT MEMCACHED_BINARY)
+ find_package(Memcached)
+ set(MEMCACHED_BINARY ${MEMCACHED_EXECUTABLE})
+endif()
+if(NOT MEMCACHED_BINARY)
+ message(SEND_ERROR "Could not find memcached(1) binary")
+ set(ENV{INVALID_CONFIGURATION} 1)