make/configure.vm

changeset 210
21274e5950af
parent 209
a6d8181a8127
child 250
f4d93355b054
equal deleted inserted replaced
209:a6d8181a8127 210:21274e5950af
368 #end 368 #end
369 #foreach( $flags in $sub.flags ) 369 #foreach( $flags in $sub.flags )
370 #if( $flags.exec ) 370 #if( $flags.exec )
371 $flags.value > /dev/null 371 $flags.value > /dev/null
372 if [ $? -eq 0 ]; then 372 if [ $? -eq 0 ]; then
373 $flags.varName="$flags.varName `$flags.value`" 373 $flags.varName="$$flags.varName `$flags.value`"
374 else 374 else
375 break 375 break
376 fi 376 fi
377 #else 377 #else
378 $flags.varName="$flags.varName $flags.value" 378 $flags.varName="$$flags.varName $flags.value"
379 #end 379 #end
380 #end 380 #end
381 #foreach( $test in $sub.tests ) 381 #foreach( $test in $sub.tests )
382 $test > /dev/null 382 $test > /dev/null
383 if [ $? -ne 0 ]; then 383 if [ $? -ne 0 ]; then
442 442
443 #foreach( $flags in $dependency.flags ) 443 #foreach( $flags in $dependency.flags )
444 #if( $flags.exec ) 444 #if( $flags.exec )
445 $flags.value > /dev/null 445 $flags.value > /dev/null
446 if [ $? -ne 0 ]; then 446 if [ $? -ne 0 ]; then
447 $flags.varName="$flags.varName `$flags.value`" 447 $flags.varName="$$flags.varName `$flags.value`"
448 else 448 else
449 ERROR=1 449 ERROR=1
450 break 450 break
451 fi 451 fi
452 #else 452 #else
453 $flags.varName="$flags.varName $flags.value" 453 $flags.varName="$$flags.varName $flags.value"
454 #end 454 #end
455 #end 455 #end
456 #if ( $dependency.make.length() > 0 ) 456 #if ( $dependency.make.length() > 0 )
457 cat >> $TEMP_DIR/make.mk << __EOF__ 457 cat >> $TEMP_DIR/make.mk << __EOF__
458 $dependency.make 458 $dependency.make

mercurial