diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2018-11-25 22:51:57 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2018-11-25 22:51:57 +0900 |
| commit | 03f40af361e7a1e57722fb4207929fdd1ad39263 (patch) | |
| tree | 43a412c505489ad57805f5529739e1ebfe98eb79 /configure.ac | |
| parent | 6c30b13a91646d5b9ed26d12806850d33ec6f94b (diff) | |
Remove linux getrandom and use C++ stdlib instead
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 16 |
1 files changed, 0 insertions, 16 deletions
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 <sys/syscall.h> -#include <linux/random.h> -]], -[[ -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 |
