neon: disable webdav when no XML support is available
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 1 Sep 2013 13:54:51 +0000 (15:54 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 1 Sep 2013 19:35:47 +0000 (21:35 +0200)
Since 9169810a9bd97c99d8b7a0e8aadabdcca3883e99 ("neon: replace
'choice' for XML library with two options") the option
BR2_PACKAGE_NEON_NOXML no longer exists. However, it was not taken
into account properly within neon.mk, as this option was still used to
disable webdav support when no XML library has been selected.

Fixes:

  http://autobuild.buildroot.org/results/7ed/7ed657570d83b28389dd8c01ffdd895d2e8d145f/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/neon/neon.mk

index 1915e6c2ee3127ac413a05d38367fd732c7acbee..2edc6b280c4c0193764df72f2f7c20098c517e0b 100644 (file)
@@ -42,7 +42,7 @@ else
 NEON_CONF_OPT += --with-libxml2=no
 endif
 
-ifeq ($(BR2_PACKAGE_NEON_NOXML),y)
+ifeq ($(BR2_PACKAGE_NEON_EXPAT)$(BR2_PACKAGE_NEON_LIBXML2),)
 # webdav needs xml support
 NEON_CONF_OPT += --disable-webdav
 endif