blob: 7ec5b19b59f614cece4d10bc0fa5fc2cd47b0b75 [file] [log] [blame]
Maxime Ripardf1c092d2013-05-29 10:36:57 +02001Add an option to disable NIS
2
3NIS is not necessarily available in uClibc, so we need an option to
4not compile support for it.
5
6Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7
8---
9 configure.ac | 6 ++++++
10 1 file changed, 6 insertions(+)
11
Thomas Petazzoni0d327c22014-02-18 21:40:01 +010012Index: b/configure.ac
Maxime Ripardf1c092d2013-05-29 10:36:57 +020013===================================================================
Thomas Petazzoni0d327c22014-02-18 21:40:01 +010014--- a/configure.ac
15+++ b/configure.ac
16@@ -2689,6 +2689,12 @@
Maxime Ripardf1c092d2013-05-29 10:36:57 +020017 DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk _codecs_iso2022"
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]),