Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
a97563c8
Commit
a97563c8
authored
Jan 22, 2017
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Simplify libxcb check
parent
c29da01a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
14 deletions
+4
-14
configure
configure
+4
-14
No files found.
configure
View file @
a97563c8
...
...
@@ -2401,6 +2401,7 @@ sndio_outdev_deps="sndio"
v4l2_indev_deps_any
=
"linux_videodev2_h sys_videoio_h"
vfwcap_indev_deps
=
"vfw32 vfwcap_defines"
xcbgrab_indev_deps
=
"libxcb"
xcbgrab_indev_suggest
=
"libxcb_shm libxcb_xfixes"
# protocols
ffrtmpcrypt_protocol_deps
=
"!librtmp_protocol"
...
...
@@ -4783,22 +4784,11 @@ if enabled libcdio; then
fi
if
enabled libxcb
;
then
check_pkg_config xcb-shape xcb/shape.h xcb_shape_rectangles
||
{
enabled libxcb
&&
die
"ERROR: libxcb not found"
;
}
&&
enable
libxcb
require_pkg_config xcb-shape xcb/shape.h xcb_shape_rectangles
disabled libxcb_shm
||
check_pkg_config xcb-shm xcb/shm.h xcb_shm_attach
||
{
enabled libxcb_shm
&&
die
"ERROR: libxcb_shm not found"
;
}
&&
check_header sys/shm.h
&&
enable
libxcb_shm
require_pkg_config xcb-shm xcb/shm.h xcb_shm_attach
disabled libxcb_xfixes
||
check_pkg_config xcb-xfixes xcb/xfixes.h xcb_xfixes_get_cursor_image
||
{
enabled libxcb_xfixes
&&
die
"ERROR: libxcb_xfixes not found"
;
}
&&
enable
libxcb_xfixes
add_cflags
"
$xcb_shape_cflags
$xcb_shm_cflags
$xcb_xfixes_cflags
"
add_extralibs
"
$xcb_shape_extralibs
$xcb_shm_extralibs
$xcb_xfixes_extralibs
"
require_pkg_config xcb-xfixes xcb/xfixes.h xcb_xfixes_get_cursor_image
fi
enabled dxva2
&&
...
...
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