Signed-off-by: Alexander Dahl <[email protected]>
---
 rules/host-libxml2.make |    3 ++-
 rules/libxml2.in        |   13 +++++++++++++
 rules/libxml2.make      |    2 ++
 3 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/rules/host-libxml2.make b/rules/host-libxml2.make
index c4a4b4b..2940c9b 100644
--- a/rules/host-libxml2.make
+++ b/rules/host-libxml2.make
@@ -32,6 +32,7 @@ HOST_LIBXML2_ENV      := $(HOST_ENV)
 HOST_LIBXML2_AUTOCONF  := \
        $(HOST_AUTOCONF) \
        --disable-static \
-       --without-iconv
+       --without-iconv \
+       --without-lzma
 
 # vim: syntax=make
diff --git a/rules/libxml2.in b/rules/libxml2.in
index 72c1725..8642296 100644
--- a/rules/libxml2.in
+++ b/rules/libxml2.in
@@ -6,6 +6,7 @@ menuconfig LIBXML2
        select LIBC_M
        select LIBC_DL  if LIBXML2_MODULES
        select ZLIB     if LIBXML2_ZLIB
+       select XZ       if LIBXML2_LZMA
        select PYTHON   if LIBXML2_PYTHON
        help
          Libxml2 is a XML C parser and toolkit. XML itself is a
@@ -90,6 +91,12 @@ config LIBXML2_HTTP
        help
          Add HTTP support.
 
+config LIBXML2_ICU
+       bool
+       prompt "ICU support"
+       help
+         Add ICU support.
+
 config LIBXML2_ISO8859X
        bool
        default y
@@ -264,4 +271,10 @@ config LIBXML2_ZLIB
        default y
        prompt "zlib (compression) support"
 
+config LIBXML2_LZMA
+       bool
+       prompt "lzma (compression) support"
+       help
+         LZMA (compression) support with liblzma from XZ tools.
+
 endif
diff --git a/rules/libxml2.make b/rules/libxml2.make
index 3392e5e..6b5c05c 100644
--- a/rules/libxml2.make
+++ b/rules/libxml2.make
@@ -54,8 +54,10 @@ LIBXML2_AUTOCONF := \
        --$(call ptx/wwo, PTXCONF_LIBXML2_HISTORY)-history \
        --$(call ptx/wwo, PTXCONF_LIBXML2_HTML)-html \
        --$(call ptx/wwo, PTXCONF_LIBXML2_HTTP)-http \
+       --$(call ptx/wwo, PTXCONF_LIBXML2_ICU)-icu \
        --$(call ptx/wwo, PTXCONF_LIBXML2_ISO8859X)-iso8859x \
        --$(call ptx/wwo, PTXCONF_LIBXML2_LEGACY)-legacy \
+       --$(call ptx/wwo, PTXCONF_LIBXML2_LZMA)-lzma \
        --$(call ptx/wwo, PTXCONF_LIBXML2_MEM_DEBUG)-mem-debug \
        --$(call ptx/wwo, PTXCONF_LIBXML2_MINIMUM)-minimum \
        --$(call ptx/wwo, PTXCONF_LIBXML2_OUTPUT)-output \
-- 
1.7.10.4


-- 
ptxdist mailing list
[email protected]

Reply via email to