diff --git a/src/shogun/CMakeLists.txt b/src/shogun/CMakeLists.txt index 4a14ffc35b9..97ccab71d8f 100644 --- a/src/shogun/CMakeLists.txt +++ b/src/shogun/CMakeLists.txt @@ -435,18 +435,6 @@ SHOGUN_DEPENDENCIES( SCOPE PRIVATE CONFIG_FLAG HAVE_ARPREC) -###### checks for random -CHECK_FUNCTION_EXISTS(arc4random HAVE_ARC4RANDOM) -IF(NOT HAVE_ARC4RANDOM) - # assume that /dev/random is non-blocking if /dev/urandom does not exist - if(EXISTS /dev/urandom) - set(DEV_RANDOM "/dev/urandom" CACHE INTERNAL "" FORCE) - elseif( EXISTS /dev/random ) - set(DEV_RANDOM "/dev/random" CACHE INTERNAL "" FORCE) - endif() -ENDIF() - - ################## linker optimisations OPTION(INCREMENTAL_LINKING "Enable incremantal linking") SET(INCREMENTAL_LINKING_DIR ${CMAKE_BINARY_DIR}/linker_cache diff --git a/src/shogun/lib/config.h.in b/src/shogun/lib/config.h.in index 2cf9d91a036..2027dbb58c8 100644 --- a/src/shogun/lib/config.h.in +++ b/src/shogun/lib/config.h.in @@ -135,8 +135,4 @@ /* does the compiler support abi::__cxa_demangle */ #cmakedefine HAVE_CXA_DEMANGLE 1 -/* random related defines */ -#cmakedefine HAVE_ARC4RANDOM 1 -#cmakedefine DEV_RANDOM "@DEV_RANDOM@" - #endif /* __SHOGUN_LIB_CONFIG_H__ */