mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
namedirectory: use https instead of plain http requests
Add libressl dependency to compile restbed with ssl support. Also, this patch removes a unused file. Bump asio to works with libressl instead of openssl. Change-Id: I5a90dba97693ccda58899f69080e545bdea926d9 Signed-off-by: Sébastien Blin <sebastien.blin@savoirfairelinux.com>
This commit is contained in:

committed by
Adrien Béraud

parent
4fbd077128
commit
0eae0449fd
13
configure.ac
13
configure.ac
@ -418,8 +418,17 @@ AS_IF([test "x$enable_restbed_old_api" = "xyes"], [
|
||||
AC_DEFINE([RESTBED_OLD_API], [], [Defined if you use the old restbed API])
|
||||
])
|
||||
|
||||
AS_IF([test "x$enable_ringns" != "xno" || test "x$with_restcpp" = "xyes"],
|
||||
AC_CHECK_LIB(restbed, exit,, AC_MSG_ERROR([Missing restbed files])));
|
||||
AS_IF([test "x$enable_ringns" != "xno" || test "x$with_restcpp" = "xyes"], [
|
||||
AC_CHECK_LIB(restbed, exit,, AC_MSG_ERROR([Missing restbed files]))
|
||||
PKG_CHECK_MODULES(LIBCRYPTO, libcrypto,, AC_MSG_ERROR([Missing libcrypto development files]))
|
||||
PKG_CHECK_MODULES(LIBSSL, libssl,, AC_MSG_ERROR([Missing libssl development files]))
|
||||
|
||||
LIBS="${LIBS} -lssl -lcrypto"
|
||||
AS_IF([test "${HAVE_WIN32}" = "1"],[
|
||||
LIBS="${LIBS} -lssleay32 -leay32"
|
||||
])
|
||||
], []
|
||||
);
|
||||
|
||||
AS_IF([test "x$with_restcpp" = "xyes"], [
|
||||
AS_AC_EXPAND(SBINDIR, $sbindir)
|
||||
|
Reference in New Issue
Block a user