changeset 1341:fe6f252a389f HEAD

use test -c for checking /dev/urandom. test -e doesn't work in solaris.
author Timo Sirainen <tss@iki.fi>
date Wed, 09 Apr 2003 02:06:06 +0300
parents 087a9f4304ca
children f1dc24e5bc0f
files configure.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.in	Wed Apr 09 01:59:09 2003 +0300
+++ b/configure.in	Wed Apr 09 02:06:06 2003 +0300
@@ -466,7 +466,7 @@
 
 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