X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=configure.ac;h=887ba5642c54de48c782c1f5e469c74d944dc789;hp=0a63754deaa6375ab8ec9ee92ee5ae25841c72f3;hb=d7cba4993e5c7c06c655d9a1d903f889fdee8329;hpb=af358fe9efc2376f4b29b7d16ff3e2ee3b90ebb4 diff --git a/configure.ac b/configure.ac index 0a63754..887ba56 100644 --- 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