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.
--- a/src/wscript Mon Jul 23 15:53:54 2007 +0200
+++ b/src/wscript Tue Jul 24 16:13:31 2007 +0100
@@ -9,7 +9,7 @@
import Params
-all_modules = [
+all_modules = (
'core',
'common',
'simulator',
@@ -18,7 +18,7 @@
'devices/p2p',
'applications',
'mobility',
- ]
+ )
def set_options(opt):
@@ -52,7 +52,7 @@
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"""