Bug 260 - Don't generate everything.h header if Python is disabled
Don't generate everything.h header if Python is disabled
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: build system
pre-release
All All
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-25 12:05 UTC by Mathieu Lacage
Modified: 2008-07-26 10:17 UTC (History)
1 user (show)

See Also:


Attachments
avoid generating everything.h when uneeded. (1021 bytes, patch)
2008-07-25 20:41 UTC, Mathieu Lacage
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.