projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af358fe
)
configure: only consider hiredis if libgcrypt is also present
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 12 Jun 2014 09:18:25 +0000
(11:18 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 12 Jun 2014 09:18:52 +0000
(11:18 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
0a63754
..
887ba56
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-96,7
+96,7
@@
dnl ------ redis
hiredis=default
AC_SUBST([HIREDIS_LIBS])
AC_ARG_WITH([redis], [ --with-redis hiredis library], [hiredis=$withval])
-if test "$hiredis" != "no" -a "$pkgconfigpath" != "NONE"; then
+if test "$hiredis" != "no" -a "$pkgconfigpath" != "NONE" -a "$libgcryptversion"; then
AC_CHECK_LIB([hiredis],[redisCommandArgv],[HIREDIS_LIBS=-lhiredis])
AC_MSG_CHECKING([for redis])
if $pkgconfigpath --cflags hiredis >/dev/null 2>&1 ; then