[Libreoffice-commits] core.git: configure.ac
David Tardon
dtardon at redhat.com
Wed Apr 12 20:05:42 UTC 2017
configure.ac | 11 -----------
1 file changed, 11 deletions(-)
New commits:
commit 77546ec3587c831846829f6635d91f0d1dd47e27
Author: David Tardon <dtardon at redhat.com>
Date: Wed Apr 12 21:58:56 2017 +0200
drop obsolete check for boost/function.hpp
Change-Id: I95b968b7ba13481d246fde7471b02f821372e1fd
diff --git a/configure.ac b/configure.ac
index 505c15d6dd05..21691d71097c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8851,17 +8851,6 @@ if test "$with_system_boost" = "yes"; then
[AC_MSG_ERROR(boost/shared_ptr.hpp not found. install boost)], [])
AC_CHECK_HEADER(boost/spirit/include/classic_core.hpp, [],
[AC_MSG_ERROR(boost/spirit/include/classic_core.hpp not found. install boost >= 1.36)], [])
- AC_CHECK_HEADER(boost/function.hpp, [],
- [AC_MSG_ERROR(boost/function.hpp not found. install boost)], [])
- CXXFLAGS="$CXXFLAGS -fno-exceptions"
- AC_MSG_CHECKING([whether boost/function.hpp compiles with -fno-exceptions])
- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <boost/function.hpp>
-]], [[]])],[ac_cv_cxx_boost_no_exceptions_broken=no],[ac_cv_cxx_boost_no_exceptions_broken=yes])
- if test "$ac_cv_cxx_boost_no_exceptions_broken" = "yes"; then
- AC_MSG_ERROR([no, see https://bugzilla.redhat.com/show_bug.cgi?id=477131])
- else
- AC_MSG_RESULT([yes])
- fi
CXXFLAGS=$save_CXXFLAGS
AC_LANG_POP([C++])
# this is in m4/ax_boost_base.m4
More information about the Libreoffice-commits
mailing list