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

@@ -29,7 +29,7 @@ const NeighborPlugin *const neighbor_plugins[] = {
#ifdef ENABLE_SMBCLIENT
&smbclient_neighbor_plugin,
#endif
#ifdef HAVE_LIBUPNP
#ifdef ENABLE_UPNP
&upnp_neighbor_plugin,
#endif
nullptr