]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
test -e /dev/urandom, not test -c. BSD/OS has it as a symlink to socket.
authorTimo Sirainen <tss@iki.fi>
Wed, 9 Jul 2003 19:50:17 +0000 (22:50 +0300)
committerTimo Sirainen <tss@iki.fi>
Wed, 9 Jul 2003 19:50:17 +0000 (22:50 +0300)
--HG--
branch : HEAD

configure.in

index 83c775d2c54fe1611d0e5605b86658c92bdba1e6..c9dde809269d713a5c03f19e6a41ebb6aa725d05 100644 (file)
@@ -496,7 +496,7 @@ AC_DEFINE_UNQUOTED(INDEX_ALIGN_SIZE, $index_align, Required index alignment)
 
 dnl * find random source
 AC_MSG_CHECKING([for /dev/urandom])
-if test -c /dev/urandom; then
+if test -e /dev/urandom; then
   AC_MSG_RESULT(yes)
   AC_DEFINE(HAVE_DEV_URANDOM,, Define if you have /dev/urandom)
   have_random_source=yes