Bug 260

Summary: Don't generate everything.h header if Python is disabled
Product: ns-3 Reporter: Mathieu Lacage <mathieu.lacage>
Component: build systemAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: gjcarneiro
Priority: P3    
Version: pre-release   
Hardware: All   
OS: All   
Attachments: avoid generating everything.h when uneeded.

Description Mathieu Lacage 2008-07-25 12:05:39 UTC
it would be really helpful if running ./waf configure --python-disable was enough and if we did not have to specify also ./waf --python-disable to build the code, but just "./waf" after the configuration.
Comment 1 Mathieu Lacage 2008-07-25 12:19:25 UTC
ok, it looks like my real problem is that python/everything.h is generated unconditionally, even after configure --python-disable but running ./waf --python-disable disables its generation.
Comment 2 Mathieu Lacage 2008-07-25 20:41:48 UTC
Created attachment 210 [details]
avoid generating everything.h when uneeded.
Comment 3 Mathieu Lacage 2008-07-25 20:42:53 UTC
gustavo, can you review and apply if ok ?
Comment 4 Gustavo J. A. M. Carneiro 2008-07-26 10:06:18 UTC
For the record, --python-disable _is_ a configure option.  It is both configure and build option.  When used in configure, it "sticks", in build it only applies to that build.