...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
You shouldn't need to do anything special to configure Boost.Regex for use with your compiler - the Boost.Config subsystem should already take care of it, if you do have problems (or you are using a particularly obscure compiler or platform) then Boost.Config has a configure script that you can run.