Hi Marco, I've checked in the Boost detection logic for SCons to public SVN now, I hope this useful to you.
I've spent some hours reviewing the code base for low-hanging refactoring fruit. My initial conclusion is that we're best off doing this on a subsystem-by-subsystem basis, due to the nature of the changes involved. Introducing Thrift is likely to obsolete a lot of the code in libxorp as it stands; so perhaps that needs to happen before further introduction of Boost, at least in the main line of development. Also, libcomm will probably have to be spliced into Boost.ASIO; their socket API has many gaps. In an experimental Hg branch, Boost.Regex is a drop-in replacement for POSIX regex using its C API. Normally we require pcre/pcreposix for policy and the xorpsh pipe feature on Linux platforms; Boost.Regex ships as a shared library, so we can cut over to it easily. This is perhaps the easiest change we can make for introducing Boost into XORP, in the very beginning. If you come up with anything else, we are very happy to review patches. thanks, BMS _______________________________________________ Xorp-hackers mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
