109-optional-unicodedata.patch 693 B

12345678910111213141516171819202122232425
  1. Add an option to disable unicodedata
  2. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. ---
  4. configure.in | 6 ++++++
  5. 1 file changed, 6 insertions(+)
  6. Index: b/configure.ac
  7. ===================================================================
  8. --- a/configure.ac
  9. +++ b/configure.ac
  10. @@ -2662,6 +2662,12 @@
  11. DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis"
  12. fi])
  13. +AC_ARG_ENABLE(unicodedata,
  14. + AS_HELP_STRING([--disable-unicodedata], [disable unicodedata]),
  15. + [ if test "$enableval" = "no"; then
  16. + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata"
  17. + fi])
  18. +
  19. AC_SUBST(TK)
  20. AC_ARG_ENABLE(tk,
  21. AS_HELP_STRING([--disable-tk], [disable tk]),