Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
0d7c47a4
Commit
0d7c47a4
authored
Jul 26, 2012
by
Alexandre Savard
Browse files
#13891: Make TLS an optional feature in configure.ac
parent
b4b2f57d
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemon/configure.ac
View file @
0d7c47a4
...
...
@@ -168,8 +168,16 @@ PKG_CHECK_MODULES([CCRTP], [libccrtp] >= ${LIBCCRTP_MIN_VERSION},, [
# required dependency(ies): libssl #
###############################################################################################################################
dnl Check for OpenSSL to link against pjsip and provide SIPS TLS support
PKG_CHECK_MODULES([libssl], libssl,, AC_MSG_ERROR([Missing ssl development package: libssl-dev]))
AC_ARG_WITH([tls],
[ AS_HELP_STRING([--without-tls], [disable support tls]) ],
[],
[with_tls=yes])
AS_IF([test "xwith_tls" = "xyes"], [
PKG_CHECK_MODULES([libssl], libssl,, AC_MSG_ERROR([Missing ssl development package: libssl-dev]))
]);
AC_DEFINE_UNQUOTED([HAVE_TLS], `if test "x$with_tls" = "xyes"; then echo 1; else echo 0; fi`, [Define if you have tls support])
AM_CONDITIONAL(BUILD_TLS, test "x$with_tls" = "xyes" )
###############################################################################################################################
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment