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.
This commit is contained in:
parent
184557bfed
commit
5ea8950a13
@ -1021,7 +1021,7 @@ if test x$enable_tremor = xyes; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
MPD_WITH_LIBRARY([TREMOR],
|
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]))])
|
AC_MSG_WARN([vorbisidec lib needed for ogg support with tremor -- disabling ogg support]))])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user