1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

configure: add filter_out() function

This adds a function to filter out words matching a pattern
from a list.

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Mans Rullgard 2011-01-25 14:44:07 +00:00
parent 44002d8323
commit 9d201b2606

8
configure vendored
View File

@ -321,6 +321,14 @@ filter(){
done done
} }
filter_out(){
pat=$1
shift
for v; do
eval "case $v in $pat) ;; *) echo $v ;; esac"
done
}
map(){ map(){
m=$1 m=$1
shift shift