mirror of https://github.com/aria2/aria2
configure.ac: add check for getentropy() (#1)
getentropy() requires glibc >=2.25 defines HAVE_GETENTROPY if callablepull/2000/head
parent
71b1b4634f
commit
977c00f48d
|
@ -911,6 +911,9 @@ AC_CHECK_FUNCS([gettimeofday],
|
|||
AC_CHECK_FUNCS([strptime],
|
||||
[AM_CONDITIONAL([HAVE_STRPTIME], true)],
|
||||
[AM_CONDITIONAL([HAVE_STRPTIME], false)])
|
||||
AC_CHECK_FUNCS([getentropy],
|
||||
[AM_CONDITIONAL([HAVE_GETENTROPY], true)],
|
||||
[AM_CONDITIONAL([HAVE_GETENTROPY], false)])
|
||||
AC_CHECK_FUNCS([daemon], [have_daemon=yes])
|
||||
AM_CONDITIONAL([HAVE_DAEMON], [test "x$have_daemon" = "xyes"])
|
||||
|
||||
|
|
Loading…
Reference in New Issue