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
fbe98aee
Commit
fbe98aee
authored
Mar 12, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "configure: allow checking multiple functions in check_func_headers()"
This reverts commit
edaf1ae2
. breaks windows builds
parent
8876c8ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
configure
configure
+15
-12
No files found.
configure
View file @
fbe98aee
...
...
@@ -700,17 +700,20 @@ EOF
check_func_headers
(){
log check_func_headers
"
$@
"
headers
=
$1
func
s
=
$2
func
=
$2
shift
2
{
disable
$func
incs
=
""
for
hdr
in
$headers
;
do
echo
"#include <
$hdr
>"
done
for
func
in
$funcs
;
do
echo
"long check_
$func
(void) { return (long)
$func
; }"
incs
=
"
$incs
#include <
$hdr
>"
done
echo
"int main(void) { return 0; }"
}
| check_ld
"
$@
"
&&
enable
$funcs
&&
enable_safe
$headers
check_ld
"
$@
"
<<
EOF
&& enable
$func
&& enable_safe
$headers
$incs
int main(int argc, char **argv){
return (long)
$func
;
}
EOF
}
check_cpp_condition
(){
...
...
@@ -737,9 +740,9 @@ check_lib(){
check_lib2
(){
log check_lib2
"
$@
"
headers
=
"
$1
"
func
s
=
"
$2
"
func
=
"
$2
"
shift
2
check_func_headers
"
$headers
"
"
$funcs
"
"
$@
"
&&
add_extralibs
"
$@
"
check_func_headers
"
$headers
"
$func
"
$@
"
&&
add_extralibs
"
$@
"
}
check_exec
(){
...
...
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