diff options
author | David Schleef <ds@schleef.org> | 2004-12-17 01:10:30 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2004-12-17 01:10:30 +0000 |
commit | 4426ebf5e28316c53226f4c09ce62d29b5c9eecb (patch) | |
tree | 9135216d416f43ce5f72c6636cbcf4ad759f9837 /configure.ac | |
parent | 2654874a19210b76e59a90b4c06ed41aa0040bf1 (diff) |
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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index e64bea79..156939ea 100644 --- a/configure.ac +++ b/configure.ac @@ -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 ]) |