package/cups: fix avahi handling
--{dis,en}able-avahi is unrecognized since bump to version 2.3.3op2 in commit8cf034ab0f
(which switched upstream location from apple to openprinting): configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-systemd, --disable-avahi Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit36743d6175
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
533376412e
commit
acaf6162fd
@ -68,11 +68,11 @@ else
|
||||
CUPS_CONF_OPTS += --disable-libusb
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_AVAHI),y)
|
||||
ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y)
|
||||
CUPS_DEPENDENCIES += avahi
|
||||
CUPS_CONF_OPTS += --enable-avahi
|
||||
CUPS_CONF_OPTS += --with-dnssd=avahi
|
||||
else
|
||||
CUPS_CONF_OPTS += --disable-avahi
|
||||
CUPS_CONF_OPTS += --with-dnssd=no
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
|
Loading…
Reference in New Issue
Block a user