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
8c893aa3
Commit
8c893aa3
authored
Oct 20, 2017
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Drop unnecessary variables, shifts, and quotes in helper functions
parent
12131489
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
14 deletions
+7
-14
configure
configure
+7
-14
No files found.
configure
View file @
8c893aa3
...
...
@@ -816,7 +816,7 @@ EOF
check_insn
(){
log check_insn
"
$@
"
check_inline_asm
${
1
}
_inline
"
\"
$2
\"
"
check_inline_asm
${
1
}
_inline
"
$2
"
echo
"
$2
"
| check_as
&&
enable
${
1
}
_external
||
disable
${
1
}
_external
}
...
...
@@ -1097,11 +1097,9 @@ check_struct(){
check_builtin
(){
log check_builtin
"
$@
"
name
=
$1
headers
=
$2
builtin
=
$3
shift
3
shift
disable
"
$name
"
check_code ld
"
$
headers
"
"
$builtin
"
"
$
@
"
&&
enable
"
$name
"
check_code ld
"
$@
"
&&
enable
"
$name
"
}
check_compile_assert
(){
...
...
@@ -1118,25 +1116,20 @@ require(){
log require
"
$@
"
name_version
=
"
$1
"
name
=
"
${
1
%% *
}
"
headers
=
"
$2
"
func
=
"
$3
"
shift
3
check_lib
$name
"
$headers
"
$func
"
$@
"
||
die
"ERROR:
$name_version
not found"
shift
check_lib
$name
"
$@
"
||
die
"ERROR:
$name_version
not found"
}
require_header
(){
log require_header
"
$@
"
headers
=
"
$1
"
shift
check_header
"
$headers
"
"
$@
"
||
die
"ERROR:
$headers
not found"
check_header
"
$@
"
||
die
"ERROR:
$headers
not found"
}
require_cpp_condition
(){
log require_cpp_condition
"
$@
"
header
=
"
$1
"
condition
=
"
$2
"
shift
2
check_cpp_condition
"
$header
"
"
$condition
"
"
$@
"
||
die
"ERROR:
$condition
not satisfied"
check_cpp_condition
"
$@
"
||
die
"ERROR:
$condition
not satisfied"
}
require_pkg_config
(){
...
...
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