From e44848f8c480249d49ddbf2363de4ae09183591f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 9 Dec 2014 20:44:00 +0100 Subject: [PATCH] configure.ac: make failure to find libvorbisidec fatal --- configure.ac | 6 ++---- 1 file 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])