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 /* We have persist tun capability */
40 #undef ENABLE_FEATURE_TUN_PERSIST
42 /* Enable internal fragmentation support */
43 #undef ENABLE_FRAGMENT
45 /* Enable HTTP proxy support */
46 #undef ENABLE_HTTP_PROXY
48 /* enable iproute2 support */
51 /* Enable LZO compression library */
54 /* Enable LZO stub capability */
55 #undef ENABLE_LZO_STUB
57 /* Enable management server capability */
58 #undef ENABLE_MANAGEMENT
60 /* Enable multi-homed UDP server capability */
61 #undef ENABLE_MULTIHOME
63 /* Enable OFB and CFB cipher modes */
64 #undef ENABLE_OFB_CFB_MODE
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 plug-in 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 integration */
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/if_utun.h> header file. */
359 #undef HAVE_NET_IF_UTUN_H
361 /* Define to 1 if you have the <net/tun/if_tun.h> header file. */
362 #undef HAVE_NET_TUN_IF_TUN_H
364 /* Define to 1 if you have the `nice' function. */
367 /* Define to 1 if you have the `openlog' function. */
370 /* Use crypto library */
371 #undef HAVE_OPENSSL_ENGINE
373 /* Define to 1 if you have the `poll' function. */
376 /* Define to 1 if you have the `putenv' function. */
379 /* Define to 1 if you have the <pwd.h> header file. */
382 /* Define to 1 if you have the `readv' function. */
385 /* Define to 1 if you have the `recv' function. */
388 /* Define to 1 if you have the `recvfrom' function. */
391 /* Define to 1 if you have the `recvmsg' function. */
394 /* Define to 1 if you have the <resolv.h> header file. */
397 /* Define to 1 if you have the `res_init' function. */
400 /* Define to 1 if you have the `sd_booted' function. */
401 #undef HAVE_SD_BOOTED
403 /* Define to 1 if you have the `select' function. */
406 /* Define to 1 if you have the `send' function. */
409 /* Define to 1 if you have the `sendmsg' function. */
412 /* Define to 1 if you have the `sendto' function. */
415 /* Define to 1 if you have the `setgid' function. */
418 /* Define to 1 if you have the `setgroups' function. */
419 #undef HAVE_SETGROUPS
421 /* Define to 1 if you have the `setsid' function. */
424 /* Define to 1 if you have the `setsockopt' function. */
425 #undef HAVE_SETSOCKOPT
427 /* Define to 1 if you have the `setuid' function. */
430 /* Define to 1 if you have the <signal.h> header file. */
433 /* Define to 1 if you have the `socket' function. */
436 /* struct sock_extended_err needed for extended socket error support */
437 #undef HAVE_SOCK_EXTENDED_ERR
439 /* Define to 1 if you have the `stat' function. */
442 /* Define to 1 if you have the <stdarg.h> header file. */
445 /* Define to 1 if you have the <stdbool.h> header file. */
446 #undef HAVE_STDBOOL_H
448 /* Define to 1 if you have the <stdint.h> header file. */
451 /* Define to 1 if you have the <stdio.h> header file. */
454 /* Define to 1 if you have the <stdlib.h> header file. */
457 /* Define to 1 if you have the `strdup' function. */
460 /* Define to 1 if you have the `strerror' function. */
463 /* Define to 1 if you have the <strings.h> header file. */
464 #undef HAVE_STRINGS_H
466 /* Define to 1 if you have the <string.h> header file. */
469 /* Define to 1 if you have the <stropts.h> header file. */
470 #undef HAVE_STROPTS_H
472 /* Define to 1 if you have the `syslog' function. */
475 /* Define to 1 if you have the <syslog.h> header file. */
478 /* Define to 1 if you have the `system' function. */
481 /* Define to 1 if you have the <systemd/sd-daemon.h> header file. */
482 #undef HAVE_SYSTEMD_SD_DAEMON_H
484 /* Define to 1 if you have the <sys/epoll.h> header file. */
485 #undef HAVE_SYS_EPOLL_H
487 /* Define to 1 if you have the <sys/file.h> header file. */
488 #undef HAVE_SYS_FILE_H
490 /* Define to 1 if you have the <sys/ioctl.h> header file. */
491 #undef HAVE_SYS_IOCTL_H
493 /* Define to 1 if you have the <sys/kern_control.h> header file. */
494 #undef HAVE_SYS_KERN_CONTROL_H
496 /* Define to 1 if you have the <sys/mman.h> header file. */
497 #undef HAVE_SYS_MMAN_H
499 /* Define to 1 if you have the <sys/poll.h> header file. */
500 #undef HAVE_SYS_POLL_H
502 /* Define to 1 if you have the <sys/socket.h> header file. */
503 #undef HAVE_SYS_SOCKET_H
505 /* Define to 1 if you have the <sys/sockio.h> header file. */
506 #undef HAVE_SYS_SOCKIO_H
508 /* Define to 1 if you have the <sys/stat.h> header file. */
509 #undef HAVE_SYS_STAT_H
511 /* Define to 1 if you have the <sys/time.h> header file. */
512 #undef HAVE_SYS_TIME_H
514 /* Define to 1 if you have the <sys/types.h> header file. */
515 #undef HAVE_SYS_TYPES_H
517 /* Define to 1 if you have the <sys/uio.h> header file. */
518 #undef HAVE_SYS_UIO_H
520 /* Define to 1 if you have the <sys/un.h> header file. */
523 /* Define to 1 if you have the <sys/wait.h> header file. */
524 #undef HAVE_SYS_WAIT_H
526 /* Define to 1 if you have the <tap-windows.h> header file. */
527 #undef HAVE_TAP_WINDOWS_H
529 /* Define to 1 if you have the `time' function. */
532 /* Define to 1 if you have the <time.h> header file. */
535 /* Define to 1 if you have the `umask' function. */
538 /* Define to 1 if you have the <unistd.h> header file. */
541 /* Define to 1 if you have the `unlink' function. */
544 /* Define to 1 if you have the `vfork' function. */
547 /* Define to 1 if you have the <vfork.h> header file. */
550 /* Define to 1 if you have the `vsnprintf' function. */
551 #undef HAVE_VSNPRINTF
553 /* Define to 1 if you have the <windows.h> header file. */
554 #undef HAVE_WINDOWS_H
556 /* Define to 1 if you have the <winsock2.h> header file. */
557 #undef HAVE_WINSOCK2_H
559 /* Define to 1 if `fork' works. */
560 #undef HAVE_WORKING_FORK
562 /* Define to 1 if `vfork' works. */
563 #undef HAVE_WORKING_VFORK
565 /* Define to 1 if you have the `writev' function. */
568 /* Define to 1 if you have the <ws2tcpip.h> header file. */
569 #undef HAVE_WS2TCPIP_H
571 /* Path to ifconfig tool */
574 /* Path to iproute tool */
577 /* Define to the sub-directory in which libtool stores uninstalled libraries.
581 /* Version in windows resource format */
582 #undef OPENVPN_VERSION_RESOURCE
584 /* Name of package */
587 /* Define to the address where bug reports for this package should be sent. */
588 #undef PACKAGE_BUGREPORT
590 /* Define to the full name of this package. */
593 /* Define to the full name and version of this package. */
594 #undef PACKAGE_STRING
596 /* Define to the one symbol short name of this package. */
597 #undef PACKAGE_TARNAME
599 /* Define to the home page for this package. */
602 /* Define to the version of this package. */
603 #undef PACKAGE_VERSION
606 #undef PATH_SEPARATOR
609 #undef PATH_SEPARATOR_STR
611 /* Define as the return type of signal handlers (`int' or `void'). */
614 /* Path to route tool */
617 /* SIGHUP replacement */
620 /* SIGINT replacement */
623 /* SIGTERM replacement */
626 /* SIGUSR1 replacement */
629 /* SIGUSR2 replacement */
632 /* The size of `unsigned int', as computed by sizeof. */
633 #undef SIZEOF_UNSIGNED_INT
635 /* The size of `unsigned long', as computed by sizeof. */
636 #undef SIZEOF_UNSIGNED_LONG
638 /* Define to 1 if you have the ANSI C header files. */
641 /* Path to systemd-ask-password tool */
642 #undef SYSTEMD_ASK_PASSWORD_PATH
644 /* The tap-windows id */
645 #undef TAP_WIN_COMPONENT_ID
647 /* The tap-windows version number is required for OpenVPN */
648 #undef TAP_WIN_MIN_MAJOR
650 /* The tap-windows version number is required for OpenVPN */
651 #undef TAP_WIN_MIN_MINOR
653 /* A string representing our host */
656 /* Are we running on Mac OS X? */
659 /* Are we running on DragonFlyBSD? */
660 #undef TARGET_DRAGONFLY
662 /* Are we running on FreeBSD? */
663 #undef TARGET_FREEBSD
665 /* Are we running on Linux? */
668 /* Are we running NetBSD? */
671 /* Are we running on OpenBSD? */
672 #undef TARGET_OPENBSD
677 /* Are we running on Solaris? */
678 #undef TARGET_SOLARIS
680 /* Are we running WIN32? */
684 #undef USE_PAM_DLOPEN
686 /* Enable extensions on AIX 3, Interix. */
690 /* Enable GNU extensions on systems that have them. */
694 /* Enable threading extensions on Solaris. */
695 #ifndef _POSIX_PTHREAD_SEMANTICS
696 # undef _POSIX_PTHREAD_SEMANTICS
698 /* Enable extensions on HP NonStop. */
699 #ifndef _TANDEM_SOURCE
700 # undef _TANDEM_SOURCE
702 /* Enable general extensions on Solaris. */
703 #ifndef __EXTENSIONS__
704 # undef __EXTENSIONS__
708 /* Use valgrind memory debugging library */
711 /* Version number of package */
714 /* Define to 1 if on MINIX. */
717 /* Define to 2 if the system does not provide POSIX.1 features except with
719 #undef _POSIX_1_SOURCE
721 /* Define to 1 if you need to in order for `stat' and other things to work. */
724 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
725 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
726 #define below would cause a syntax error. */
729 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
730 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
731 #define below would cause a syntax error. */
734 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
735 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
736 #define below would cause a syntax error. */
739 /* Define to empty if `const' does not conform to ANSI C. */
742 /* Define to `int' if <sys/types.h> doesn't define. */
745 /* Workaround missing in_addr_t */
748 /* Define to `__inline__' or `__inline' if that's what the C compiler
749 calls it, or to nothing if 'inline' is not supported under any name. */
754 /* Define to the type of a signed integer type of width exactly 16 bits if
755 such a type exists and the standard includes do not define it. */
758 /* Define to the type of a signed integer type of width exactly 32 bits if
759 such a type exists and the standard includes do not define it. */
762 /* Define to the type of a signed integer type of width exactly 64 bits if
763 such a type exists and the standard includes do not define it. */
766 /* Define to the type of a signed integer type of width exactly 8 bits if such
767 a type exists and the standard includes do not define it. */
770 /* Define to `long int' if <sys/types.h> does not define. */
773 /* Define to `int' if <sys/types.h> does not define. */
776 /* Define to `unsigned int' if <sys/types.h> does not define. */
779 /* type to use in place of socklen_t if not defined */
782 /* Define to `int' if <sys/types.h> doesn't define. */
785 /* Define to the type of an unsigned integer type of width exactly 16 bits if
786 such a type exists and the standard includes do not define it. */
789 /* Define to the type of an unsigned integer type of width exactly 32 bits if
790 such a type exists and the standard includes do not define it. */
793 /* Define to the type of an unsigned integer type of width exactly 64 bits if
794 such a type exists and the standard includes do not define it. */
797 /* Define to the type of an unsigned integer type of width exactly 8 bits if
798 such a type exists and the standard includes do not define it. */
801 /* Define as `fork' if `vfork' does not work. */
804 /* Define to empty if the keyword `volatile' does not work. Warning: valid
805 code using `volatile' can become incorrect without. Disable with care. */