From 98ef60791d4264bf434d1aaf19c5c379547d6475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Sun, 23 Aug 2009 15:39:39 +0000 Subject: [PATCH] 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }