summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-10-21 00:57:17 +0000
committerMåns Rullgård <mans@mansr.com>2008-10-21 00:57:17 +0000
commit884a36a78badab059ed6857d6b69205063510768 (patch)
treea8baee4b811a4d69b204e5429d2a3b758af5917d /configure
parent31c4f07017f54dac8b45147adcd9feee01c1983d (diff)
configure: fix handling of option arguments containing = sign
Originally committed as revision 15656 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 5deab4a27e..18c666cd9a 100755
--- 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