[vlc-devel] commit: Unbreak ffed6142d652bb8154dbeac565000ea3673722a0 (Jean-Paul Saman )

git version control git at videolan.org
Wed May 28 00:15:23 CEST 2008


vlc | branch: master | Jean-Paul Saman <jpsaman at videolan.org> | Wed May 28 00:16:29 2008 +0200| [8020675058a96bdbf754007b98cc925618c67204]

Unbreak ffed6142d652bb8154dbeac565000ea3673722a0

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

 extras/contrib/bootstrap |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/extras/contrib/bootstrap b/extras/contrib/bootstrap
index fdcda7c..5050e02 100755
--- a/extras/contrib/bootstrap
+++ b/extras/contrib/bootstrap
@@ -269,22 +269,22 @@ echo "EXTRA_CPPFLAGS = ${EXTRA_CPPFLAGS} -isystem \$(PREFIX)/include" >> config.
 echo "EXTRA_LDFLAGS = ${EXTRA_LDFLAGS}" >> config.mak
 echo "EXTRA_PATH = ${EXTRA_PATH}" >> config.mak
 
-if which wget >/dev/null 2>&1; then
+if wget --version >/dev/null 2>&1; then
     echo "WGET = `which wget` -c --passive" >> config.mak
-elif which curl >/dev/null 2>&1; then
+elif test -z `curl --version >/dev/null 2>&1`; then
     echo "WGET = `which curl` -L -O" >> config.mak
 else
     echo "You need at least wget or curl to fetch the packages." >&2
     exit 1
 fi
 
-if which svn >/dev/null 2>&1; then
+if svn --version >/dev/null 2>&1; then
     echo "SVN = `which svn`" >> config.mak
 else
     echo "You do not have a subversion client in your PATH." >&2
 fi
 
-if which git >/dev/null 2>&1; then
+if git --version>/dev/null 2>&1; then
     echo "GIT = `which git`" >> config.mak
 else
     echo "You do not have a Git client in your PATH." >&2




More information about the vlc-devel mailing list