Changeset: cfb93d7f5e95 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=cfb93d7f5e95
Modified Files:
cmake/monetdb-defines.cmake
Branch: default
Log Message:
Partially backporting changeset 88fab3f73d5f. The solution to find pthread_kill
and pthread_sigmask was not clean. We have to find a better one
diffs (19 lines):
diff --git a/cmake/monetdb-defines.cmake b/cmake/monetdb-defines.cmake
--- a/cmake/monetdb-defines.cmake
+++ b/cmake/monetdb-defines.cmake
@@ -113,13 +113,8 @@ function(monetdb_configure_defines)
check_function_exists("uname" HAVE_UNAME)
# Some libc versions on Linux distributions don't have it
check_symbol_exists("semtimedop" "sys/types.h;sys/ipc.h;sys/sem.h"
HAVE_SEMTIMEDOP)
- cmake_push_check_state()
- if (NOT APPLE)
- set(CMAKE_REQUIRED_LIBRARIES "${CMAKE_REQUIRED_LIBRARIES};pthread")
- endif()
- check_symbol_exists("pthread_kill" "pthread.h;signal.h" HAVE_PTHREAD_KILL)
- check_symbol_exists("pthread_sigmask" "pthread.h;signal.h"
HAVE_PTHREAD_SIGMASK)
- cmake_pop_check_state()
+ check_function_exists("pthread_kill" HAVE_PTHREAD_KILL)
+ check_function_exists("pthread_sigmask" HAVE_PTHREAD_SIGMASK)
check_symbol_exists("regcomp" "regex.h" HAVE_POSIX_REGEX)
endfunction()
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list