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
23ec8db8
Commit
23ec8db8
authored
Oct 29, 2014
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Autodetect libxcb.
parent
d1b5ad39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
configure
configure
+4
-2
No files found.
configure
View file @
23ec8db8
...
@@ -251,7 +251,7 @@ External library support:
...
@@ -251,7 +251,7 @@ External library support:
--enable-libx264 enable H.264 encoding via x264 [no]
--enable-libx264 enable H.264 encoding via x264 [no]
--enable-libx265 enable HEVC encoding via x265 [no]
--enable-libx265 enable HEVC encoding via x265 [no]
--enable-libxavs enable AVS encoding via xavs [no]
--enable-libxavs enable AVS encoding via xavs [no]
--enable-libxcb enable X11 grabbing using XCB [
n
o]
--enable-libxcb enable X11 grabbing using XCB [
aut
o]
--enable-libxcb-shm enable X11 grabbing shm communication [auto]
--enable-libxcb-shm enable X11 grabbing shm communication [auto]
--enable-libxcb-xfixes enable X11 grabbing mouse rendering [auto]
--enable-libxcb-xfixes enable X11 grabbing mouse rendering [auto]
--enable-libxvid enable Xvid encoding via xvidcore,
--enable-libxvid enable Xvid encoding via xvidcore,
...
@@ -5024,11 +5024,12 @@ fi
...
@@ -5024,11 +5024,12 @@ fi
enabled xlib
&&
enabled xlib
&&
check_lib X11/Xlib.h XOpenDisplay
-lX11
||
disable xlib
check_lib X11/Xlib.h XOpenDisplay
-lX11
||
disable xlib
if
enabled libxcb
||
enabled x11grab
&&
!
disabled libxcb
;
then
if
!
disabled libxcb
;
then
check_pkg_config xcb xcb/xcb.h xcb_connect
||
{
check_pkg_config xcb xcb/xcb.h xcb_connect
||
{
enabled libxcb
&&
die
"ERROR: libxcb not found"
;
enabled libxcb
&&
die
"ERROR: libxcb not found"
;
}
&&
disable x11grab
&&
enable
libxcb
}
&&
disable x11grab
&&
enable
libxcb
if
enabled libxcb
;
then
disabled libxcb_shm
||
disabled libxcb_shm
||
check_pkg_config xcb-shm xcb/shm.h xcb_shm_attach
||
{
check_pkg_config xcb-shm xcb/shm.h xcb_shm_attach
||
{
enabled libxcb_shm
&&
die
"ERROR: libxcb_shm not found"
;
enabled libxcb_shm
&&
die
"ERROR: libxcb_shm not found"
;
...
@@ -5042,6 +5043,7 @@ if enabled libxcb || enabled x11grab && ! disabled libxcb; then
...
@@ -5042,6 +5043,7 @@ if enabled libxcb || enabled x11grab && ! disabled libxcb; then
add_cflags
"
$xcb_event_cflags
$xcb_shm_cflags
$xcb_xfixes_cflags
"
add_cflags
"
$xcb_event_cflags
$xcb_shm_cflags
$xcb_xfixes_cflags
"
add_extralibs
"
$xcb_event_libs
$xcb_shm_libs
$xcb_xfixes_libs
"
add_extralibs
"
$xcb_event_libs
$xcb_shm_libs
$xcb_xfixes_libs
"
fi
fi
fi
if
enabled x11grab
;
then
if
enabled x11grab
;
then
enabled xlib
||
die
"ERROR: Xlib not found"
enabled xlib
||
die
"ERROR: Xlib not found"
...
...
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