darwin gots /dev/urandom, too yo!
(cherry picked from commit bf0144f380
)
This commit is contained in:
parent
b1ae7c79db
commit
5869e3f555
|
@ -177,7 +177,7 @@ AC_CHECK_FUNC([dlopen], [],
|
|||
AC_CHECK_LIB([dl], [dlopen], DLOPEN_LIBS="-ldl"))
|
||||
|
||||
case $host_os in
|
||||
linux*)
|
||||
linux*|darwin*)
|
||||
AC_DEFINE(HAVE_URANDOM, 1, [Has /dev/urandom]) ;;
|
||||
solaris*)
|
||||
# Solaris 8 with patches, or Solaris 9 or later have /dev/urandom
|
||||
|
|
Loading…
Reference in New Issue
Block a user