Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
--disable-gdbm \
--disable-python-dbus \
--disable-pygtk \
- --disable-gtk3 \
--disable-mono \
--disable-monodoc \
--disable-stack-protector \
AVAHI_CONF_OPTS += --disable-gtk
endif
+ifeq ($(BR2_PACKAGE_LIBGTK3),y)
+AVAHI_DEPENDENCIES += libgtk3
+AVAHI_CONF_OPTS += --enable-gtk3
+else
+AVAHI_CONF_OPTS += --disable-gtk3
+endif
+
ifeq ($(BR2_PACKAGE_PYTHON),y)
AVAHI_CONF_ENV += am_cv_pathless_PYTHON=python \
am_cv_path_PYTHON=$(PYTHON_TARGET_BINARY) \