Commit 54bd04ce authored by mru's avatar mru

configure: fix filter() function when matching multiple patterns

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19688 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7e0cb6fe
...@@ -295,7 +295,7 @@ filter(){ ...@@ -295,7 +295,7 @@ filter(){
pat=$1 pat=$1
shift shift
for v; do for v; do
case "$v" in $pat) echo "$v" ;; esac eval "case $v in $pat) echo $v ;; esac"
done 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