OPM/opm-core — pull request #2 by bska (2012-06-27 16:44:32+00:00)
Title: Parametrise Usage of Boost.Test Library

This change adds a new Autoconf macro, OPM_DYNLINK_BOOST_TEST, which will assist the creation of portable test suites based on the Boost Unit Test Framework (UTF). Specifically, users of this library must define a particular preprocessor symbol (BOOST_TEST_DYN_LINK) if the UTF must be included from shared objects ('dynamically') and conversely, must *not* define that symbol if the UTF is linked statically.

The OPM_DYNLINK_BOOST_TEST macro provides a facility whereby the BOOST_TEST_DYN_LINK symbol may be defined conditionally depending on the properties of the current computer system at library configure time. OPM-Core's tests currently based on the UTF have been updated to the conditional scheme.

In an unrelated change, add a simple fix to an inverted condition.