diff --git a/configure.ac b/configure.ac index b42b12068..67606c777 100644 --- a/configure.ac +++ b/configure.ac @@ -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