configure.ac: add macro MPD_ENABLE_AUTO_PKG

Simplify the definition of many build options.
This commit is contained in:
Max Kellermann
2014-11-21 22:19:57 +01:00
parent b3f5f2f75f
commit b3f5b4932c
19 changed files with 174 additions and 471 deletions

View File

@@ -54,13 +54,13 @@ const AudioOutputPlugin *const audio_output_plugins[] = {
#ifdef ENABLE_PIPE_OUTPUT
&pipe_output_plugin,
#endif
#ifdef HAVE_ALSA
#ifdef ENABLE_ALSA
&alsa_output_plugin,
#endif
#ifdef HAVE_ROAR
#ifdef ENABLE_ROAR
&roar_output_plugin,
#endif
#ifdef HAVE_AO
#ifdef ENABLE_AO
&ao_output_plugin,
#endif
#ifdef HAVE_OSS
@@ -75,10 +75,10 @@ const AudioOutputPlugin *const audio_output_plugins[] = {
#ifdef ENABLE_SOLARIS_OUTPUT
&solaris_output_plugin,
#endif
#ifdef HAVE_PULSE
#ifdef ENABLE_PULSE
&pulse_output_plugin,
#endif
#ifdef HAVE_JACK
#ifdef ENABLE_JACK
&jack_output_plugin,
#endif
#ifdef ENABLE_HTTPD_OUTPUT