decoder/mpcdec: remove support for the "old" API

This old version has been obsolete for many years - time to remove it.
This commit is contained in:
Max Kellermann
2013-07-31 00:43:21 +02:00
parent 7f9402bd22
commit 8ead8f7ea6
2 changed files with 35 additions and 121 deletions

View File

@@ -966,16 +966,7 @@ if test x$enable_mpc = xyes; then
LIBS=$oldlibs
CPPFLAGS=$oldcppflags
if test x$enable_mpc = xyes; then
AC_CHECK_HEADER([mpc/mpcdec.h],
[AC_DEFINE(HAVE_MPCDEC,1,
[Define to use libmpcdec for MPC decoding])],
[AC_CHECK_HEADER(mpcdec/mpcdec.h,
[AC_DEFINE(MPC_IS_OLD_API, 1,
[Define if an old pre-SV8 libmpcdec is used])]
)]
)
else
if test x$enable_mpc != xyes; then
AC_MSG_WARN([mpcdec lib needed for MPC support -- disabling MPC support])
fi
fi