mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
Add disabled_any() and disabled_all() functions.
Originally committed as revision 7741 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
37970ebfbf
commit
85bca2c528
12
configure
vendored
12
configure
vendored
@ -235,12 +235,24 @@ enabled_all(){
|
||||
done
|
||||
}
|
||||
|
||||
disabled_all(){
|
||||
for opt; do
|
||||
disabled $opt || return 1
|
||||
done
|
||||
}
|
||||
|
||||
enabled_any(){
|
||||
for opt; do
|
||||
enabled $opt && return 0
|
||||
done
|
||||
}
|
||||
|
||||
disabled_any(){
|
||||
for opt; do
|
||||
disabled $opt && return 0
|
||||
done
|
||||
}
|
||||
|
||||
check_deps(){
|
||||
for cfg; do
|
||||
eval dep_all="\$${cfg}_deps"
|
||||
|
Loading…
Reference in New Issue
Block a user