]>
git.saurik.com Git - apple/ipsec.git/blob - ipsec-tools/Common/config.h
3 /* If printf doesn't support %zu. */
6 /* Enable admin port */
7 #define ENABLE_ADMINPORT 1
9 /* Enable VPN control port */
10 #define ENABLE_VPNCONTROL_PORT 1
12 /* Enable dead peer detection */
15 /* IKE fragmentation support */
18 /* Hybrid authentication support */
19 #define ENABLE_HYBRID 1
21 /* Enable NAT-Traversal */
25 /* our kernel does not have support for versions 00 or 01 */
26 /* Enable NAT-Traversal draft 00 */
29 /* Enable NAT-Traversal draft 01 */
31 #endif /* __APPLE__ */
33 /* Enable NAT-Traversal draft 02 */
34 #define ENABLE_NATT_02 1
36 /* Enable NAT-Traversal draft 03 */
37 #define ENABLE_NATT_03 1
39 /* Enable NAT-Traversal draft 04 */
40 #define ENABLE_NATT_04 1
42 /* Enable NAT-Traversal draft 05 */
43 #define ENABLE_NATT_05 1
45 /* Enable NAT-Traversal draft 06 */
46 #define ENABLE_NATT_06 1
48 /* Enable NAT-Traversal draft 07 */
49 #define ENABLE_NATT_07 1
51 /* Enable NAT-Traversal draft 08 */
52 #define ENABLE_NATT_08 1
54 /* Enable NAT-Traversal APPLE version */
55 #define ENABLE_NATT_APPLE 1
57 /* Enable NAT-Traversal RFC version */
58 #define ENABLE_NATT_RFC 1
60 /* Enable samode-unspec */
61 #undef ENABLE_SAMODE_UNSPECIFIED
63 /* Enable statictics */
64 //#define ENABLE_STATS 1
66 /* Define to 1 if you have the <dlfcn.h> header file. */
67 #define HAVE_DLFCN_H 1
69 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
72 /* Have __func__ macro */
73 #define HAVE_FUNC_MACRO 1
75 /* Define to 1 if you have the `gettimeofday' function. */
76 #define HAVE_GETTIMEOFDAY 1
81 /* Have iconv using const */
82 #define HAVE_ICONV_2ND_CONST 1
84 /* Define to 1 if you have the <inttypes.h> header file. */
85 #define HAVE_INTTYPES_H 1
87 /* Have ipsec_policy_t */
88 #undef HAVE_IPSEC_POLICY_T
90 /* Hybrid authentication uses PAM */
93 /* Hybrid authentication uses RADIUS */
96 /* Define to 1 if you have the <limits.h> header file. */
97 #define HAVE_LIMITS_H 1
99 /* Define to 1 if you have the <memory.h> header file. */
100 #define HAVE_MEMORY_H 1
102 /* Use <netinet6/ipsec.h> */
103 #define HAVE_NETINET6_IPSEC 1
105 #define HAVE_GETIFADDRS 1
107 /* Define to 1 if you have the <openssl/aes.h> header file. */
108 #define HAVE_OPENSSL_AES_H 1
110 /* Define to 1 if you have the <openssl/engine.h> header file. */
111 #define HAVE_OPENSSL_ENGINE_H 1
113 /* Define to 1 if you have the <openssl/idea.h> header file. */
114 #undef HAVE_OPENSSL_IDEA_H
116 /* Define to 1 if you have the <openssl/rc5.h> header file. */
117 #define HAVE_OPENSSL_RC5_H 1
119 /* Define to 1 if you have the `pam_start' function. */
120 #define HAVE_PAM_START 1
122 /* Are PF_KEY policy priorities supported? */
123 #undef HAVE_PFKEY_POLICY_PRIORITY
125 /* Have forward policy */
126 #undef HAVE_POLICY_FWD
128 /* Define to 1 if you have the `rad_create_request' function. */
129 #undef HAVE_RAD_CREATE_REQUEST
131 /* Is readline available? */
134 /* Define to 1 if you have the `select' function. */
135 #define HAVE_SELECT 1
137 /* sha2 is defined in sha.h */
138 #define HAVE_SHA2_IN_SHA_H 1
140 /* Define to 1 if you have the <shadow.h> header file. */
143 /* Define to 1 if you have the `socket' function. */
144 #define HAVE_SOCKET 1
146 /* Define to 1 if you have the <stdarg.h> header file. */
147 #define HAVE_STDARG_H 1
149 /* Define to 1 if you have the <stdint.h> header file. */
150 #define HAVE_STDINT_H 1
152 /* Define to 1 if you have the <stdlib.h> header file. */
153 #define HAVE_STDLIB_H 1
155 /* Define to 1 if you have the `strdup' function. */
156 #define HAVE_STRDUP 1
158 /* Define to 1 if you have the `strerror' function. */
159 #define HAVE_STRERROR 1
161 /* Define to 1 if you have the <strings.h> header file. */
162 #define HAVE_STRINGS_H 1
164 /* Define to 1 if you have the <string.h> header file. */
165 #define HAVE_STRING_H 1
167 /* Define to 1 if you have the `strlcat' function. */
168 #define HAVE_STRLCAT 1
170 /* Define to 1 if you have the `strlcpy' function. */
171 #define HAVE_STRLCPY 1
173 /* Define to 1 if you have the `strtol' function. */
174 #define HAVE_STRTOL 1
176 /* Define to 1 if you have the `strtoul' function. */
177 #define HAVE_STRTOUL 1
179 /* Define to 1 if you have the <sys/stat.h> header file. */
180 #define HAVE_SYS_STAT_H 1
182 /* Define to 1 if you have the <sys/time.h> header file. */
183 #define HAVE_SYS_TIME_H 1
185 /* Define to 1 if you have the <sys/types.h> header file. */
186 #define HAVE_SYS_TYPES_H 1
188 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
189 #define HAVE_SYS_WAIT_H 1
191 /* Define to 1 if you have the <unistd.h> header file. */
192 #define HAVE_UNISTD_H 1
194 /* Define to 1 if you have the <varargs.h> header file. */
195 #define HAVE_VARARGS_H 1
197 /* Define to 1 if you have the `vprintf' function. */
198 #define HAVE_VPRINTF 1
203 /* Use advanced IPv6 API */
204 #define INET6_ADVAPI 1
206 /* Name of package */
209 /* Define to the address where bug reports for this package should be sent. */
210 #undef PACKAGE_BUGREPORT
212 /* Define to the full name of this package. */
215 /* Define to the full name and version of this package. */
216 #undef PACKAGE_STRING
218 /* Define to the one symbol short name of this package. */
219 #undef PACKAGE_TARNAME
221 /* Define to the version of this package. */
222 #undef PACKAGE_VERSION
224 /* Define as the return type of signal handlers (`int' or `void'). */
225 #define RETSIGTYPE int
227 /* Define to 1 if you have the ANSI C header files. */
228 #define STDC_HEADERS 1
230 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
231 #define TIME_WITH_SYS_TIME 1
233 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
234 #define TM_IN_SYS_TIME 1
236 /* A 'va_copy' style function */
239 /* Version number of package */
245 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a
247 #define YYTEXT_POINTER 1
249 /* Define to empty if `const' does not conform to ANSI C. */
252 /* Define to `int' if <sys/types.h> does not define. */
255 /* Define to `unsigned' if <sys/types.h> does not define. */