cmake: detect getentropy

Look for `getentropy` and flag its existence.
This commit is contained in:
Edward Thomson
2022-06-13 10:46:21 -04:00
parent 7eb7edd4a1
commit 9bc82c8f88

View File

@@ -68,6 +68,10 @@ check_prototype_definition(qsort_r
check_function_exists(qsort_s GIT_QSORT_S)
# random / entropy data
check_function_exists(getentropy GIT_RAND_GETENTROPY)
# determine architecture of the machine
if(CMAKE_SIZEOF_VOID_P EQUAL 8)