rand/noise.c (noise_devrandom): Use OpenBSD system call `getentropy'.
[catacomb] / configure.ac
index 246a74a..7887da3 100644 (file)
@@ -221,6 +221,8 @@ 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(