summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2017-04-12 21:58:56 +0200
committerDavid Tardon <dtardon@redhat.com>2017-04-12 22:00:40 +0200
commit77546ec3587c831846829f6635d91f0d1dd47e27 (patch)
tree516af9e8fecfc48efda94ca7b8fa9f3da1453727 /configure.ac
parent66f71c7e8b68a3e35e258ff1131f5e3d27fd9e85 (diff)
drop obsolete check for boost/function.hpp
Change-Id: I95b968b7ba13481d246fde7471b02f821372e1fd
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 0 insertions, 11 deletions
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