[Xorp-users] SCons confdefs

Bruce Simpson bms at incunabulum.net
Thu Jul 16 12:14:39 PDT 2009


Bruce Simpson wrote:
>     It's a known issue with SCons that the confdefs.h file support, 
> normally handled by the Check*() family of functions, is currently 
> broken -- the file is not generated, therefore manual header 
> prerequisites in xorp/site_scons/config/allconfig.py are needed. This 
> would make dealing with the above issues much easier.

I've opened a ticket for SCons on tigris about this:
    http://scons.tigris.org/issues/show_bug.cgi?id=2455

    It's a known issue that config.h itself is not visible from the 
tests. One of the issues here is that every SCons test has its own 
little sandbox -- which we like, but for compound feature tests (e.g. do 
we have sys/socket.h and routing sockets) it's a pain in the behind.

    It may well just be easier to pull in the results of the tests to 
the SCons environment object ('env') -- it is only really an issue if we 
split the network stack tests in SCons up like we did for GNU m4/autoconf.

    I am rushing to get SCons to replace gmake/autotools for install 
right now. This is almost ready and will be live once the community 
branch re-opens.

cheers
BMS



More information about the Xorp-users mailing list