[vlc-commits] contrib: Look for bzcat
Rafaël Carré
git at videolan.org
Mon Jan 13 23:32:50 CET 2014
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Mon Jan 13 17:42:08 2014 +0100| [6768c9cf7fb1a888702c5853ab9795f2dae7ff4c] | committer: Rafaël Carré
contrib: Look for bzcat
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6768c9cf7fb1a888702c5853ab9795f2dae7ff4c
---
contrib/src/main.mak | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 9562165..d49a233 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -217,6 +217,12 @@ else
download = $(error Neither curl nor wget found!)
endif
+ifeq ($(shell which bzcat >/dev/null 2>&1 || echo FAIL),)
+BZCAT = bzcat
+else
+BZCAT ?= $(error Bunzip2 client (bzcat) not found!)
+endif
+
ifeq ($(shell gzcat --version >/dev/null 2>&1 || echo FAIL),)
ZCAT = gzcat
else ifeq ($(shell zcat --version >/dev/null 2>&1 || echo FAIL),)
More information about the vlc-commits
mailing list