2
1

0024-Add-an-option-to-disable-NIS.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From ecd8e926bd364d866f492df87d7c46d029445480 Mon Sep 17 00:00:00 2001
  2. From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. Date: Tue, 7 Mar 2017 22:29:41 +0100
  4. Subject: [PATCH] Add an option to disable NIS
  5. NIS is not necessarily available in uClibc, so we need an option to
  6. not compile support for it.
  7. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  8. [Peter: update for 2.7.16]
  9. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
  10. ---
  11. configure.ac | 6 ++++++
  12. 1 file changed, 6 insertions(+)
  13. diff --git a/configure.ac b/configure.ac
  14. index 862c8ae516..354212fb16 100644
  15. --- a/configure.ac
  16. +++ b/configure.ac
  17. @@ -2857,6 +2857,12 @@ AC_ARG_ENABLE(codecs-cjk,
  18. DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk"
  19. fi])
  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]),
  29. --
  30. 2.11.0