dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
NAME_OF_RANDOM_DEVICE="/dev/srandom"
NAME_OF_PSEUDO_RANDOM_DEVICE="/dev/prandom"
NAME_OF_NONCE_DEVICE="/dev/urandom"
NAME_OF_RANDOM_DEVICE="/dev/srandom"
NAME_OF_PSEUDO_RANDOM_DEVICE="/dev/prandom"
NAME_OF_NONCE_DEVICE="/dev/urandom"
if test "$cross_compiling" != yes; then
if test "$NAME_OF_RANDOM_DEVICE" != "no"; then
AC_CHECK_FILE([$NAME_OF_RANDOM_DEVICE],,
if test "$cross_compiling" != yes; then
if test "$NAME_OF_RANDOM_DEVICE" != "no"; then
AC_CHECK_FILE([$NAME_OF_RANDOM_DEVICE],,
fi
if test "$NAME_OF_PSEUDO_RANDOM_DEVICE" != "no"; then
AC_CHECK_FILE([$NAME_OF_PSEUDO_RANDOM_DEVICE],,
fi
if test "$NAME_OF_PSEUDO_RANDOM_DEVICE" != "no"; then
AC_CHECK_FILE([$NAME_OF_PSEUDO_RANDOM_DEVICE],,
fi
if test "$NAME_OF_NONCE_DEVICE" != "no"; then
AC_CHECK_FILE([$NAME_OF_NONCE_DEVICE],,
fi
if test "$NAME_OF_NONCE_DEVICE" != "no"; then
AC_CHECK_FILE([$NAME_OF_NONCE_DEVICE],,