1From 049e7a51e1ffd0d28d6608c707ab4b54e816d338 Mon Sep 17 00:00:00 2001
2From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3Date: Tue, 7 Mar 2017 23:29:05 +0100
4Subject: [PATCH] Add an option to disable the readline module
5
6Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7---
8 configure.ac | 6 ++++++
9 1 file changed, 6 insertions(+)
10
11diff --git a/configure.ac b/configure.ac
12index a81a24c..41a21ff 100644
13--- a/configure.ac
14+++ b/configure.ac
15@@ -3427,6 +3427,12 @@ AC_ARG_ENABLE(openssl,
16 	     DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl _ssl _hashlib"
17 	  fi])
18
19+AC_ARG_ENABLE(readline,
20+	AS_HELP_STRING([--disable-readline], [disable readline]),
21+	[ if test "$enableval" = "no"; then
22+	     DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} readline"
23+	  fi])
24+
25 AC_SUBST(TK)
26 AC_ARG_ENABLE(tk,
27 	AS_HELP_STRING([--disable-tk], [disable tk]),
28--
292.30.2
30
31