113-optional-zlib.patch 719 B

123456789101112131415161718192021222324
  1. Add an option to disable the zlib module
  2. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  3. ---
  4. configure.in | 6 ++++++
  5. 1 file changed, 6 insertions(+)
  6. Index: b/configure.ac
  7. ===================================================================
  8. --- a/configure.ac
  9. +++ b/configure.ac
  10. @@ -2674,6 +2674,12 @@
  11. DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} bz2"
  12. fi])
  13. +AC_ARG_ENABLE(zlib,
  14. + AS_HELP_STRING([--disable-zlib], [disable ZLIB]),
  15. + [ if test "$enableval" = "no"; then
  16. + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} zlib"
  17. + fi])
  18. +
  19. AC_ARG_ENABLE(dbm,
  20. AS_HELP_STRING([--disable-dbm], [disable DBM]),
  21. [ if test "$enableval" = "no"; then