mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
configure: get rid of non-pkg-config ways to check for opencore-amr
This commit is contained in:
parent
73dfd99c95
commit
593ddf4bb9
1 changed files with 10 additions and 12 deletions
22
configure.ac
22
configure.ac
|
@ -250,12 +250,11 @@ AG_GST_CHECK_FEATURE(A52DEC, [a52dec], a52dec, [
|
|||
dnl *** amr-nb ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_AMRNB, true)
|
||||
AG_GST_CHECK_FEATURE(AMRNB, [amrnb library], amrnb, [
|
||||
PKG_CHECK_MODULES(AMRNB, opencore-amrnb, HAVE_AMRNB="yes",
|
||||
[ AG_GST_CHECK_LIBHEADER(AMRNB, opencore-amrnb,
|
||||
Decoder_Interface_init, $LIBM,
|
||||
opencore-amrnb/interf_dec.h,
|
||||
AMRNB_LIBS="-lopencore-amrnb")
|
||||
])
|
||||
PKG_CHECK_MODULES(AMRNB, opencore-amrnb, [
|
||||
HAVE_AMRNB="yes"
|
||||
], [
|
||||
HAVE_AMRNB="no"
|
||||
])
|
||||
AC_SUBST(AMRNB_CFLAGS)
|
||||
AC_SUBST(AMRNB_LIBS)
|
||||
])
|
||||
|
@ -263,12 +262,11 @@ AG_GST_CHECK_FEATURE(AMRNB, [amrnb library], amrnb, [
|
|||
dnl *** amr-wb dec ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_AMRWB, true)
|
||||
AG_GST_CHECK_FEATURE(AMRWB, [amrwb library], amrwbdec, [
|
||||
PKG_CHECK_MODULES(AMRWB, opencore-amrwb, HAVE_AMRWB="yes",
|
||||
[ AG_GST_CHECK_LIBHEADER(AMRWB, opencore-amrwb,
|
||||
D_IF_decode, ,
|
||||
opencore-amrwb/dec_if.h,
|
||||
AMRWB_LIBS="-lopencore-amrwb")
|
||||
])
|
||||
PKG_CHECK_MODULES(AMRWB, opencore-amrwb, [
|
||||
HAVE_AMRWB="yes"
|
||||
], [
|
||||
HAVE_AMRWB="no"
|
||||
])
|
||||
AC_SUBST(AMRWB_CFLAGS)
|
||||
AC_SUBST(AMRWB_LIBS)
|
||||
])
|
||||
|
|
Loading…
Reference in a new issue