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:07 +0100
commit33b5693a12ed53aff623643ab67704d1e9c74990 (patch)
tree54f10c8c354e2af4bac1c0edaf6b62e73927f80d
parentdb89cb86da24cbf26f598079a5c741cb0d074f68 (diff)
downloadmpd-33b5693a12ed53aff623643ab67704d1e9c74990.tar.gz
mpd-33b5693a12ed53aff623643ab67704d1e9c74990.tar.xz
mpd-33b5693a12ed53aff623643ab67704d1e9c74990.zip
oggvorbis: define HAVE_OGGVORBIS when tremor is enabled
When tremor (libvorbisidec) is used, HAVE_OGGVORBIS was not defined.
-rw-r--r--NEWS1
-rw-r--r--configure.ac4
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 3a1e2a893..ce65f7db7 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,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 47711b4b2..79236605e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -705,7 +705,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