aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorcelan69 <christian@kuehnke.de>2016-07-19 12:11:28 +0200
committerBrent Cook <bcook@openbsd.org>2016-07-19 05:46:16 -0500
commit94532f961964ccc422ab6a17a383176bf00ea911 (patch)
treef42455bb3b47fbc5f55c099c2f72f7f673f28b56 /m4
parent0ae23dfcc3bce3a46e268525ca3091f5ff7e8acc (diff)
downloadportable-94532f961964ccc422ab6a17a383176bf00ea911.tar.gz
portable-94532f961964ccc422ab6a17a383176bf00ea911.tar.bz2
portable-94532f961964ccc422ab6a17a383176bf00ea911.zip
Fix typo in USE_BUILTIN_ARC4RANDOM check
Solaris 11 recently introduced a builtin arc4random in libc which fails the tests in "make check". Found USE_BUILTIN_ARC4RANDOM, but could not get it to work. Apparently, there is a typo in the configure logic rendering USE_BUILTIN_ARC4RANDOM ineffective.
Diffstat (limited to 'm4')
-rw-r--r--m4/check-libc.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/check-libc.m4 b/m4/check-libc.m4
index a8f6646..f2eb3eb 100644
--- a/m4/check-libc.m4
+++ b/m4/check-libc.m4
@@ -59,7 +59,7 @@ AM_CONDITIONAL([HAVE_TIMINGSAFE_MEMCMP], [test "x$ac_cv_func_timingsafe_memcmp"
59 59
60# Override arc4random_buf implementations with known issues 60# Override arc4random_buf implementations with known issues
61AM_CONDITIONAL([HAVE_ARC4RANDOM_BUF], 61AM_CONDITIONAL([HAVE_ARC4RANDOM_BUF],
62 [test "x$USE_BUILTIN_ARC4RANDOM" != yes \ 62 [test "x$USE_BUILTIN_ARC4RANDOM" != xyes \
63 -a "x$ac_cv_func_arc4random_buf" = xyes]) 63 -a "x$ac_cv_func_arc4random_buf" = xyes])
64 64
65# Check for getentropy fallback dependencies 65# Check for getentropy fallback dependencies