From 396fc9b610dd64841619d323a2588c379ecc878d Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 9 Apr 2003 02:06:06 +0300 Subject: [PATCH] use test -c for checking /dev/urandom. test -e doesn't work in solaris. --HG-- branch : HEAD --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3