aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
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 /configure.ac
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--configure.ac4
1 files changed, 3 insertions, 1 deletions
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