Disable build kluge that is no longer pertinent

The <have_boost_redef.hpp> header was introduced (commit 82369f9) as
a work-around for a particular interaction in the Autotools-based
setup of OPM-Core and the Dune core modules.  Notably, Dune's
"Enable" trick for Boost failed on some older Autoconf systems.  Now
that we're using CMake, however, that kluge is no longer needed
because we (OPM-Core) always

  #define HAVE_BOOST 1

i.e., as an explict true/false value.

Therefore, we need no longer include <have_boost_redef.hpp> .  The
header will be removed at a later time.
This commit is contained in:
Bård Skaflestad
2013-06-20 23:14:39 +02:00
parent 2b4298f366
commit 33320270fc
3 changed files with 0 additions and 6 deletions

View File

@@ -24,8 +24,6 @@
#include <opm/core/linalg/LinearSolverIstl.hpp>
#include <opm/core/utility/have_boost_redef.hpp>
// Silence compatibility warning from DUNE headers since we don't use
// the deprecated member anyway (in this compilation unit)
#define DUNE_COMMON_FIELDVECTOR_SIZE_IS_METHOD 1

View File

@@ -19,8 +19,6 @@
*/
#include <config.h>
#include <opm/core/utility/have_boost_redef.hpp>
#if defined(HAVE_DYNAMIC_BOOST_TEST)
#define BOOST_TEST_DYN_LINK
#endif

View File

@@ -18,8 +18,6 @@
*/
#include <config.h>
#include <opm/core/utility/have_boost_redef.hpp>
#if defined(HAVE_DYNAMIC_BOOST_TEST)
#define BOOST_TEST_DYN_LINK
#endif