src/main/resources/make/configure.vm

changeset 127
33bc4ae5d7cf
parent 123
d89b75fdf0aa
child 128
22f7262475e7
equal deleted inserted replaced
126:c82d46627c72 127:33bc4ae5d7cf
205 "--localstatedir="*) localstatedir=${D}{ARG#--localstatedir=} ;; 205 "--localstatedir="*) localstatedir=${D}{ARG#--localstatedir=} ;;
206 "--includedir="*) includedir=${D}{ARG#--includedir=} ;; 206 "--includedir="*) includedir=${D}{ARG#--includedir=} ;;
207 "--infodir="*) infodir=${D}{ARG#--infodir=} ;; 207 "--infodir="*) infodir=${D}{ARG#--infodir=} ;;
208 "--mandir"*) mandir=${D}{ARG#--mandir} ;; 208 "--mandir"*) mandir=${D}{ARG#--mandir} ;;
209 "--localedir"*) localedir=${D}{ARG#--localedir} ;; 209 "--localedir"*) localedir=${D}{ARG#--localedir} ;;
210 "--help"*) printhelp; abort_configure ;; 210 "--help"*) printhelp; abort_configure ;;
211 "--debug") BUILD_TYPE="debug" ;; 211 "--debug") BUILD_TYPE="debug" ;;
212 "--release") BUILD_TYPE="release" ;; 212 "--release") BUILD_TYPE="release" ;;
213 #foreach( $opt in $options ) 213 #foreach( $opt in $options )
214 "--${opt.argument}="*) ${opt.varName}=${D}{ARG#--${opt.argument}=} ;; 214 "--${opt.argument}="*) ${opt.varName}=${D}{ARG#--${opt.argument}=} ;;
215 "--${opt.argument}") echo "option '$ARG' needs a value:"; echo " $ARG=${opt.valuesString}"; abort_configure ;;
215 #end 216 #end
216 #foreach( $feature in $features ) 217 #foreach( $feature in $features )
217 "--enable-${feature.arg}") ${feature.varName}=on ;; 218 "--enable-${feature.arg}") ${feature.varName}=on ;;
218 "--disable-${feature.arg}") unset ${feature.varName} ;; 219 "--disable-${feature.arg}") unset ${feature.varName} ;;
219 #end 220 #end

mercurial