aboutsummaryrefslogtreecommitdiff
path: root/m4/check-libc.m4
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2016-02-15 13:39:06 -0600
committerBrent Cook <bcook@openbsd.org>2016-02-15 13:39:06 -0600
commitd4d040c171512881b845b2b663ee9ca081e6a5b6 (patch)
tree194abc4cd6df82f023074fec9152b47f401650d8 /m4/check-libc.m4
parent9df51efab0a08a92686a94c4634beb75450da8b6 (diff)
downloadportable-d4d040c171512881b845b2b663ee9ca081e6a5b6.tar.gz
portable-d4d040c171512881b845b2b663ee9ca081e6a5b6.tar.bz2
portable-d4d040c171512881b845b2b663ee9ca081e6a5b6.zip
add things to minimize diffs with OpenNTPD-portable
Diffstat (limited to 'm4/check-libc.m4')
-rw-r--r--m4/check-libc.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4
index 4a0debf..a15563b 100644
--- a/m4/check-libc.m4
+++ b/m4/check-libc.m4
@@ -46,9 +46,12 @@ AM_CONDITIONAL([HAVE_B64_NTOP], [test "x$ac_cv_func_b64_ntop_arg" = xyes])
46 46
47AC_DEFUN([CHECK_CRYPTO_COMPAT], [ 47AC_DEFUN([CHECK_CRYPTO_COMPAT], [
48# Check crypto-related libc functions and syscalls 48# Check crypto-related libc functions and syscalls
49AC_CHECK_FUNCS([arc4random_buf explicit_bzero getauxval getentropy]) 49AC_CHECK_FUNCS([arc4random arc4random_buf arc4random_uniform])
50AC_CHECK_FUNCS([explicit_bzero getauxval getentropy])
50AC_CHECK_FUNCS([timingsafe_bcmp timingsafe_memcmp]) 51AC_CHECK_FUNCS([timingsafe_bcmp timingsafe_memcmp])
52AM_CONDITIONAL([HAVE_ARC4RANDOM], [test "x$ac_cv_func_arc4random" = xyes])
51AM_CONDITIONAL([HAVE_ARC4RANDOM_BUF], [test "x$ac_cv_func_arc4random_buf" = xyes]) 53AM_CONDITIONAL([HAVE_ARC4RANDOM_BUF], [test "x$ac_cv_func_arc4random_buf" = xyes])
54AM_CONDITIONAL([HAVE_ARC4RANDOM_UNIFORM], [test "x$ac_cv_func_arc4random_uniform" = xyes])
52AM_CONDITIONAL([HAVE_EXPLICIT_BZERO], [test "x$ac_cv_func_explicit_bzero" = xyes]) 55AM_CONDITIONAL([HAVE_EXPLICIT_BZERO], [test "x$ac_cv_func_explicit_bzero" = xyes])
53AM_CONDITIONAL([HAVE_GETENTROPY], [test "x$ac_cv_func_getentropy" = xyes]) 56AM_CONDITIONAL([HAVE_GETENTROPY], [test "x$ac_cv_func_getentropy" = xyes])
54AM_CONDITIONAL([HAVE_TIMINGSAFE_BCMP], [test "x$ac_cv_func_timingsafe_bcmp" = xyes]) 57AM_CONDITIONAL([HAVE_TIMINGSAFE_BCMP], [test "x$ac_cv_func_timingsafe_bcmp" = xyes])