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
|
|
|
|
2012-08-18 19:01:17 +00:00
|
|
|
# boost::system must be present.
|
|
|
|
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-12-04 12:41:44 +00:00
|
|
|
if test x"$ax_cv_boost_system" != "xyes"; then
|
|
|
|
AC_MSG_ERROR(The Boost System Library was not found.)
|
|
|
|
fi
|
|
|
|
|
2014-05-26 06:49:15 +00:00
|
|
|
# boost::date_time must be present.
|
|
|
|
AX_BOOST_DATE_TIME()
|
|
|
|
|
|
|
|
if test x"$ax_cv_boost_date_time" != "xyes"; then
|
|
|
|
AC_MSG_ERROR(The Boost Date/Time Library was not found.)
|
|
|
|
fi
|
|
|
|
|
2012-02-26 20:44:22 +00:00
|
|
|
AX_BOOST_CHECK_HEADERS([boost/rational.hpp],,[
|
|
|
|
AC_MSG_ERROR([Boost's rational library is required but wasn't found])
|
|
|
|
])
|
2012-04-06 16:01:52 +00:00
|
|
|
|
|
|
|
AX_BOOST_CHECK_HEADERS([boost/logic/tribool.hpp],,[
|
|
|
|
AC_MSG_ERROR([Boost's Tribool library is required but wasn't found])
|
|
|
|
])
|
|
|
|
|
|
|
|
AX_BOOST_CHECK_HEADERS([boost/lexical_cast.hpp],,[
|
|
|
|
AC_MSG_ERROR([Boost's lexical_cast library is required but wasn't found])
|
|
|
|
])
|
|
|
|
|
2015-03-28 15:31:09 +00:00
|
|
|
AX_BOOST_CHECK_HEADERS([boost/math/common_factor.hpp],,[
|
|
|
|
AC_MSG_ERROR([Boost's math library is required but its headers weren't found])
|
2015-03-25 16:16:01 +00:00
|
|
|
])
|
|
|
|
|
2012-04-06 16:01:52 +00:00
|
|
|
AX_BOOST_CHECK_HEADERS([boost/range.hpp],,[
|
|
|
|
AC_MSG_ERROR([Boost's Range library is required but wasn't found])
|
|
|
|
])
|
2012-12-22 18:34:23 +00:00
|
|
|
|
|
|
|
AX_BOOST_CHECK_HEADERS([boost/variant.hpp],,[
|
|
|
|
AC_MSG_ERROR([Boost's variant library is required but wasn't found])
|
|
|
|
])
|