1 /* config.h.in. Generated from configure.ac by autoheader. */
3 /* Configuration settings */
4 #undef CONFIGURE_DEFINES
6 /* special build string */
7 #undef CONFIGURE_SPECIAL_BUILD
9 /* Use memory debugging function in OpenSSL */
12 /* Use dmalloc memory debugging library */
15 /* Dimension to use for empty array declaration */
16 #undef EMPTY_ARRAY_SIZE
18 /* Enable client capability only */
19 #undef ENABLE_CLIENT_ONLY
21 /* Enable client/server capability */
22 #undef ENABLE_CLIENT_SERVER
24 /* Enable crypto library */
27 /* Use OpenSSL library */
28 #undef ENABLE_CRYPTO_OPENSSL
30 /* Use PolarSSL library */
31 #undef ENABLE_CRYPTO_POLARSSL
33 /* Enable debugging support */
36 /* Enable deferred authentication */
37 #undef ENABLE_DEF_AUTH
39 /* Enable support for the eurephia plug-in */
40 #undef ENABLE_EUREPHIA
42 /* We have persist tun capability */
43 #undef ENABLE_FEATURE_TUN_PERSIST
45 /* Enable internal fragmentation support */
46 #undef ENABLE_FRAGMENT
48 /* Enable HTTP proxy support */
49 #undef ENABLE_HTTP_PROXY
51 /* enable iproute2 support */
54 /* Enable LZO compression library */
57 /* Enable LZO stub capability */
58 #undef ENABLE_LZO_STUB
60 /* Enable management server capability */
61 #undef ENABLE_MANAGEMENT
63 /* Enable multi-homed UDP server capability */
64 #undef ENABLE_MULTIHOME
66 /* Allow --askpass and --auth-user-pass passwords to be read from a file */
67 #undef ENABLE_PASSWORD_SAVE
69 /* Enable internal packet filter */
75 /* Enable systemd support */
78 /* Enable TCP Server port sharing */
79 #undef ENABLE_PORT_SHARE
84 /* Enable smaller executable size */
87 /* Enable Socks proxy support */
90 /* Enable ssl library */
93 /* Enable strict options check between peers */
94 #undef ENABLE_STRICT_OPTIONS_CHECK
96 /* Enable systemd support */
99 /* Enable --x509-username-field feature */
100 #undef ENABLE_X509ALTUSERNAME
102 /* Define to 1 if you have the `accept' function. */
105 /* Define to 1 if you have the `access' function. */
108 /* Define to 1 if you have the <arpa/inet.h> header file. */
109 #undef HAVE_ARPA_INET_H
111 /* Define to 1 if you have the `basename' function. */
114 /* Define to 1 if you have the `bind' function. */
117 /* Define to 1 if you have the `chdir' function. */
120 /* Define to 1 if you have the `chroot' function. */
123 /* Define to 1 if you have the `chsize' function. */
126 /* struct cmsghdr needed for extended socket error support */
129 /* extra version available in config-version.h */
130 #undef HAVE_CONFIG_VERSION_H
132 /* Define to 1 if you have the `connect' function. */
135 /* Define to 1 if your compiler supports GNU GCC-style variadic macros */
136 #undef HAVE_CPP_VARARG_MACRO_GCC
138 /* Define to 1 if your compiler supports ISO C99 variadic macros */
139 #undef HAVE_CPP_VARARG_MACRO_ISO
141 /* Define to 1 if you have the `ctime' function. */
144 /* Define to 1 if you have the <ctype.h> header file. */
147 /* Define to 1 if you have the `daemon' function. */
150 /* Define to 1 if you have the declaration of `SIGHUP', and to 0 if you don't.
152 #undef HAVE_DECL_SIGHUP
154 /* Define to 1 if you have the declaration of `SIGINT', and to 0 if you don't.
156 #undef HAVE_DECL_SIGINT
158 /* Define to 1 if you have the declaration of `SIGTERM', and to 0 if you
160 #undef HAVE_DECL_SIGTERM
162 /* Define to 1 if you have the declaration of `SIGUSR1', and to 0 if you
164 #undef HAVE_DECL_SIGUSR1
166 /* Define to 1 if you have the declaration of `SIGUSR2', and to 0 if you
168 #undef HAVE_DECL_SIGUSR2
170 /* Define to 1 if you have the declaration of `SO_MARK', and to 0 if you
172 #undef HAVE_DECL_SO_MARK
174 /* Define to 1 if you have the declaration of `TUNSETPERSIST', and to 0 if you
176 #undef HAVE_DECL_TUNSETPERSIST
178 /* Define to 1 if you have the <direct.h> header file. */
181 /* Define to 1 if you have the `dirname' function. */
184 /* Define to 1 if you have the <dlfcn.h> header file. */
187 /* Define to 1 if you have the `dup' function. */
190 /* Define to 1 if you have the `dup2' function. */
193 /* Define to 1 if you have the `ENGINE_cleanup' function. */
194 #undef HAVE_ENGINE_CLEANUP
196 /* Define to 1 if you have the `ENGINE_load_builtin_engines' function. */
197 #undef HAVE_ENGINE_LOAD_BUILTIN_ENGINES
199 /* Define to 1 if you have the `ENGINE_register_all_complete' function. */
200 #undef HAVE_ENGINE_REGISTER_ALL_COMPLETE
202 /* Define to 1 if you have the `epoll_create' function. */
203 #undef HAVE_EPOLL_CREATE
205 /* Define to 1 if you have the <errno.h> header file. */
208 /* Define to 1 if you have the <err.h> header file. */
211 /* Define to 1 if you have the `EVP_CIPHER_CTX_set_key_length' function. */
212 #undef HAVE_EVP_CIPHER_CTX_SET_KEY_LENGTH
214 /* Define to 1 if you have the `execve' function. */
217 /* Define to 1 if you have the <fcntl.h> header file. */
220 /* Define to 1 if you have the `flock' function. */
223 /* Define to 1 if you have the `fork' function. */
226 /* Define to 1 if you have the `ftruncate' function. */
227 #undef HAVE_FTRUNCATE
229 /* Define to 1 if you have the `getgrnam' function. */
232 /* Define to 1 if you have the `gethostbyname' function. */
233 #undef HAVE_GETHOSTBYNAME
235 /* Define to 1 if you have the `getpass' function. */
238 /* Define to 1 if you have the `getpeereid' function. */
239 #undef HAVE_GETPEEREID
241 /* Define to 1 if you have the `getpeername' function. */
242 #undef HAVE_GETPEERNAME
244 /* Define to 1 if you have the `getpid' function. */
247 /* Define to 1 if you have the `getpwnam' function. */
250 /* Define to 1 if you have the `getsockname' function. */
251 #undef HAVE_GETSOCKNAME
253 /* Define to 1 if you have the `getsockopt' function. */
254 #undef HAVE_GETSOCKOPT
256 /* Define to 1 if you have the `gettimeofday' function. */
257 #undef HAVE_GETTIMEOFDAY
259 /* Define to 1 if you have the <grp.h> header file. */
262 /* Define to 1 if you have the `inet_ntoa' function. */
263 #undef HAVE_INET_NTOA
265 /* Define to 1 if you have the `inet_ntop' function. */
266 #undef HAVE_INET_NTOP
268 /* Define to 1 if you have the `inet_pton' function. */
269 #undef HAVE_INET_PTON
271 /* Define to 1 if you have the <inttypes.h> header file. */
272 #undef HAVE_INTTYPES_H
274 /* Define to 1 if the system has the type `in_addr_t'. */
275 #undef HAVE_IN_ADDR_T
277 /* struct in_pktinfo needed for IP_PKTINFO support */
278 #undef HAVE_IN_PKTINFO
280 /* struct iovec needed for IPv6 support */
283 /* Define to 1 if you have the <io.h> header file. */
286 /* struct iphdr needed for IPv6 support */
289 /* Define to 1 if you have the <libgen.h> header file. */
292 /* Define to 1 if you have the `polarssl' library (-lpolarssl). */
293 #undef HAVE_LIBPOLARSSL
295 /* Define to 1 if you have the <limits.h> header file. */
298 /* Define to 1 if you have the <linux/if_tun.h> header file. */
299 #undef HAVE_LINUX_IF_TUN_H
301 /* Define to 1 if you have the <linux/sockios.h> header file. */
302 #undef HAVE_LINUX_SOCKIOS_H
304 /* Define to 1 if you have the <linux/types.h> header file. */
305 #undef HAVE_LINUX_TYPES_H
307 /* Define to 1 if you have the `listen' function. */
310 /* Define to 1 if you have the <lzo1x.h> header file. */
313 /* Define to 1 if you have the <lzoutil.h> header file. */
314 #undef HAVE_LZOUTIL_H
316 /* Define to 1 if you have the <lzo/lzo1x.h> header file. */
317 #undef HAVE_LZO_LZO1X_H
319 /* Define to 1 if you have the <lzo/lzoutil.h> header file. */
320 #undef HAVE_LZO_LZOUTIL_H
322 /* Define to 1 if you have the <memory.h> header file. */
325 /* Define to 1 if you have the `memset' function. */
328 /* Define to 1 if you have the `mlockall' function. */
331 /* struct msghdr needed for extended socket error support */
334 /* Define to 1 if you have the <netdb.h> header file. */
337 /* Define to 1 if you have the <netinet/if_ether.h> header file. */
338 #undef HAVE_NETINET_IF_ETHER_H
340 /* Define to 1 if you have the <netinet/in.h> header file. */
341 #undef HAVE_NETINET_IN_H
343 /* Define to 1 if you have the <netinet/in_systm.h> header file. */
344 #undef HAVE_NETINET_IN_SYSTM_H
346 /* Define to 1 if you have the <netinet/ip.h> header file. */
347 #undef HAVE_NETINET_IP_H
349 /* Define to 1 if you have the <netinet/tcp.h> header file. */
350 #undef HAVE_NETINET_TCP_H
352 /* Define to 1 if you have the <net/if.h> header file. */
355 /* Define to 1 if you have the <net/if_tun.h> header file. */
356 #undef HAVE_NET_IF_TUN_H
358 /* Define to 1 if you have the <net/tun/if_tun.h> header file. */
359 #undef HAVE_NET_TUN_IF_TUN_H
361 /* Define to 1 if you have the `nice' function. */
364 /* Define to 1 if you have the `openlog' function. */
367 /* Use crypto library */
368 #undef HAVE_OPENSSL_ENGINE
370 /* Define to 1 if you have the `poll' function. */
373 /* Define to 1 if you have the `putenv' function. */
376 /* Define to 1 if you have the <pwd.h> header file. */
379 /* Define to 1 if you have the `readv' function. */
382 /* Define to 1 if you have the `recv' function. */
385 /* Define to 1 if you have the `recvfrom' function. */
388 /* Define to 1 if you have the `recvmsg' function. */
391 /* Define to 1 if you have the <resolv.h> header file. */
394 /* Define to 1 if you have the `res_init' function. */
397 /* Define to 1 if you have the `select' function. */
400 /* Define to 1 if you have the `send' function. */
403 /* Define to 1 if you have the `sendmsg' function. */
406 /* Define to 1 if you have the `sendto' function. */
409 /* Define to 1 if you have the `setgid' function. */
412 /* Define to 1 if you have the `setgroups' function. */
413 #undef HAVE_SETGROUPS
415 /* Define to 1 if you have the `setsid' function. */
418 /* Define to 1 if you have the `setsockopt' function. */
419 #undef HAVE_SETSOCKOPT
421 /* Define to 1 if you have the `setuid' function. */
424 /* Define to 1 if you have the <signal.h> header file. */
427 /* Define to 1 if you have the `socket' function. */
430 /* struct sock_extended_err needed for extended socket error support */
431 #undef HAVE_SOCK_EXTENDED_ERR
433 /* Define to 1 if you have the `stat' function. */
436 /* Define to 1 if you have the <stdarg.h> header file. */
439 /* Define to 1 if you have the <stdbool.h> header file. */
440 #undef HAVE_STDBOOL_H
442 /* Define to 1 if you have the <stdint.h> header file. */
445 /* Define to 1 if you have the <stdio.h> header file. */
448 /* Define to 1 if you have the <stdlib.h> header file. */
451 /* Define to 1 if you have the `strdup' function. */
454 /* Define to 1 if you have the `strerror' function. */
457 /* Define to 1 if you have the <strings.h> header file. */
458 #undef HAVE_STRINGS_H
460 /* Define to 1 if you have the <string.h> header file. */
463 /* Define to 1 if you have the <stropts.h> header file. */
464 #undef HAVE_STROPTS_H
466 /* Define to 1 if you have the `syslog' function. */
469 /* Define to 1 if you have the <syslog.h> header file. */
472 /* Define to 1 if you have the `system' function. */
475 /* Define to 1 if you have the <sys/epoll.h> header file. */
476 #undef HAVE_SYS_EPOLL_H
478 /* Define to 1 if you have the <sys/file.h> header file. */
479 #undef HAVE_SYS_FILE_H
481 /* Define to 1 if you have the <sys/ioctl.h> header file. */
482 #undef HAVE_SYS_IOCTL_H
484 /* Define to 1 if you have the <sys/mman.h> header file. */
485 #undef HAVE_SYS_MMAN_H
487 /* Define to 1 if you have the <sys/poll.h> header file. */
488 #undef HAVE_SYS_POLL_H
490 /* Define to 1 if you have the <sys/socket.h> header file. */
491 #undef HAVE_SYS_SOCKET_H
493 /* Define to 1 if you have the <sys/sockio.h> header file. */
494 #undef HAVE_SYS_SOCKIO_H
496 /* Define to 1 if you have the <sys/stat.h> header file. */
497 #undef HAVE_SYS_STAT_H
499 /* Define to 1 if you have the <sys/time.h> header file. */
500 #undef HAVE_SYS_TIME_H
502 /* Define to 1 if you have the <sys/types.h> header file. */
503 #undef HAVE_SYS_TYPES_H
505 /* Define to 1 if you have the <sys/uio.h> header file. */
506 #undef HAVE_SYS_UIO_H
508 /* Define to 1 if you have the <sys/un.h> header file. */
511 /* Define to 1 if you have the <sys/wait.h> header file. */
512 #undef HAVE_SYS_WAIT_H
514 /* Define to 1 if you have the <tap-windows.h> header file. */
515 #undef HAVE_TAP_WINDOWS_H
517 /* Define to 1 if you have the `time' function. */
520 /* Define to 1 if you have the <time.h> header file. */
523 /* Define to 1 if you have the `umask' function. */
526 /* Define to 1 if you have the <unistd.h> header file. */
529 /* Define to 1 if you have the `unlink' function. */
532 /* Define to 1 if you have the `vfork' function. */
535 /* Define to 1 if you have the <vfork.h> header file. */
538 /* Define to 1 if you have the `vsnprintf' function. */
539 #undef HAVE_VSNPRINTF
541 /* Define to 1 if you have the <windows.h> header file. */
542 #undef HAVE_WINDOWS_H
544 /* Define to 1 if you have the <winsock2.h> header file. */
545 #undef HAVE_WINSOCK2_H
547 /* Define to 1 if `fork' works. */
548 #undef HAVE_WORKING_FORK
550 /* Define to 1 if `vfork' works. */
551 #undef HAVE_WORKING_VFORK
553 /* Define to 1 if you have the `writev' function. */
556 /* Define to 1 if you have the <ws2tcpip.h> header file. */
557 #undef HAVE_WS2TCPIP_H
559 /* Path to ifconfig tool */
562 /* Path to iproute tool */
565 /* Define to the sub-directory in which libtool stores uninstalled libraries.
569 /* Version in windows resource format */
570 #undef OPENVPN_VERSION_RESOURCE
572 /* Name of package */
575 /* Define to the address where bug reports for this package should be sent. */
576 #undef PACKAGE_BUGREPORT
578 /* Define to the full name of this package. */
581 /* Define to the full name and version of this package. */
582 #undef PACKAGE_STRING
584 /* Define to the one symbol short name of this package. */
585 #undef PACKAGE_TARNAME
587 /* Define to the home page for this package. */
590 /* Define to the version of this package. */
591 #undef PACKAGE_VERSION
594 #undef PATH_SEPARATOR
597 #undef PATH_SEPARATOR_STR
599 /* Define as the return type of signal handlers (`int' or `void'). */
602 /* Path to route tool */
605 /* SIGHUP replacement */
608 /* SIGINT replacement */
611 /* SIGTERM replacement */
614 /* SIGUSR1 replacement */
617 /* SIGUSR2 replacement */
620 /* The size of `unsigned int', as computed by sizeof. */
621 #undef SIZEOF_UNSIGNED_INT
623 /* The size of `unsigned long', as computed by sizeof. */
624 #undef SIZEOF_UNSIGNED_LONG
626 /* Define to 1 if you have the ANSI C header files. */
629 /* The tap-windows id */
630 #undef TAP_WIN_COMPONENT_ID
632 /* The tap-windows version number is required for OpenVPN */
633 #undef TAP_WIN_MIN_MAJOR
635 /* The tap-windows version number is required for OpenVPN */
636 #undef TAP_WIN_MIN_MINOR
638 /* A string representing our host */
641 /* Are we running on Mac OS X? */
644 /* Are we running on DragonFlyBSD? */
645 #undef TARGET_DRAGONFLY
647 /* Are we running on FreeBSD? */
648 #undef TARGET_FREEBSD
650 /* Are we running on Linux? */
653 /* Are we running NetBSD? */
656 /* Are we running on OpenBSD? */
657 #undef TARGET_OPENBSD
662 /* Are we running on Solaris? */
663 #undef TARGET_SOLARIS
665 /* Are we running WIN32? */
669 #undef USE_PAM_DLOPEN
671 /* Enable extensions on AIX 3, Interix. */
675 /* Enable GNU extensions on systems that have them. */
679 /* Enable threading extensions on Solaris. */
680 #ifndef _POSIX_PTHREAD_SEMANTICS
681 # undef _POSIX_PTHREAD_SEMANTICS
683 /* Enable extensions on HP NonStop. */
684 #ifndef _TANDEM_SOURCE
685 # undef _TANDEM_SOURCE
687 /* Enable general extensions on Solaris. */
688 #ifndef __EXTENSIONS__
689 # undef __EXTENSIONS__
693 /* Use valgrind memory debugging library */
696 /* Version number of package */
699 /* Define to 1 if on MINIX. */
702 /* Define to 2 if the system does not provide POSIX.1 features except with
704 #undef _POSIX_1_SOURCE
706 /* Define to 1 if you need to in order for `stat' and other things to work. */
709 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
710 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
711 #define below would cause a syntax error. */
714 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
715 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
716 #define below would cause a syntax error. */
719 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
720 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
721 #define below would cause a syntax error. */
724 /* Define to empty if `const' does not conform to ANSI C. */
727 /* Define to `int' if <sys/types.h> doesn't define. */
730 /* Workaround missing in_addr_t */
733 /* Define to `__inline__' or `__inline' if that's what the C compiler
734 calls it, or to nothing if 'inline' is not supported under any name. */
739 /* Define to the type of a signed integer type of width exactly 16 bits if
740 such a type exists and the standard includes do not define it. */
743 /* Define to the type of a signed integer type of width exactly 32 bits if
744 such a type exists and the standard includes do not define it. */
747 /* Define to the type of a signed integer type of width exactly 64 bits if
748 such a type exists and the standard includes do not define it. */
751 /* Define to the type of a signed integer type of width exactly 8 bits if such
752 a type exists and the standard includes do not define it. */
755 /* Define to `long int' if <sys/types.h> does not define. */
758 /* Define to `int' if <sys/types.h> does not define. */
761 /* Define to `unsigned int' if <sys/types.h> does not define. */
764 /* type to use in place of socklen_t if not defined */
767 /* Define to `int' if <sys/types.h> doesn't define. */
770 /* Define to the type of an unsigned integer type of width exactly 16 bits if
771 such a type exists and the standard includes do not define it. */
774 /* Define to the type of an unsigned integer type of width exactly 32 bits if
775 such a type exists and the standard includes do not define it. */
778 /* Define to the type of an unsigned integer type of width exactly 64 bits if
779 such a type exists and the standard includes do not define it. */
782 /* Define to the type of an unsigned integer type of width exactly 8 bits if
783 such a type exists and the standard includes do not define it. */
786 /* Define as `fork' if `vfork' does not work. */
789 /* Define to empty if the keyword `volatile' does not work. Warning: valid
790 code using `volatile' can become incorrect without. Disable with care. */