Depend on dbus being compiled with expat support and not just on expat
being enabled, as you can have expat enabled and still compile dbus
with libxml2 support instead.
While we're at it, only show comment about unforfilled dependencies if
dbus is enabled.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
config BR2_PACKAGE_DBUS_GLIB
bool "dbus-glib"
depends on BR2_PACKAGE_DBUS
- depends on BR2_PACKAGE_EXPAT
+ depends on BR2_DBUS_EXPAT
select BR2_PACKAGE_LIBGLIB2
help
GLib bindings for D-Bus.
http://www.freedesktop.org/software/dbus
comment "dbus-glib needs dbus to be compiled with expat support"
- depends on !BR2_PACKAGE_EXPAT
+ depends on BR2_PACKAGE_DBUS && !BR2_DBUS_EXPAT