From 00de7fc62ff91f2e6cc3fd2ed29cc577f971335f Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Thu, 22 Nov 2007 17:12:19 +0000 Subject: Make XML library used by D-Bus selectable instead of requiring both Expat and libxml2. --- package/dbus/Config.in | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'package/dbus/Config.in') diff --git a/package/dbus/Config.in b/package/dbus/Config.in index 7e668ce84a..431c2d90e4 100644 --- a/package/dbus/Config.in +++ b/package/dbus/Config.in @@ -1,9 +1,27 @@ config BR2_PACKAGE_DBUS bool "dbus" default n - select BR2_PACKAGE_EXPAT - select BR2_PACKAGE_LIBXML2 help The D-Bus message bus system. http://www.freedesktop.org/wiki/Software/dbus + +choice + prompt "XML library to use" + depends BR2_PACKAGE_DBUS + default BR2_DBUS_LIBXML2 if BR2_PACKAGE_LIBXML2 + default BR2_DBUS_EXPAT + help + Select the XML library to use with D-Bus. Select Expat + unless you have specific reasons for using libxml2 as + Expat is significant smaller. + + config BR2_DBUS_EXPAT + bool "Expat" + select BR2_PACKAGE_EXPAT + + config BR2_DBUS_LIBXML2 + bool "libxml2" + select BR2_PACKAGE_LIBXML2 + +endchoice -- cgit v1.2.1