mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2025-02-26 08:22:31 +00:00
configure check for boost::algorithm::string
This commit is contained in:
parent
155e0a3170
commit
10ccb35711
5
ac/ax_boost_others.m4
Normal file
5
ac/ax_boost_others.m4
Normal file
@ -0,0 +1,5 @@
|
||||
AC_DEFUN([AX_BOOST_ALGORITHM_STRING],[
|
||||
AC_LANG_PUSH(C++)
|
||||
AC_CHECK_HEADERS(boost/algorithm/string.hpp, , ax_cv_boost_algorithm_string=no)
|
||||
AC_LANG_POP()
|
||||
])
|
@ -46,3 +46,9 @@ fi
|
||||
if test x"$ax_cv_boost_property_tree" = "xincluded"; then
|
||||
EXTRA_CFLAGS="-I$boost_exception_dir $EXTRA_CFLAGS -I$boost_property_tree_dir"
|
||||
fi
|
||||
|
||||
# boost::algorithm::string must be present
|
||||
AX_BOOST_ALGORITHM_STRING()
|
||||
if test x"$ax_cv_boost_algorithm_string" = xno ; then
|
||||
AC_MSG_ERROR(The Boost String Algorithm Library was not found.)
|
||||
fi
|
||||
|
@ -46,6 +46,7 @@ m4_include(ac/ax_boost_foreach.m4)
|
||||
m4_include(ac/ax_boost_property_tree.m4)
|
||||
m4_include(ac/ax_boost_regex.m4)
|
||||
m4_include(ac/ax_boost_system.m4)
|
||||
m4_include(ac/ax_boost_others.m4)
|
||||
m4_include(ac/boost.m4)
|
||||
m4_include(ac/etags.m4)
|
||||
m4_include(ac/pandoc.m4)
|
||||
|
Loading…
Reference in New Issue
Block a user