-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfigure.ac
106 lines (89 loc) · 2.18 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(ext, v0.0.1, nox-dev@nicira.com)
AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE
AC_PROG_CXX
AC_PROG_CC
AC_PROG_CPP
dnl AC_USE_SYSTEM_EXTENSIONS
AC_SYS_LARGEFILE
AC_DISABLE_STATIC
AC_LIBTOOL_DLOPEN
AC_PROG_LIBTOOL
CHECK_OPENFLOW
AC_CHECK_FUNCS([fdatasync])
AC_CONFIG_SRCDIR([apps/])
AC_CONFIG_HEADER([config.h])
AX_BOOST_BASE([1.34.1])
AX_BOOST_FILESYSTEM
if test "$ax_cv_boost_filesystem" != "yes"; then
AC_MSG_ERROR([cannot find the Boost::Filesystem library])
fi
AX_LIB_XERCES([2.7.0])
if test "x$HAVE_XERCES" != "xyes"; then
AC_MSG_ERROR([cannot find the Apache Xerces library])
fi
CHECK_PCAP
CHECK_SSL
CHECK_NDEBUG
CHECK_PROFILING
CHECK_NETLINK
CHECK_RTC
CHECK_THREAD_LOCAL
CHECK_WITH_VM
CHECK_LTDL
CHECK_LDAP
CHECK_TWISTED
dnl only check for swig if python was enabled
if test -n "$PYTHON"; then
AC_PROG_SWIG(1.3.0)
if test -z "$SWIG"; then
AC_MSG_ERROR([When configured with python, NOX requires swig 1.3.0 or later to be installed])
fi
SWIG_ENABLE_CXX
SWIG_PYTHON
fi
ACI_MODULE([directory_ldap],[LDAP authentication store],
[],[],[yes])
dnl TODO automatically generate the following list of submodules
ACI_MODULE([apps],[main source libarary],
[],
[directory_ldap],
[yes])
ACI_MODULES_VERIFY
AC_SUBST(MODULES_apps)
AC_CONFIG_FILES([
Makefile
apps/Makefile
apps/audit/Makefile
apps/captiveportal/Makefile
apps/ctlflood/Makefile
apps/dhcp/Makefile
apps/directory_ldap/Makefile
apps/directory_nox/Makefile
apps/dwh/Makefile
apps/failover/Makefile
apps/http_redirector/Makefile
apps/exttests/Makefile
apps/exttests/pyunittests/Makefile
apps/ndb/Makefile
apps/pf/Makefile
apps/static_registration/Makefile
apps/userauthportal/Makefile
apps/sepl/Makefile
apps/snackui/Makefile
apps/snackui/help_src/Makefile
apps/dbexplorer/Makefile
apps/webservice_testui/Makefile
apps/miscws/Makefile
apps/debug/Makefile
apps/notification/Makefile
apps/redirproxy/Makefile
apps/restracker/Makefile
apps/local_config/Makefile
apps/local_config/debian/Makefile
apps/local_config/redhat/Makefile
apps/visibility/Makefile
])
AC_OUTPUT