Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
a5e011c8
Commit
a5e011c8
authored
7 years ago
by
Diego Biurrun
Browse files
Options
Downloads
Patches
Plain Diff
configure: Add check_cmd() helper function to simplify some expressions
parent
49804dc2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure
+11
-3
11 additions, 3 deletions
configure
with
11 additions
and
3 deletions
configure
+
11
−
3
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
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment