Portability
- Removed pthreads linkage.
This commit is contained in:
@@ -86,16 +86,6 @@ if (USE_GNUTLS)
|
|||||||
endif (GNUTLS_FOUND)
|
endif (GNUTLS_FOUND)
|
||||||
endif (USE_GNUTLS)
|
endif (USE_GNUTLS)
|
||||||
|
|
||||||
#message ("-- Looking for pthread")
|
|
||||||
#find_path (PTHREAD_INCLUDE_DIR pthread.h)
|
|
||||||
#find_library (PTHREAD_LIBRARY NAMES pthread)
|
|
||||||
#if (PTHREAD_INCLUDE_DIR AND PTHREAD_LIBRARY)
|
|
||||||
# message ("-- Found pthread: ${PTHREAD_LIBRARY}")
|
|
||||||
# set (HAVE_LIBPTHREAD true)
|
|
||||||
# set (TASK_INCLUDE_DIRS ${TASK_INCLUDE_DIRS} ${PTHREAD_INCLUDE_DIR})
|
|
||||||
# set (TASK_LIBRARIES ${TASK_LIBRARIES} ${PTHREAD_LIBRARIES})
|
|
||||||
#endif (PTHREAD_INCLUDE_DIR AND PTHREAD_LIBRARY)
|
|
||||||
|
|
||||||
check_function_exists (timegm HAVE_TIMEGM)
|
check_function_exists (timegm HAVE_TIMEGM)
|
||||||
check_function_exists (get_current_dir_name HAVE_GET_CURRENT_DIR_NAME)
|
check_function_exists (get_current_dir_name HAVE_GET_CURRENT_DIR_NAME)
|
||||||
check_function_exists (wordexp HAVE_WORDEXP)
|
check_function_exists (wordexp HAVE_WORDEXP)
|
||||||
|
|||||||
Reference in New Issue
Block a user