Bug 1864

Summary: waf configure summary build directory lags configure
Product: ns-3 Reporter: Peter Barnes <pdbarnes>
Component: build systemAssignee: Gustavo J. A. M. Carneiro <gjcarneiro>
Status: NEW ---    
Severity: minor CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   

Description Peter Barnes 2014-03-01 23:15:32 EST
In r10603 eed0cb486e3f I added the build profile and output directory to the summary printed at the end of waf configure:

  $ waf configure --build-profile=optimized --out=build/optimized
  ...
  ---- Summary of optional NS-3 features:
  Build profile                 : optimized
  Build directory               : .../build/optimized
  ...

However, when changing the build profile, the build directory shows the *old* build directory:

  $ waf configure --build-profile=debug --out=build/debug
  ...
  ---- Summary of optional NS-3 features:
  Build profile                 : debug
  Build directory               : .../build/optimized
  ...

If you build now, the output will go to build/debug correctly, but the summary is wrong.  If you run the same configure again, the summary will now be correct.