0031-Add-an-option-to-disable-openssl.patch 700 B

1234567891011121314151617181920212223
  1. From: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
  2. Subject: [PATCH] Add an option to disable openssl support.
  3. Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
  4. ---
  5. configure.ac | 6 ++++++
  6. 1 file changed, 6 insertions(+)
  7. --- a/configure.ac
  8. +++ b/configure.ac
  9. @@ -3027,6 +3027,12 @@
  10. DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata"
  11. fi])
  12. +AC_ARG_ENABLE(openssl,
  13. + AS_HELP_STRING([--disable-openssl], [disable openssl support]),
  14. + [ if test "$enableval" = "no"; then
  15. + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl _ssl _hashlib"
  16. + fi])
  17. +
  18. AC_SUBST(TK)
  19. AC_ARG_ENABLE(tk,
  20. AS_HELP_STRING([--disable-tk], [disable tk]),