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
8558595a
Commit
8558595a
authored
Dec 18, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Express atomics/thread deps through the dependency system
parent
e121a725
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
configure
configure
+7
-7
No files found.
configure
View file @
8558595a
...
@@ -1583,6 +1583,13 @@ log2_deps="!libc_msvcrt"
...
@@ -1583,6 +1583,13 @@ log2_deps="!libc_msvcrt"
symver_if_any
=
"symver_asm_label symver_gnu_asm"
symver_if_any
=
"symver_asm_label symver_gnu_asm"
# threading support
atomics_gcc_if
=
"sync_val_compare_and_swap"
atomics_suncc_if
=
"atomic_cas_ptr machine_rw_barrier"
atomics_win32_if
=
"MemoryBarrier"
atomics_native_if_any
=
"
$ATOMICS_LIST
"
threads_if_any
=
"
$THREADS_LIST
"
# subsystems
# subsystems
dct_select
=
"rdft"
dct_select
=
"rdft"
error_resilience_select
=
"dsputil"
error_resilience_select
=
"dsputil"
...
@@ -3873,10 +3880,6 @@ done
...
@@ -3873,10 +3880,6 @@ done
disabled zlib
||
check_lib zlib.h zlibVersion
-lz
||
disable zlib
disabled zlib
||
check_lib zlib.h zlibVersion
-lz
||
disable zlib
disabled bzlib
||
check_lib2 bzlib.h BZ2_bzlibVersion
-lbz2
||
disable bzlib
disabled bzlib
||
check_lib2 bzlib.h BZ2_bzlibVersion
-lbz2
||
disable bzlib
enabled sync_val_compare_and_swap
&&
enable
atomics_gcc
enabled_all atomic_cas_ptr machine_rw_barrier
&&
enable
atomics_suncc
enabled MemoryBarrier
&&
enable
atomics_win32
check_lib math.h sin
-lm
&&
LIBM
=
"-lm"
check_lib math.h sin
-lm
&&
LIBM
=
"-lm"
enabled vaapi
&&
require vaapi va/va.h vaInitialize
-lva
enabled vaapi
&&
require vaapi va/va.h vaInitialize
-lva
...
@@ -4178,9 +4181,6 @@ case $target_os in
...
@@ -4178,9 +4181,6 @@ case $target_os in
;;
;;
esac
esac
enabled_any
$THREADS_LIST
&&
enable
threads
enabled_any
$ATOMICS_LIST
&&
enable
atomics_native
enabled asm
||
{
arch
=
c
;
disable
$ARCH_LIST
$ARCH_EXT_LIST
;
}
enabled asm
||
{
arch
=
c
;
disable
$ARCH_LIST
$ARCH_EXT_LIST
;
}
check_deps
$CONFIG_LIST
\
check_deps
$CONFIG_LIST
\
...
...
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