Unfortunately, it turns out that this is quite complex to fix in a way that simultaneously supports:
(a) versions of Boost before v1.42
(b) versions of Boost >=1.42
(c) the Autotools build system
(d) the CMake build system
As a result, I have bumped the Boost dependency to 1.42, so that it should work correctly for all newer OS installations.
If anyone is prepared to submit a patch for older Boost version, I'll very happily apply it, but I'm afraid the best solution may be to install a newer library!
Unfortunately, it turns out that this is quite complex to fix in a way that simultaneously supports:
(a) versions of Boost before v1.42
(b) versions of Boost >=1.42
(c) the Autotools build system
(d) the CMake build system
As a result, I have bumped the Boost dependency to 1.42, so that it should work correctly for all newer OS installations.
If anyone is prepared to submit a patch for older Boost version, I'll very happily apply it, but I'm afraid the best solution may be to install a newer library!