nmathewson/Libevent — pull request #55 by ghazel (2012-05-29 19:41:26+00:00)
Title: check for arc4random_buf at runtime, on OS X

When compiling on a 10.7 machine with a 10.5 target, the configure script detects that arc4random_buf works, however at runtime the function pointer is NULL. This patch detects that case and uses the libevent implementation (but only on OS X, since it's not a function pointer elsewhere).