blob: ef9ff42715a0eba5b9611688e5ba7c9375b58ee8 [file] [log] [blame]
Thomas Petazzoni476f5fc2016-05-01 22:15:12 +02001From 733ee65f308ec48be427463c06f372ca116ccada Mon Sep 17 00:00:00 2001
Thomas Petazzoni5c632802016-01-04 19:23:28 +01002From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3Date: Wed, 23 Dec 2015 11:50:11 +0100
4Subject: [PATCH] Add an option to disable NIS
Maxime Ripardf1c092d2013-05-29 10:36:57 +02005
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>
Maxime Ripardf1c092d2013-05-29 10:36:57 +020010---
Thomas Petazzoni5c632802016-01-04 19:23:28 +010011 configure.ac | 6 ++++++
Maxime Ripardf1c092d2013-05-29 10:36:57 +020012 1 file changed, 6 insertions(+)
13
Thomas Petazzoni5c632802016-01-04 19:23:28 +010014diff --git a/configure.ac b/configure.ac
Thomas Petazzoni476f5fc2016-05-01 22:15:12 +020015index 38b7515..f25733a 100644
Thomas Petazzoni0d327c22014-02-18 21:40:01 +010016--- a/configure.ac
17+++ b/configure.ac
Thomas Petazzoni476f5fc2016-05-01 22:15:12 +020018@@ -2917,6 +2917,12 @@ AC_ARG_ENABLE(codecs-cjk,
Maxime Ripardf1c092d2013-05-29 10:36:57 +020019 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]),
Thomas Petazzoni5c632802016-01-04 19:23:28 +010031--
322.6.4
33