]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
use test -c for checking /dev/urandom. test -e doesn't work in solaris.
authorTimo Sirainen <tss@iki.fi>
Tue, 8 Apr 2003 23:06:06 +0000 (02:06 +0300)
committerTimo Sirainen <tss@iki.fi>
Tue, 8 Apr 2003 23:06:06 +0000 (02:06 +0300)
--HG--
branch : HEAD

configure.in

index 996989436abd2845006a35c1c6d9d296f07b5cc4..cd909321afa08ae71070bb8ac7b481cb089b8dc5 100644 (file)
@@ -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