From f5b6b735a731901f09d7f3cc153c1d869269ee83 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:38:57 +0200 Subject: Adding upstream version 2.12.1. Signed-off-by: Daniel Baumann --- gl/m4/getrandom.m4 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gl/m4/getrandom.m4') diff --git a/gl/m4/getrandom.m4 b/gl/m4/getrandom.m4 index 7b7f9ce..55be445 100644 --- a/gl/m4/getrandom.m4 +++ b/gl/m4/getrandom.m4 @@ -1,5 +1,5 @@ -# getrandom.m4 serial 11 -dnl Copyright 2020-2023 Free Software Foundation, Inc. +# getrandom.m4 serial 13 +dnl Copyright 2020-2024 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -9,6 +9,8 @@ dnl Written by Paul Eggert. AC_DEFUN([gl_FUNC_GETRANDOM], [ AC_REQUIRE([gl_SYS_RANDOM_H_DEFAULTS]) + AC_REQUIRE([AC_CANONICAL_HOST]) + gl_CHECK_FUNCS_ANDROID([getrandom], [[/* Additional includes are needed before on uClibc and Mac OS X. */ @@ -45,7 +47,7 @@ AC_DEFUN([gl_FUNC_GETRANDOM], fi case "$host_os" in - mingw*) + mingw* | windows*) AC_CHECK_HEADERS([bcrypt.h], [], [], [[#include ]]) -- cgit v1.2.3