diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2022-02-02 17:22:42 +0100 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2022-02-02 17:22:42 +0100 |
commit | 0c49e52b22be1baa8d51670e4f3c437fd3c0baa7 (patch) | |
tree | 3fd29aee58757f64d30950ebcb8e6b517d5a73b4 /configure.ac | |
parent | 5cd15ffdceace3a077d4719ef7c1704336d602e1 (diff) |
build: remove unneeded getentropy detection (HAVE_GETENTROPY)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac index bef3973996..f69c5ecb46 100644 --- a/configure.ac +++ b/configure.ac @@ -1109,13 +1109,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h> [ AC_MSG_RESULT([no])] ) -AC_MSG_CHECKING([for getentropy]) -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>]], - [[ getentropy(nullptr, 32) ]])], - [ AC_MSG_RESULT([yes]); AC_DEFINE([HAVE_GETENTROPY], [1], [Define this symbol if the BSD getentropy system call is available]) ], - [ AC_MSG_RESULT([no])] -) - AC_MSG_CHECKING([for getentropy via random.h]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h> #include <sys/random.h>]], |