neon: fix compilation without xml support

webdav needs xml support, so disable it if no xml support is selected,
otherwise configure could get confused about a host xml2-config script.
This commit is contained in:
Peter Korsgaard 2008-08-26 20:47:12 +00:00
parent 3e1ed2feb0
commit 95313e2000
1 changed files with 4 additions and 0 deletions

View File

@ -21,5 +21,9 @@ NEON_CONF_OPT+=--with-expat=$(STAGING_DIR)/usr/lib/libexpat.la
NEON_CONF_OPT+=--with-libxml2=no
NEON_DEPENDENCIES+=expat
endif
ifeq ($(strip $(BR2_PACKAGE_NEON_NOXML)),y)
# webdav needs xml support
NEON_CONF_OPT+=--disable-webdav
endif
$(eval $(call AUTOTARGETS,package,neon))