From 0d642ec3ed4c9dbe18b109ba18c56423344e42bb Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 17 Aug 2010 20:56:56 +0000 Subject: [PATCH] Debian Squeeze moved the mpcdec folder to mpc git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1164883 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- configure.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/configure.in b/configure.in index 4bcf6eb..eb14893 100644 --- a/configure.in +++ b/configure.in @@ -781,6 +781,20 @@ if test "$ac_cv_use_mpc" = "yes"; then ], [], [], []) ]) + + if test "$have_mpc" = "no"; then + KDE_CHECK_HEADERS(mpc/mpcdec.h, [ + AC_CHECK_LIB(mpcdec, mpc_decoder_setup, [ + have_mpc=yes + MPC_LIBS="-lmpcdec" + AC_DEFINE( + MPC_HEADER_FILE, + , + [The header to include for MPC decoding.]) + ], + [], [], []) + ]) + fi if test "$have_mpc" = "no"; then KDE_CHECK_HEADERS(musepack/musepack.h, [