Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
e4e00a4e
Commit
e4e00a4e
authored
Jun 25, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contribs: detect git, svn, wget/curl
parent
fe9ee7cd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
2 deletions
+25
-2
contrib/src/main.mak
contrib/src/main.mak
+25
-2
No files found.
contrib/src/main.mak
View file @
e4e00a4e
...
@@ -99,8 +99,31 @@ endif
...
@@ -99,8 +99,31 @@ endif
PKG_CONFIG_PATH
+=
:
$(PREFIX)
/lib/pkgconfig
PKG_CONFIG_PATH
+=
:
$(PREFIX)
/lib/pkgconfig
export
PKG_CONFIG_PATH
export
PKG_CONFIG_PATH
SVN
?=
svn
ifndef
GIT
WGET
?=
wget
ifeq
($(shell git --version >/dev/null 2>&1 || echo FAIL),)
GIT
=
git
endif
endif
GIT
?=
$(
error
git not found!
)
ifndef
SVN
ifeq
($(shell svn --version >/dev/null 2>&1 || echo FAIL),)
SVN
=
svn
endif
endif
SVN
?=
$(
error
subversion client
(
svn
)
not found!
)
ifndef
WGET
ifeq
($(shell wget --version >/dev/null 2>&1 || echo FAIL),)
WGET
=
wget
--passive
-c
endif
endif
ifndef
WGET
ifeq
($(shell curl --version >/dev/null 2>&1 || echo FAIL),)
WGET
=
curl
-L
-O
endif
endif
WGET
?=
$(
error
Neither wget not curl found!
)
#
#
# Common helpers
# Common helpers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment