Mercurial > dovecot > original-hg > dovecot-1.2
changeset 1609:5c2ad8ec50db HEAD
test -e isn't standard. Use test -c + -s for checking /dev/urandom.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 10 Jul 2003 03:40:25 +0300 |
parents | 507de0e8d250 |
children | 6850142c4e25 |
files | configure.in |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Wed Jul 09 22:50:17 2003 +0300 +++ b/configure.in Thu Jul 10 03:40:25 2003 +0300 @@ -496,7 +496,7 @@ dnl * find random source AC_MSG_CHECKING([for /dev/urandom]) -if test -e /dev/urandom; then +if test -c /dev/urandom -o -s /dev/urandom; then AC_MSG_RESULT(yes) AC_DEFINE(HAVE_DEV_URANDOM,, Define if you have /dev/urandom) have_random_source=yes