From bdbfe80be8a69e2d0fd0e2eebd98508a2be550d8 Mon Sep 17 00:00:00 2001
From: Yegor Yefremov <yegorslists@googlemail.com>
Date: Wed, 2 Dec 2020 16:59:09 +0100
Subject: [PATCH] Disable libjitter by default

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index ba796f8..0e8a00b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,15 +77,15 @@ AS_IF([test $target_cpu = powerpc64le], [AC_DEFINE([HAVE_DARN],1,[Enable DARN])]
 AM_CONDITIONAL([JITTER], [false])
 
 AC_ARG_ENABLE(jitterentropy,
-	AS_HELP_STRING([--disable-jitterentropy | --enable-jitterentropy=<path>],
-	[Disable jitterentropy source, or specify its location]),
+	AS_HELP_STRING([--enable-jitterentropy=<path>],
+	[Enable jitterentropy source with its location]),
 	[if [ test -d $enable_jitterentropy ]; then
 		export LDFLAGS+=-L$enable_jitterentropy;
 		export CFLAGS+=" -I$enable_jitterentropy";
 	fi],[])
 
 AS_IF(
-	[ test "x$enable_jitterentropy" != "xno" ],
+	[ test "x$enable_jitterentropy" = "xyes" ],
 	[
 		AC_MSG_NOTICE([Searching for jitterentropy library])
 		AC_SEARCH_LIBS(jent_version,jitterentropy,
-- 
2.17.0

