vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Tue Feb  3 
11:39:03 2015 +0100| [1fad7fcae5db01e29fc7ed8dd67db76d04752394] | committer: 
Jean-Baptiste Kempf

Contribs: Add xzcat decompression tool

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1fad7fcae5db01e29fc7ed8dd67db76d04752394
---

 contrib/src/main.mak |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 9ef4a25..f0773b9 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -185,6 +185,10 @@ endif
 ACLOCAL_AMFLAGS += -I$(PREFIX)/share/aclocal
 export ACLOCAL_AMFLAGS
 
+#########
+# Tools #
+#########
+
 PKG_CONFIG ?= pkg-config
 ifdef HAVE_CROSS_COMPILE
 # This inhibits .pc file from within the cross-compilation toolchain sysroot.
@@ -226,6 +230,12 @@ else
 download = $(error Neither curl nor wget found!)
 endif
 
+ifeq ($(shell which xzcat >/dev/null 2>&1 || echo FAIL),)
+XZCAT = xzcat
+else
+XZCAT ?= $(error xz and lzma client not found!)
+endif
+
 ifeq ($(shell which bzcat >/dev/null 2>&1 || echo FAIL),)
 BZCAT = bzcat
 else

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to