diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-06-28 13:22:44 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-06-28 13:24:06 -0700 |
commit | 665014452dec841302785bcd0fc4dc96d93f3d30 (patch) | |
tree | 2fb65ad54fd18d9e9c5e717dc2ef03f0ad024c7a /m4/getrandom.m4 | |
parent | 162f375bac22786d95a253f03de0148be4fe3201 (diff) | |
download | emacs-665014452dec841302785bcd0fc4dc96d93f3d30.tar.gz emacs-665014452dec841302785bcd0fc4dc96d93f3d30.tar.bz2 emacs-665014452dec841302785bcd0fc4dc96d93f3d30.zip |
Update from Gnulib.
This incorporates:
2020-06-28 getrandom: do not depend on ‘open’ on mingw
2020-06-28 getrandom: fix compilation errors on older versions of mingw
* build-aux/config.sub, lib/getrandom.c, m4/getrandom.m4:
Copy from Gnulib
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
Diffstat (limited to 'm4/getrandom.m4')
-rw-r--r-- | m4/getrandom.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/getrandom.m4 b/m4/getrandom.m4 index 37fb10023a0..2a0034bf76c 100644 --- a/m4/getrandom.m4 +++ b/m4/getrandom.m4 @@ -1,4 +1,4 @@ -# getrandom.m4 serial 5 +# getrandom.m4 serial 6 dnl Copyright 2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -36,6 +36,7 @@ AC_DEFUN([gl_FUNC_GETRANDOM], case "$host_os" in mingw*) + AC_CHECK_HEADERS([bcrypt.h]) AC_CACHE_CHECK([whether the bcrypt library is guaranteed to be present], [gl_cv_lib_assume_bcrypt], [AC_COMPILE_IFELSE( |