From cc6562ff839502a65a3b202ffe7fa3c67bae0856 Mon Sep 17 00:00:00 2001 From: Nigel Kukard Date: Wed, 31 Dec 2008 18:22:43 +0000 Subject: [PATCH] * Refined building of neon options - Added support to build with or without zlib support --- package/neon/Config.in | 7 +++++++ package/neon/neon.mk | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/package/neon/Config.in b/package/neon/Config.in index 1ffb61a35a..e9050742ba 100644 --- a/package/neon/Config.in +++ b/package/neon/Config.in @@ -6,6 +6,13 @@ config BR2_PACKAGE_NEON http://www.webdav.org/neon/ +config BR2_PACKAGE_NEON_ZLIB + bool "ZLIB support" + depends on BR2_PACKAGE_NEON + select BR2_PACKAGE_ZLIB + help + build with ZLIB support + choice prompt "XML Support" default BR2_PACKAGE_NEON_NOXML diff --git a/package/neon/neon.mk b/package/neon/neon.mk index e92e134b65..61cf7527e0 100644 --- a/package/neon/neon.mk +++ b/package/neon/neon.mk @@ -16,6 +16,12 @@ NEON_CONF_OPT+=--with-libxml2=yes NEON_CONF_OPT+=--with-expat=no NEON_DEPENDENCIES+=libxml2 endif +ifeq ($(BR2_PACKAGE_NEON_ZLIB),y) +NEON_CONF_OPT+=--with-zlib=$(STAGING_DIR) +NEON_DEPENDENCIES+=zlib +else +NEON_CONF_OPT+=--without-zlib +endif ifeq ($(BR2_PACKAGE_NEON_EXPAT),y) NEON_CONF_OPT+=--with-expat=$(STAGING_DIR)/usr/lib/libexpat.la NEON_CONF_OPT+=--with-libxml2=no -- 2.30.2