aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-27 15:23:18 -0800
committerChris Robinson <[email protected]>2018-11-27 15:23:18 -0800
commit21793884303edc4d5702b5a5fcd88a45c954028b (patch)
tree0d0da26f063ff71c8c63c70fda0447c9b3d6271c
parentc2da83dea86f57e3095a704ef1f9c7b01852cd03 (diff)
Remove unneeded mutex checks
-rw-r--r--CMakeLists.txt4
-rw-r--r--config.h.in6
2 files changed, 0 insertions, 10 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 04617d32..71e20eec 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -636,7 +636,6 @@ int main()
PTHREAD_SETNAME_NP_THREE_PARAMS
)
ENDIF()
- CHECK_SYMBOL_EXISTS(pthread_mutexattr_setkind_np "pthread.h;pthread_np.h" HAVE_PTHREAD_MUTEXATTR_SETKIND_NP)
ELSE()
CHECK_SYMBOL_EXISTS(pthread_setname_np pthread.h HAVE_PTHREAD_SETNAME_NP)
IF(NOT HAVE_PTHREAD_SETNAME_NP)
@@ -661,11 +660,8 @@ int main()
PTHREAD_SETNAME_NP_THREE_PARAMS
)
ENDIF()
- CHECK_SYMBOL_EXISTS(pthread_mutexattr_setkind_np pthread.h HAVE_PTHREAD_MUTEXATTR_SETKIND_NP)
ENDIF()
- CHECK_SYMBOL_EXISTS(pthread_mutex_timedlock pthread.h HAVE_PTHREAD_MUTEX_TIMEDLOCK)
-
CHECK_LIBRARY_EXISTS(rt clock_gettime "" HAVE_LIBRT)
IF(HAVE_LIBRT)
SET(EXTRA_LIBS rt ${EXTRA_LIBS})
diff --git a/config.h.in b/config.h.in
index 6c83b7f5..4c68e77f 100644
--- a/config.h.in
+++ b/config.h.in
@@ -178,9 +178,3 @@
/* Define if we have pthread_set_name_np() */
#cmakedefine HAVE_PTHREAD_SET_NAME_NP
-
-/* Define if we have pthread_mutexattr_setkind_np() */
-#cmakedefine HAVE_PTHREAD_MUTEXATTR_SETKIND_NP
-
-/* Define if we have pthread_mutex_timedlock() */
-#cmakedefine HAVE_PTHREAD_MUTEX_TIMEDLOCK