aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-01-28 16:16:49 +0000
committerDiego Biurrun <diego@biurrun.de>2007-01-28 16:16:49 +0000
commit85bca2c528a698ac93bb2c6aef298667d11468dc (patch)
tree7647ce069bcaa0ea37d2a5aaf955c155dd3f4dc7 /configure
parent37970ebfbf6162bc88f55778dc916ce5b62d4876 (diff)
downloadffmpeg-85bca2c528a698ac93bb2c6aef298667d11468dc.tar.gz
Add disabled_any() and disabled_all() functions.
Originally committed as revision 7741 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure b/configure
index 261551b039..0721dbfada 100755
--- a/configure
+++ b/configure
@@ -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"