2009-12-10 18:11:24 +00:00
|
|
|
# boost's headers must be present.
|
2011-10-23 18:46:31 +00:00
|
|
|
AX_BOOST_BASE([1.46.0])
|
2009-12-10 18:11:24 +00:00
|
|
|
|
2010-02-10 12:30:54 +00:00
|
|
|
# boost::system can be absend for older versions. However, the test
|
|
|
|
# for boost::filesystem might fail if boost::system is not available
|
|
|
|
# with newer versions.
|
|
|
|
AX_BOOST_SYSTEM()
|
|
|
|
|
2009-12-10 18:11:24 +00:00
|
|
|
# boost::filesystem must be present.
|
|
|
|
AX_BOOST_FILESYSTEM()
|
|
|
|
|
|
|
|
if test x"$ax_cv_boost_filesystem" != "xyes"; then
|
2011-08-08 14:16:53 +00:00
|
|
|
AC_MSG_ERROR(The Boost Filesystem Library was not found.)
|
2009-12-10 18:11:24 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
# boost::regex must be present.
|
2008-08-30 12:45:54 +00:00
|
|
|
AX_BOOST_REGEX()
|
2008-08-30 12:49:25 +00:00
|
|
|
|
|
|
|
if test x"$ax_cv_boost_regex" != "xyes"; then
|
2011-08-08 14:16:53 +00:00
|
|
|
AC_MSG_ERROR(The Boost Regex Library was not found.)
|
2009-11-25 21:29:02 +00:00
|
|
|
fi
|
2010-12-22 22:46:16 +00:00
|
|
|
|
2011-10-23 19:01:05 +00:00
|
|
|
AX_BOOST_CHECK_HEADERS([boost/property_tree/ptree.hpp],,[
|
|
|
|
AC_MSG_ERROR([Boost's property tree library is required but wasn't found])
|
|
|
|
])
|