2011-12-08 14:49:09 +01:00
|
|
|
# -*- Autoconf -*-
|
|
|
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
|
|
2011-12-12 14:57:09 +01:00
|
|
|
AC_PREREQ([2.59])
|
2011-12-08 14:49:09 +01:00
|
|
|
AC_INIT([OPM Core Library], [0.1], [atgeirr@sintef.no],dnl
|
|
|
|
|
[opmcore], [https://public.ict.sintef.no/opm/hg/opmcore])
|
|
|
|
|
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
|
|
|
|
|
|
|
|
|
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
|
|
|
|
|
|
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2011-12-12 11:29:14 +01:00
|
|
|
AC_CONFIG_SRCDIR([opm/core/grid.h])
|
2011-12-08 14:49:09 +01:00
|
|
|
AC_CONFIG_HEADERS([config.h])
|
|
|
|
|
|
|
|
|
|
# Checks for programs.
|
|
|
|
|
AC_PROG_CC
|
2012-01-06 11:22:35 +01:00
|
|
|
AM_PROG_CC_C_O
|
2011-12-08 14:49:09 +01:00
|
|
|
|
2012-06-05 18:40:36 +02:00
|
|
|
m4_ifdef([LT_INIT],
|
|
|
|
|
[LT_INIT[]dnl
|
|
|
|
|
LT_LANG([C++])dnl
|
|
|
|
|
LT_LANG([Fortran 77])dnl
|
|
|
|
|
LT_LANG([Fortran])dnl
|
|
|
|
|
],dnl
|
|
|
|
|
[AC_PROG_LIBTOOL[]dnl
|
|
|
|
|
AC_PROG_CXX[]dnl
|
|
|
|
|
AC_PROG_F77[]dnl
|
|
|
|
|
AC_PROG_FC[]dnl
|
|
|
|
|
])[]dnl
|
2011-12-08 14:49:09 +01:00
|
|
|
|
2012-06-14 18:13:56 +02:00
|
|
|
OPM_CORE_CHECKS
|
2012-04-13 15:35:19 +02:00
|
|
|
|
2012-06-27 16:25:46 +02:00
|
|
|
OPM_DYNLINK_BOOST_TEST
|
|
|
|
|
|
2011-12-08 14:49:09 +01:00
|
|
|
AC_CONFIG_FILES([
|
|
|
|
|
Makefile
|
|
|
|
|
tests/Makefile
|
|
|
|
|
examples/Makefile
|
2012-04-10 17:46:52 +02:00
|
|
|
tutorials/Makefile
|
2011-12-08 14:49:09 +01:00
|
|
|
])
|
|
|
|
|
|
|
|
|
|
AC_OUTPUT
|