summaryrefslogtreecommitdiffstats
path: root/plugins/decoder/musepack/configure.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/decoder/musepack/configure.in.in')
-rw-r--r--plugins/decoder/musepack/configure.in.in66
1 files changed, 0 insertions, 66 deletions
diff --git a/plugins/decoder/musepack/configure.in.in b/plugins/decoder/musepack/configure.in.in
deleted file mode 100644
index 1500ae3..0000000
--- a/plugins/decoder/musepack/configure.in.in
+++ /dev/null
@@ -1,66 +0,0 @@
-dnl --------- MUSEPACK CHECK ---------------
-
-AC_ARG_WITH(
- musepack,
- AS_HELP_STRING(
- [--without-musepack],
- [build K3b without Musepack audio support (default=no)]),
- [ac_cv_use_mpc=$withval],
- [ac_cv_use_mpc=yes]
-)
-
-have_mpc=no
-if test "$ac_cv_use_mpc" = "yes"; then
-
- dnl - search for both the new and the old naming -
-
- KDE_CHECK_HEADERS(mpcdec/mpcdec.h, [
- KDE_CHECK_LIB(mpcdec, mpc_decoder_setup, [
- have_mpc=yes
- MPC_LIBS="-lmpcdec"
- AC_DEFINE(
- MPC_HEADER_FILE,
- <mpcdec/mpcdec.h>,
- [The header to include for MPC decoding.])
- ],
- [], [], [])
- ])
-
- if test "$have_mpc" = "no"; then
- KDE_CHECK_HEADERS(mpc/mpcdec.h, [
- KDE_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, [
- KDE_CHECK_LIB(musepack, mpc_decoder_setup, [
- have_mpc=yes
- MPC_LIBS="-lmusepack"
- AC_DEFINE(
- MPC_HEADER_FILE,
- <musepack/musepack.h>,
- [The header to include for MPC decoding.]
- )
- AC_DEFINE(
- mpc_bool_t,
- BOOL,
- [backwards compatibility stuff]
- )
- ], [], [])
- ])
- fi
-fi
-AC_SUBST(MPC_LIBS)
-
-AM_CONDITIONAL(include_MPC, [test x$have_mpc = xyes])
-
-dnl --------- MUSEPACK CHECK END -----------