blob: fc5c707afa381952518a00900772c37b46e31aa1 (
plain)
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
|
/*
* New defines for minimizing the size of the server, to strip
* out functionality.
*
* This is a hack and should be removed when the protocols are moved
* into individual modules.
*/
#ifndef WITHOUT_PROXY
# define WITH_PROXY (1)
#else
# define WITHOUT_COA (1)
#endif
#ifndef WITHOUT_UNLANG
# define WITH_UNLANG (1)
#endif
#ifndef WITHOUT_ACCOUNTING
# define WITH_ACCOUNTING (1)
#endif
#ifdef WITH_ACCOUNTING
# ifndef WITHOUT_DETAIL
# define WITH_DETAIL (1)
# endif
#endif
#ifdef WITH_ACCOUNTING
# ifndef WITHOUT_SESSION_MGMT
# define WITH_SESSION_MGMT (1)
# endif
#endif
#ifndef WITHOUT_DYNAMIC_CLIENTS
# define WITH_DYNAMIC_CLIENTS (1)
#endif
#ifndef WITHOUT_STATS
# define WITH_STATS
#endif
#ifndef WITHOUT_COMMAND_SOCKET
# ifdef HAVE_SYS_UN_H
# define WITH_COMMAND_SOCKET (1)
# endif
#endif
#ifndef WITHOUT_COA
# define WITH_COA (1)
# ifndef WITH_PROXY
# error WITH_COA requires WITH_PROXY
# endif
#endif
#ifdef WITHOUT_TLS
# ifndef HAVE_OPENSSL_SSL_H
# error TLS requires OpenSSL
# endif
#else
# ifdef HAVE_OPENSSL_SSL_H
# ifndef WITH_TLS
# ifndef NO_OPENSSL
# define WITH_TLS (1)
# endif
# endif
# endif
#endif
#ifdef WITH_TLS
# ifdef WITH_COA
# ifndef WITHOUT_COA_TUNNEL
# define WITH_COA_TUNNEL (1)
# endif
# endif
#endif
#ifdef WITH_COA_TUNNEL
# ifdef WITHOUT_TLS
# error Reverse CoA requests requires TLS
# endif
#endif
|