From 35e5c48814928736ad975e84148680d439c8a7a1 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Tue, 24 Jul 2007 16:13:31 +0100 Subject: [PATCH] WAF: make list of modules (all_modules) a tuple instead of list, because it is hashable, and this way newer WAF is able to notice changes in it and automatically trigger a reconfiguration. --- src/wscript | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wscript b/src/wscript index 1547429d7..4b34a9156 100644 --- a/src/wscript +++ b/src/wscript @@ -9,7 +9,7 @@ import Object import Params -all_modules = [ +all_modules = ( 'core', 'common', 'simulator', @@ -18,7 +18,7 @@ all_modules = [ 'devices/p2p', 'applications', 'mobility', - ] + ) def set_options(opt): @@ -52,7 +52,7 @@ def build(bld): Object.register('ns3header', Ns3Header) Action.Action('ns3header', func=_ns3_headers_inst, color='BLUE') - bld.add_subdirs(all_modules) + bld.add_subdirs(list(all_modules)) class Ns3Header(Object.genobj): """A set of NS-3 header files"""