
Thomas Porschberg wrote:
Hi, I updated the macro. If a path to --with-boost is given I assume there is a installed boost version. E.g. --with-boost=/usr/local means I can find include files under /usr/local/include/boost-* and the libs in /usr/local/lib. If multiple boost-installations are found I take the newest one. If no path was specified I look in /usr /usr/local and /opt and assume an installed boost library (and no staged one). As a last resort I evaluate $BOOST_ROOT. Any further thoughts ?
I typically compile and install boost with the --layout=system option, which produces the same directory layout I get with the boost rpms. I think AX_PATH_BOOST should recognize that, too. (Headers are in <prefix>/include/boost, not <prefix>/include/boost-<version>, and libraries don't contain a version tag in their name.) Regards, Stefan