summaryrefslogtreecommitdiffstats
path: root/tdm/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2019-08-18 18:28:04 +0900
committerTDE Gitea <gitea@mirror.git.trinitydesktop.org>2019-08-18 13:38:50 +0000
commit027c45db6f63a04eb31eac481f9264ab9760dce1 (patch)
treeae692633870b22d4cfda6838c92c8b1ebcc64c8a /tdm/ConfigureChecks.cmake
parent60e5e374553ce75f2e499888c8592bbeaa6f8b1e (diff)
downloadtdebase-027c45db6f63a04eb31eac481f9264ab9760dce1.tar.gz
tdebase-027c45db6f63a04eb31eac481f9264ab9760dce1.zip
Change to use arc4random_buf(3) if available
Signed-off-by: OBATA Akio <obache@wizdas.com>
Diffstat (limited to 'tdm/ConfigureChecks.cmake')
-rw-r--r--tdm/ConfigureChecks.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/tdm/ConfigureChecks.cmake b/tdm/ConfigureChecks.cmake
index cb333aa61..cb5615243 100644
--- a/tdm/ConfigureChecks.cmake
+++ b/tdm/ConfigureChecks.cmake
@@ -98,6 +98,7 @@ if( NOT HAVE_ARC4RANDOM )
set( DEV_RANDOM "/dev/random" CACHE INTERNAL "" FORCE )
endif( )
endif (NOT HAVE_ARC4RANDOM)
+check_function_exists( arc4random_buf HAVE_ARC4RANDOM_BUF )
# Xau
pkg_search_module( XAU xau )