avahi: cleanup / enhance
authorJohn Crispin <john@openwrt.org>
Wed, 30 Nov 2011 12:44:08 +0000 (12:44 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 30 Nov 2011 12:44:08 +0000 (12:44 +0000)
commit0fe2854b627ea8f19bb9fae27eee5a75d36ccd1d
tree64458fa36139cb67117c87e3367190f5953d1169
parentc5c9b958b12e4532a3af4b6b9464193905c88758
avahi: cleanup / enhance

This patch updates the avahi Makefile to correct a number of errors. In
particular it handles the choice of D-BUS- or non-D-BUS-enabled packages
more consistently.

Packages that don't require D-BUS support are compiled with D-BUS
support disabled by default, keeping the build as small as possible.
Support for D-BUS can be selected if desired.

Selecting packages that require D-BUS support -- avahi-utils or
libavahi-client -- will automatically cause all packages to be built
with D-BUS support and will add the D-BUS package to the build.

Note that after this update, the D-BUS package will be needed as part of
the compilation environment, so it will be downloaded and compiled, but
it will not be added to the build unless the user has enabled D-BUS
support or has selected avahi-utils or the avahi-client library, both of
which need it.

Tested on trunk r29283.

Signed-off-by Mike Brady <mikebrady@eircom.net>

SVN-Revision: 29359
libs/avahi/Makefile