diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-04-24 22:19:48 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-04-24 22:19:48 +0000 |
commit | 01bcb096c75d8f4264390b8afb6f307ca97e23f0 (patch) | |
tree | 13bd3fd207bbeca69c3186ffc991510cbc0cbf1e /configure.ac | |
parent | 36d15d78686e14036677ccb1e6c4a98f287b6073 (diff) | |
download | gst-plugins-bad-01bcb096c75d8f4264390b8afb6f307ca97e23f0.tar.gz gst-plugins-bad-01bcb096c75d8f4264390b8afb6f307ca97e23f0.tar.bz2 gst-plugins-bad-01bcb096c75d8f4264390b8afb6f307ca97e23f0.zip |
Add support for the new libmpcdec API which magically gets us support for SV8 files. Also do some random cleanup. Fix...
Original commit message from CVS:
* configure.ac:
* ext/musepack/gstmusepackdec.c: (gst_musepackdec_base_init),
(gst_musepackdec_init), (gst_musepackdec_dispose),
(gst_musepackdec_handle_seek_event), (gst_musepack_stream_init),
(gst_musepackdec_loop), (plugin_init):
* ext/musepack/gstmusepackdec.h:
* ext/musepack/gstmusepackreader.c:
* ext/musepack/gstmusepackreader.h:
Add support for the new libmpcdec API which magically gets us support
for SV8 files. Also do some random cleanup. Fixes bug #526905.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index da0dbc36..d3335844 100644 --- a/configure.ac +++ b/configure.ac @@ -795,13 +795,16 @@ main (int argc, dnl *** musepack *** translit(dnm, m, l) AM_CONDITIONAL(USE_MUSEPACK, true) AG_GST_CHECK_FEATURE(MUSEPACK, [musepackdec], musepack, [ - AC_LANG_CPLUSPLUS - AC_CHECK_HEADER([mpcdec/mpcdec.h], [ + AC_CHECK_HEADER([mpc/mpcdec.h], [ HAVE_MUSEPACK="yes" MUSEPACK_LIBS="-lmpcdec" AC_SUBST(MUSEPACK_LIBS) - ], [HAVE_MUSEPACK="no"]) - AC_LANG_C + ], [AC_CHECK_HEADER([mpcdec/mpcdec.h], [ + HAVE_MUSEPACK="yes" + MUSEPACK_LIBS="-lmpcdec" + AC_DEFINE(MPC_IS_OLD_API, 1, [Define if the old MusePack API is used]) + AC_SUBST(MUSEPACK_LIBS) + ], [HAVE_MUSEPACK="no"])]) ]) dnl *** musicbrainz *** |