108-optional-nis.patch 801 B

12345678910111213141516171819202122232425262728
  1. Add an option to disable NIS
  2. NIS is not necessarily available in uClibc, so we need an option to
  3. not compile support for it.
  4. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  5. ---
  6. configure.in | 6 ++++++
  7. 1 file changed, 6 insertions(+)
  8. Index: b/configure.ac
  9. ===================================================================
  10. --- a/configure.ac
  11. +++ b/configure.ac
  12. @@ -2656,6 +2656,12 @@
  13. DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk"
  14. fi])
  15. +AC_ARG_ENABLE(nis,
  16. + AS_HELP_STRING([--disable-nis], [disable NIS]),
  17. + [ if test "$enableval" = "no"; then
  18. + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis"
  19. + fi])
  20. +
  21. AC_SUBST(TK)
  22. AC_ARG_ENABLE(tk,
  23. AS_HELP_STRING([--disable-tk], [disable tk]),