From 2a39a080579fb52a2599c02b2939795385b89093 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 17 Aug 2010 22:05:47 +0000 Subject: 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 --- plugins/decoder/musepack/configure.in.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'plugins') 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, + , + [The header to include for MPC decoding.]) + ], + [], [], []) + ]) + fi if test "$have_mpc" = "no"; then KDE_CHECK_HEADERS(musepack/musepack.h, [ -- cgit v1.2.3