0021-Add-an-option-to-disable-NIS.patch 1013 B

123456789101112131415161718192021222324252627282930313233
  1. From e52d4868cc1192f7e1c147aebaf4fc6f7de30357 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 c7742faf41..42a871bb09 100644
  13. --- a/configure.ac
  14. +++ b/configure.ac
  15. @@ -3249,6 +3249,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.13.5