configure.ac 565 Bytes
Newer Older
Lorenz Hüdepohl's avatar
Lorenz Hüdepohl committed
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
AC_INIT([fdep_test], [0.1])
AC_PREREQ([2.59])
AM_INIT_AUTOMAKE([foreign -Wall subdir-objects])

AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])
AM_SILENT_RULES([yes])

# gnu-make fortran module dependencies
m4_include([fdep/fortran_dependencies.m4])
FDEP_F90_GNU_MAKE_DEPS

# necessary tools
AC_PROG_FC
AC_PROG_INSTALL
AM_PROG_CC_C_O

# fortran stuff
AC_FC_MODULE_FLAG
AC_FC_MODULE_OUTPUT_FLAG
AC_FC_FREEFORM

# libtool
LT_INIT

AC_SUBST([AM_CFLAGS])
AC_SUBST([AM_LDFLAGS])
AC_SUBST([FC_MODINC])
AC_SUBST([FC_MODOUT])

AC_CONFIG_FILES([Makefile])
AC_OUTPUT