summaryrefslogtreecommitdiffstats
path: root/plugins/decoder
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-17 22:05:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-17 22:05:47 +0000
commit2a39a080579fb52a2599c02b2939795385b89093 (patch)
tree637a6028d9e975769500f84d96fc5ac4285ccb85 /plugins/decoder
parent0d642ec3ed4c9dbe18b109ba18c56423344e42bb (diff)
downloadk3b-2a39a080579fb52a2599c02b2939795385b89093.tar.gz
k3b-2a39a080579fb52a2599c02b2939795385b89093.zip
Try #2 to get MPC detected...
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1164898 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/decoder')
-rw-r--r--plugins/decoder/musepack/configure.in.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/decoder/musepack/configure.in.in b/plugins/decoder/musepack/configure.in.in
index 42d24c0..ca42976 100644
--- a/plugins/decoder/musepack/configure.in.in
+++ b/plugins/decoder/musepack/configure.in.in
@@ -25,6 +25,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, [