[dovecot-cvs] dovecot configure.in,1.133,1.134

cras at procontrol.fi cras at procontrol.fi
Thu Jul 10 04:40:28 EEST 2003


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

Modified Files:
	configure.in 
Log Message:
test -e isn't standard. Use test -c + -s for checking /dev/urandom.



Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- configure.in	9 Jul 2003 19:50:17 -0000	1.133
+++ configure.in	10 Jul 2003 00:40:25 -0000	1.134
@@ -496,7 +496,7 @@
 
 dnl * find random source
 AC_MSG_CHECKING([for /dev/urandom])
-if test -e /dev/urandom; then
+if test -c /dev/urandom -o -s /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