Upgrade to WAF 1.5.5
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Mon, 20 Apr 2009 17:39:54 +0100
changeset 4368 fc00cd53d37b
parent 4367 63c04791fae2
child 4369 ffab83e88af3
Upgrade to WAF 1.5.5
src/contrib/wscript
src/core/wscript
src/simulator/wscript
src/wscript
waf
wscript
--- a/src/contrib/wscript	Sun Apr 19 14:51:51 2009 +0100
+++ b/src/contrib/wscript	Mon Apr 20 17:39:54 2009 +0100
@@ -16,7 +16,7 @@
                                  "library 'libxml-2.0 >= 2.7' not found")
     conf.sub_config('stats')
 
-    conf.write_config_header('ns3/contrib-config.h')
+    conf.write_config_header('ns3/contrib-config.h', project_root_relative=True)
 
 def build(bld):
     module = bld.create_ns3_module('contrib', ['simulator', 'common'])
--- a/src/core/wscript	Sun Apr 19 14:51:51 2009 +0100
+++ b/src/core/wscript	Mon Apr 20 17:39:54 2009 +0100
@@ -41,7 +41,7 @@
                                  conf.env['ENABLE_THREADING'],
                                  "<pthread.h> include not detected")
 
-    conf.write_config_header('ns3/core-config.h')
+    conf.write_config_header('ns3/core-config.h', project_root_relative=True)
 
 def build(bld):
     core = bld.create_ns3_module('core')
--- a/src/simulator/wscript	Sun Apr 19 14:51:51 2009 +0100
+++ b/src/simulator/wscript	Mon Apr 20 17:39:54 2009 +0100
@@ -31,7 +31,7 @@
 
     conf.check(header_name='sys/inttypes.h', define_name='HAVE_SYS_INT_TYPES_H')
 
-    conf.write_config_header('ns3/simulator-config.h')
+    conf.write_config_header('ns3/simulator-config.h', project_root_relative=True)
 
     if not conf.check(lib='rt', uselib='RT', define_name='HAVE_RT'):
         conf.report_optional_feature("RealTime", "Real Time Simulator",
--- a/src/wscript	Sun Apr 19 14:51:51 2009 +0100
+++ b/src/wscript	Mon Apr 20 17:39:54 2009 +0100
@@ -67,7 +67,7 @@
 
 
 def create_ns3_module(bld, name, dependencies=()):
-    module = bld.new_task_gen('cxx', 'objects')
+    module = bld.new_task_gen('cxx')
     module.name = 'ns3-' + name
     module.target = module.name
     module.add_objects = ['ns3-' + dep for dep in dependencies]
Binary file waf has changed
--- a/wscript	Sun Apr 19 14:51:51 2009 +0100
+++ b/wscript	Mon Apr 20 17:39:54 2009 +0100
@@ -499,7 +499,7 @@
     "run the NS-3 unit tests"
     Scripting.build(bld)
     ## generate the trace sources list docs
-    env = bld.env
+    env = wutils.bld.env
     proc_env = wutils.get_proc_env()
     try:
         program_obj = wutils.find_program('print-introspected-doxygen', env)