diff options
author | Max Kellermann <max@duempel.org> | 2009-01-15 22:54:07 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-15 22:54:31 +0100 |
commit | c77c61bf3fb808dd555d21ecbe46f061ad22f2bb (patch) | |
tree | 7841ad1f967d0a2e1796d3a9914f4236682a10fa | |
parent | 3e87e4f3ab377824c83fe4cc3ba482b8b88ab0ef (diff) | |
download | mpd-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-- | NEWS | 1 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -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 |