-
Notifications
You must be signed in to change notification settings - Fork 5
/
configure.ac
36 lines (23 loc) · 951 Bytes
/
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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ([2.69])
AC_INIT(ALPS, 1.0, [email protected])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR(src/)
#AC_CONFIG_MACRO_DIRS([m4])
: ${FCFLAGS=""}
# Checks for programs.
AC_PROG_CC([gcc])
AC_PROG_FC([mpifort mpif90 f90 fort gfortran])
AC_LANG([Fortran])
# Checks for libraries.
AC_SEARCH_LIBS(dgesv,blas)
AC_SEARCH_LIBS(dgesv,openblas)
AC_SEARCH_LIBS(dgesv,lapack)
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
#AC_SEARCH_LIBS([h5open_f],[hdf5_fortran])
#AC_ARG_WITH([hdf5],[AS_HELP_STRING([−-with−hdf5=DIR],[enable path for HDF5 library])],[WITH_HDF5="yes" HDF5PATH="$withval"], [WITH_HDF5="no"])
#AM_CONDITIONAL(WITH_HDF5, test x$WITH_HDF5 = xyes)
AC_OUTPUT(Makefile src/Makefile interpolation/Makefile distribution/Makefile)