1 From f11dc326ae216911a67bd563b619f39522c14bf2 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Tue, 7 Mar 2017 22:33:02 +0100
4 Subject: [PATCH] Add option to disable the hashlib module
6 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 configure.ac | 6 ++++++
9 1 file changed, 6 insertions(+)
11 diff --git a/configure.ac b/configure.ac
12 index 8dc573e..854724d 100644
15 @@ -2840,6 +2840,12 @@ AC_ARG_ENABLE(ssl,
16 DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl"
19 +AC_ARG_ENABLE(hashlib,
20 + AS_HELP_STRING([--disable-hashlib], [disable hashlib]),
21 + [ if test "$enableval" = "no"; then
22 + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _hashlib"
26 AS_HELP_STRING([--disable-bz2], [disable BZIP2]),
27 [ if test "$enableval" = "no"; then