diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-01-28 16:16:49 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-01-28 16:16:49 +0000 |
commit | 85bca2c528a698ac93bb2c6aef298667d11468dc (patch) | |
tree | 7647ce069bcaa0ea37d2a5aaf955c155dd3f4dc7 /configure | |
parent | 37970ebfbf6162bc88f55778dc916ce5b62d4876 (diff) | |
download | ffmpeg-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-x | configure | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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" |