-
Notifications
You must be signed in to change notification settings - Fork 20
/
configure.ac
68 lines (58 loc) · 1.5 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
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
AC_INIT(ALARA,2.9.1rc,[email protected])
AC_LANG(C++)
AC_CONFIG_SRCDIR([src/alara.C])
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER([config.h])
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
# AC_PROG_F77([g77 f77])
# Fix this when F90 support is figured out
# AC_PROG_F90
AC_PROG_RANLIB
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_PATH_PROG(PERLPATH,perl)
# AC_F77_LIBRARY_LDFLAGS ### Check autoconf manual
# Enable warnings on most compilers
CXXFLAGS='-Wall'
# Checks for libraries.
# FIXME: Replace `main' with a function in `-lg2c':
# FIXED: PPHW
# AC_CHECK_LIB([g2c], [d_sin],[],[],[-lm])
### IS THIS REDUNDANT?
# FIXME: Replace `main' with a function in `-lm':
# FIXED: PPHW
AC_CHECK_LIB([m], [sin])
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h unistd.h])
# Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
AC_STRUCT_TM
# Checks for library functions.
AC_FUNC_ERROR_AT_LINE
AC_FUNC_STAT
AC_FUNC_STRTOD
AC_FUNC_VPRINTF
AC_CHECK_FUNCS([pow strchr strcspn strstr])
AC_CONFIG_FILES([Makefile
src/DataLib/Makefile
src/Makefile
tools/Makefile
tools/extract_pathways
tools/summary
doc/Makefile
doc/usersguide/Makefile
data/Makefile
sample/Makefile
sample/data/Makefile
developer-info/Makefile
developer-info/doxyalara
])
AC_OUTPUT