configure.ac: Fix mis-detection of getrandom on Debian GNU/kFreeBSD (#50)

There is no such thing but we need to link (not just compile) to realize.
This commit is contained in:
Sebastian Pipping 2017-06-18 18:55:10 +02:00
parent e5e25fac16
commit 602e6c78ca

View File

@ -130,7 +130,7 @@ AC_LINK_IFELSE([AC_LANG_SOURCE([
AC_MSG_CHECKING([for getrandom (Linux 3.17+, glibc 2.25+)])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
AC_LINK_IFELSE([AC_LANG_SOURCE([
#include <stdlib.h> /* for NULL */
#include <sys/random.h>
int main() {