From 62a0e4db89bb9c5cc022ca4272aa0ea64af51b99 Mon Sep 17 00:00:00 2001
From: Dima Krasner <dima@dimakrasner.com>
Date: Mon, 24 Aug 2015 00:04:55 +0300
Subject: zlib: add zlib bindings

Including documentation and tests
---
 auto.def | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'auto.def')

diff --git a/auto.def b/auto.def
index 4625b63..18d8a9f 100644
--- a/auto.def
+++ b/auto.def
@@ -54,6 +54,7 @@ options {
         mk        - Interface to Metakit
         tclprefix - Support for the tcl::prefix command
         sqlite3   - Interface to sqlite3
+        zlib      - Interface to zlib
         win32     - Interface to win32
     }
     with-out-jim-ext: {without-ext:"default|ext1 ext2 ..."} => {
@@ -252,6 +253,7 @@ dict set extdb attrs {
     sdl       { optional }
     signal    { static }
     sqlite3   { optional }
+    zlib      { optional }
     stdlib    { tcl static }
     syslog    {}
     tclcompat { tcl static }
@@ -281,6 +283,7 @@ dict set extdb info {
              }
     signal   { check {[have-feature sigaction] && [have-feature vfork]} }
     sqlite3  { check {[cc-check-function-in-lib sqlite3_prepare_v2 sqlite3]} libdep lib_sqlite3_prepare_v2 }
+    zlib     { check {[cc-check-function-in-lib deflate z]} libdep lib_deflate }
     syslog   { check {[have-feature syslog]} }
     tree     { dep oo }
     win32    { check {[have-feature windows]} }
-- 
cgit v1.1

