Markus Rathgeb wrote: >>From the official documentation: > avahi-client: a simplifying C wrapper around the D-Bus API. We > recommend using this API in C or C++ progams. The D-Bus internals are > hidden completely. > > In the configure of avahi you can found: > ========== > BUILD_CLIENT="no (You need avahi-daemon and D-Bus!)" > > if test "x$BUILD_DAEMON" = "xyes" -a "x$HAVE_DBUS" = "xyes" ; then > BUILD_CLIENT=yes > fi > ==========
> Patch that installs the libavahi-client shared objects if that are built.
I suggest to make it selectable via the kconfig interface:
config AVAHI_LIBAVAHI_CLIENT
bool "libavahi_client"
select AVAHI_DBUS
don't forget to add a help text ;)
>
> Signed-off-by: Markus Rathgeb <[email protected]>
> ===============================================================================
> --- ptxdist/rules/avahi.make 2009-10-13 15:08:13.000000000 +0200
> +++ /tmp/avahi.make 2009-10-13 15:46:48.000000000 +0200
> @@ -163,6 +163,12 @@
> @$(call install_link, avahi, libavahi-qt4.so.1.0.2,
> /usr/lib/libavahi-qt4.so)
> endif
>
> +ifeq ($(PTXCONF_AVAHI_DAEMON)$(PTXCONF_AVAHI_DBUS),yy)
use ifdef PTXCONF_AVAHI_LIBAVAI_CLIENT
> + @$(call install_copy, avahi, 0, 0, 0644, -,
> /usr/lib/libavahi-client.so.3.2.5)
> + @$(call install_link, avahi, libavahi-client.so.3.2.5,
> /usr/lib/libavahi-client.so.3)
> + @$(call install_link, avahi, libavahi-client.so.3.2.5,
> /usr/lib/libavahi-client.so)
> +endif
> +
> ifdef PTXCONF_AVAHI_DAEMON
> # avahi daemon (avahi mDNS/DNS-SD Implementation)
> # depends on expat
cheers, Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Linux Solutions for Science and Industry | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
signature.asc
Description: OpenPGP digital signature
-- ptxdist mailing list [email protected]
