1From 90ed5c692b8b5596ca0b3ae1436276c8181251d8 Mon Sep 17 00:00:00 2001
2From: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
3Date: Wed, 22 Feb 2017 17:55:59 -0800
4Subject: [PATCH] Add an option to disable openssl support.
5
6Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
7---
8 configure.ac | 6 ++++++
9 1 file changed, 6 insertions(+)
10
11diff --git a/configure.ac b/configure.ac
12index 08c148c..a81a24c 100644
13--- a/configure.ac
14+++ b/configure.ac
15@@ -3421,6 +3421,12 @@ AC_ARG_ENABLE(unicodedata,
16     	     DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata"
17   	  fi])
18
19+AC_ARG_ENABLE(openssl,
20+	AS_HELP_STRING([--disable-openssl], [disable openssl support]),
21+	[ if test "$enableval" = "no"; then
22+	     DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl _ssl _hashlib"
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