Sat, 14 Nov 2020 21:11:35 +0100
fix configure target options
configure | file | annotate | diff | comparison | revisions | |
make/configure.vm | file | annotate | diff | comparison | revisions |
--- a/configure Sat Nov 14 20:58:20 2020 +0100 +++ b/configure Sat Nov 14 21:11:35 2020 +0100 @@ -80,7 +80,7 @@ "--infodir="*) INFODIR=${ARG#--infodir=} ;; "--mandir"*) MANDIR=${ARG#--mandir} ;; "--help"*) printhelp; exit 1 ;; - "--toolkit="*) OPT_TOOLKIT={ARG#toolkit=} ;; + "--toolkit="*) OPT_TOOLKIT=${ARG#--toolkit=} ;; "-"*) echo "unknown option: $ARG"; exit 1 ;; esac done
--- a/make/configure.vm Sat Nov 14 20:58:20 2020 +0100 +++ b/make/configure.vm Sat Nov 14 21:11:35 2020 +0100 @@ -135,7 +135,7 @@ "--mandir"*) MANDIR=${D}{ARG#--mandir} ;; "--help"*) printhelp; exit 1 ;; #foreach( $opt in $options ) - "--${opt.getArgument()}="*) ${opt.getVarName()}={ARG#${opt.getArgument()}=} ;; + "--${opt.getArgument()}="*) ${opt.getVarName()}=${D}{ARG#--${opt.getArgument()}=} ;; #end #foreach( $feature in $features ) "--enable-${feature.arg}") ${feature.getVarName()}=on ;;