summaryrefslogtreecommitdiffstats
path: root/m4/random.m4
blob: 7840f83dd209128064c107d1320cce16de38f6fa (plain)
1
2
3
4
5
6
AC_DEFUN([DOVECOT_RANDOM],[
	AC_CHECK_HEADER([sys/random.h], [
          AC_CHECK_FUNCS([getrandom])
          AC_CHECK_DECLS([getrandom], [], [], [[#include <sys/random.h>]])
        ])
])