Commit 98ef6079 authored by Måns Rullgård's avatar Måns Rullgård

configure: fix filter() function when matching multiple patterns

This makes comma-separated patters to --disable-decoder and friends
work correctly with POSIX-compliant shells.

Originally committed as revision 19688 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bce7b696
......@@ -295,7 +295,7 @@ filter(){
pat=$1
shift
for v; do
case "$v" in $pat) echo "$v" ;; esac
eval "case $v in $pat) echo $v ;; esac"
done
}
......
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