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
release/0.6
Måns Rullgård 15 years ago
parent bce7b696a2
commit 98ef60791d
  1. 2
      configure

2
configure vendored

@ -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
}

Loading…
Cancel
Save