opm-core/m4
Bård Skaflestad 11d90ddeab Add AC macro to determine how to link Boost.Test
Details:
Test suites based on Boost.Test must know how to include the library
support code into the executables.  If the Boost.Test library is
dynamically linked, then test suites must define the pre-processor
symbol "BOOST_TEST_DYN_LINK".  Otherwise, this symbol must *not* be
defined.

Resolution:
Introduce a new Autoconf macro, OPM_DYNLINK_BOOST_TEST, that defines a
secondary symbol--HAVE_DYNAMIC_BOOST_TEST--if the local computer system
uses dynamic linking.  Test suites (e.g., tests/param_test.cpp) may then
inspect this symbol to determine whether or not to #define
BOOST_TEST_DYN_LINK.

Call the macro from "configure.ac".

Suggested by: Joakim Hove
2012-06-27 16:26:52 +02:00
..
agmg.m4 Don't use AC_REQUIRE within a conditional. 2012-06-05 19:56:17 +02:00
ax_blas.m4 Import BLAS/LAPACK Autoconf support from mainline GNU repo 2010-09-28 12:14:13 +00:00
ax_boost_base.m4 Now detects boost and compiles some tests. 2011-12-19 15:26:26 +01:00
ax_boost_date_time.m4 Now detects boost and compiles some tests. 2011-12-19 15:26:26 +01:00
ax_boost_filesystem.m4 Now detects boost and compiles some tests. 2011-12-19 15:26:26 +01:00
ax_boost_system.m4 Now detects boost and compiles some tests. 2011-12-19 15:26:26 +01:00
ax_boost_unit_test_framework.m4 Now detects boost and compiles some tests. 2011-12-19 15:26:26 +01:00
ax_dune_common.m4 AX_DUNE_COMMON: Enable result caching. 2012-05-23 19:00:45 +02:00
ax_dune_istl.m4 AX_DUNE_ISTL: Enable result caching. 2012-05-23 19:17:08 +02:00
ax_lapack.m4 Import BLAS/LAPACK Autoconf support from mainline GNU repo 2010-09-28 12:14:13 +00:00
opm_dynlink_boost_test.m4 Add AC macro to determine how to link Boost.Test 2012-06-27 16:26:52 +02:00
opm_lapack.m4 Revamp Fortran support in preparation of enabling Notay's AGMG solver. 2012-06-05 18:40:36 +02:00