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
a5e011c8
Commit
a5e011c8
authored
Sep 24, 2017
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Add check_cmd() helper function to simplify some expressions
parent
49804dc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
configure
configure
+11
-3
No files found.
configure
View file @
a5e011c8
...
...
@@ -803,6 +803,14 @@ test_as(){
test_cmd
$as
$CPPFLAGS
$ASFLAGS
"
$@
"
$AS_C
$(
as_o
$TMPO
)
$TMPS
}
check_cmd
(){
log check_cmd
"
$@
"
cmd
=
$1
disabled
$cmd
&&
return
disable
$cmd
test_cmd
$@
&&
enable
$cmd
}
check_inline_asm
(){
log check_inline_asm
"
$@
"
name
=
"
$1
"
...
...
@@ -4676,9 +4684,6 @@ enabled openssl && { { check_pkg_config openssl openssl openssl/ssl.h
enabled avplay
&&
test_pkg_config sdl
"sdl >= 1.2.1 sdl < 1.3.0"
SDL_events.h SDL_PollEvent
!
disabled pod2man
&&
test_cmd pod2man
--help
&&
enable
pod2man
||
disable pod2man
!
disabled texi2html
&&
test_cmd texi2html
-version
&&
enable
texi2html
||
disable texi2html
check_header linux/fb.h
check_header linux/videodev2.h
check_struct linux/videodev2.h
"struct v4l2_frmivalenum"
discrete
...
...
@@ -5003,6 +5008,9 @@ esac
enabled asm
||
{
arch
=
c
;
disable
$ARCH_LIST
$ARCH_EXT_LIST
;
}
check_cmd pod2man
--help
check_cmd texi2html
-version
check_deps
$CONFIG_LIST
\
$CONFIG_EXTRA
\
$HAVE_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