-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigure.ac
More file actions
73 lines (52 loc) · 1.77 KB
/
configure.ac
File metadata and controls
73 lines (52 loc) · 1.77 KB
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
# Process this file with autoconf to produce a configure script.
#########################
# Initializations #
#########################
m4_define([synapse_major], [2])
m4_define([synapse_minor], [0])
m4_define([synapse_micro], [1])
m4_define([synapse_version], [synapse_major.synapse_minor.synapse_micro])
# Initialize autoconf & define package name, version and bug-report address
AC_INIT(Synapse, [synapse_version], tools@bsc.es)
# GNU Autotools intermediate files are stored in the following directory
AC_CONFIG_AUX_DIR(config)
# Loads some shell variables like host_cpu and host_os, to get the host information
AC_CANONICAL_SYSTEM
# Initialize automake
AM_INIT_AUTOMAKE
AC_PROG_MKDIR_P
# Specify the output configuration header file
AC_CONFIG_HEADERS(config.h)
# Search for libtool support
AC_LIBTOOL_DLOPEN
AC_ENABLE_SHARED
AC_PROG_LIBTOOL
#############################
# Checks for programs #
#############################
AC_PROG_CC(gcc xlc cc)
AC_PROG_CXX(g++ xlC CC)
AC_PROG_CPP
AC_PROG_INSTALL
# Automake 1.10 reports a problem if this is not defined
AM_PROG_CC_C_O
##############################
# Checks for libraries #
##############################
BOOST_REQUIRE([1.36],
[AC_MSG_WARN([This package requires the Boost Shared Pointer, but
it was not found in your system])])
AX_PROG_MRNET
if test "x${MRNET_INSTALLED}" = "xno"; then
AC_MSG_WARN([MRNET libraries not found in your system. Try using '--with-mrnet'])
fi
#############################
# Checks for headers #
#############################
###########################
# Checks for types #
###########################
AC_C_CONST
AC_TYPE_SIZE_T
AC_CONFIG_FILES([Makefile src/Makefile scripts/Makefile test/Makefile doc/Makefile])
AC_OUTPUT