From 4f2f8ef4cbfa3ac90e513e7b043c3d0609f3fd6b Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sun, 9 Feb 2014 12:18:43 -0800 Subject: [PATCH] Make missing boost libraries a configure error. Closes #1707. --- aegisub/configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/aegisub/configure.ac b/aegisub/configure.ac index f5a223c47..b5cce0e56 100644 --- a/aegisub/configure.ac +++ b/aegisub/configure.ac @@ -227,6 +227,14 @@ PKG_CHECK_MODULES(ICU_I18N, icu-i18n >= icu_required_version) ######## ## boost ######## +AS_IF([test x$ax_cv_boost_asio != xyes], [AC_MSG_FAILURE([Boost.asio is requirdd])]) +AS_IF([test x$ax_cv_boost_chrono != xyes], [AC_MSG_FAILURE([Boost.chrono is requirdd])]) +AS_IF([test x$ax_cv_boost_filesystem != xyes], [AC_MSG_FAILURE([Boost.filesystem is requirdd])]) +AS_IF([test x$ax_cv_boost_locale != xyes], [AC_MSG_FAILURE([Boost.locale is requirdd])]) +AS_IF([test x$ax_cv_boost_regex != xyes], [AC_MSG_FAILURE([Boost.regex is requirdd])]) +AS_IF([test x$ax_cv_boost_system != xyes], [AC_MSG_FAILURE([Boost.system is requirdd])]) +AS_IF([test x$ax_cv_boost_thread != xyes], [AC_MSG_FAILURE([Boost.thread is requirdd])]) + AS_IF([test x$enable_sanity_checks != xno], [ AC_AGI_COMPILE([boost ICU support], [boost_icu], [$BOOST_CPPFLAGS], [$BOOST_LDFLAGS $BOOST_REGEX_LIB $ICU_UC_LIBS $ICU_I18N_LIBS],[