-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
73 lines (53 loc) · 1.6 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
dnl $Id: configure.ac,v 1.8.4.1 2007-03-04 03:37:11 manav Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(FESystem, 1.0, [email protected])
AC_CONFIG_SRCDIR([src/fem_main.C])
AC_MSG_RESULT()
AC_MSG_RESULT(----------------- FESystem ----------------- )
AC_MSG_RESULT(----------------- configuration --------------- )
AC_MSG_RESULT()
AM_INIT_AUTOMAKE
dnl find out the information for variable 'host'
AC_CANONICAL_HOST
AM_CONFIG_HEADER(src/FESystem/FESystemConfig.h)
AC_PROG_CC
AC_PROG_CXX
AC_PROG_LIBTOOL
AC_PROG_FC
AC_FC_LIBRARY_LDFLAGS
AC_FC_WRAPPERS
AC_ARG_ENABLE(shared,
AC_HELP_STRING([--enable-shared],
[build shared libraries for all packages]),
enableshared=$enableval,
enableshared=yes)
AC_SUBST(enableshared)
dnl sunstitute the variables that for this package make system
AC_SUBST(host)
AC_SUBST(abs_top_srcdir)
AC_SUBST(CXX)
AC_SUBST(CC)
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(CXXFLAGS)
AC_SUBST(FCFLAGS)
AC_SUBST(FCLIBS)
AC_SUBST(PETSC_ARCH)
AC_SUBST(PETSC_DIR)
AC_SUBST(LIBMESH_ARCH)
AC_SUBST(SLEPC_DIR)
AC_SUBST(HDF5_DIR)
dnl configure the packaged contined in this distribution
AC_CONFIG_SUBDIRS([contrib/deal.II contrib/libmesh])
dnl now build the output
AC_MSG_RESULT()
AC_MSG_RESULT(----------------- creating output --------------- )
AC_MSG_RESULT()
AC_OUTPUT([ Makefile build/Makefile
contrib/Makefile
contrib/ARPACK/Makefile])
AC_MSG_RESULT()
AC_MSG_RESULT(--------------------- FESystem --------------------- )
AC_MSG_RESULT(----------------- configuration complete --------------- )
AC_MSG_RESULT()
dnl configure.ac ends here