mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-28 21:33:09 +00:00
Bug #1612: Use a stronger PRNG.
Currently just reads from /dev/urandom, and only on Linux.
This commit is contained in:
parent
20fd478324
commit
514ba4ca72
3 changed files with 25 additions and 0 deletions
|
|
@ -175,6 +175,12 @@ fi
|
|||
AC_CHECK_FUNC([dlopen], [],
|
||||
AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl"))
|
||||
|
||||
case $host_os in
|
||||
linux*)
|
||||
AC_DEFINE(HAVE_URANDOM, 1, [Has /dev/urandom]) ;;
|
||||
*) ;;
|
||||
esac
|
||||
|
||||
dnl Checks for library functions.
|
||||
AC_FUNC_VPRINTF
|
||||
AC_CHECK_FUNCS([geteuid getuid link memmove memset mkstemp strchr strrchr \
|
||||
|
|
|
|||
Loading…
Reference in a new issue