1From 3f4f9bee66236e2052f9ff027e867a61ec56a585 Mon Sep 17 00:00:00 2001
2From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3Date: Wed, 23 Dec 2015 11:50:11 +0100
4Subject: [PATCH] Add an option to disable NIS
5
6NIS is not necessarily available in uClibc, so we need an option to
7not compile support for it.
8
9Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10---
11 configure.ac | 6 ++++++
12 1 file changed, 6 insertions(+)
13
14diff --git a/configure.ac b/configure.ac
15index 13ffcf2637e..2faadb34f65 100644
16--- a/configure.ac
17+++ b/configure.ac
18@@ -4245,6 +4245,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])
21
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])
27+
28 AC_SUBST(TK)
29 AC_ARG_ENABLE(tk,
30 	AS_HELP_STRING([--disable-tk], [disable tk]),
31--
322.44.0
33
34