dts: Prefer libdca over libdts as it's the successor

This commit is contained in:
Sebastian Dröge 2009-02-24 13:37:24 +01:00
parent c794b40c49
commit 27f19cf92f

View file

@ -568,11 +568,11 @@ dnl *** DTS ***
translit(dnm, m, l) AM_CONDITIONAL(USE_DTS, true)
AG_GST_CHECK_FEATURE(DTS, [dts library], dtsdec, [
HAVE_DTS="yes"
AG_GST_CHECK_LIBHEADER(DTS, dts_pic, dts_init, -lm, dts.h,
DTS_LIBS="-ldts_pic -lm", HAVE_DTS="no")
AG_GST_CHECK_LIBHEADER(DTS, dca, dca_init, -lm, dts.h,
DTS_LIBS="-ldca -lm", HAVE_DTS="no")
if test $HAVE_DTS = "no"; then
AG_GST_CHECK_LIBHEADER(DTS, dca, dca_init, -lm, dts.h,
DTS_LIBS="-ldca -lm")
AG_GST_CHECK_LIBHEADER(DTS, dts_pic, dts_init, -lm, dts.h,
DTS_LIBS="-ldts_pic -lm")
fi
AC_SUBST(DTS_LIBS)
])