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