From 17589534d0ccff05463910d1f0ba673d7d1630fd Mon Sep 17 00:00:00 2001 From: "Federico G. Schwindt" Date: Wed, 16 Oct 2013 11:15:27 +0100 Subject: Add support for arc4random If arc4random is present it will be used over the srand/rand interface. This fixes some warnings in OpenBSD-current. --- configure.ng | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure.ng') diff --git a/configure.ng b/configure.ng index faf3086b..16f970f8 100644 --- a/configure.ng +++ b/configure.ng @@ -187,8 +187,9 @@ AC_CHECK_FUNCS([ \ # Optional functions AC_CHECK_FUNCS_ONCE([ \ - gai_strerror getaddrinfo getnameinfo inet_aton sigaction sigprocmask \ - snprintf vsnprintf strdup strndup strlcpy strlcat strtok_r waitpid]) + arc4random gai_strerror getaddrinfo getnameinfo inet_aton sigaction \ + sigprocmask snprintf vsnprintf strdup strndup strlcpy strlcat strtok_r \ + waitpid]) # -- Configuration options -- -- cgit 1.4.1