X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=configure.ac;h=ae1c9f1adfb0c07c45f5689b38d8c5a6370a86db;hp=0a63754deaa6375ab8ec9ee92ee5ae25841c72f3;hb=41068e0f9be6eb86801eb54cbb0acae2aa2683a4;hpb=be5a1b0a591d47210a5508e8466f3f704136f280 diff --git a/configure.ac b/configure.ac index 0a63754..ae1c9f1 100644 --- a/configure.ac +++ b/configure.ac @@ -95,8 +95,8 @@ fi 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 +AC_ARG_WITH([redis], [ --with-redis hiredis library], [hiredis=$withval]) +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