configure.ac: add option to disable the DSD decoders

Allow building a smaller MPD binary for people who don't need DSD.
This commit is contained in:
Max Kellermann
2014-09-26 09:00:58 +02:00
parent c4fca2aa61
commit 8bf46a665e
3 changed files with 29 additions and 6 deletions

View File

@@ -73,8 +73,10 @@ const struct DecoderPlugin *const decoder_plugins[] = {
#ifdef HAVE_AUDIOFILE
&audiofile_decoder_plugin,
#endif
#ifdef ENABLE_DSD
&dsdiff_decoder_plugin,
&dsf_decoder_plugin,
#endif
#ifdef HAVE_FAAD
&faad_decoder_plugin,
#endif