Compatibility module for dunecontrol-driven clients

If a client generated with duneproject/built with dunecontrol has a
dependency to opm-polymer, the macros defined in this file is expected
to exist and will be called to search for the opm-polymer library.

All that is done here is to use the pkg-config helper module and
import the configuration that was written by the CMake system (which
even may have been called earlier in the same dunecontrol "session")
This commit is contained in:
Roland Kaufmann
2013-05-24 11:41:05 +02:00
parent a6aab48b2c
commit fb0aab35d4

12
m4/opm_polymer.m4 Normal file
View File

@@ -0,0 +1,12 @@
dnl -*- autoconf -*-
dnl locate opm-polymer library itself; this macro is called by every module
dnl that depends on opm-polymer.
AC_DEFUN([OPM_POLYMER_CHECK_MODULE],
[
OPM_CHECK_PKG_MODULE([opm-polymer],[1.0],[OPM module for polymer simulations])
])
dnl find all prerequisites of opm-polymer; nothing to do here since this
dnl is done by the CMake module and then stored in the -config file.
AC_DEFUN([OPM_POLYMER_CHECKS],[])