From 77546ec3587c831846829f6635d91f0d1dd47e27 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Wed, 12 Apr 2017 21:58:56 +0200 Subject: drop obsolete check for boost/function.hpp Change-Id: I95b968b7ba13481d246fde7471b02f821372e1fd --- configure.ac | 11 ----------- 1 file changed, 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 -]], [[]])],[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 -- cgit