Commit 9c5c348e authored by Mans Rullgard's avatar Mans Rullgard Committed by Michael Niedermayer

configure: add filter_out() function

This adds a function to filter out words matching a pattern
from a list.
Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
(cherry picked from commit 9d201b26)
parent ac3c04e4
......@@ -321,6 +321,14 @@ filter(){
done
}
filter_out(){
pat=$1
shift
for v; do
eval "case $v in $pat) ;; *) echo $v ;; esac"
done
}
map(){
m=$1
shift
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment