Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
liblinphone
Commits
891e565c
Commit
891e565c
authored
15 years ago
by
jehan
Browse files
Options
Download
Patches
Plain Diff
-add enable-ssl configure option to ortp
parent
356c5859
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
linphone/oRTP/configure.ac
+17
-3
linphone/oRTP/configure.ac
with
17 additions
and
3 deletions
linphone/oRTP/configure.ac
+
17
−
3
View file @
891e565c
...
@@ -269,10 +269,24 @@ if test $GCC = yes && test $wall_werror = yes; then
...
@@ -269,10 +269,24 @@ if test $GCC = yes && test $wall_werror = yes; then
CFLAGS="$CFLAGS -Werror "
CFLAGS="$CFLAGS -Werror "
fi
fi
AC_CHECK_HEADERS(openssl/hmac.h openssl/md5.h)
AC_ARG_ENABLE(ssl-hmac,
[ --enable-ssl-hmac=[yes/no] enables use of ssl/hmac for stun],
[case "${enableval}" in
yes) ssl_hmac_enabled=yes;;
no) ssl_hmac_enabled=no;;
*) AC_MSG_ERROR("Bad value for --enable-ssl-hmac");;
esac],
[ssl_hmac_enabled=yes])
if test "$ssl_hmac_enabled" = "yes" ; then
AC_CHECK_HEADERS(openssl/hmac.h openssl/md5.h)
AC_CHECK_LIB(ssl,SSL_CTX_new,[SSL_LIBS="-lssl"])
AC_CHECK_LIB(crypto,MD5,[SSL_LIBS="$SSL_LIBS -lcrypto"])
fi
AC_CHECK_LIB(ssl,SSL_CTX_new,[SSL_LIBS="-lssl"])
AC_CHECK_LIB(crypto,MD5,[SSL_LIBS="$SSL_LIBS -lcrypto"])
AC_SUBST(SSL_LIBS)
AC_SUBST(SSL_LIBS)
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets