aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-09 20:35:11 +0100
committerMax Kellermann <max@duempel.org>2014-12-09 21:19:09 +0100
commit5ea8950a138582711ba79d0bcf4a954507232b34 (patch)
tree3f0d23611d9e45245b2424ab78d47eb022765f6f /configure.ac
parent184557bfed39a84685ea3398f4c5610d2cb4f5bf (diff)
downloadmpd-5ea8950a138582711ba79d0bcf4a954507232b34.tar.gz
mpd-5ea8950a138582711ba79d0bcf4a954507232b34.tar.xz
mpd-5ea8950a138582711ba79d0bcf4a954507232b34.zip
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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