getopt-posix: Fix compilation error in C++ mode (regression 2024-09-21).
[gnulib.git] / modules / getentropy
blob3b0c434547a69c444ffdc1ae0ff9f6d77c3f5725
1 Description:
2 Fill buffer with random bytes.
4 Files:
5 lib/getentropy.c
6 m4/getentropy.m4
8 Depends-on:
9 getrandom      [test $HAVE_GETENTROPY = 0 || test $REPLACE_GETENTROPY = 1]
10 extensions
11 unistd
13 configure.ac:
14 gl_FUNC_GETENTROPY
15 gl_CONDITIONAL([GL_COND_OBJ_GETENTROPY],
16                [test $HAVE_GETENTROPY = 0 || test $REPLACE_GETENTROPY = 1])
17 gl_UNISTD_MODULE_INDICATOR([getentropy])
19 Makefile.am:
20 if GL_COND_OBJ_GETENTROPY
21 lib_SOURCES += getentropy.c
22 endif
24 Include:
25 <unistd.h>
27 Link:
28 $(GETRANDOM_LIB)
30 License:
31 LGPL
33 Maintainer:
34 all