aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2020-11-14 14:43:41 +1000
committerSteve Bennett <steveb@workware.net.au>2020-11-15 20:05:52 +1000
commitbe4c0e8732445172d52dfb38b56c8aa997762309 (patch)
tree3af6160b81a898427a0a96b45829176361ec3502 /auto.def
parentc436661c19ac193007af0d2d878f554bad08f905 (diff)
downloadjimtcl-be4c0e8732445172d52dfb38b56c8aa997762309.zip
jimtcl-be4c0e8732445172d52dfb38b56c8aa997762309.tar.gz
jimtcl-be4c0e8732445172d52dfb38b56c8aa997762309.tar.bz2
redis: Add simple redis client extension
Using the hiredis client library. Synchronous API only. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r--auto.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/auto.def b/auto.def
index 49990b9..e95b26b 100644
--- a/auto.def
+++ b/auto.def
@@ -64,6 +64,7 @@ options {
rlprompt - Tcl wrapper around the readline extension
mk - Interface to Metakit
sqlite3 - Interface to sqlite3
+ redis - Interface to redis
win32 - Interface to win32
}
with-out-jim-ext: {without-ext:"default|ext1,ext2,..."} => {
@@ -389,6 +390,7 @@ dict set extdb attrs {
sdl { off }
signal { static }
sqlite3 { off }
+ redis { off }
zlib { optional }
stdlib { tcl static }
syslog {}
@@ -420,6 +422,7 @@ dict set extdb info {
}
signal { check {[have-feature sigaction]} }
sqlite3 { pkg-config sqlite3 check {[cc-check-function-in-lib sqlite3_prepare_v2 sqlite3]} libdep lib_sqlite3_prepare_v2 }
+ redis { pkg-config hiredis check {[cc-check-function-in-lib redisConnect hiredis]} libdep lib_redisConnect }
zlib { pkg-config zlib check {[cc-check-function-in-lib deflate z]} libdep lib_deflate }
syslog { check {[have-feature syslog]} }
tree { dep oo }