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