Fail if the required boost version is not found, instead of simply saying it...

This commit is contained in:
Olivier Teulière 2010-01-03 19:17:49 +00:00
parent 77735f501e
commit e62cea7210

View file

@ -183,7 +183,7 @@ if test "x$want_boost" = "xyes"; then
if test "$_version" = "0" ; then
AC_MSG_ERROR([[We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.]])
else
AC_MSG_NOTICE([Your boost libraries seems to old (version $_version).])
AC_MSG_ERROR([Your boost libraries is too old (version $_version).])
fi
else
AC_SUBST(BOOST_CPPFLAGS)