rand/noise.c (noise_devrandom): Use OpenBSD system call `getentropy'.
[catacomb] / configure.ac
index 631f783..7887da3 100644 (file)
@@ -222,6 +222,7 @@ AC_SUBST([limits])
 dnl Functions used for noise-gathering.
 AC_CHECK_FUNCS([setgroups])
 AC_CHECK_HEADERS([linux/random.h])
+AC_CHECK_FUNCS([getentropy])
 AC_CACHE_CHECK([whether the freewheel noise generator will work],
        [catacomb_cv_freewheel],
 [AC_TRY_LINK(