mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-06-15 23:35:50 +00:00
cefb3e2171
* m4/*.m4: Treat windows* as equivalent to mingw*. * modules/*: Likewise.
38 lines
853 B
Plaintext
38 lines
853 B
Plaintext
Description:
|
|
Fill buffer with random bytes.
|
|
|
|
Files:
|
|
lib/getrandom.c
|
|
m4/getrandom.m4
|
|
|
|
Depends-on:
|
|
sys_random
|
|
fcntl-h [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1]
|
|
minmax [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1]
|
|
stdbool [test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1]
|
|
open [case $host_os in mingw* | windows*) false;; *) test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1;; esac]
|
|
|
|
configure.ac:
|
|
AC_REQUIRE([AC_CANONICAL_HOST])
|
|
gl_FUNC_GETRANDOM
|
|
gl_CONDITIONAL([GL_COND_OBJ_GETRANDOM],
|
|
[test $HAVE_GETRANDOM = 0 || test $REPLACE_GETRANDOM = 1])
|
|
gl_SYS_RANDOM_MODULE_INDICATOR([getrandom])
|
|
|
|
Makefile.am:
|
|
if GL_COND_OBJ_GETRANDOM
|
|
lib_SOURCES += getrandom.c
|
|
endif
|
|
|
|
Include:
|
|
<sys/random.h>
|
|
|
|
Link:
|
|
$(GETRANDOM_LIB)
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|