configure.ac: add macro MPD_ENABLE_AUTO_PKG
Simplify the definition of many build options.
This commit is contained in:
@@ -33,16 +33,16 @@
|
||||
|
||||
const EncoderPlugin *const encoder_plugins[] = {
|
||||
&null_encoder_plugin,
|
||||
#ifdef ENABLE_VORBIS_ENCODER
|
||||
#ifdef ENABLE_VORBISENC
|
||||
&vorbis_encoder_plugin,
|
||||
#endif
|
||||
#ifdef HAVE_OPUS
|
||||
#ifdef ENABLE_OPUS
|
||||
&opus_encoder_plugin,
|
||||
#endif
|
||||
#ifdef ENABLE_LAME_ENCODER
|
||||
&lame_encoder_plugin,
|
||||
#endif
|
||||
#ifdef ENABLE_TWOLAME_ENCODER
|
||||
#ifdef ENABLE_TWOLAME
|
||||
&twolame_encoder_plugin,
|
||||
#endif
|
||||
#ifdef ENABLE_WAVE_ENCODER
|
||||
@@ -51,7 +51,7 @@ const EncoderPlugin *const encoder_plugins[] = {
|
||||
#ifdef ENABLE_FLAC_ENCODER
|
||||
&flac_encoder_plugin,
|
||||
#endif
|
||||
#ifdef ENABLE_SHINE_ENCODER
|
||||
#ifdef ENABLE_SHINE
|
||||
&shine_encoder_plugin,
|
||||
#endif
|
||||
nullptr
|
||||
|
Reference in New Issue
Block a user