mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-04 09:42:19 +00:00
configure.ac: Use libsrtp.pc if present
This commit is contained in:
parent
9e6377d4b7
commit
eb01f37767
1 changed files with 4 additions and 3 deletions
|
@ -2232,10 +2232,11 @@ AC_SUBST(LIBMMS_LIBS)
|
||||||
dnl *** libsrtp ***
|
dnl *** libsrtp ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_SRTP, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_SRTP, true)
|
||||||
AG_GST_CHECK_FEATURE(SRTP, [srtp library], srtp, [
|
AG_GST_CHECK_FEATURE(SRTP, [srtp library], srtp, [
|
||||||
HAVE_SRTP="yes"
|
PKG_CHECK_MODULES(SRTP, libsrtp, HAVE_SRTP="yes",
|
||||||
AG_GST_CHECK_LIBHEADER(SRTP, srtp, srtp_init, , srtp/srtp.h,
|
AG_GST_CHECK_LIBHEADER(SRTP, srtp, srtp_init, , srtp/srtp.h, SRTP_LIBS="-lsrtp")
|
||||||
SRTP_LIBS="-lsrtp", HAVE_SRTP="no")
|
)
|
||||||
AC_SUBST(SRTP_LIBS)
|
AC_SUBST(SRTP_LIBS)
|
||||||
|
AC_SUBST(SRTP_CFLAGS)
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl *** linsys ***
|
dnl *** linsys ***
|
||||||
|
|
Loading…
Reference in a new issue