test/make/configure.vm

changeset 14
87fea7ab27de
parent 13
cdf8bf4549c4
child 15
971ac4f0f1df
equal deleted inserted replaced
13:cdf8bf4549c4 14:87fea7ab27de
532 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED ${dependency} " 532 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED ${dependency} "
533 ERROR=1 533 ERROR=1
534 fi 534 fi
535 #end 535 #end
536 536
537 # Features
538 #foreach( $feature in $target.features )
539 if [ ! -z "$${feature.getVarName()}" ]; then
540 #foreach( $dependency in $feature.dependencies )
541 # check dependency
542 dependency_$dependency
543 if [ $? -ne 0 ]; then
544 # "auto" features can fail and are just disabled in this case
545 if [ $${feature.getVarName()} != "auto" ]; then
546 DEPENDENCIES_FAILED="$DEPENDENCIES_FAILED ${dependency} "
547 ERROR=1
548 fi
549 fi
550 #end
551 fi
552 #end
553
537 #foreach( $opt in $target.options ) 554 #foreach( $opt in $target.options )
538 # Option: --${opt.argument} 555 # Option: --${opt.argument}
539 if [ -z ${D}${opt.getVarName()} ]; then 556 if [ -z ${D}${opt.getVarName()} ]; then
540 SAVED_ERROR=$ERROR 557 SAVED_ERROR=$ERROR
541 SAVED_DEPENDENCIES_FAILED=$DEPENDENCIES_FAILED 558 SAVED_DEPENDENCIES_FAILED=$DEPENDENCIES_FAILED

mercurial