Commit 884a36a7 authored by Måns Rullgård's avatar Måns Rullgård

configure: fix handling of option arguments containing = sign

Originally committed as revision 15656 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 31c4f070
...@@ -1104,7 +1104,7 @@ for opt do ...@@ -1104,7 +1104,7 @@ for opt do
--help|-h) show_help --help|-h) show_help
;; ;;
*) *)
optname="${opt%=*}" optname="${opt%%=*}"
optname="${optname#--}" optname="${optname#--}"
optname=$(echo "$optname" | sed 's/-/_/g') optname=$(echo "$optname" | sed 's/-/_/g')
is_in $optname $CMDLINE_SET || die_unknown $opt is_in $optname $CMDLINE_SET || die_unknown $opt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment