diff options
author | Brad Smith <brad@comstyle.com> | 2008-05-17 13:05:58 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@bluenote.herrb.net> | 2008-05-17 13:05:58 +0200 |
commit | 895d4e274d2b4638f0e6838dfee0e543311dba34 (patch) | |
tree | a48b5bc5d37cdc2d7976a11f14d254cc0eff69d6 | |
parent | aad1c37b0951eae216ac323c5d8bfc6fbcf096bd (diff) |
BSD's also have /dev/urandom.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 403ce8c89..311f5c5aa 100644 --- a/configure.ac +++ b/configure.ac @@ -179,6 +179,8 @@ AC_CHECK_FUNC([dlopen], [], case $host_os in linux*|darwin*) AC_DEFINE(HAVE_URANDOM, 1, [Has /dev/urandom]) ;; + freebsd*|netbsd*|openbsd*|dragonfly*) + AC_DEFINE(HAVE_URANDOM, 1, [Has /dev/urandom]) ;; solaris*) # Solaris 8 with patches, or Solaris 9 or later have /dev/urandom if test -r /dev/urandom ; then |