Skip to content

Commit

Permalink
Compatibility module for dunecontrol-driven clients
Browse files Browse the repository at this point in the history
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")
  • Loading branch information
rolk committed Aug 10, 2013
1 parent 0085436 commit c164fbd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions m4/opm_polymer.m4
Original file line number Diff line number Diff line change
@@ -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],[])

0 comments on commit c164fbd

Please sign in to comment.