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:
Terry Wilson
2011-08-04 20:29:19 +00:00
parent 65a7f1b205
commit d8d8e74181
2 changed files with 442 additions and 517 deletions

View File

@@ -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
]
)