configure.ac: make failure to find libvorbisidec fatal

This commit is contained in:
Max Kellermann 2014-12-09 20:44:00 +01:00
parent 5ea8950a13
commit e44848f8c4
1 changed files with 2 additions and 4 deletions

View File

@ -1021,11 +1021,9 @@ if test x$enable_tremor = xyes; then
fi fi
MPD_WITH_LIBRARY([TREMOR], MPD_WITH_LIBRARY([TREMOR],
[AC_CHECK_FUNC([ov_read],, enable_tremor=no; [AC_CHECK_FUNC([ov_read],,
AC_MSG_WARN([vorbisidec lib needed for ogg support with tremor -- disabling ogg support]))]) [AC_MSG_ERROR([libvorbisidec not found])])])
fi
if test x$enable_tremor = xyes; then
AC_DEFINE(HAVE_TREMOR,1, AC_DEFINE(HAVE_TREMOR,1,
[Define to use tremor (libvorbisidec) for ogg support]) [Define to use tremor (libvorbisidec) for ogg support])
AC_DEFINE(ENABLE_VORBIS_DECODER, 1, [Define for Ogg Vorbis support]) AC_DEFINE(ENABLE_VORBIS_DECODER, 1, [Define for Ogg Vorbis support])