gcc: preserve CXXFLAGS_FOR_TARGET
[buildroot-gz.git] / package / python3 / 0025-Add-an-option-to-disable-NIS.patch
blobcd6b19d79a777817cc7da36b77e4fbaff7074872
1 From f99823ef41d6f5c8e67b198b04b289d9b6ef8570 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 05817f0..4fb35a8 100644
16 --- a/configure.ac
17 +++ b/configure.ac
18 @@ -2681,6 +2681,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