]> git.saurik.com Git - apple/ipsec.git/blame - ipsec-tools/Common/config.h
ipsec-146.1.tar.gz
[apple/ipsec.git] / ipsec-tools / Common / config.h
CommitLineData
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 */
e8d9021d 18#define ENABLE_FRAG 1
52b7d2ce
A
19
20/* Hybrid authentication support */
21#define ENABLE_HYBRID 1
22
23/* Enable NAT-Traversal */
24#define ENABLE_NATT 1
25
52b7d2ce
A
26/* Enable NAT-Traversal draft 02 */
27#define ENABLE_NATT_02 1
28
29/* Enable NAT-Traversal draft 03 */
30#define ENABLE_NATT_03 1
31
32/* Enable NAT-Traversal draft 04 */
33#define ENABLE_NATT_04 1
34
35/* Enable NAT-Traversal draft 05 */
36#define ENABLE_NATT_05 1
37
38/* Enable NAT-Traversal draft 06 */
39#define ENABLE_NATT_06 1
40
41/* Enable NAT-Traversal draft 07 */
42#define ENABLE_NATT_07 1
43
44/* Enable NAT-Traversal draft 08 */
45#define ENABLE_NATT_08 1
46
47/* Enable NAT-Traversal APPLE version */
48#define ENABLE_NATT_APPLE 1
49
50/* Enable NAT-Traversal RFC version */
51#define ENABLE_NATT_RFC 1
52
53/* Enable samode-unspec */
54#undef ENABLE_SAMODE_UNSPECIFIED
55
56/* Enable statictics */
d1e348cf 57/* #define ENABLE_STATS 1*/ /* causes too many logs to syslog */
52b7d2ce
A
58
59/* Define to 1 if you have the <dlfcn.h> header file. */
60#define HAVE_DLFCN_H 1
61
62/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
63#undef HAVE_DOPRNT
64
65/* Have __func__ macro */
66#define HAVE_FUNC_MACRO 1
67
68/* Define to 1 if you have the `gettimeofday' function. */
69#define HAVE_GETTIMEOFDAY 1
70
71/* Enable GSS API */
d1e348cf
A
72/* %%%%%%% change this back when conflict fixed */
73#undef HAVE_GSSAPI
52b7d2ce
A
74
75/* Have iconv using const */
76#define HAVE_ICONV_2ND_CONST 1
77
78/* Define to 1 if you have the <inttypes.h> header file. */
79#define HAVE_INTTYPES_H 1
80
81/* Have ipsec_policy_t */
82#undef HAVE_IPSEC_POLICY_T
83
84/* Hybrid authentication uses PAM */
d1e348cf
A
85//#define HAVE_LIBPAM 1
86#undef HAVE_LIBPAM
52b7d2ce
A
87
88/* Hybrid authentication uses RADIUS */
89#undef HAVE_LIBRADIUS
90
91/* Define to 1 if you have the <limits.h> header file. */
92#define HAVE_LIMITS_H 1
93
94/* Define to 1 if you have the <memory.h> header file. */
95#define HAVE_MEMORY_H 1
96
d1e348cf
A
97/* Define to 1 if keychain is used */
98#if TARGET_OS_EMBEDDED
99#undef HAVE_KEYCHAIN
100#else
101#define HAVE_KEYCHAIN 1
102#endif
103
104/* Define to 1 if keychain is used */
105#if TARGET_OS_EMBEDDED
106#undef HAVE_SECURITY_FRAMEWORK
107#else
108#define HAVE_SECURITY_FRAMEWORK 1
109#endif
110
111
112/* Define to 1 if Open Dir available */
113#if TARGET_OS_EMBEDDED
114#undef HAVE_OPENDIR
115#else
116#define HAVE_OPENDIR 1
117#endif
118
119#if TARGET_OS_EMBEDDED
120#undef HAVE_LIBLDAP
121#else
122#define HAVE_LIBLDAP 1
123#endif
124
52b7d2ce
A
125#define HAVE_NETINET6_IPSEC 1
126
127#define HAVE_GETIFADDRS 1
128
e8d9021d
A
129#if TARGET_OS_EMBEDDED
130#undef HAVE_OPENSSL
131#else
132#define HAVE_OPENSSL 1
133#endif
134
135#ifdef HAVE_OPENSSL
52b7d2ce
A
136/* Define to 1 if you have the <openssl/aes.h> header file. */
137#define HAVE_OPENSSL_AES_H 1
138
139/* Define to 1 if you have the <openssl/engine.h> header file. */
140#define HAVE_OPENSSL_ENGINE_H 1
141
142/* Define to 1 if you have the <openssl/idea.h> header file. */
143#undef HAVE_OPENSSL_IDEA_H
144
145/* Define to 1 if you have the <openssl/rc5.h> header file. */
146#define HAVE_OPENSSL_RC5_H 1
e8d9021d 147#endif
52b7d2ce
A
148
149/* Define to 1 if you have the `pam_start' function. */
d1e348cf
A
150#if TARGET_OS_EMBEDDED
151#undef HAVE_PAM_START
152#else
52b7d2ce 153#define HAVE_PAM_START 1
d1e348cf 154#endif
52b7d2ce
A
155
156/* Are PF_KEY policy priorities supported? */
157#undef HAVE_PFKEY_POLICY_PRIORITY
158
159/* Have forward policy */
160#undef HAVE_POLICY_FWD
161
162/* Define to 1 if you have the `rad_create_request' function. */
163#undef HAVE_RAD_CREATE_REQUEST
164
165/* Is readline available? */
166#undef HAVE_READLINE
167
168/* Define to 1 if you have the `select' function. */
169#define HAVE_SELECT 1
170
171/* sha2 is defined in sha.h */
172#define HAVE_SHA2_IN_SHA_H 1
173
174/* Define to 1 if you have the <shadow.h> header file. */
175#undef HAVE_SHADOW_H
176
177/* Define to 1 if you have the `socket' function. */
178#define HAVE_SOCKET 1
179
180/* Define to 1 if you have the <stdarg.h> header file. */
181#define HAVE_STDARG_H 1
182
183/* Define to 1 if you have the <stdint.h> header file. */
184#define HAVE_STDINT_H 1
185
186/* Define to 1 if you have the <stdlib.h> header file. */
187#define HAVE_STDLIB_H 1
188
189/* Define to 1 if you have the `strdup' function. */
190#define HAVE_STRDUP 1
191
192/* Define to 1 if you have the `strerror' function. */
193#define HAVE_STRERROR 1
194
195/* Define to 1 if you have the <strings.h> header file. */
196#define HAVE_STRINGS_H 1
197
198/* Define to 1 if you have the <string.h> header file. */
199#define HAVE_STRING_H 1
200
201/* Define to 1 if you have the `strlcat' function. */
202#define HAVE_STRLCAT 1
203
204/* Define to 1 if you have the `strlcpy' function. */
205#define HAVE_STRLCPY 1
206
207/* Define to 1 if you have the `strtol' function. */
208#define HAVE_STRTOL 1
209
210/* Define to 1 if you have the `strtoul' function. */
211#define HAVE_STRTOUL 1
212
213/* Define to 1 if you have the <sys/stat.h> header file. */
214#define HAVE_SYS_STAT_H 1
215
216/* Define to 1 if you have the <sys/time.h> header file. */
217#define HAVE_SYS_TIME_H 1
218
219/* Define to 1 if you have the <sys/types.h> header file. */
220#define HAVE_SYS_TYPES_H 1
221
222/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
223#define HAVE_SYS_WAIT_H 1
224
225/* Define to 1 if you have the <unistd.h> header file. */
226#define HAVE_UNISTD_H 1
227
228/* Define to 1 if you have the <varargs.h> header file. */
229#define HAVE_VARARGS_H 1
230
231/* Define to 1 if you have the `vprintf' function. */
232#define HAVE_VPRINTF 1
233
234/* Support IPv6 */
235#define INET6 1
236
237/* Use advanced IPv6 API */
238#define INET6_ADVAPI 1
e8d9021d 239#define __APPLE_USE_RFC_3542 1
52b7d2ce
A
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 292
d1e348cf 293#define USE_SYSTEMCONFIGURATION_PRIVATE_HEADERS 1