[dovecot-cvs] dovecot configure.in,1.111,1.112

cras at procontrol.fi cras at procontrol.fi
Wed Apr 9 03:06:08 EEST 2003


Update of /home/cvs/dovecot
In directory danu:/tmp/cvs-serv4239

Modified Files:
	configure.in 
Log Message:
use test -c for checking /dev/urandom. test -e doesn't work in solaris.



Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -d -r1.111 -r1.112
--- configure.in	4 Apr 2003 14:40:13 -0000	1.111
+++ configure.in	8 Apr 2003 23:06:06 -0000	1.112
@@ -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




More information about the dovecot-cvs mailing list