aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-15 22:54:07 +0100
committerMax Kellermann <max@duempel.org>2009-01-15 22:54:31 +0100
commitc77c61bf3fb808dd555d21ecbe46f061ad22f2bb (patch)
tree7841ad1f967d0a2e1796d3a9914f4236682a10fa
parent3e87e4f3ab377824c83fe4cc3ba482b8b88ab0ef (diff)
downloadmpd-c77c61bf3fb808dd555d21ecbe46f061ad22f2bb.tar.gz
mpd-c77c61bf3fb808dd555d21ecbe46f061ad22f2bb.tar.xz
mpd-c77c61bf3fb808dd555d21ecbe46f061ad22f2bb.zip
oggvorbis: define HAVE_OGGVORBIS when tremor is enabled
When tremor (libvorbisidec) is used, HAVE_OGGVORBIS was not defined.
Diffstat (limited to '')
-rw-r--r--NEWS1
-rw-r--r--configure.ac4
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index acef45b09..30dec9980 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,7 @@ MPD 0.14.1 - not yet released
* decoders:
- mp4: support the writer/composer tag
- id3: strip leading and trailing whitespace from ID3 tags
+ - oggvorbis: fix tremor support
* audio outputs:
- jack: allocate default port names (fixes a crash)
* update:
diff --git a/configure.ac b/configure.ac
index 1380dde4b..ff4c1457c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -866,7 +866,9 @@ if test x$use_tremor = xyes; then
CFLAGS="$CFLAGS $TREMOR_CFLAGS"
LIBS="$LIBS $TREMOR_LIBS"
AC_CHECK_LIB(vorbisidec,ov_read,enable_oggvorbis=yes,enable_oggvorbis=no;AC_MSG_WARN([vorbisidec lib needed for ogg support with tremor -- disabling ogg support]))
- if test x$enable_oggvorbis = xno; then
+ if test x$enable_oggvorbis = xyes; then
+ AC_DEFINE(HAVE_OGGVORBIS, 1, [Define for Ogg Vorbis support]),
+ else
CFLAGS="$ac_save_CFLAGS"
LIBS="$ac_save_LIBS"
fi