0022-Add-an-option-to-disable-unicodedata.patch 894 B

123456789101112131415161718192021222324252627282930
  1. From dd82a401ff6ba4ba116bf4d520e981a1808ed443 Mon Sep 17 00:00:00 2001
  2. From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. Date: Wed, 23 Dec 2015 11:50:27 +0100
  4. Subject: [PATCH] Add an option to disable unicodedata
  5. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  6. ---
  7. configure.ac | 6 ++++++
  8. 1 file changed, 6 insertions(+)
  9. diff --git a/configure.ac b/configure.ac
  10. index 46d2a8131e..5844e3b73f 100644
  11. --- a/configure.ac
  12. +++ b/configure.ac
  13. @@ -3358,6 +3358,12 @@ AC_ARG_ENABLE(nis,
  14. DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis"
  15. fi])
  16. +AC_ARG_ENABLE(unicodedata,
  17. + AS_HELP_STRING([--disable-unicodedata], [disable unicodedata]),
  18. + [ if test "$enableval" = "no"; then
  19. + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata"
  20. + fi])
  21. +
  22. AC_SUBST(TK)
  23. AC_ARG_ENABLE(tk,
  24. AS_HELP_STRING([--disable-tk], [disable tk]),
  25. --
  26. 2.25.1