mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 06:59:33 +00:00
Improve redis ssl support detection
This commit is contained in:
parent
a9b564a831
commit
e46b5567c3
1 changed files with 1 additions and 1 deletions
|
|
@ -607,7 +607,7 @@ AS_VAR_IF(with_hiredis, yes, [
|
|||
|
||||
dnl> Check for hiredis TLS (hiredis_ssl) support
|
||||
AC_CHECK_HEADER([hiredis/hiredis_ssl.h], [
|
||||
AC_CHECK_LIB([hiredis_ssl], [redisCreateSSLContext], [
|
||||
AC_CHECK_LIB([hiredis_ssl], [redisCreateSSLContextWithOptions], [
|
||||
HIREDIS_LIB="$HIREDIS_LIB -lhiredis_ssl"
|
||||
AC_DEFINE_UNQUOTED(HAVE_HIREDIS_SSL, 1, [Hiredis SSL/TLS support])
|
||||
], [], [$HIREDIS_LIB -lssl])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue