configure: test for Boost's "variant" library

This commit is contained in:
Moritz Bunkus 2012-12-22 19:34:23 +01:00
parent b68a750ab4
commit b57b7f8f71
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-12-22 Moritz Bunkus <moritz@bunkus.org>
* Build system: Boost's "variant" library is now required.
2012-12-17 Moritz Bunkus <moritz@bunkus.org> 2012-12-17 Moritz Bunkus <moritz@bunkus.org>
* mkvmerge: bug fix: ISO 639-2 language handling: The deprecated * mkvmerge: bug fix: ISO 639-2 language handling: The deprecated

2
README
View File

@ -80,7 +80,7 @@ programs and libraries you absolutely need are:
- Boost ( http://www.boost.org/ ) -- Several of Boost's libraries are - Boost ( http://www.boost.org/ ) -- Several of Boost's libraries are
used: "format", "RegEx", "filesystem", "system", "foreach", used: "format", "RegEx", "filesystem", "system", "foreach",
"Range", "rational". At least v1.46.0 is required. "Range", "rational", "variant". At least v1.46.0 is required.
You also need the "rake" or "drake" build program or at least the You also need the "rake" or "drake" build program or at least the
programming language Ruby and the "rubygems" package. MKVToolNix comes programming language Ruby and the "rubygems" package. MKVToolNix comes

View File

@ -41,3 +41,7 @@ AX_BOOST_CHECK_HEADERS([boost/type_traits/is_unsigned.hpp],,[
AX_BOOST_CHECK_HEADERS([boost/range.hpp],,[ AX_BOOST_CHECK_HEADERS([boost/range.hpp],,[
AC_MSG_ERROR([Boost's Range library is required but wasn't found]) AC_MSG_ERROR([Boost's Range library is required but wasn't found])
]) ])
AX_BOOST_CHECK_HEADERS([boost/variant.hpp],,[
AC_MSG_ERROR([Boost's variant library is required but wasn't found])
])