summaryrefslogtreecommitdiff
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 1333f6c..47cb5cc 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -24,6 +24,7 @@ check_function_exists(backtrace HAVE_BACKTRACE)
check_function_exists(gmtime_r HAVE_GMTIME_R)
check_function_exists(isspace HAVE_ISSPACE)
check_function_exists(iswspace HAVE_ISWSPACE)
+check_function_exists(setenv HAVE_SETENV)
check_function_exists(snprintf HAVE_SNPRINTF)
check_function_exists(strdup HAVE_STRDUP)
check_function_exists(unsetenv HAVE_UNSETENV)
@@ -32,6 +33,7 @@ include(CheckTypeSize)
check_type_size(mode_t SIZEOF_MODE_T)
check_type_size(size_t SIZEOF_SIZE_T)
check_type_size(intptr_t INTPTR_T) # please do not rename HAVE_INTPTR_T will automatically be defined
+check_type_size(pid_t HAVE_PID_T)
include(FindThreads)
check_library_exists(pthread pthread_attr_get_np "" HAVE_PTHREAD_ATTR_GET_NP)