]>
git.saurik.com Git - apple/ipsec.git/blob - ipsec-tools/Common/config.h
ce2538f601c52331238ee7748bd85787faa53e44
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 */
26 /* Enable NAT-Traversal draft 02 */
27 #define ENABLE_NATT_02 1
29 /* Enable NAT-Traversal draft 03 */
30 #define ENABLE_NATT_03 1
32 /* Enable NAT-Traversal draft 04 */
33 #define ENABLE_NATT_04 1
35 /* Enable NAT-Traversal draft 05 */
36 #define ENABLE_NATT_05 1
38 /* Enable NAT-Traversal draft 06 */
39 #define ENABLE_NATT_06 1
41 /* Enable NAT-Traversal draft 07 */
42 #define ENABLE_NATT_07 1
44 /* Enable NAT-Traversal draft 08 */
45 #define ENABLE_NATT_08 1
47 /* Enable NAT-Traversal APPLE version */
48 #define ENABLE_NATT_APPLE 1
50 /* Enable NAT-Traversal RFC version */
51 #define ENABLE_NATT_RFC 1
53 /* Enable samode-unspec */
54 #undef ENABLE_SAMODE_UNSPECIFIED
56 /* Enable statictics */
57 /* #define ENABLE_STATS 1*/ /* causes too many logs to syslog */
59 /* Define to 1 if you have the <dlfcn.h> header file. */
60 #define HAVE_DLFCN_H 1
62 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
65 /* Have __func__ macro */
66 #define HAVE_FUNC_MACRO 1
68 /* Define to 1 if you have the `gettimeofday' function. */
69 #define HAVE_GETTIMEOFDAY 1
72 /* %%%%%%% change this back when conflict fixed */
75 /* Have iconv using const */
76 #define HAVE_ICONV_2ND_CONST 1
78 /* Define to 1 if you have the <inttypes.h> header file. */
79 #define HAVE_INTTYPES_H 1
81 /* Have ipsec_policy_t */
82 #undef HAVE_IPSEC_POLICY_T
84 /* Hybrid authentication uses PAM */
85 //#define HAVE_LIBPAM 1
88 /* Hybrid authentication uses RADIUS */
91 /* Define to 1 if you have the <limits.h> header file. */
92 #define HAVE_LIMITS_H 1
94 /* Define to 1 if you have the <memory.h> header file. */
95 #define HAVE_MEMORY_H 1
97 /* Define to 1 if keychain is used */
98 #if TARGET_OS_EMBEDDED
101 #define HAVE_KEYCHAIN 1
104 /* Define to 1 if keychain is used */
105 #if TARGET_OS_EMBEDDED
106 #undef HAVE_SECURITY_FRAMEWORK
108 #define HAVE_SECURITY_FRAMEWORK 1
112 /* Define to 1 if Open Dir available */
113 #if TARGET_OS_EMBEDDED
116 #define HAVE_OPENDIR 1
119 #if TARGET_OS_EMBEDDED
122 #define HAVE_LIBLDAP 1
125 #define HAVE_NETINET6_IPSEC 1
127 #define HAVE_GETIFADDRS 1
129 #if TARGET_OS_EMBEDDED
132 #define HAVE_OPENSSL 1
137 /* Define to 1 if you have the <openssl/engine.h> header file. */
138 #define HAVE_OPENSSL_ENGINE_H 1
142 /* Define to 1 if you have the `pam_start' function. */
143 #if TARGET_OS_EMBEDDED
144 #undef HAVE_PAM_START
146 #define HAVE_PAM_START 1
149 /* Are PF_KEY policy priorities supported? */
150 #undef HAVE_PFKEY_POLICY_PRIORITY
152 /* Have forward policy */
153 #undef HAVE_POLICY_FWD
155 /* Define to 1 if you have the `rad_create_request' function. */
156 #undef HAVE_RAD_CREATE_REQUEST
158 /* Is readline available? */
161 /* Define to 1 if you have the `select' function. */
162 #define HAVE_SELECT 1
164 /* sha2 is defined in sha.h */
165 #define HAVE_SHA2_IN_SHA_H 1
167 /* Define to 1 if you have the <shadow.h> header file. */
170 /* Define to 1 if you have the `socket' function. */
171 #define HAVE_SOCKET 1
173 /* Define to 1 if you have the <stdarg.h> header file. */
174 #define HAVE_STDARG_H 1
176 /* Define to 1 if you have the <stdint.h> header file. */
177 #define HAVE_STDINT_H 1
179 /* Define to 1 if you have the <stdlib.h> header file. */
180 #define HAVE_STDLIB_H 1
182 /* Define to 1 if you have the `strdup' function. */
183 #define HAVE_STRDUP 1
185 /* Define to 1 if you have the `strerror' function. */
186 #define HAVE_STRERROR 1
188 /* Define to 1 if you have the <strings.h> header file. */
189 #define HAVE_STRINGS_H 1
191 /* Define to 1 if you have the <string.h> header file. */
192 #define HAVE_STRING_H 1
194 /* Define to 1 if you have the `strlcat' function. */
195 #define HAVE_STRLCAT 1
197 /* Define to 1 if you have the `strlcpy' function. */
198 #define HAVE_STRLCPY 1
200 /* Define to 1 if you have the `strtol' function. */
201 #define HAVE_STRTOL 1
203 /* Define to 1 if you have the `strtoul' function. */
204 #define HAVE_STRTOUL 1
206 /* Define to 1 if you have the <sys/stat.h> header file. */
207 #define HAVE_SYS_STAT_H 1
209 /* Define to 1 if you have the <sys/time.h> header file. */
210 #define HAVE_SYS_TIME_H 1
212 /* Define to 1 if you have the <sys/types.h> header file. */
213 #define HAVE_SYS_TYPES_H 1
215 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
216 #define HAVE_SYS_WAIT_H 1
218 /* Define to 1 if you have the <unistd.h> header file. */
219 #define HAVE_UNISTD_H 1
221 /* Define to 1 if you have the <varargs.h> header file. */
222 #define HAVE_VARARGS_H 1
224 /* Define to 1 if you have the `vprintf' function. */
225 #define HAVE_VPRINTF 1
230 /* Use advanced IPv6 API */
231 #define INET6_ADVAPI 1
232 #define __APPLE_USE_RFC_3542 1
234 /* Name of package */
237 /* Define to the address where bug reports for this package should be sent. */
238 #undef PACKAGE_BUGREPORT
240 /* Define to the full name of this package. */
243 /* Define to the full name and version of this package. */
244 #undef PACKAGE_STRING
246 /* Define to the one symbol short name of this package. */
247 #undef PACKAGE_TARNAME
249 /* Define to the version of this package. */
250 #undef PACKAGE_VERSION
252 /* Define as the return type of signal handlers (`int' or `void'). */
253 #define RETSIGTYPE int
255 /* Define to 1 if you have the ANSI C header files. */
256 #define STDC_HEADERS 1
258 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
259 #define TIME_WITH_SYS_TIME 1
261 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
262 #define TM_IN_SYS_TIME 1
264 /* A 'va_copy' style function */
267 /* Version number of package */
273 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
275 #define YYTEXT_POINTER 1
277 /* Define to empty if `const' does not conform to ANSI C. */
280 /* Define to `int' if <sys/types.h> does not define. */
283 /* Define to `unsigned' if <sys/types.h> does not define. */
286 #define USE_SYSTEMCONFIGURATION_PRIVATE_HEADERS 1