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