Commit 85bca2c5 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

Add disabled_any() and disabled_all() functions.

Originally committed as revision 7741 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 37970ebf
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment