forked from OPM/opm-upscaling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
48 lines (42 loc) · 1.33 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.50)
DUNE_AC_INIT # gets module version from dune.module file
AM_INIT_AUTOMAKE
# Use "silent" rules by default if available in the Automake being used to
# process this setup. See, e.g.,
#
# http://www.flameeyes.eu/autotools-mythbuster/automake/silent.html
#
# for details, particularly concerning the backwards compatibility.
#
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_CONFIG_SRCDIR([dune/upscaling/SinglePhaseUpscaler.hpp])
AM_CONFIG_HEADER([config.h])
# we need no more than the standard DE-stuff
# this module depends on dune-common dune-grid dune-istl dune-cornerpoint opm-porsol
# this implies checking for [dune-common], [dune-grid], [dune-istl], [dune-cornerpoint], [opm-porsol]
DUNE_CHECK_ALL
AC_LANG_PUSH([C++])
m4_ifdef([AC_OPENMP], [AC_OPENMP])
AC_LANG_POP([C++])
# implicitly set the Dune-flags everywhere
AC_SUBST(AM_CPPFLAGS, '$(DUNE_CPPFLAGS) -I$(top_srcdir)')
AC_SUBST(AM_LDFLAGS, $DUNE_LDFLAGS)
LIBS="$DUNE_LIBS"
AC_CONFIG_FILES([
Makefile
m4/Makefile
doc/Makefile
doc/doxygen/Makefile
doc/doxygen/Doxyfile
dune/Makefile
dune/upscaling/Makefile
dune/elasticity/Makefile
dune/upscaling/test/Makefile
opm-upscaling.pc
examples/Makefile
])
AC_OUTPUT
# finally print the summary information
DUNE_SUMMARY_ALL