0029-Add-an-option-to-disable-the-zlib-module.patch 1000 B

1234567891011121314151617181920212223242526272829303132
  1. From a9c7314e069036f74b503dfaef261e5f45477b7e Mon Sep 17 00:00:00 2001
  2. From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. Date: Tue, 7 Mar 2017 22:30:45 +0100
  4. Subject: [PATCH] Add an option to disable the zlib 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 85df7b1478..3848b16b9f 100644
  13. --- a/configure.ac
  14. +++ b/configure.ac
  15. @@ -2875,6 +2875,12 @@ AC_ARG_ENABLE(bz2,
  16. DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} bz2"
  17. fi])
  18. +AC_ARG_ENABLE(zlib,
  19. + AS_HELP_STRING([--disable-zlib], [disable ZLIB]),
  20. + [ if test "$enableval" = "no"; then
  21. + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} zlib"
  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