Support for Boost::Filesystem v3 in REDHAWK 1.9

Starting with boost 1.44 the boost::Filesystem API was modified for simplicity removing the ‘template <class path>’, with a non-template implementation. Boost, for backward compatibility, added a macro “BOOST_FILESYSTEM_VERSION” with valid numbers of 2(v2) and 3(v3). 

By default Boost versions 1.44 and 1.45, support both v2 and v3, but the default reference is boost::Filesystem v2. Boost 1.46+ defaults to v3. REDHAWK’s top level configure.ac file was modified for building with Ubuntu to add the Boost macro for specifying the boost::Filesystem by including ‘AC_DEFINE(BOOST_FILESYSTEM_VERSION,2)’. This macro forces Boost(1.44 – 1.49) to reference the v2 boost::Filesystem. However, starting in Boost version 1.50 boost::Filesystem v2 was removed. 

To build REDHAWK with boost::Filesystem v3 every instance that utilized the path template for the filesystem must be modified. 

I have patched REDHAWK 1.9 that allows for building with boost::Filesystem v3(boost 1.44 and above).