-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
46 lines (30 loc) · 873 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
37
38
39
40
41
42
43
44
45
46
AC_PREREQ(2.59)
AC_INIT([Unimodularity Library], [1.2b], [https://github.com/xammy/unimodularity-test/wiki])
AM_INIT_AUTOMAKE
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src/])
AC_CONFIG_HEADER([config.h])
AC_DEFINE([NDEBUG],[],[No-debug Mode])
# Checks for programs.
AC_PROG_CXX
# Checks for libraries.
# Checks for header files.
# Set language to C++, otherwise MAXOPT will check for CC compiler vendor and not CXX compiler vendor
AC_LANG(C++)
# Check for optimization and warnings
AX_COMPILER_VENDOR
AX_CXX_MAXOPT
AX_CXXFLAGS_WARN_ALL
AC_HEADER_ASSERT
AC_PROG_LIBTOOL
AX_BOOST_BASE(1.43.0)
if test "x$want_boost" != "xyes"; then
AC_MSG_ERROR([Sorry, but building without boost is not possible!])
fi
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
AC_CONFIG_FILES([
Makefile
src/Makefile
])
AC_OUTPUT