mirror of https://gitee.com/bigwinds/arangodb
Openssl: search for a function we actually use (CRYPTO_num_locks) CRYPTO_get_ex_data is deprecated on modern systems.
This commit is contained in:
parent
8b544c3aea
commit
8926e139ed
|
@ -42,7 +42,7 @@ dnl ----------------------------------------------------------------------------
|
||||||
|
|
||||||
AC_CHECK_HEADERS([openssl/ssl.h])
|
AC_CHECK_HEADERS([openssl/ssl.h])
|
||||||
|
|
||||||
AC_CHECK_LIB([crypto], [CRYPTO_get_ex_data],
|
AC_CHECK_LIB([crypto], [CRYPTO_num_locks],
|
||||||
OPENSSL_LIBS="-lcrypto $OPENSSL_LIBS",
|
OPENSSL_LIBS="-lcrypto $OPENSSL_LIBS",
|
||||||
AC_MSG_ERROR([please install the OpenSSL library]),
|
AC_MSG_ERROR([please install the OpenSSL library]),
|
||||||
[-lz $LIBS])
|
[-lz $LIBS])
|
||||||
|
|
Loading…
Reference in New Issue