Commit 9bc82c8f by Edward Thomson

cmake: detect `getentropy`

Look for `getentropy` and flag its existence.
parent 7eb7edd4
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment