Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
fe7bc1f1
Commit
fe7bc1f1
authored
Nov 07, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Do not unconditionally check for (and enable) xlib
This avoids unnecessarily linking against xlib.
parent
d1a91ebe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
+7
-8
configure
configure
+7
-8
No files found.
configure
View file @
fe7bc1f1
...
...
@@ -4778,8 +4778,6 @@ if enabled libcdio; then
die
"ERROR: No usable libcdio/cdparanoia found"
fi
check_lib X11/Xlib.h XOpenDisplay
-lX11
&&
enable
xlib
if
enabled libxcb
;
then
check_pkg_config xcb-shape xcb/shape.h xcb_shape_rectangles
||
{
enabled libxcb
&&
die
"ERROR: libxcb not found"
;
...
...
@@ -4805,19 +4803,20 @@ enabled vaapi &&
check_code cc
"va/va.h"
"vaCreateSurfaces(0, 0, 0, 0, 0, 0, 0, 0)"
||
disable vaapi
if
enabled vaapi
;
then
enabled xlib
&&
check_lib
"va/va.h va/va_x11.h"
vaGetDisplay
-lva
-lva-x11
&&
enable
vaapi_x11
enabled vaapi
&&
check_lib
"va/va.h va/va_drm.h"
vaGetDisplayDRM
-lva
-lva-drm
&&
enable
vaapi_drm
fi
enabled vdpau
&&
check_cpp_condition vdpau/vdpau.h
"defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP"
||
disable vdpau
enabled_any vaapi vdpau
&&
check_lib X11/Xlib.h XOpenDisplay
-lX11
&&
enable
xlib
enabled vaapi
&&
enabled xlib
&&
check_lib
"va/va.h va/va_x11.h"
vaGetDisplay
-lva
-lva-x11
&&
enable
vaapi_x11
enabled vdpau
&&
enabled xlib
&&
check_lib
"vdpau/vdpau.h vdpau/vdpau_x11.h"
vdp_device_create_x11
-lvdpau
&&
enable
vdpau_x11
...
...
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