1 From 69a5a3b7a0307476772943da70162dfe716c674f Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Tue, 7 Mar 2017 23:31:11 +0100
4 Subject: [PATCH] Add options to disable zlib, bzip2 and xz modules
6 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 configure.ac | 18 ++++++++++++++++++
9 1 file changed, 18 insertions(+)
11 diff --git a/configure.ac b/configure.ac
12 index c274e13..fac9c57 100644
15 @@ -3039,6 +3039,24 @@ AC_ARG_ENABLE(readline,
16 DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} readline"
20 + AS_HELP_STRING([--disable-bzip2], [disable bzip2]),
21 + [ if test "$enableval" = "no"; then
22 + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _bz2"
26 + AS_HELP_STRING([--disable-zlib], [disable zlib]),
27 + [ if test "$enableval" = "no"; then
28 + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} zlib"
32 + AS_HELP_STRING([--disable-xz], [disable xz]),
33 + [ if test "$enableval" = "no"; then
34 + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _lzma"
39 AS_HELP_STRING([--disable-tk], [disable tk]),