Simplify and fix Avahi conditionals

Change-Id: Ied30c619804239044b935382d580dcb86bfb8b11
This commit is contained in:
Tor Lillqvist 2013-07-25 21:24:23 +03:00
parent 4acf41db11
commit c852fa1121

View file

@ -71,28 +71,14 @@ $(eval $(call gb_CppunitTest_use_system_darwin_frameworks,sd_uimpress,\
))
endif
ifeq ($(OS), LINUX)
ifeq ($(ENABLE_AVAHI),TRUE)
$(eval $(call gb_Library_use_externals,sd,\
boost_headers \
gtk \
dbus \
avahi \
))
else
$(eval $(call gb_Library_use_externals,sd,\
boost_headers \
gtk \
dbus \
))
endif
else
$(eval $(call gb_CppunitTest_use_externals,sd_uimpress,\
boost_headers \
gtk \
dbus \
boost_headers \
gtk \
dbus \
$(if $(ENABLE_AVAHI), \
avahi \
) \
))
endif
$(eval $(call gb_CppunitTest_add_exception_objects,sd_uimpress,\
sd/qa/unit/uimpress \