mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 03:04:19 +00:00
Make libsrtp instructions more explicit when linking fails
(closes issue ASTERISK-18139) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@330843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
18
configure.ac
18
configure.ac
@@ -1978,14 +1978,16 @@ then
|
||||
[ AC_MSG_RESULT(yes) ],
|
||||
[
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_NOTICE(***)
|
||||
AC_MSG_NOTICE(*** libsrtp could not be linked as a shared object)
|
||||
AC_MSG_NOTICE(*** try compiling libsrtp manually and configuring with)
|
||||
AC_MSG_NOTICE(*** ./configure CFLAGS=-fPIC --prefix=/usr)
|
||||
AC_MSG_NOTICE(*** replacing /usr with the prefix of your choice)
|
||||
AC_MSG_NOTICE(***)
|
||||
AC_MSG_NOTICE(*** If you do not need SRTP support re-run configure)
|
||||
AC_MSG_NOTICE(*** with the --without-srtp option.)
|
||||
AC_MSG_WARN(***)
|
||||
AC_MSG_WARN(*** libsrtp could not be linked as a shared object.)
|
||||
AC_MSG_WARN(*** Try compiling libsrtp manually. Configure libsrtp)
|
||||
AC_MSG_WARN(*** with ./configure CFLAGS=-fPIC --prefix=/usr)
|
||||
AC_MSG_WARN(*** replacing /usr with the prefix of your choice.)
|
||||
AC_MSG_WARN(*** After re-installing libsrtp, re-run the Asterisk)
|
||||
AC_MSG_WARN(*** configure script.)
|
||||
AC_MSG_WARN(***)
|
||||
AC_MSG_WARN(*** If you do not need SRTP support re-run configure)
|
||||
AC_MSG_WARN(*** with the --without-srtp option.)
|
||||
exit 1
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user