Upgrade to OpenVPN 2.1.0
[tomato.git] / release / src / router / openvpn / config.h
blobfd79a2a84a16ea83a0b31a4963d256e774370572
1 /* config.h. Generated from config.h.in by configure. */
2 /* config.h.in. Generated from configure.ac by autoheader. */
4 /* Enable deferred authentication */
5 #define CONFIGURE_DEF_AUTH 1
7 /* Enable internal packet filter */
8 #define CONFIGURE_PF 1
10 /* enable iproute2 support */
11 /* #undef CONFIG_FEATURE_IPROUTE */
13 /* Use memory debugging function in OpenSSL */
14 /* #undef CRYPTO_MDEBUG */
16 /* Use dmalloc memory debugging library */
17 /* #undef DMALLOC */
19 /* Dimension to use for empty array declaration */
20 #define EMPTY_ARRAY_SIZE 0
22 /* Enable client capability only */
23 /* #undef ENABLE_CLIENT_ONLY */
25 /* Enable client/server capability */
26 #define ENABLE_CLIENT_SERVER 1
28 /* Enable debugging support */
29 /* #undef ENABLE_DEBUG */
31 /* Enable internal fragmentation support */
32 #define ENABLE_FRAGMENT 1
34 /* Enable HTTP proxy support */
35 #define ENABLE_HTTP_PROXY 1
37 /* Enable management server capability */
38 #define ENABLE_MANAGEMENT 1
40 /* Enable multi-homed UDP server capability */
41 #define ENABLE_MULTIHOME 1
43 /* Allow --askpass and --auth-user-pass passwords to be read from a file */
44 #define ENABLE_PASSWORD_SAVE 1
46 /* Enable TCP Server port sharing */
47 #define ENABLE_PORT_SHARE 1
49 /* Enable smaller executable size */
50 #define ENABLE_SMALL 1
52 /* Enable Socks proxy support */
53 /* #undef ENABLE_SOCKS */
55 /* Define to 1 if you have the `accept' function. */
56 #define HAVE_ACCEPT 1
58 /* Define to 1 if you have the <arpa/inet.h> header file. */
59 #define HAVE_ARPA_INET_H 1
61 /* Define to 1 if you have the `bind' function. */
62 #define HAVE_BIND 1
64 /* Define to 1 if you have the `chdir' function. */
65 #define HAVE_CHDIR 1
67 /* Define to 1 if you have the `chroot' function. */
68 #define HAVE_CHROOT 1
70 /* Define to 1 if you have the `chsize' function. */
71 /* #undef HAVE_CHSIZE */
73 /* struct cmsghdr needed for extended socket error support */
74 #define HAVE_CMSGHDR 1
76 /* Define to 1 if you have the `connect' function. */
77 #define HAVE_CONNECT 1
79 /* Define to 1 if your compiler supports GNU GCC-style variadic macros */
80 #define HAVE_CPP_VARARG_MACRO_GCC 1
82 /* Define to 1 if your compiler supports ISO C99 variadic macros */
83 #define HAVE_CPP_VARARG_MACRO_ISO 1
85 /* Define to 1 if you have the `ctime' function. */
86 #define HAVE_CTIME 1
88 /* Define to 1 if you have the <ctype.h> header file. */
89 #define HAVE_CTYPE_H 1
91 /* Define to 1 if you have the `daemon' function. */
92 #define HAVE_DAEMON 1
94 /* Define to 1 if you have the `dup' function. */
95 #define HAVE_DUP 1
97 /* Define to 1 if you have the `dup2' function. */
98 #define HAVE_DUP2 1
100 /* Define to 1 if you have the `ENGINE_cleanup' function. */
101 /* #undef HAVE_ENGINE_CLEANUP */
103 /* Define to 1 if you have the `ENGINE_load_builtin_engines' function. */
104 /* #undef HAVE_ENGINE_LOAD_BUILTIN_ENGINES */
106 /* Define to 1 if you have the `ENGINE_register_all_complete' function. */
107 /* #undef HAVE_ENGINE_REGISTER_ALL_COMPLETE */
109 /* epoll_create function is defined */
110 /* #undef HAVE_EPOLL_CREATE */
112 /* Define to 1 if you have the <errno.h> header file. */
113 #define HAVE_ERRNO_H 1
115 /* Define to 1 if you have the <err.h> header file. */
116 #define HAVE_ERR_H 1
118 /* Define to 1 if you have the `EVP_CIPHER_CTX_set_key_length' function. */
119 #define HAVE_EVP_CIPHER_CTX_SET_KEY_LENGTH 1
121 /* Define to 1 if you have the `execve' function. */
122 #define HAVE_EXECVE 1
124 /* Define to 1 if you have the <fcntl.h> header file. */
125 #define HAVE_FCNTL_H 1
127 /* Define to 1 if you have the `flock' function. */
128 #define HAVE_FLOCK 1
130 /* Define to 1 if you have the `fork' function. */
131 #define HAVE_FORK 1
133 /* Define to 1 if you have the `ftruncate' function. */
134 #define HAVE_FTRUNCATE 1
136 /* Define to 1 if you have the `getgrnam' function. */
137 #define HAVE_GETGRNAM 1
139 /* Define to 1 if you have the `gethostbyname' function. */
140 #define HAVE_GETHOSTBYNAME 1
142 /* Define to 1 if you have the `getpass' function. */
143 #define HAVE_GETPASS 1
145 /* Define to 1 if you have the `getpeereid' function. */
146 /* #undef HAVE_GETPEEREID */
148 /* Define to 1 if you have the `getpeername' function. */
149 #define HAVE_GETPEERNAME 1
151 /* Define to 1 if you have the `getpid' function. */
152 #define HAVE_GETPID 1
154 /* Define to 1 if you have the `getpwnam' function. */
155 #define HAVE_GETPWNAM 1
157 /* Define to 1 if you have the `getsockname' function. */
158 #define HAVE_GETSOCKNAME 1
160 /* Define to 1 if you have the `getsockopt' function. */
161 #define HAVE_GETSOCKOPT 1
163 /* Define to 1 if you have the `gettimeofday' function. */
164 #define HAVE_GETTIMEOFDAY 1
166 /* Define to 1 if you have the <grp.h> header file. */
167 #define HAVE_GRP_H 1
169 /* Define to 1 if you have the `inet_ntoa' function. */
170 #define HAVE_INET_NTOA 1
172 /* Define to 1 if you have the <inttypes.h> header file. */
173 #define HAVE_INTTYPES_H 1
175 /* struct in_pktinfo needed for IP_PKTINFO support */
176 #define HAVE_IN_PKTINFO 1
178 /* struct iovec needed for IPv6 support */
179 #define HAVE_IOVEC 1
181 /* struct iphdr needed for IPv6 support */
182 #define HAVE_IPHDR 1
184 /* Define to 1 if you have the <linux/errqueue.h> header file. */
185 #define HAVE_LINUX_ERRQUEUE_H 1
187 /* Define to 1 if you have the <linux/if_tun.h> header file. */
188 #define HAVE_LINUX_IF_TUN_H 1
190 /* Define to 1 if you have the <linux/sockios.h> header file. */
191 #define HAVE_LINUX_SOCKIOS_H 1
193 /* Define to 1 if you have the <linux/types.h> header file. */
194 #define HAVE_LINUX_TYPES_H 1
196 /* Define to 1 if you have the `listen' function. */
197 #define HAVE_LISTEN 1
199 /* Define to 1 if you have the <memory.h> header file. */
200 #define HAVE_MEMORY_H 1
202 /* Define to 1 if you have the `memset' function. */
203 #define HAVE_MEMSET 1
205 /* Define to 1 if you have the `mlockall' function. */
206 #define HAVE_MLOCKALL 1
208 /* struct msghdr needed for extended socket error support */
209 #define HAVE_MSGHDR 1
211 /* Define to 1 if you have the <netdb.h> header file. */
212 #define HAVE_NETDB_H 1
214 /* Define to 1 if you have the <netinet/if_ether.h> header file. */
215 #define HAVE_NETINET_IF_ETHER_H 1
217 /* Define to 1 if you have the <netinet/in.h> header file. */
218 #define HAVE_NETINET_IN_H 1
220 /* Define to 1 if you have the <netinet/in_systm.h> header file. */
221 #define HAVE_NETINET_IN_SYSTM_H 1
223 /* Define to 1 if you have the <netinet/ip.h> header file. */
224 #define HAVE_NETINET_IP_H 1
226 /* Define to 1 if you have the <netinet/tcp.h> header file. */
227 #define HAVE_NETINET_TCP_H 1
229 /* Define to 1 if you have the <net/if.h> header file. */
230 #define HAVE_NET_IF_H 1
232 /* Define to 1 if you have the <net/if_tun.h> header file. */
233 /* #undef HAVE_NET_IF_TUN_H */
235 /* Define to 1 if you have the <net/tun/if_tun.h> header file. */
236 /* #undef HAVE_NET_TUN_IF_TUN_H */
238 /* Define to 1 if you have the `nice' function. */
239 #define HAVE_NICE 1
241 /* Define to 1 if you have the `openlog' function. */
242 #define HAVE_OPENLOG 1
244 /* Define to 1 if you have the <openssl/engine.h> header file. */
245 /* #undef HAVE_OPENSSL_ENGINE_H */
247 /* Define to 1 if you have the `poll' function. */
248 #define HAVE_POLL 1
250 /* Define if you have POSIX threads libraries and header files. */
251 /* #undef HAVE_PTHREAD */
253 /* Define to 1 if you have the `putenv' function. */
254 #define HAVE_PUTENV 1
256 /* Define to 1 if you have the <pwd.h> header file. */
257 #define HAVE_PWD_H 1
259 /* Define to 1 if you have the `readv' function. */
260 #define HAVE_READV 1
262 /* Define to 1 if you have the `recv' function. */
263 #define HAVE_RECV 1
265 /* Define to 1 if you have the `recvfrom' function. */
266 #define HAVE_RECVFROM 1
268 /* Define to 1 if you have the `recvmsg' function. */
269 #define HAVE_RECVMSG 1
271 /* Define to 1 if you have the <resolv.h> header file. */
272 #define HAVE_RESOLV_H 1
274 /* Indicates if res_init is available */
275 #define HAVE_RES_INIT 1
277 /* Define to 1 if you have the `select' function. */
278 #define HAVE_SELECT 1
280 /* Define to 1 if you have the `send' function. */
281 #define HAVE_SEND 1
283 /* Define to 1 if you have the `sendmsg' function. */
284 #define HAVE_SENDMSG 1
286 /* Define to 1 if you have the `sendto' function. */
287 #define HAVE_SENDTO 1
289 /* SELinux support */
290 /* #undef HAVE_SETCON */
292 /* Define to 1 if you have the `setgid' function. */
293 #define HAVE_SETGID 1
295 /* Define to 1 if you have the `setgroups' function. */
296 #define HAVE_SETGROUPS 1
298 /* Define to 1 if you have the `setsid' function. */
299 #define HAVE_SETSID 1
301 /* Define to 1 if you have the `setsockopt' function. */
302 #define HAVE_SETSOCKOPT 1
304 /* Define to 1 if you have the `setuid' function. */
305 #define HAVE_SETUID 1
307 /* Define to 1 if you have the <signal.h> header file. */
308 #define HAVE_SIGNAL_H 1
310 /* Define to 1 if you have the `socket' function. */
311 #define HAVE_SOCKET 1
313 /* struct sock_extended_err needed for extended socket error support */
314 #define HAVE_SOCK_EXTENDED_ERR 1
316 /* Define to 1 if you have the `stat' function. */
317 #define HAVE_STAT 1
319 /* Define to 1 if you have the <stdarg.h> header file. */
320 #define HAVE_STDARG_H 1
322 /* Define to 1 if you have the <stdint.h> header file. */
323 #define HAVE_STDINT_H 1
325 /* Define to 1 if you have the <stdio.h> header file. */
326 #define HAVE_STDIO_H 1
328 /* Define to 1 if you have the <stdlib.h> header file. */
329 #define HAVE_STDLIB_H 1
331 /* Define to 1 if you have the `strdup' function. */
332 #define HAVE_STRDUP 1
334 /* Define to 1 if you have the `strerror' function. */
335 #define HAVE_STRERROR 1
337 /* Define to 1 if you have the <strings.h> header file. */
338 #define HAVE_STRINGS_H 1
340 /* Define to 1 if you have the <string.h> header file. */
341 #define HAVE_STRING_H 1
343 /* Define to 1 if you have the <stropts.h> header file. */
344 #define HAVE_STROPTS_H 1
346 /* Define to 1 if you have the `syslog' function. */
347 #define HAVE_SYSLOG 1
349 /* Define to 1 if you have the <syslog.h> header file. */
350 #define HAVE_SYSLOG_H 1
352 /* Define to 1 if you have the `system' function. */
353 #define HAVE_SYSTEM 1
355 /* Define to 1 if you have the <sys/epoll.h> header file. */
356 /* #undef HAVE_SYS_EPOLL_H */
358 /* Define to 1 if you have the <sys/file.h> header file. */
359 #define HAVE_SYS_FILE_H 1
361 /* Define to 1 if you have the <sys/ioctl.h> header file. */
362 #define HAVE_SYS_IOCTL_H 1
364 /* Define to 1 if you have the <sys/mman.h> header file. */
365 #define HAVE_SYS_MMAN_H 1
367 /* Define to 1 if you have the <sys/poll.h> header file. */
368 #define HAVE_SYS_POLL_H 1
370 /* Define to 1 if you have the <sys/socket.h> header file. */
371 #define HAVE_SYS_SOCKET_H 1
373 /* Define to 1 if you have the <sys/sockio.h> header file. */
374 /* #undef HAVE_SYS_SOCKIO_H */
376 /* Define to 1 if you have the <sys/stat.h> header file. */
377 #define HAVE_SYS_STAT_H 1
379 /* Define to 1 if you have the <sys/time.h> header file. */
380 #define HAVE_SYS_TIME_H 1
382 /* Define to 1 if you have the <sys/types.h> header file. */
383 #define HAVE_SYS_TYPES_H 1
385 /* Define to 1 if you have the <sys/uio.h> header file. */
386 #define HAVE_SYS_UIO_H 1
388 /* Define to 1 if you have the <sys/un.h> header file. */
389 #define HAVE_SYS_UN_H 1
391 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
392 #define HAVE_SYS_WAIT_H 1
394 /* Define to 1 if you have the `time' function. */
395 #define HAVE_TIME 1
397 /* struct tun_pi needed for IPv6 support */
398 #define HAVE_TUN_PI 1
400 /* Define to 1 if you have the `umask' function. */
401 #define HAVE_UMASK 1
403 /* Define to 1 if you have the <unistd.h> header file. */
404 #define HAVE_UNISTD_H 1
406 /* Define to 1 if you have the `unlink' function. */
407 #define HAVE_UNLINK 1
409 /* Define to 1 if you have the `vfork' function. */
410 #define HAVE_VFORK 1
412 /* Define to 1 if you have the <vfork.h> header file. */
413 /* #undef HAVE_VFORK_H */
415 /* Define to 1 if you have the `vsnprintf' function. */
416 #define HAVE_VSNPRINTF 1
418 /* Define to 1 if `fork' works. */
419 #define HAVE_WORKING_FORK 1
421 /* Define to 1 if `vfork' works. */
422 #define HAVE_WORKING_VFORK 1
424 /* Define to 1 if you have the `writev' function. */
425 #define HAVE_WRITEV 1
427 /* Path to ifconfig tool */
428 #define IFCONFIG_PATH "/sbin/ifconfig"
430 /* Path to iproute tool */
431 #define IPROUTE_PATH "/sbin/ip"
433 /* Use lzo/ directory prefix for LZO header files (for LZO 2.0) */
434 #define LZO_HEADER_DIR 1
436 /* LZO version number */
437 #define LZO_VERSION_NUM "2"
439 /* Name of package */
440 #define PACKAGE "openvpn"
442 /* Define to the address where bug reports for this package should be sent. */
443 #define PACKAGE_BUGREPORT "openvpn-users@lists.sourceforge.net"
445 /* Define to the full name of this package. */
446 #define PACKAGE_NAME "OpenVPN"
448 /* Define to the full name and version of this package. */
449 #define PACKAGE_STRING "OpenVPN 2.1.0"
451 /* Define to the one symbol short name of this package. */
452 #define PACKAGE_TARNAME "openvpn"
454 /* Define to the version of this package. */
455 #define PACKAGE_VERSION "2.1.0"
457 /* Define to the necessary symbol if this constant uses a non-standard name on
458 your system. */
459 /* #undef PTHREAD_CREATE_JOINABLE */
461 /* Define as the return type of signal handlers (`int' or `void'). */
462 #define RETSIGTYPE void
464 /* Path to route tool */
465 #define ROUTE_PATH "/sbin/route"
467 /* The size of `unsigned int', as computed by sizeof. */
468 #define SIZEOF_UNSIGNED_INT 4
470 /* The size of `unsigned long', as computed by sizeof. */
471 #define SIZEOF_UNSIGNED_LONG 4
473 /* Define to 1 if you have the ANSI C header files. */
474 #define STDC_HEADERS 1
476 /* Enable strict options check between peers */
477 /* #undef STRICT_OPTIONS_CHECK */
479 /* The TAP-Win32 id defined in tap-win32/SOURCES */
480 #define TAP_ID "tap0901"
482 /* The TAP-Win32 version number is defined in tap-win32/SOURCES */
483 #define TAP_WIN32_MIN_MAJOR 9
485 /* The TAP-Win32 version number is defined in tap-win32/SOURCES */
486 #define TAP_WIN32_MIN_MINOR 1
488 /* A string representing our target */
489 #define TARGET_ALIAS "mipsel-unknown-linux-gnu"
491 /* Are we running on Mac OS X? */
492 /* #undef TARGET_DARWIN */
494 /* Are we running on DragonFlyBSD? */
495 /* #undef TARGET_DRAGONFLY */
497 /* Are we running on FreeBSD? */
498 /* #undef TARGET_FREEBSD */
500 /* Are we running on Linux? */
501 #define TARGET_LINUX 1
503 /* Are we running NetBSD? */
504 /* #undef TARGET_NETBSD */
506 /* Are we running on OpenBSD? */
507 /* #undef TARGET_OPENBSD */
509 /* Are we running on Solaris? */
510 /* #undef TARGET_SOLARIS */
512 /* Are we running WIN32? */
513 /* #undef TARGET_WIN32 */
515 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
516 #define TIME_WITH_SYS_TIME 1
518 /* Win32 builtin */
519 /* #undef UF */
521 /* Use OpenSSL crypto library */
522 #define USE_CRYPTO 1
524 /* Use libdl for dynamic library loading */
525 /* #undef USE_LIBDL */
527 /* Use LoadLibrary to load DLLs on Windows */
528 /* #undef USE_LOAD_LIBRARY */
530 /* Use LZO compression library */
531 #define USE_LZO 1
533 /* Enable PKCS11 capability */
534 /* #undef USE_PKCS11 */
536 /* Use pthread-based multithreading */
537 /* #undef USE_PTHREAD */
539 /* Use OpenSSL SSL library */
540 #define USE_SSL 1
542 /* Use valgrind memory debugging library */
543 /* #undef USE_VALGRIND */
545 /* Version number of package */
546 #define VERSION "2.1.0"
548 /* Enable GNU extensions on systems that have them. */
549 #ifndef _GNU_SOURCE
550 # define _GNU_SOURCE 1
551 #endif
553 /* Define to empty if `const' does not conform to ANSI C. */
554 /* #undef const */
556 /* Define to `int' if <sys/types.h> doesn't define. */
557 /* #undef gid_t */
559 /* Some systems don't define in_addr_t */
560 /* #undef in_addr_t */
562 /* Define to `__inline__' or `__inline' if that's what the C compiler
563 calls it, or to nothing if 'inline' is not supported under any name. */
564 #ifndef __cplusplus
565 /* #undef inline */
566 #endif
568 /* Define to `long int' if <sys/types.h> does not define. */
569 /* #undef off_t */
571 /* Define to `int' if <sys/types.h> does not define. */
572 /* #undef pid_t */
574 /* Define to `unsigned int' if <sys/types.h> does not define. */
575 /* #undef size_t */
577 /* type to use in place of socklen_t if not defined */
578 /* #undef socklen_t */
580 /* Define to `int' if <sys/types.h> doesn't define. */
581 /* #undef uid_t */
583 /* 16-bit unsigned type */
584 /* #undef uint16_t */
586 /* 32-bit unsigned type */
587 /* #undef uint32_t */
589 /* 8-bit unsigned type */
590 /* #undef uint8_t */
592 /* Define as `fork' if `vfork' does not work. */
593 /* #undef vfork */
595 /* Define to empty if the keyword `volatile' does not work. Warning: valid
596 code using `volatile' can become incorrect without. Disable with care. */
597 /* #undef volatile */