summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-09 20:44:00 +0100
committerMax Kellermann <max@duempel.org>2014-12-09 21:19:09 +0100
commite44848f8c480249d49ddbf2363de4ae09183591f (patch)
treea31b18a0c534aba9e39316a1c0b9e9f0a2cfc915 /configure.ac
parent5ea8950a138582711ba79d0bcf4a954507232b34 (diff)
configure.ac: make failure to find libvorbisidec fatal
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 2fac0383e..a404b0249 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1021,11 +1021,9 @@ if test x$enable_tremor = xyes; then
fi
MPD_WITH_LIBRARY([TREMOR],
- [AC_CHECK_FUNC([ov_read],, enable_tremor=no;
- AC_MSG_WARN([vorbisidec lib needed for ogg support with tremor -- disabling ogg support]))])
-fi
+ [AC_CHECK_FUNC([ov_read],,
+ [AC_MSG_ERROR([libvorbisidec not found])])])
-if test x$enable_tremor = xyes; then
AC_DEFINE(HAVE_TREMOR,1,
[Define to use tremor (libvorbisidec) for ogg support])
AC_DEFINE(ENABLE_VORBIS_DECODER, 1, [Define for Ogg Vorbis support])