2
1

0015-Add-an-option-to-disable-NIS.patch 1015 B

123456789101112131415161718192021222324252627282930313233
  1. From 3f4f9bee66236e2052f9ff027e867a61ec56a585 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
  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. ---
  9. configure.ac | 6 ++++++
  10. 1 file changed, 6 insertions(+)
  11. diff --git a/configure.ac b/configure.ac
  12. index 13ffcf2637e..2faadb34f65 100644
  13. --- a/configure.ac
  14. +++ b/configure.ac
  15. @@ -4245,6 +4245,12 @@ AC_ARG_ENABLE(codecs-cjk,
  16. DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk _codecs_iso2022"
  17. fi])
  18. +AC_ARG_ENABLE(nis,
  19. + AS_HELP_STRING([--disable-nis], [disable NIS]),
  20. + [ if test "$enableval" = "no"; then
  21. + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis"
  22. + fi])
  23. +
  24. AC_SUBST(TK)
  25. AC_ARG_ENABLE(tk,
  26. AS_HELP_STRING([--disable-tk], [disable tk]),
  27. --
  28. 2.44.0