summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-17 20:56:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-17 20:56:56 +0000
commit0d642ec3ed4c9dbe18b109ba18c56423344e42bb (patch)
treeecc7be0f227ec74a6906c2ab478d5c5014ab9256 /configure.in
parent4fdca3e4ebd74eb5f78421d7d80cbe45d4b44aeb (diff)
downloadk3b-0d642ec3ed4c9dbe18b109ba18c56423344e42bb.tar.gz
k3b-0d642ec3ed4c9dbe18b109ba18c56423344e42bb.zip
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
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in14
1 files changed, 14 insertions, 0 deletions
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,
+ <mpc/mpcdec.h>,
+ [The header to include for MPC decoding.])
+ ],
+ [], [], [])
+ ])
+ fi
if test "$have_mpc" = "no"; then
KDE_CHECK_HEADERS(musepack/musepack.h, [