diff options
| author | Federico G. Schwindt <fgsch@lodoss.net> | 2013-10-16 11:15:27 +0100 |
|---|---|---|
| committer | Federico G. Schwindt <fgsch@lodoss.net> | 2013-10-16 16:32:06 +0100 |
| commit | 17589534d0ccff05463910d1f0ba673d7d1630fd (patch) | |
| tree | fd2d84d25e0219d4e073490541a5ae3eafaf073c /configure.ng | |
| parent | ea26fd2840f6c7f286407e86f832d6ec5e93eeeb (diff) | |
| download | ngircd-17589534d0ccff05463910d1f0ba673d7d1630fd.tar.gz ngircd-17589534d0ccff05463910d1f0ba673d7d1630fd.zip | |
Add support for arc4random
If arc4random is present it will be used over the srand/rand interface. This fixes some warnings in OpenBSD-current.
Diffstat (limited to 'configure.ng')
| -rw-r--r-- | configure.ng | 5 |
1 files changed, 3 insertions, 2 deletions
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 -- |