3a646e17ae4fa60a34d70a3ed17ece64c2eddd7c
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / python / 112-optional-bzip2.patch
1 Add an option to disable the bz2 module
2
3 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
4 ---
5  configure.in |    6 ++++++
6  1 file changed, 6 insertions(+)
7
8 Index: b/configure.ac
9 ===================================================================
10 --- a/configure.ac
11 +++ b/configure.ac
12 @@ -2662,6 +2662,12 @@
13              DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl"
14           fi])
15  
16 +AC_ARG_ENABLE(bz2,
17 +       AS_HELP_STRING([--disable-bz2], [disable BZIP2]),
18 +       [ if test "$enableval" = "no"; then
19 +            DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} bz2"
20 +         fi])
21 +
22  AC_ARG_ENABLE(dbm,
23         AS_HELP_STRING([--disable-dbm], [disable DBM]),
24         [ if test "$enableval" = "no"; then