]> git.sesse.net Git - ffmpeg/commitdiff
configure: fix handling of option arguments containing = sign
authorMåns Rullgård <mans@mansr.com>
Tue, 21 Oct 2008 00:57:17 +0000 (00:57 +0000)
committerMåns Rullgård <mans@mansr.com>
Tue, 21 Oct 2008 00:57:17 +0000 (00:57 +0000)
Originally committed as revision 15656 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 5deab4a27e9d23c40dd2846460150d1e36c9467e..18c666cd9a2b6513f48ff30ad24e6cb85a9a42da 100755 (executable)
--- a/configure
+++ b/configure
@@ -1104,7 +1104,7 @@ for opt do
     --help|-h) show_help
     ;;
     *)
-    optname="${opt%=*}"
+    optname="${opt%%=*}"
     optname="${optname#--}"
     optname=$(echo "$optname" | sed 's/-/_/g')
     is_in $optname $CMDLINE_SET || die_unknown $opt