$OpenBSD: patch-configure_ac,v 1.1 2013/11/25 17:12:43 zhuk Exp $
--- configure.ac.orig	Mon Nov 25 12:57:48 2013
+++ configure.ac	Mon Nov 25 12:59:26 2013
@@ -160,6 +160,9 @@ build_scheduler=yes
 dnl Check if we have seteuid system call
 AC_CHECK_FUNCS(seteuid)
 
+dnl Check if we have arc4random family routines available
+AC_CHECK_FUNCS(arc4random)
+
 
 dnl check if we can use the pthread_library
 AC_CHECK_LIB(pthread, pthread_mutex_init, [pthread_enabled=yes], [pthread_enabled=no])
