f07bbb610f0eeac46090e832b4a09c44f1fffa21
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / python / 108-optional-nis.patch
1 Add an option to disable NIS
2
3 NIS is not necessarily available in uClibc, so we need an option to
4 not compile support for it.
5
6 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7
8 ---
9  configure.in |    6 ++++++
10  1 file changed, 6 insertions(+)
11
12 Index: b/configure.ac
13 ===================================================================
14 --- a/configure.ac
15 +++ b/configure.ac
16 @@ -2650,6 +2650,12 @@
17              DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk"
18           fi])
19  
20 +AC_ARG_ENABLE(nis,
21 +       AS_HELP_STRING([--disable-nis], [disable NIS]),
22 +       [ if test "$enableval" = "no"; then
23 +            DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis"
24 +         fi])
25 +
26  AC_SUBST(TK)
27  AC_ARG_ENABLE(tk,
28         AS_HELP_STRING([--disable-tk], [disable tk]),