diff options
Diffstat (limited to 'm4/random.m4')
-rw-r--r-- | m4/random.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/m4/random.m4 b/m4/random.m4 new file mode 100644 index 0000000..7840f83 --- /dev/null +++ b/m4/random.m4 @@ -0,0 +1,6 @@ +AC_DEFUN([DOVECOT_RANDOM],[ + AC_CHECK_HEADER([sys/random.h], [ + AC_CHECK_FUNCS([getrandom]) + AC_CHECK_DECLS([getrandom], [], [], [[#include <sys/random.h>]]) + ]) +]) |