From 03f40af361e7a1e57722fb4207929fdd1ad39263 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 25 Nov 2018 22:51:57 +0900 Subject: Remove linux getrandom and use C++ stdlib instead --- configure.ac | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1ab1d32f..ac767867 100644 --- a/configure.ac +++ b/configure.ac @@ -754,7 +754,6 @@ AC_CHECK_FUNCS([__argz_count \ gethostbyname \ getifaddrs \ getpagesize \ - getrandom \ memchr \ memmove \ mempcpy \ @@ -790,21 +789,6 @@ AC_CHECK_FUNCS([__argz_count \ utime \ utimes]) -AC_MSG_CHECKING([for getrandom linux syscall interface]) -AC_LINK_IFELSE([AC_LANG_PROGRAM([[ -#include -#include -]], -[[ -int x = GRND_NONBLOCK; -int y = (int)SYS_getrandom; -]])], - [have_getrandom_interface=yes - AC_DEFINE([HAVE_GETRANDOM_INTERFACE], [1], [Define to 1 if getrandom linux syscall interface is available.])], - [have_getrandom_interface=no]) -AC_MSG_RESULT([$have_getrandom_interface]) -AM_CONDITIONAL([HAVE_GETRANDOM_INTERFACE], [test "x$have_getrandom_interface" = "xyes"]) - dnl Put tcmalloc/jemalloc checks after the posix_memalign check. dnl These libraries may implement posix_memalign, while the usual CRT may not dnl (e.g. mingw). Since we aren't including the corresponding library headers -- cgit