From: Timo Sirainen Date: Wed, 9 Jul 2003 19:50:17 +0000 (+0300) Subject: test -e /dev/urandom, not test -c. BSD/OS has it as a symlink to socket. X-Git-Tag: 1.1.alpha1~4498 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67e78f5c620884a292b6e34c6b7af218ecead3c7;p=thirdparty%2Fdovecot%2Fcore.git test -e /dev/urandom, not test -c. BSD/OS has it as a symlink to socket. --HG-- branch : HEAD --- diff --git a/configure.in b/configure.in index 83c775d2c5..c9dde80926 100644 --- a/configure.in +++ b/configure.in @@ -496,7 +496,7 @@ AC_DEFINE_UNQUOTED(INDEX_ALIGN_SIZE, $index_align, Required index alignment) dnl * find random source AC_MSG_CHECKING([for /dev/urandom]) -if test -c /dev/urandom; then +if test -e /dev/urandom; then AC_MSG_RESULT(yes) AC_DEFINE(HAVE_DEV_URANDOM,, Define if you have /dev/urandom) have_random_source=yes