aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-11 21:02:12 +0100
committerMax Kellermann <max@duempel.org>2014-01-11 21:02:12 +0100
commit7faeb2ff2bba412d2b830f2be520953078f7d60a (patch)
tree3748541652d5a33024c12182e622a02b89c27afe /configure.ac
parentfdd76b346171126e143835429a26044a1cbbfb8f (diff)
downloadmpd-7faeb2ff2bba412d2b830f2be520953078f7d60a.tar.gz
mpd-7faeb2ff2bba412d2b830f2be520953078f7d60a.tar.xz
mpd-7faeb2ff2bba412d2b830f2be520953078f7d60a.zip
configure.ac: reject libmpcdec SV7 in configure script
Look for symbol "mpc_demux_init" which does not exist in SV7. This avoids build failures when SV7 was found by configure.ac.
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 b2e952808..2cd0c7720 100644
--- a/configure.ac
+++ b/configure.ac
@@ -960,7 +960,7 @@ AM_CONDITIONAL(ENABLE_SNDFILE, test x$enable_sndfile = xyes)
dnl --------------------------------- musepack --------------------------------
-MPD_AUTO_LIB(mpc, MPCDEC, mpcdec, main, [-lmpcdec], [],
+MPD_AUTO_LIB(mpc, MPCDEC, mpcdec, mpc_demux_init, [-lmpcdec], [],
[mpcdec], [libmpcdec not found])
if test x$enable_mpc = xyes; then
AC_DEFINE(HAVE_MPCDEC, 1, [Define to use libmpcdec for MPC decoding])