summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2017-03-01 20:28:34 +0100
committerAdam Jackson <ajax@redhat.com>2017-03-01 15:05:01 -0500
commit386fbbe410a1168b724136e54cf3bd37fb64ad4e (patch)
treebc8e6b9c703f8157871c868169b02bf637753201 /configure.ac
parentdc7ceda90fdedb2212f105095fe8d449bfdb0eb4 (diff)
Brown bag commit to fix 957e8d (arc4random_buf() support)
- typo in #ifdef check - also need to add AC_CHECK_FUNCS([arc4random_buf]) Reported-by Eric Engestrom. Thanks Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 6a7c4cc6f..a61308709 100644
--- a/configure.ac
+++ b/configure.ac
@@ -226,6 +226,7 @@ AC_REPLACE_FUNCS([reallocarray strcasecmp strcasestr strlcat strlcpy strndup\
AM_CONDITIONAL(POLL, [test "x$ac_cv_func_poll" = "xyes"])
AC_CHECK_LIB([bsd], [arc4random_buf])
+AC_CHECK_FUNCS([arc4random_buf])
AC_CHECK_DECLS([program_invocation_short_name], [], [], [[#include <errno.h>]])