From 85bca2c528a698ac93bb2c6aef298667d11468dc Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 28 Jan 2007 16:16:49 +0000 Subject: [PATCH] Add disabled_any() and disabled_all() functions. Originally committed as revision 7741 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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"