-
Notifications
You must be signed in to change notification settings - Fork 4
/
configure.ac
73 lines (59 loc) · 2.21 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
# this is example-file: configure.ac
# initial information about the project
AC_INIT([NwEpc],[0.19.0],[vicent.ferrerguasch@aalto.fi], [NwEPC], [])
AC_PREREQ([2.68])
# check if the source folder is correct
AC_CONFIG_SRCDIR([nw-mme-emu/NwMmeMain.c])
AC_CONFIG_SRCDIR([nw-sae-gw/NwSaeGwMain.c])
# Checks for programs
# check for C++ preprocessor and compiler and the library compiler
AC_PROG_CXXCPP
AC_PROG_CXX
AM_PROG_AR
LT_INIT([disable-shared])
AC_CONFIG_MACRO_DIRS([m4])
# automake initialisation
AM_INIT_AUTOMAKE([foreign -Wall -Werror])
# use the C compiler for the following checks
AC_LANG([C])
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([string])
AC_CHECK_HEADERS([iostream])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
# distribute additional compiler and linker flags
# --> set these variables instead of CXXFLAGS or LDFLAGS
AC_SUBST([AM_CFLAGS])
AC_SUBST([AM_LDFLAGS])
AM_SILENT_RULES([yes])
# files to generate via autotools (.am or .in source files)
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([nw-event/Makefile])
AC_CONFIG_FILES([nw-event/src/Makefile])
AC_CONFIG_FILES([nw-event/test-app/Makefile])
AC_CONFIG_FILES([nw-ipv4/Makefile])
AC_CONFIG_FILES([nw-ipv4/src/Makefile])
AC_CONFIG_FILES([nw-ipv4/test-app/Makefile])
AC_CONFIG_FILES([nw-ipv4/test-app/nw-helloworld/Makefile])
AC_CONFIG_FILES([nw-gre/Makefile])
AC_CONFIG_FILES([nw-gre/src/Makefile])
AC_CONFIG_FILES([nw-gre/test-app/Makefile])
AC_CONFIG_FILES([nw-gre/test-app/nw-helloworld/Makefile])
AC_CONFIG_FILES([nw-gtpv1u/Makefile])
AC_CONFIG_FILES([nw-gtpv1u/src/Makefile])
AC_CONFIG_FILES([nw-gtpv1u/test-app/Makefile])
AC_CONFIG_FILES([nw-gtpv1u/test-app/nw-helloworld/Makefile])
AC_CONFIG_FILES([nw-gtpv2c/Makefile])
AC_CONFIG_FILES([nw-gtpv2c/src/Makefile])
AC_CONFIG_FILES([nw-gtpv2c/test-app/Makefile])
AC_CONFIG_FILES([nw-gtpv2c/test-app/nw-helloworld/Makefile])
AC_CONFIG_FILES([nw-gtpv2c/test-app/nw-egtping/Makefile])
AC_CONFIG_FILES([nw-sdp/Makefile])
AC_CONFIG_FILES([nw-sdp/src/Makefile])
AC_CONFIG_FILES([nw-sdp/test-app/Makefile])
AC_CONFIG_FILES([nw-sdp/test-app/nw-helloworld/Makefile])
AC_CONFIG_FILES([nw-mme-emu/Makefile])
AC_CONFIG_FILES([nw-sae-gw/Makefile])
# generate the final Makefile etc.
AC_OUTPUT