summaryrefslogtreecommitdiff
path: root/xserver/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'xserver/configure.ac')
-rw-r--r--xserver/configure.ac2
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>]])