From 94532f961964ccc422ab6a17a383176bf00ea911 Mon Sep 17 00:00:00 2001 From: celan69 Date: Tue, 19 Jul 2016 12:11:28 +0200 Subject: 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. --- m4/check-libc.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'm4') 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" # Override arc4random_buf implementations with known issues AM_CONDITIONAL([HAVE_ARC4RANDOM_BUF], - [test "x$USE_BUILTIN_ARC4RANDOM" != yes \ + [test "x$USE_BUILTIN_ARC4RANDOM" != xyes \ -a "x$ac_cv_func_arc4random_buf" = xyes]) # Check for getentropy fallback dependencies -- cgit v1.2.3-55-g6feb