Commit 5ea8950a authored by Max Kellermann's avatar Max Kellermann

configure.ac: use AC_CHECK_FUNC for Tremor check

Don't imply the library's name is "vorbisidec"; use whatever we found inside TREMOR_LIBS.
parent 184557bf
......@@ -1021,7 +1021,7 @@ if test x$enable_tremor = xyes; then
fi
MPD_WITH_LIBRARY([TREMOR],
[AC_CHECK_LIB(vorbisidec,ov_read,,enable_tremor=no;
[AC_CHECK_FUNC([ov_read],, enable_tremor=no;
AC_MSG_WARN([vorbisidec lib needed for ogg support with tremor -- disabling ogg support]))])
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