From: Christian Dywan Date: Mon, 30 May 2011 22:18:02 +0000 (+0200) Subject: Print defaults of enable configure options in help X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84c5e0851540f3ae30dc049e01c209b7c04e0b03;p=midori Print defaults of enable configure options in help --- diff --git a/wscript b/wscript index 2f81d37d..50ac5ca9 100644 --- a/wscript +++ b/wscript @@ -330,8 +330,9 @@ def set_options (opt): if group == None: group = opt option_ = option.replace ('-', '_') - group.add_option ('--enable-' + option, action='store_true', - default=False, help='Enable ' + desc, dest='enable_' + option_) + group.add_option ('--enable-' + option, action='store_true', default=False, + help='Enable ' + desc + ' [Default: ' + str (not disable) + ']', + dest='enable_' + option_) group.add_option ('--disable-' + option, action='store_true', default=disable, help='Disable ' + desc, dest='disable_' + option_)