]> git.saurik.com Git - apple/ipsec.git/blob - ipsec-tools/Common/config.h
ipsec-34.0.2.tar.gz
[apple/ipsec.git] / ipsec-tools / Common / config.h
1
2
3 /* If printf doesn't support %zu. */
4 #undef BROKEN_PRINTF
5
6 /* Enable admin port */
7 #define ENABLE_ADMINPORT 1
8
9 /* Enable VPN control port */
10 #define ENABLE_VPNCONTROL_PORT 1
11
12 /* Enable dead peer detection */
13 #define ENABLE_DPD 1
14
15 /* IKE fragmentation support */
16 #undef ENABLE_FRAG
17
18 /* Hybrid authentication support */
19 #define ENABLE_HYBRID 1
20
21 /* Enable NAT-Traversal */
22 #define ENABLE_NATT 1
23
24 #ifndef __APPLE__
25 /* our kernel does not have support for versions 00 or 01 */
26 /* Enable NAT-Traversal draft 00 */
27 #undef ENABLE_NATT_00
28
29 /* Enable NAT-Traversal draft 01 */
30 #undef ENABLE_NATT_01
31 #endif /* __APPLE__ */
32
33 /* Enable NAT-Traversal draft 02 */
34 #define ENABLE_NATT_02 1
35
36 /* Enable NAT-Traversal draft 03 */
37 #define ENABLE_NATT_03 1
38
39 /* Enable NAT-Traversal draft 04 */
40 #define ENABLE_NATT_04 1
41
42 /* Enable NAT-Traversal draft 05 */
43 #define ENABLE_NATT_05 1
44
45 /* Enable NAT-Traversal draft 06 */
46 #define ENABLE_NATT_06 1
47
48 /* Enable NAT-Traversal draft 07 */
49 #define ENABLE_NATT_07 1
50
51 /* Enable NAT-Traversal draft 08 */
52 #define ENABLE_NATT_08 1
53
54 /* Enable NAT-Traversal APPLE version */
55 #define ENABLE_NATT_APPLE 1
56
57 /* Enable NAT-Traversal RFC version */
58 #define ENABLE_NATT_RFC 1
59
60 /* Enable samode-unspec */
61 #undef ENABLE_SAMODE_UNSPECIFIED
62
63 /* Enable statictics */
64 //#define ENABLE_STATS 1
65
66 /* Define to 1 if you have the <dlfcn.h> header file. */
67 #define HAVE_DLFCN_H 1
68
69 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
70 #undef HAVE_DOPRNT
71
72 /* Have __func__ macro */
73 #define HAVE_FUNC_MACRO 1
74
75 /* Define to 1 if you have the `gettimeofday' function. */
76 #define HAVE_GETTIMEOFDAY 1
77
78 /* Enable GSS API */
79 #define HAVE_GSSAPI 1
80
81 /* Have iconv using const */
82 #define HAVE_ICONV_2ND_CONST 1
83
84 /* Define to 1 if you have the <inttypes.h> header file. */
85 #define HAVE_INTTYPES_H 1
86
87 /* Have ipsec_policy_t */
88 #undef HAVE_IPSEC_POLICY_T
89
90 /* Hybrid authentication uses PAM */
91 #define HAVE_LIBPAM 1
92
93 /* Hybrid authentication uses RADIUS */
94 #undef HAVE_LIBRADIUS
95
96 /* Define to 1 if you have the <limits.h> header file. */
97 #define HAVE_LIMITS_H 1
98
99 /* Define to 1 if you have the <memory.h> header file. */
100 #define HAVE_MEMORY_H 1
101
102 /* Use <netinet6/ipsec.h> */
103 #define HAVE_NETINET6_IPSEC 1
104
105 #define HAVE_GETIFADDRS 1
106
107 /* Define to 1 if you have the <openssl/aes.h> header file. */
108 #define HAVE_OPENSSL_AES_H 1
109
110 /* Define to 1 if you have the <openssl/engine.h> header file. */
111 #define HAVE_OPENSSL_ENGINE_H 1
112
113 /* Define to 1 if you have the <openssl/idea.h> header file. */
114 #undef HAVE_OPENSSL_IDEA_H
115
116 /* Define to 1 if you have the <openssl/rc5.h> header file. */
117 #define HAVE_OPENSSL_RC5_H 1
118
119 /* Define to 1 if you have the `pam_start' function. */
120 #define HAVE_PAM_START 1
121
122 /* Are PF_KEY policy priorities supported? */
123 #undef HAVE_PFKEY_POLICY_PRIORITY
124
125 /* Have forward policy */
126 #undef HAVE_POLICY_FWD
127
128 /* Define to 1 if you have the `rad_create_request' function. */
129 #undef HAVE_RAD_CREATE_REQUEST
130
131 /* Is readline available? */
132 #undef HAVE_READLINE
133
134 /* Define to 1 if you have the `select' function. */
135 #define HAVE_SELECT 1
136
137 /* sha2 is defined in sha.h */
138 #define HAVE_SHA2_IN_SHA_H 1
139
140 /* Define to 1 if you have the <shadow.h> header file. */
141 #undef HAVE_SHADOW_H
142
143 /* Define to 1 if you have the `socket' function. */
144 #define HAVE_SOCKET 1
145
146 /* Define to 1 if you have the <stdarg.h> header file. */
147 #define HAVE_STDARG_H 1
148
149 /* Define to 1 if you have the <stdint.h> header file. */
150 #define HAVE_STDINT_H 1
151
152 /* Define to 1 if you have the <stdlib.h> header file. */
153 #define HAVE_STDLIB_H 1
154
155 /* Define to 1 if you have the `strdup' function. */
156 #define HAVE_STRDUP 1
157
158 /* Define to 1 if you have the `strerror' function. */
159 #define HAVE_STRERROR 1
160
161 /* Define to 1 if you have the <strings.h> header file. */
162 #define HAVE_STRINGS_H 1
163
164 /* Define to 1 if you have the <string.h> header file. */
165 #define HAVE_STRING_H 1
166
167 /* Define to 1 if you have the `strlcat' function. */
168 #define HAVE_STRLCAT 1
169
170 /* Define to 1 if you have the `strlcpy' function. */
171 #define HAVE_STRLCPY 1
172
173 /* Define to 1 if you have the `strtol' function. */
174 #define HAVE_STRTOL 1
175
176 /* Define to 1 if you have the `strtoul' function. */
177 #define HAVE_STRTOUL 1
178
179 /* Define to 1 if you have the <sys/stat.h> header file. */
180 #define HAVE_SYS_STAT_H 1
181
182 /* Define to 1 if you have the <sys/time.h> header file. */
183 #define HAVE_SYS_TIME_H 1
184
185 /* Define to 1 if you have the <sys/types.h> header file. */
186 #define HAVE_SYS_TYPES_H 1
187
188 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
189 #define HAVE_SYS_WAIT_H 1
190
191 /* Define to 1 if you have the <unistd.h> header file. */
192 #define HAVE_UNISTD_H 1
193
194 /* Define to 1 if you have the <varargs.h> header file. */
195 #define HAVE_VARARGS_H 1
196
197 /* Define to 1 if you have the `vprintf' function. */
198 #define HAVE_VPRINTF 1
199
200 /* Support IPv6 */
201 #define INET6 1
202
203 /* Use advanced IPv6 API */
204 #define INET6_ADVAPI 1
205
206 /* Name of package */
207 #undef PACKAGE
208
209 /* Define to the address where bug reports for this package should be sent. */
210 #undef PACKAGE_BUGREPORT
211
212 /* Define to the full name of this package. */
213 #undef PACKAGE_NAME
214
215 /* Define to the full name and version of this package. */
216 #undef PACKAGE_STRING
217
218 /* Define to the one symbol short name of this package. */
219 #undef PACKAGE_TARNAME
220
221 /* Define to the version of this package. */
222 #undef PACKAGE_VERSION
223
224 /* Define as the return type of signal handlers (`int' or `void'). */
225 #define RETSIGTYPE int
226
227 /* Define to 1 if you have the ANSI C header files. */
228 #define STDC_HEADERS 1
229
230 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
231 #define TIME_WITH_SYS_TIME 1
232
233 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
234 #define TM_IN_SYS_TIME 1
235
236 /* A 'va_copy' style function */
237 #undef VA_COPY
238
239 /* Version number of package */
240 #undef VERSION
241
242 /* SHA2 support */
243 #define WITH_SHA2 1
244
245 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
246 `char[]'. */
247 #define YYTEXT_POINTER 1
248
249 /* Define to empty if `const' does not conform to ANSI C. */
250 #undef const
251
252 /* Define to `int' if <sys/types.h> does not define. */
253 #undef pid_t
254
255 /* Define to `unsigned' if <sys/types.h> does not define. */
256 #undef size_t