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
7f347265
Commit
7f347265
authored
Oct 24, 2008
by
Nicolas Chauvet (kwizart)
Committed by
Rémi Denis-Courmont
Oct 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add support for libproxy via pkg-config
Signed-off-by:
Rémi Denis-Courmont
<
rdenis@simphalempin.com
>
parent
37e7ad9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
configure.ac
configure.ac
+4
-2
modules/access/http.c
modules/access/http.c
+3
-3
No files found.
configure.ac
View file @
7f347265
...
...
@@ -1633,8 +1633,10 @@ dnl
AC_ARG_ENABLE(libproxy,
[ --enable-libproxy libproxy support (default auto)])
AS_IF([test "${enable_libproxy}" != "no"], [
AC_CHECK_HEADERS(proxy.h, [
VLC_ADD_LIBS([access_http],[-lproxy])
PKG_CHECK_MODULES(LIBPROXY, libproxy-1.0, [
AC_DEFINE(HAVE_LIBPROXY, 1, [Define if libproxy is available])
VLC_ADD_CFLAGS([access_http],[$LIBPROXY_CFLAGS])
VLC_ADD_LIBS([access_http],[$LIBPROXY_LIBS])
], [
AS_IF([test "x${enable_libproxy}" != "x"], [
AC_MSG_ERROR([libproxy could not be found on your system])
...
...
modules/access/http.c
View file @
7f347265
...
...
@@ -53,8 +53,8 @@
#include <assert.h>
#ifdef HAVE_
PROXY_H
# include
"proxy.h"
#ifdef HAVE_
LIBPROXY
# include
<proxy.h>
#endif
/*****************************************************************************
* Module descriptor
...
...
@@ -326,7 +326,7 @@ static int OpenWithCookies( vlc_object_t *p_this, vlc_array_t *cookies )
vlc_UrlParse
(
&
p_sys
->
proxy
,
psz
,
0
);
free
(
psz
);
}
#ifdef HAVE_
PROXY_H
#ifdef HAVE_
LIBPROXY
else
{
pxProxyFactory
*
pf
=
px_proxy_factory_new
();
...
...
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