One of the problem with boost is to detect it in configure as there is no pkg-config and there are several modules that some distro tend to split out.

I ended up finding boost.m4 which is a simple m4 file that contain various macros to detect the various boost modules. It also take into account the various flavor of boost, etc.