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:
David Schleef 2004-12-17 01:10:30 +00:00
parent 6c5841870c
commit 895f3e80d4
2 changed files with 9 additions and 5 deletions

View file

@ -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>
* gst-libs/gst/riff/riff-read.c:

View file

@ -1418,16 +1418,13 @@ dnl *** musepack ***
translit(dnm, m, l) AM_CONDITIONAL(USE_MUSEPACK, true)
GST_CHECK_FEATURE(MUSEPACK, [musepackdec], musepack, [
AC_LANG_CPLUSPLUS
OLD_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="-I/usr/include/musepack $CPPFLAGS"
AC_CHECK_HEADER(mpc_dec.h, [
AC_CHECK_HEADER([musepack/mpc_dec.h], [
HAVE_MUSEPACK="yes"
MUSEPACK_LIBS="-lmusepack"
MUSEPACK_CFLAGS="-I/usr/include/musepack"
MUSEPACK_CFLAGS=
AC_SUBST(MUSEPACK_CFLAGS)
AC_SUBST(MUSEPACK_LIBS)
], [HAVE_MUSEPACK="no"])
CPPFLAGS="$OLD_CPPFLAGS"
AC_LANG_C
])