Add a summary of optional features at the end of the configuration stage.
This commit is contained in:
@@ -7,6 +7,10 @@ def configure(conf):
|
||||
e.define = 'SQLITE3'
|
||||
e.uselib = 'SQLITE3'
|
||||
conf.env['SQLITE_STATS'] = e.run()
|
||||
conf.report_optional_feature("SqliteDataOutput", "SQlite stats data output",
|
||||
conf.env['SQLITE_STATS'],
|
||||
"library 'sqlite3' not found")
|
||||
|
||||
|
||||
def build(bld):
|
||||
obj = bld.create_ns3_module('stats', ['node'])
|
||||
|
||||
@@ -6,6 +6,10 @@ def configure(conf):
|
||||
check.uselib = 'GTK_CONFIG_STORE'
|
||||
check.mandatory = False
|
||||
conf.env['ENABLE_GTK_CONFIG_STORE'] = check.run()
|
||||
conf.report_optional_feature("GtkConfigStore", "GtkConfigStore",
|
||||
conf.env['ENABLE_GTK_CONFIG_STORE'],
|
||||
"library 'gtk+-2.0 >= 2.12' not found")
|
||||
|
||||
conf.sub_config('stats')
|
||||
|
||||
def build(bld):
|
||||
|
||||
@@ -37,6 +37,8 @@ def configure(conf):
|
||||
e.run()
|
||||
|
||||
if not Params.g_options.nsc:
|
||||
conf.report_optional_feature("nsc", "Network Simulation Cradle", False,
|
||||
"--nsc configure option not given")
|
||||
return
|
||||
|
||||
check_nsc_buildutils()
|
||||
@@ -55,6 +57,8 @@ def configure(conf):
|
||||
e.run()
|
||||
ok = True
|
||||
conf.check_message('NSC supported architecture', arch, ok)
|
||||
conf.report_optional_feature("nsc", "Network Simulation Cradle", ok,
|
||||
"architecture %r not supported" % arch)
|
||||
nsc_fetch()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user