From: David Schleef Date: Fri, 17 Dec 2004 01:10:30 +0000 (+0000) Subject: configure.ac: look for musepack headers as musepack/*.h (fixes #159847) X-Git-Tag: 1.19.3~505^2~2678 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=895f3e80d47e0c9f343aebfe7f77d7236cf22a2c;p=platform%2Fupstream%2Fgstreamer.git 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 * ext/musepack/gstmusepackreader.h: same --- diff --git a/ChangeLog b/ChangeLog index d64511f..17d935d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-12-16 David Schleef + + * configure.ac: look for musepack headers as musepack/*.h + (fixes #159847) + * ext/musepack/gstmusepackdec.h: use + * ext/musepack/gstmusepackreader.h: same + 2004-12-17 Ronald S. Bultje * gst-libs/gst/riff/riff-read.c: diff --git a/configure.ac b/configure.ac index e64bea7..156939e 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 ])