aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-08-23 15:39:39 +0000
committerMåns Rullgård <mans@mansr.com>2009-08-23 15:39:39 +0000
commit98ef60791d4264bf434d1aaf19c5c379547d6475 (patch)
tree0bb26f0f224aab859ce0fa837a91b7a10f0d3674
parentbce7b696a258efbc912226a104d37972c6f7bd25 (diff)
downloadffmpeg-98ef60791d4264bf434d1aaf19c5c379547d6475.tar.gz
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
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6d918c80f7..5c13369ef7 100755
--- a/configure
+++ b/configure
@@ -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
}