Commit c77c61bf authored by Max Kellermann's avatar Max Kellermann

oggvorbis: define HAVE_OGGVORBIS when tremor is enabled

When tremor (libvorbisidec) is used, HAVE_OGGVORBIS was not defined.
parent 3e87e4f3
......@@ -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:
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment