darwin gots /dev/urandom, too yo!

This commit is contained in:
Jeremy Huddleston 2008-04-24 19:39:27 -07:00
parent 7ee34a69f3
commit bf0144f380

View File

@ -176,7 +176,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