1config BR2_PACKAGE_AVAHI
2	bool "avahi"
3	# libdaemon uses fork()
4	depends on BR2_USE_MMU
5	depends on BR2_TOOLCHAIN_HAS_THREADS
6	depends on !BR2_STATIC_LIBS
7	help
8	  Avahi is a system which facilitates service
9	  discovery on a local network.
10
11	  http://www.avahi.org/
12
13if BR2_PACKAGE_AVAHI
14
15config BR2_PACKAGE_AVAHI_AUTOIPD
16	bool "IPv4LL network address configuration daemon"
17	default y
18	select BR2_PACKAGE_LIBDAEMON
19	help
20	  Avahi-autoipd implements IPv4LL, "Dynamic Configuration of
21	  IPv4 Link-Local Addresses" (IETF RFC3927), a protocol for
22	  automatic IP address configuration from the link-local
23	  169.254.0.0/16 range without the need for a central server.
24	  It is primarily intended to be used in ad-hoc networks which
25	  lack a DHCP server.
26
27config BR2_PACKAGE_AVAHI_DAEMON
28	bool "mDNS/DNS-SD daemon"
29	select BR2_PACKAGE_LIBDAEMON
30	select BR2_PACKAGE_EXPAT
31	help
32	  The Avahi mDNS/DNS-SD daemon implementing Apple's ZeroConf
33	  architecture (also known as "Rendezvous" or "Bonjour").
34	  The daemon registers local IP addresses and services using
35	  mDNS/DNS-SD.
36
37# This hidden option allows packages that need the libavahi-client to
38# more easily determine if it's available or not.
39config BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT
40	bool
41	default y if BR2_PACKAGE_DBUS
42
43config BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY
44	bool "libdns_sd compatibility (Bonjour)"
45	depends on BR2_PACKAGE_AVAHI_DAEMON
46	select BR2_PACKAGE_DBUS
47	help
48	  Enable the libdns_sd (Bonjour) compatibility library support
49	  for legacy applications.
50
51config BR2_PACKAGE_AVAHI_DEFAULT_SERVICES
52	bool "install default service definitions"
53	depends on BR2_PACKAGE_AVAHI_DAEMON
54	help
55	  Install the SSH/SFTP service definitions included with the
56	  Avahi daemon by default.
57
58endif
59
60comment "avahi needs a toolchain w/ threads"
61	depends on BR2_USE_MMU
62	depends on !BR2_TOOLCHAIN_HAS_THREADS
63