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