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
9e7fd101
Commit
9e7fd101
authored
Nov 18, 2006
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improved pthreads test
Originally committed as revision 7118 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
3644d472
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
configure
configure
+11
-5
No files found.
configure
View file @
9e7fd101
...
...
@@ -1426,11 +1426,17 @@ enabled zlib && check_lib zlib.h zlibVersion -lz || zlib="no"
# check for some common methods of building with pthread support
# do this before the optional library checks as some of them require pthreads
if
enabled pthreads
;
then
{
check_cflags
-pthread
&&
check_ldflags
-pthread
;
}
||
{
check_cflags
-pthreads
&&
check_ldflags
-pthreads
;
}
||
check_lib pthread.h pthread_create
-lpthread
||
check_func pthread_create
||
die
"ERROR: can't find pthreads library"
if
check_func pthread_create
;
then
:
elif
check_func pthread_create
-pthread
;
then
add_cflags
-pthread
add_ldflags
-pthread
elif
check_func pthread_create
-pthreads
;
then
add_cflags
-pthreads
add_ldflags
-pthreads
elif
!
check_lib pthread.h pthread_create
-lpthread
;
then
die
"ERROR: can't find pthreads library"
fi
fi
# these are off by default, so fail if requested and not available
...
...
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