Browse Source

Add disabled_any() and disabled_all() functions.

Originally committed as revision 7741 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun 19 years ago
parent
commit
85bca2c528
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      configure

+ 12
- 0
configure View File

@@ -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…
Cancel
Save