From 5ea8950a138582711ba79d0bcf4a954507232b34 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 9 Dec 2014 20:35:11 +0100 Subject: [PATCH] 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1f8f4f75d..2fac0383e 100644 --- a/configure.ac +++ b/configure.ac @@ -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