]>
git.saurik.com Git - apple/ipsec.git/blob - ipsec-tools/Common/config.h
1 #include <TargetConditionals.h>
3 #define __IPSEC_BUILD__ 1
5 /* If printf doesn't support %zu. */
8 /* Enable admin port */
9 #define ENABLE_ADMINPORT 1
11 /* Enable VPN control port */
12 #define ENABLE_VPNCONTROL_PORT 1
14 /* Enable dead peer detection */
17 /* IKE fragmentation support */
20 /* Hybrid authentication support */
21 #define ENABLE_HYBRID 1
23 /* Enable NAT-Traversal */
27 /* our kernel does not have support for versions 00 or 01 */
28 /* Enable NAT-Traversal draft 00 */
31 /* Enable NAT-Traversal draft 01 */
33 #endif /* __APPLE__ */
35 /* Enable NAT-Traversal draft 02 */
36 #define ENABLE_NATT_02 1
38 /* Enable NAT-Traversal draft 03 */
39 #define ENABLE_NATT_03 1
41 /* Enable NAT-Traversal draft 04 */
42 #define ENABLE_NATT_04 1
44 /* Enable NAT-Traversal draft 05 */
45 #define ENABLE_NATT_05 1
47 /* Enable NAT-Traversal draft 06 */
48 #define ENABLE_NATT_06 1
50 /* Enable NAT-Traversal draft 07 */
51 #define ENABLE_NATT_07 1
53 /* Enable NAT-Traversal draft 08 */
54 #define ENABLE_NATT_08 1
56 /* Enable NAT-Traversal APPLE version */
57 #define ENABLE_NATT_APPLE 1
59 /* Enable NAT-Traversal RFC version */
60 #define ENABLE_NATT_RFC 1
62 /* Enable samode-unspec */
63 #undef ENABLE_SAMODE_UNSPECIFIED
65 /* Enable statictics */
66 /* #define ENABLE_STATS 1*/ /* causes too many logs to syslog */
68 /* Define to 1 if you have the <dlfcn.h> header file. */
69 #define HAVE_DLFCN_H 1
71 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
74 /* Have __func__ macro */
75 #define HAVE_FUNC_MACRO 1
77 /* Define to 1 if you have the `gettimeofday' function. */
78 #define HAVE_GETTIMEOFDAY 1
81 /* %%%%%%% change this back when conflict fixed */
84 /* Have iconv using const */
85 #define HAVE_ICONV_2ND_CONST 1
87 /* Define to 1 if you have the <inttypes.h> header file. */
88 #define HAVE_INTTYPES_H 1
90 /* Have ipsec_policy_t */
91 #undef HAVE_IPSEC_POLICY_T
93 /* Hybrid authentication uses PAM */
94 //#define HAVE_LIBPAM 1
97 /* Hybrid authentication uses RADIUS */
100 /* Define to 1 if you have the <limits.h> header file. */
101 #define HAVE_LIMITS_H 1
103 /* Define to 1 if you have the <memory.h> header file. */
104 #define HAVE_MEMORY_H 1
106 /* Define to 1 if keychain is used */
107 #if TARGET_OS_EMBEDDED
110 #define HAVE_KEYCHAIN 1
113 /* Define to 1 if keychain is used */
114 #if TARGET_OS_EMBEDDED
115 #undef HAVE_SECURITY_FRAMEWORK
117 #define HAVE_SECURITY_FRAMEWORK 1
121 /* Define to 1 if Open Dir available */
122 #if TARGET_OS_EMBEDDED
125 #define HAVE_OPENDIR 1
128 #if TARGET_OS_EMBEDDED
131 #define HAVE_LIBLDAP 1
134 #define HAVE_NETINET6_IPSEC 1
136 #define HAVE_GETIFADDRS 1
138 /* Define to 1 if you have the <openssl/aes.h> header file. */
139 #define HAVE_OPENSSL_AES_H 1
141 /* Define to 1 if you have the <openssl/engine.h> header file. */
142 #define HAVE_OPENSSL_ENGINE_H 1
144 /* Define to 1 if you have the <openssl/idea.h> header file. */
145 #undef HAVE_OPENSSL_IDEA_H
147 /* Define to 1 if you have the <openssl/rc5.h> header file. */
148 #define HAVE_OPENSSL_RC5_H 1
150 /* Define to 1 if you have the `pam_start' function. */
151 #if TARGET_OS_EMBEDDED
152 #undef HAVE_PAM_START
154 #define HAVE_PAM_START 1
157 /* Are PF_KEY policy priorities supported? */
158 #undef HAVE_PFKEY_POLICY_PRIORITY
160 /* Have forward policy */
161 #undef HAVE_POLICY_FWD
163 /* Define to 1 if you have the `rad_create_request' function. */
164 #undef HAVE_RAD_CREATE_REQUEST
166 /* Is readline available? */
169 /* Define to 1 if you have the `select' function. */
170 #define HAVE_SELECT 1
172 /* sha2 is defined in sha.h */
173 #define HAVE_SHA2_IN_SHA_H 1
175 /* Define to 1 if you have the <shadow.h> header file. */
178 /* Define to 1 if you have the `socket' function. */
179 #define HAVE_SOCKET 1
181 /* Define to 1 if you have the <stdarg.h> header file. */
182 #define HAVE_STDARG_H 1
184 /* Define to 1 if you have the <stdint.h> header file. */
185 #define HAVE_STDINT_H 1
187 /* Define to 1 if you have the <stdlib.h> header file. */
188 #define HAVE_STDLIB_H 1
190 /* Define to 1 if you have the `strdup' function. */
191 #define HAVE_STRDUP 1
193 /* Define to 1 if you have the `strerror' function. */
194 #define HAVE_STRERROR 1
196 /* Define to 1 if you have the <strings.h> header file. */
197 #define HAVE_STRINGS_H 1
199 /* Define to 1 if you have the <string.h> header file. */
200 #define HAVE_STRING_H 1
202 /* Define to 1 if you have the `strlcat' function. */
203 #define HAVE_STRLCAT 1
205 /* Define to 1 if you have the `strlcpy' function. */
206 #define HAVE_STRLCPY 1
208 /* Define to 1 if you have the `strtol' function. */
209 #define HAVE_STRTOL 1
211 /* Define to 1 if you have the `strtoul' function. */
212 #define HAVE_STRTOUL 1
214 /* Define to 1 if you have the <sys/stat.h> header file. */
215 #define HAVE_SYS_STAT_H 1
217 /* Define to 1 if you have the <sys/time.h> header file. */
218 #define HAVE_SYS_TIME_H 1
220 /* Define to 1 if you have the <sys/types.h> header file. */
221 #define HAVE_SYS_TYPES_H 1
223 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
224 #define HAVE_SYS_WAIT_H 1
226 /* Define to 1 if you have the <unistd.h> header file. */
227 #define HAVE_UNISTD_H 1
229 /* Define to 1 if you have the <varargs.h> header file. */
230 #define HAVE_VARARGS_H 1
232 /* Define to 1 if you have the `vprintf' function. */
233 #define HAVE_VPRINTF 1
238 /* Use advanced IPv6 API */
239 #define INET6_ADVAPI 1
241 /* Name of package */
244 /* Define to the address where bug reports for this package should be sent. */
245 #undef PACKAGE_BUGREPORT
247 /* Define to the full name of this package. */
250 /* Define to the full name and version of this package. */
251 #undef PACKAGE_STRING
253 /* Define to the one symbol short name of this package. */
254 #undef PACKAGE_TARNAME
256 /* Define to the version of this package. */
257 #undef PACKAGE_VERSION
259 /* Define as the return type of signal handlers (`int' or `void'). */
260 #define RETSIGTYPE int
262 /* Define to 1 if you have the ANSI C header files. */
263 #define STDC_HEADERS 1
265 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
266 #define TIME_WITH_SYS_TIME 1
268 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
269 #define TM_IN_SYS_TIME 1
271 /* A 'va_copy' style function */
274 /* Version number of package */
280 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
282 #define YYTEXT_POINTER 1
284 /* Define to empty if `const' does not conform to ANSI C. */
287 /* Define to `int' if <sys/types.h> does not define. */
290 /* Define to `unsigned' if <sys/types.h> does not define. */
294 #define USE_SYSTEMCONFIGURATION_PRIVATE_HEADERS 1