AC_CHECK_LIB([hiredis],[redisCommandArgv],[HIREDIS_LIBS=-lhiredis])
AC_MSG_CHECKING([for redis])
if $pkgconfigpath --cflags hiredis >/dev/null 2>&1 ; then
AC_CHECK_LIB([hiredis],[redisCommandArgv],[HIREDIS_LIBS=-lhiredis])
AC_MSG_CHECKING([for redis])
if $pkgconfigpath --cflags hiredis >/dev/null 2>&1 ; then