View | Details | Raw Unified | Return to bug 1537
Collapse All | Expand All

(-)a/wscript (-1 / +3 lines)
 Lines 545-553   def configure(conf): Link Here 
545
    for (name, caption, was_enabled, reason_not_enabled) in conf.env['NS3_OPTIONAL_FEATURES']:
545
    for (name, caption, was_enabled, reason_not_enabled) in conf.env['NS3_OPTIONAL_FEATURES']:
546
        if was_enabled:
546
        if was_enabled:
547
            status = 'enabled'
547
            status = 'enabled'
548
            color = 'GREEN'
548
        else:
549
        else:
549
            status = 'not enabled (%s)' % reason_not_enabled
550
            status = 'not enabled (%s)' % reason_not_enabled
550
        print "%-30s: %s" % (caption, status)
551
            color = 'RED'
552
        print "%-30s: %s%s%s" % (caption, Logs.colors_lst[color], status, Logs.colors_lst['NORMAL'])
551
553
552
554
553
class SuidBuild_task(Task.TaskBase):
555
class SuidBuild_task(Task.TaskBase):

Return to bug 1537