From: Timo Sirainen Date: Tue, 8 Apr 2003 23:06:06 +0000 (+0300) Subject: use test -c for checking /dev/urandom. test -e doesn't work in solaris. X-Git-Tag: 1.1.alpha1~4765 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=396fc9b610dd64841619d323a2588c379ecc878d;p=thirdparty%2Fdovecot%2Fcore.git use test -c for checking /dev/urandom. test -e doesn't work in solaris. --HG-- branch : HEAD --- diff --git a/configure.in b/configure.in index 996989436a..cd909321af 100644 --- a/configure.in +++ b/configure.in @@ -466,7 +466,7 @@ fi dnl * find random source AC_MSG_CHECKING([for /dev/urandom]) -if test -e /dev/urandom; then +if test -c /dev/urandom; then AC_MSG_RESULT(yes) AC_DEFINE(HAVE_DEV_URANDOM,, Define if you have /dev/urandom) have_random_source=yes