0020-Add-an-option-to-disable-openssl-support.patch 927 B

123456789101112131415161718192021222324252627282930
  1. From 959521c99fed46efab9bf0a1ae4b77b2365cf0d1 Mon Sep 17 00:00:00 2001
  2. From: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
  3. Date: Wed, 22 Feb 2017 17:55:59 -0800
  4. Subject: [PATCH] Add an option to disable openssl support.
  5. Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
  6. ---
  7. configure.ac | 6 ++++++
  8. 1 file changed, 6 insertions(+)
  9. diff --git a/configure.ac b/configure.ac
  10. index 87853f47329..3f8f0419767 100644
  11. --- a/configure.ac
  12. +++ b/configure.ac
  13. @@ -4270,6 +4270,12 @@ AC_ARG_ENABLE(unicodedata,
  14. DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata"
  15. fi])
  16. +AC_ARG_ENABLE(openssl,
  17. + AS_HELP_STRING([--disable-openssl], [disable openssl support]),
  18. + [ if test "$enableval" = "no"; then
  19. + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl _ssl _hashlib"
  20. + fi])
  21. +
  22. AC_SUBST(TK)
  23. AC_ARG_ENABLE(tk,
  24. AS_HELP_STRING([--disable-tk], [disable tk]),
  25. --
  26. 2.44.0