0028-Add-an-option-to-disable-the-bz2-module.patch 992 B

1234567891011121314151617181920212223242526272829303132
  1. From d1236c6f4d8d893709fa36f751af47b8ad9055c1 Mon Sep 17 00:00:00 2001
  2. From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. Date: Tue, 7 Mar 2017 22:30:33 +0100
  4. Subject: [PATCH] Add an option to disable the bz2 module
  5. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  6. [Peter: update for 2.7.16]
  7. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
  8. ---
  9. configure.ac | 6 ++++++
  10. 1 file changed, 6 insertions(+)
  11. diff --git a/configure.ac b/configure.ac
  12. index 8fe47d8c37..85df7b1478 100644
  13. --- a/configure.ac
  14. +++ b/configure.ac
  15. @@ -2869,6 +2869,12 @@ AC_ARG_ENABLE(ssl,
  16. DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _ssl"
  17. fi])
  18. +AC_ARG_ENABLE(bz2,
  19. + AS_HELP_STRING([--disable-bz2], [disable BZIP2]),
  20. + [ if test "$enableval" = "no"; then
  21. + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} bz2"
  22. + fi])
  23. +
  24. AC_ARG_ENABLE(dbm,
  25. AS_HELP_STRING([--disable-dbm], [disable DBM]),
  26. [ if test "$enableval" = "no"; then
  27. --
  28. 2.11.0