From 4ee8da2e694d29efef5f6311d3bf8504d474918f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 17 Oct 2008 21:57:09 +0200 Subject: Makefile.am: don't compile disabled decoder plugins Don't compile the sources of disabled decoder plugins at all, and don't attempt to register these. --- src/inputPlugins/mpc_plugin.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/inputPlugins/mpc_plugin.c') diff --git a/src/inputPlugins/mpc_plugin.c b/src/inputPlugins/mpc_plugin.c index f74dc8ddc..fb1b0b56c 100644 --- a/src/inputPlugins/mpc_plugin.c +++ b/src/inputPlugins/mpc_plugin.c @@ -17,9 +17,6 @@ */ #include "../decoder_api.h" - -#ifdef HAVE_MPCDEC - #include "../utils.h" #include "../log.h" @@ -309,9 +306,3 @@ struct decoder_plugin mpcPlugin = { .stream_types = INPUT_PLUGIN_STREAM_URL | INPUT_PLUGIN_STREAM_FILE, .suffixes = mpcSuffixes, }; - -#else - -struct decoder_plugin mpcPlugin; - -#endif /* HAVE_MPCDEC */ -- cgit v1.2.3