diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2017-03-01 19:22:37 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2017-03-01 19:22:37 +0000 |
commit | 4d40326eddf1e4b654373804f908bb16bc66fcfc (patch) | |
tree | 68b4e2f83bd37450c79fd4a4bf78990eb44e2d3f /xserver/configure.ac | |
parent | 809e94e475c78602f28f0e4e51b39cd66738ef38 (diff) |
Fix arc4random_buf(3) detection. Noticed by Eric Engestrom on
the xorg-devel list. Thanks
Diffstat (limited to 'xserver/configure.ac')
-rw-r--r-- | xserver/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xserver/configure.ac b/xserver/configure.ac index 03cfd6afd..2fcd9edee 100644 --- a/xserver/configure.ac +++ b/xserver/configure.ac @@ -222,8 +222,8 @@ AC_CHECK_FUNCS([backtrace ffs geteuid getuid issetugid getresuid \ walkcontext]) AC_REPLACE_FUNCS([reallocarray strcasecmp strcasestr strlcat strlcpy strndup \ timingsafe_memcmp]) - AC_CHECK_LIB([bsd], [arc4random_buf]) +AC_CHECK_FUNCS([arc4random_buf]) AC_CHECK_DECLS([program_invocation_short_name], [], [], [[#include <errno.h>]]) |