mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
configure.ac: look for musepack headers as musepack/*.h (fixes #159847)
Original commit message from CVS: * configure.ac: look for musepack headers as musepack/*.h (fixes #159847) * ext/musepack/gstmusepackdec.h: use <musepack/*.h> * ext/musepack/gstmusepackreader.h: same
This commit is contained in:
parent
b1fa159e5f
commit
b2c01d68e3
4 changed files with 11 additions and 7 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2004-12-16 David Schleef <ds@schleef.org>
|
||||||
|
|
||||||
|
* configure.ac: look for musepack headers as musepack/*.h
|
||||||
|
(fixes #159847)
|
||||||
|
* ext/musepack/gstmusepackdec.h: use <musepack/*.h>
|
||||||
|
* ext/musepack/gstmusepackreader.h: same
|
||||||
|
|
||||||
2004-12-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
2004-12-17 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
* gst-libs/gst/riff/riff-read.c:
|
* gst-libs/gst/riff/riff-read.c:
|
||||||
|
|
|
@ -1418,16 +1418,13 @@ dnl *** musepack ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_MUSEPACK, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_MUSEPACK, true)
|
||||||
GST_CHECK_FEATURE(MUSEPACK, [musepackdec], musepack, [
|
GST_CHECK_FEATURE(MUSEPACK, [musepackdec], musepack, [
|
||||||
AC_LANG_CPLUSPLUS
|
AC_LANG_CPLUSPLUS
|
||||||
OLD_CPPFLAGS="$CPPFLAGS"
|
AC_CHECK_HEADER([musepack/mpc_dec.h], [
|
||||||
CPPFLAGS="-I/usr/include/musepack $CPPFLAGS"
|
|
||||||
AC_CHECK_HEADER(mpc_dec.h, [
|
|
||||||
HAVE_MUSEPACK="yes"
|
HAVE_MUSEPACK="yes"
|
||||||
MUSEPACK_LIBS="-lmusepack"
|
MUSEPACK_LIBS="-lmusepack"
|
||||||
MUSEPACK_CFLAGS="-I/usr/include/musepack"
|
MUSEPACK_CFLAGS=
|
||||||
AC_SUBST(MUSEPACK_CFLAGS)
|
AC_SUBST(MUSEPACK_CFLAGS)
|
||||||
AC_SUBST(MUSEPACK_LIBS)
|
AC_SUBST(MUSEPACK_LIBS)
|
||||||
], [HAVE_MUSEPACK="no"])
|
], [HAVE_MUSEPACK="no"])
|
||||||
CPPFLAGS="$OLD_CPPFLAGS"
|
|
||||||
AC_LANG_C
|
AC_LANG_C
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <gst/bytestream/bytestream.h>
|
#include <gst/bytestream/bytestream.h>
|
||||||
#include <mpc_dec.h>
|
#include <musepack/mpc_dec.h>
|
||||||
#include "gstmusepackreader.h"
|
#include "gstmusepackreader.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#ifndef __GST_MUSEPACK_READER_H__
|
#ifndef __GST_MUSEPACK_READER_H__
|
||||||
#define __GST_MUSEPACK_READER_H__
|
#define __GST_MUSEPACK_READER_H__
|
||||||
|
|
||||||
#include <mpc_dec.h>
|
#include <musepack/mpc_dec.h>
|
||||||
#include <gst/bytestream/bytestream.h>
|
#include <gst/bytestream/bytestream.h>
|
||||||
|
|
||||||
class GstMusepackReader : public MPC_reader {
|
class GstMusepackReader : public MPC_reader {
|
||||||
|
|
Loading…
Reference in a new issue