janus-gateway: make echo test plugin optional
[buildroot-gz.git] / package / python3 / 0025-Add-an-option-to-disable-NIS.patch
blobef9ff42715a0eba5b9611688e5ba7c9375b58ee8
1 From 733ee65f308ec48be427463c06f372ca116ccada Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Wed, 23 Dec 2015 11:50:11 +0100
4 Subject: [PATCH] Add an option to disable NIS
6 NIS is not necessarily available in uClibc, so we need an option to
7 not compile support for it.
9 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 ---
11 configure.ac | 6 ++++++
12 1 file changed, 6 insertions(+)
14 diff --git a/configure.ac b/configure.ac
15 index 38b7515..f25733a 100644
16 --- a/configure.ac
17 +++ b/configure.ac
18 @@ -2917,6 +2917,12 @@ AC_ARG_ENABLE(codecs-cjk,
19 DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk _codecs_iso2022"
20 fi])
22 +AC_ARG_ENABLE(nis,
23 + AS_HELP_STRING([--disable-nis], [disable NIS]),
24 + [ if test "$enableval" = "no"; then
25 + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis"
26 + fi])
28 AC_SUBST(TK)
29 AC_ARG_ENABLE(tk,
30 AS_HELP_STRING([--disable-tk], [disable tk]),
31 --
32 2.6.4