0028-Add-an-option-to-disable-the-readline-module.patch 888 B

123456789101112131415161718192021222324252627282930
  1. From 57e9ef788c27a112b79e489b375882f66f818b0a Mon Sep 17 00:00:00 2001
  2. From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. Date: Tue, 7 Mar 2017 23:29:05 +0100
  4. Subject: [PATCH] Add an option to disable the readline module
  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 af12c09..64dadb4 100644
  11. --- a/configure.ac
  12. +++ b/configure.ac
  13. @@ -3138,6 +3138,12 @@ AC_ARG_ENABLE(openssl,
  14. DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl _ssl _hashlib"
  15. fi])
  16. +AC_ARG_ENABLE(readline,
  17. + AS_HELP_STRING([--disable-readline], [disable readline]),
  18. + [ if test "$enableval" = "no"; then
  19. + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} readline"
  20. + fi])
  21. +
  22. AC_SUBST(TK)
  23. AC_ARG_ENABLE(tk,
  24. AS_HELP_STRING([--disable-tk], [disable tk]),
  25. --
  26. 2.9.3