configure: fix handling of option arguments containing = sign

Originally committed as revision 15656 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2008-10-21 00:57:17 +00:00
parent 31c4f07017
commit 884a36a78b
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -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