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 */
13 #undef DEFAULT_PKCS11_MODULE
15 /* Use dmalloc memory debugging library */
18 /* Dimension to use for empty array declaration */
19 #undef EMPTY_ARRAY_SIZE
21 /* Enable client capability only */
22 #undef ENABLE_CLIENT_ONLY
24 /* Enable client/server capability */
25 #undef ENABLE_CLIENT_SERVER
27 /* Enable crypto library */
30 /* Use OpenSSL library */
31 #undef ENABLE_CRYPTO_OPENSSL
33 /* Use PolarSSL library */
34 #undef ENABLE_CRYPTO_POLARSSL
36 /* Enable debugging support */
39 /* Enable deferred authentication */
40 #undef ENABLE_DEF_AUTH
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 /* Enable OFB and CFB cipher modes */
67 #undef ENABLE_OFB_CFB_MODE
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/in.h> header file. */
338 #undef HAVE_NETINET_IN_H
340 /* Define to 1 if you have the <netinet/in_systm.h> header file. */
341 #undef HAVE_NETINET_IN_SYSTM_H
343 /* Define to 1 if you have the <netinet/ip.h> header file. */
344 #undef HAVE_NETINET_IP_H
346 /* Define to 1 if you have the <netinet/tcp.h> header file. */
347 #undef HAVE_NETINET_TCP_H
349 /* Define to 1 if you have the <net/if.h> header file. */
352 /* Define to 1 if you have the <net/if_tun.h> header file. */
353 #undef HAVE_NET_IF_TUN_H
355 /* Define to 1 if you have the <net/if_utun.h> header file. */
356 #undef HAVE_NET_IF_UTUN_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 `sd_booted' function. */
395 #undef HAVE_SD_BOOTED
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 <systemd/sd-daemon.h> header file. */
476 #undef HAVE_SYSTEMD_SD_DAEMON_H
478 /* Define to 1 if you have the <sys/epoll.h> header file. */
479 #undef HAVE_SYS_EPOLL_H
481 /* Define to 1 if you have the <sys/file.h> header file. */
482 #undef HAVE_SYS_FILE_H
484 /* Define to 1 if you have the <sys/ioctl.h> header file. */
485 #undef HAVE_SYS_IOCTL_H
487 /* Define to 1 if you have the <sys/kern_control.h> header file. */
488 #undef HAVE_SYS_KERN_CONTROL_H
490 /* Define to 1 if you have the <sys/mman.h> header file. */
491 #undef HAVE_SYS_MMAN_H
493 /* Define to 1 if you have the <sys/poll.h> header file. */
494 #undef HAVE_SYS_POLL_H
496 /* Define to 1 if you have the <sys/socket.h> header file. */
497 #undef HAVE_SYS_SOCKET_H
499 /* Define to 1 if you have the <sys/sockio.h> header file. */
500 #undef HAVE_SYS_SOCKIO_H
502 /* Define to 1 if you have the <sys/stat.h> header file. */
503 #undef HAVE_SYS_STAT_H
505 /* Define to 1 if you have the <sys/time.h> header file. */
506 #undef HAVE_SYS_TIME_H
508 /* Define to 1 if you have the <sys/types.h> header file. */
509 #undef HAVE_SYS_TYPES_H
511 /* Define to 1 if you have the <sys/uio.h> header file. */
512 #undef HAVE_SYS_UIO_H
514 /* Define to 1 if you have the <sys/un.h> header file. */
517 /* Define to 1 if you have the <sys/wait.h> header file. */
518 #undef HAVE_SYS_WAIT_H
520 /* Define to 1 if you have the <tap-windows.h> header file. */
521 #undef HAVE_TAP_WINDOWS_H
523 /* Define to 1 if you have the `time' function. */
526 /* Define to 1 if you have the <time.h> header file. */
529 /* Define to 1 if you have the `umask' function. */
532 /* Define to 1 if you have the <unistd.h> header file. */
535 /* Define to 1 if you have the `unlink' function. */
538 /* Define to 1 if you have the <versionhelpers.h> header file. */
539 #undef HAVE_VERSIONHELPERS_H
541 /* Define to 1 if you have the `vfork' function. */
544 /* Define to 1 if you have the <vfork.h> header file. */
547 /* Define to 1 if you have the `vsnprintf' function. */
548 #undef HAVE_VSNPRINTF
550 /* Define to 1 if you have the <windows.h> header file. */
551 #undef HAVE_WINDOWS_H
553 /* Define to 1 if you have the <winsock2.h> header file. */
554 #undef HAVE_WINSOCK2_H
556 /* Define to 1 if `fork' works. */
557 #undef HAVE_WORKING_FORK
559 /* Define to 1 if `vfork' works. */
560 #undef HAVE_WORKING_VFORK
562 /* Define to 1 if you have the `writev' function. */
565 /* Define to 1 if you have the <ws2tcpip.h> header file. */
566 #undef HAVE_WS2TCPIP_H
568 /* Path to ifconfig tool */
571 /* Path to iproute tool */
574 /* Define to the sub-directory in which libtool stores uninstalled libraries.
578 /* Version in windows resource format */
579 #undef OPENVPN_VERSION_RESOURCE
581 /* Name of package */
584 /* Define to the address where bug reports for this package should be sent. */
585 #undef PACKAGE_BUGREPORT
587 /* Define to the full name of this package. */
590 /* Define to the full name and version of this package. */
591 #undef PACKAGE_STRING
593 /* Define to the one symbol short name of this package. */
594 #undef PACKAGE_TARNAME
596 /* Define to the home page for this package. */
599 /* Define to the version of this package. */
600 #undef PACKAGE_VERSION
603 #undef PATH_SEPARATOR
606 #undef PATH_SEPARATOR_STR
608 /* Define as the return type of signal handlers (`int' or `void'). */
611 /* Path to route tool */
614 /* SIGHUP replacement */
617 /* SIGINT replacement */
620 /* SIGTERM replacement */
623 /* SIGUSR1 replacement */
626 /* SIGUSR2 replacement */
629 /* The size of `unsigned int', as computed by sizeof. */
630 #undef SIZEOF_UNSIGNED_INT
632 /* The size of `unsigned long', as computed by sizeof. */
633 #undef SIZEOF_UNSIGNED_LONG
635 /* Define to 1 if you have the ANSI C header files. */
638 /* Path to systemd-ask-password tool */
639 #undef SYSTEMD_ASK_PASSWORD_PATH
641 /* The tap-windows id */
642 #undef TAP_WIN_COMPONENT_ID
644 /* The tap-windows version number is required for OpenVPN */
645 #undef TAP_WIN_MIN_MAJOR
647 /* The tap-windows version number is required for OpenVPN */
648 #undef TAP_WIN_MIN_MINOR
650 /* A string representing our host */
653 /* Are we running on Mac OS X? */
656 /* Are we running on DragonFlyBSD? */
657 #undef TARGET_DRAGONFLY
659 /* Are we running on FreeBSD? */
660 #undef TARGET_FREEBSD
662 /* Are we running on Linux? */
665 /* Are we running NetBSD? */
668 /* Are we running on OpenBSD? */
669 #undef TARGET_OPENBSD
674 /* Are we running on Solaris? */
675 #undef TARGET_SOLARIS
677 /* Are we running WIN32? */
681 #undef USE_PAM_DLOPEN
683 /* Enable extensions on AIX 3, Interix. */
687 /* Enable GNU extensions on systems that have them. */
691 /* Enable threading extensions on Solaris. */
692 #ifndef _POSIX_PTHREAD_SEMANTICS
693 # undef _POSIX_PTHREAD_SEMANTICS
695 /* Enable extensions on HP NonStop. */
696 #ifndef _TANDEM_SOURCE
697 # undef _TANDEM_SOURCE
699 /* Enable general extensions on Solaris. */
700 #ifndef __EXTENSIONS__
701 # undef __EXTENSIONS__
705 /* Use valgrind memory debugging library */
708 /* Version number of package */
711 /* Define to 1 if on MINIX. */
714 /* Define to 2 if the system does not provide POSIX.1 features except with
716 #undef _POSIX_1_SOURCE
718 /* Define to 1 if you need to in order for `stat' and other things to work. */
721 /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
722 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
723 #define below would cause a syntax error. */
726 /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
727 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
728 #define below would cause a syntax error. */
731 /* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
732 <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
733 #define below would cause a syntax error. */
736 /* Define to empty if `const' does not conform to ANSI C. */
739 /* Define to `int' if <sys/types.h> doesn't define. */
742 /* Workaround missing in_addr_t */
745 /* Define to `__inline__' or `__inline' if that's what the C compiler
746 calls it, or to nothing if 'inline' is not supported under any name. */
751 /* Define to the type of a signed integer type of width exactly 16 bits if
752 such a type exists and the standard includes do not define it. */
755 /* Define to the type of a signed integer type of width exactly 32 bits if
756 such a type exists and the standard includes do not define it. */
759 /* Define to the type of a signed integer type of width exactly 64 bits if
760 such a type exists and the standard includes do not define it. */
763 /* Define to the type of a signed integer type of width exactly 8 bits if such
764 a type exists and the standard includes do not define it. */
767 /* Define to `long int' if <sys/types.h> does not define. */
770 /* Define to `int' if <sys/types.h> does not define. */
773 /* Define to `unsigned int' if <sys/types.h> does not define. */
776 /* type to use in place of socklen_t if not defined */
779 /* Define to `int' if <sys/types.h> doesn't define. */
782 /* Define to the type of an unsigned integer type of width exactly 16 bits if
783 such a type exists and the standard includes do not define it. */
786 /* Define to the type of an unsigned integer type of width exactly 32 bits if
787 such a type exists and the standard includes do not define it. */
790 /* Define to the type of an unsigned integer type of width exactly 64 bits if
791 such a type exists and the standard includes do not define it. */
794 /* Define to the type of an unsigned integer type of width exactly 8 bits if
795 such a type exists and the standard includes do not define it. */
798 /* Define as `fork' if `vfork' does not work. */
801 /* Define to empty if the keyword `volatile' does not work. Warning: valid
802 code using `volatile' can become incorrect without. Disable with care. */