diff options
author | Steve Bennett <steveb@workware.net.au> | 2020-11-14 14:43:41 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2020-11-15 20:05:52 +1000 |
commit | be4c0e8732445172d52dfb38b56c8aa997762309 (patch) | |
tree | 3af6160b81a898427a0a96b45829176361ec3502 /auto.def | |
parent | c436661c19ac193007af0d2d878f554bad08f905 (diff) | |
download | jimtcl-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.def | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 } |