1 /* source: config.h.in */
2 /* Copyright Gerhard Rieger and contributors (see file CHANGES) */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 #ifndef __config_h_included
6 #define __config_h_included 1
8 /* Define to empty if the keyword does not work. */
11 /* Define to `int' if <sys/types.h> doesn't define. */
14 /* Define if your struct stat has st_blksize. */
15 #undef HAVE_ST_BLKSIZE
17 /* Define if your struct stat has st_blocks. */
20 /* Define if your struct stat has st_rdev. */
23 /* Define if you have the strftime function. */
26 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
27 #undef HAVE_SYS_WAIT_H
29 /* Define to `int' if <sys/types.h> doesn't define. */
32 /* Define to `long' if <sys/types.h> doesn't define. */
35 /* Define to `int' if <sys/types.h> doesn't define. */
38 /* Define as the return type of signal handlers (int or void). */
41 /* Define to `unsigned' if <sys/types.h> doesn't define. */
44 /* Define if you have the ANSI C header files. */
47 /* Define if you can safely include both <sys/time.h> and <time.h>. */
48 #undef TIME_WITH_SYS_TIME
50 /* Define to `int' if <sys/types.h> doesn't define. */
53 /* Define if you have the putenv function. */
56 /* Define if your cc provides char **environ declaration.
57 This implies HAVE_VAR_ENVIRON */
58 #undef HAVE_DECL_ENVIRON
60 /* Define if you have the char **environ variable */
61 #undef HAVE_VAR_ENVIRON
63 /* Define if you have the select function. */
66 /* Define if you have the pselect function. */
69 /* Define if you have the poll function. */
72 /* Define if you have the socket function. */
75 /* Define if you have the posix_memalign function. */
76 #undef HAVE_PROTOTYPE_LIB_posix_memalign
78 /* Define if you have the strdup function. */
79 #undef HAVE_PROTOTYPE_LIB_strdup
81 /* Define if you have the strerror function. */
82 #undef HAVE_PROTOTYPE_LIB_strerror
84 /* Define if you have the strstr function. */
85 #undef HAVE_PROTOTYPE_LIB_strstr
87 /* Define if you have the strtod function. */
90 /* Define if you have the strtol function. */
93 /* Define if you have the strtoul function. */
96 /* Define if you have the uname function. */
99 /* Define if you have the getpgid function. */
102 /* Define if you have the getsid function. */
105 /* Define if you have the nanosleep function. */
106 #undef HAVE_NANOSLEEP
108 /* Define if you have the gethostbyname function. */
109 #undef HAVE_GETHOSTBYNAME
111 /* Define if you have the getaddrinfo function. */
112 #undef HAVE_GETADDRINFO
114 /* Define if you have the getipnodebyname function. */
115 #undef HAVE_PROTOTYPE_LIB_getipnodebyname
117 /* Define if you have the getprotobynumber_r function. */
118 #undef HAVE_GETPROTOBYNUMBER_R
120 /* Define if you have the getprotobynumber function. */
121 #undef HAVE_GETPROTOBYNUMBER
123 /* Define if you have the setgroups function. */
124 #undef HAVE_SETGROUPS
126 /* Define if you have the inet_aton function. */
127 #undef HAVE_INET_ATON
129 /* Define if you have the strndup function. */
130 #undef HAVE_PROTOTYPE_LIB_strndup
132 /* Define if you have the memrchr function. */
133 #undef HAVE_PROTOTYPE_LIB_memrchr
135 /* Define if you have the if_indextoname function. */
136 #undef HAVE_PROTOTYPE_LIB_if_indextoname
138 /* Define if you have the sigaction function */
139 #undef HAVE_SIGACTION
141 /* Define if you have the stat64 function */
144 /* Define if you have the fstat64 function */
147 /* Define if you have the lstat64 function */
150 /* Define if you have the lseek64 function */
153 /* Define if you have the truncate64 function */
154 #undef HAVE_TRUNCATE64
156 /* Define if you have the ftruncate64 function */
157 #undef HAVE_FTRUNCATE64
159 /* Define if you have the gettimeofday function */
160 #undef HAVE_PROTOTYPE_LIB_gettimeofday
162 /* Define if you have the clock_gettime function */
163 #undef HAVE_CLOCK_GETTIME
165 /* Define if you have the strtoll function */
168 /* Define if you have the hstrerror function */
169 #undef HAVE_HSTRERROR
171 /* Define if you have the inet_ntop function */
172 #undef HAVE_INET_NTOP
174 /* Define if you have the hstrerror prototype */
175 #undef HAVE_PROTOTYPE_HSTRERROR
177 /* Define if you have the <stdbool.h> header file. */
178 #undef HAVE_STDBOOL_H
180 /* Define if you have the <inttypes.h> header file. */
181 #undef HAVE_INTTYPES_H
183 /* Define if you have the <fcntl.h> header file. */
186 /* Define if you have the <limits.h> header file. */
189 /* Define if you have the <strings.h> header file. */
190 #undef HAVE_STRINGS_H
192 /* Define if you have the <sys/param.h> header file. */
193 #undef HAVE_SYS_PARAM_H
195 /* Define if you have the <sys/ioctl.h> header file. */
196 #undef HAVE_SYS_IOCTL_H
198 /* Define if you have the <sys/time.h> header file. */
199 #undef HAVE_SYS_TIME_H
201 /* Define if you have the <syslog.h> header file. */
204 /* Define if you have the <unistd.h> header file. */
207 /* Define if you have the <pwd.h> header file. */
210 /* Define if you have the <grp.h> header file. */
213 /* Define if you have the <stdint.h> header file. */
216 /* Define if you have the <sys/types.h> header file. */
217 #undef HAVE_SYS_TYPES_H
219 /* Define if you have the <poll.h> header file. */
222 /* Define if you have the <sys/poll.h> header file. */
223 #undef HAVE_SYS_POLL_H
225 /* Define if you have the <sys/socket.h> header file. */
226 #undef HAVE_SYS_SOCKET_H
228 /* Define if you have the <sys/uio.h> header file. */
229 #undef HAVE_SYS_UIO_H
231 /* Define if you have the <sys/stat.h> header file. */
232 #undef HAVE_SYS_STAT_H
234 /* Define if you have the <netdb.h> header file. */
237 /* Define if you have the <sys/un.h> header file. */
240 /* Define if you have the <pty.h> header file. */
243 /* Define if you have the <netinet/in.h> header file. */
244 #undef HAVE_NETINET_IN_H
246 /* Define if you have the <netinet/in_systm.h> header file. */
247 #undef HAVE_NETINET_IN_SYSTM_H
249 /* Define if you have the <netinet/ip.h> header file. */
250 #undef HAVE_NETINET_IP_H
252 /* Define if you have the <netinet/tcp.h> header file. */
253 #undef HAVE_NETINET_TCP_H
255 /* Define if you have the <netinet/ip6.h> header file. */
256 #undef HAVE_NETINET_IP6_H
258 /* Define if you have the <netinet6/in6.h> header file. */
259 #undef HAVE_NETINET6_IN6_H
261 /* Define if you have the <arpa/nameser.h> header file. */
262 #undef HAVE_ARPA_NAMESER_H
264 /* Define if you have the <resolv.h> header file. */
267 /* Define if you have the <termios.h> header file. */
268 #undef HAVE_TERMIOS_H
270 /* Define if you have the <net/if.h> header file. */
273 /* Define if you have the <net/if_dl.h> header file. */
274 #undef HAVE_NET_IF_DL_H
276 /* Define if you have the <linux/types.h> header file. */
277 #undef HAVE_LINUX_TYPES_H
279 /* Define if you have the <linux/errqueue.h> header file. */
280 #undef HAVE_LINUX_ERRQUEUE_H
282 /* Define if you have the <linux/if_tun.h> header file. */
283 #undef HAVE_LINUX_IF_TUN_H
285 /* Define if you have the <linux/dccp.h> header file. */
286 #undef HAVE_LINUX_DCCP_H
288 /* Define if you have the <linux/vm_sockets.h> header file. */
289 #undef HAVE_LINUX_VM_SOCKETS_H
291 /* Define if you have the <sched.h> header file. */
294 /* Define if you have the <linux/if_packet.h> header file. */
295 #undef HAVE_LINUX_IF_PACKET_H
297 /* Define if you have the <netinet/if_ether.h> header file. */
298 #undef HAVE_NETINET_IF_ETHER_H
300 /* Define if you have the <sys/utsname.h> header file. */
301 #undef HAVE_SYS_UTSNAME_H
303 /* Define if you have the <sys/select.h> header file. (AIX) */
304 #undef HAVE_SYS_SELECT_H
306 /* Define if you have the <sys/file.h> header file. (AIX) */
307 #undef HAVE_SYS_FILE_H
309 /* Define if you have the <util.h> header file. (NetBSD, OpenBSD: openpty()) */
312 /* Define if you have the <bsd/libutil.h> header file. */
313 #undef HAVE_BSD_LIBUTIL_H
315 /* Define if you have the <libutil.h> header file. (FreeBSD: openpty()) */
316 #undef HAVE_LIBUTIL_H
318 /* Define if you have the <sys/stropts.h> header file. (stream opts on SunOS)*/
319 #undef HAVE_SYS_STROPTS_H
321 /* Define if you have the <regex.h> header file. */
324 /* Define if you have the <linux/fs.h> header file. */
325 #undef HAVE_LINUX_FS_H
327 /* Define if you have the <linux/ext2_fs.h> header file. */
328 #undef HAVE_LINUX_EXT2_FS_H
330 /* Define if you have the <readline/readline.h> header file. */
331 #undef HAVE_READLINE_READLINE_H
333 /* Define if you have the <readline/history.h> header file. */
334 #undef HAVE_READLINE_HISTORY_H
336 /* Define if you have the readline library. */
337 #undef HAVE_LIBREADLINE
339 /* Define if you have the m library (-lm). */
342 /* Define if you have the floor function */
345 /* some platforms need _XOPEN_EXTENDED_SOURCE to get syslog headers (AIX4.1) */
346 #undef _XOPEN_EXTENDED_SOURCE
348 /* fdset may have component fds_bits or __fds_bits */
351 /* struct termios may have components c_ispeed,c_ospeed */
352 #undef HAVE_STRUCT_TERMIOS_C_ISPEED
353 #undef HAVE_STRUCT_TERMIOS_C_OSPEED
355 /* Define if you have the sa_family_t */
356 #undef HAVE_TYPE_SA_FAMILY_T
358 /* define if your struct sigaction has sa_sigaction */
359 #undef HAVE_STRUCT_SIGACTION_SA_SIGACTION
361 /* define if you have struct sock_extended_err */
362 #undef HAVE_STRUCT_SOCK_EXTENDED_ERR
364 /* Define if your termios.h likes _SVID3 defined */
367 /* Define if your sys/socket.h likes _XPG4_2 defined */
370 /* Define if your ctime_r() choices need _POSIX_PTHREAD_SEMANTICS */
371 #undef _POSIX_PTHREAD_SEMANTICS
373 /* Define if you need __EXTENSIONS__ */
374 #undef __EXTENSIONS__
376 /* Define if you have struct timespec (e.g. for nanosleep) */
377 #undef HAVE_STRUCT_TIMESPEC
379 /* Define if you have struct linger */
380 #undef HAVE_STRUCT_LINGER
382 /* Define if you have struct ip */
383 #undef HAVE_STRUCT_IP
385 /* Define if you have struct ip_mreq */
386 #undef HAVE_STRUCT_IP_MREQ
388 /* Define if you have struct ip_mreqn */
389 #undef HAVE_STRUCT_IP_MREQN
391 /* Define if you have struct ipv6_mreq */
392 #undef HAVE_STRUCT_IPV6_MREQ
394 /* Define if you have struct ip_mreq_source */
395 #undef HAVE_STRUCT_IP_MREQ_SOURCE
397 /* Define if you have struct group_source_req */
398 #undef HAVE_STRUCT_GROUP_SOURCE_REQ
400 /* Define if you have struct ifreq */
401 #undef HAVE_STRUCT_IFREQ
403 /* Define if you have struct ifreq.ifr_index */
404 #undef HAVE_STRUCT_IFREQ_IFR_INDEX
406 /* Define if you have struct ifreq.ifr_ifindex; not on HPUX */
407 #undef HAVE_STRUCT_IFREQ_IFR_IFINDEX
409 /* Define if your struct sockaddr has sa_len */
410 #undef HAVE_STRUCT_SOCKADDR_SALEN
412 /* there are several implementations of sockaddr_in6 */
413 #undef HAVE_IP6_SOCKADDR
415 /* Define if you have struct iovec */
416 #undef HAVE_STRUCT_IOVEC
418 /* define if your struct msghdr has msg_control */
419 #undef HAVE_STRUCT_MSGHDR_MSGCONTROL
421 /* define if your struct msghdr has msg_controllen */
422 #undef HAVE_STRUCT_MSGHDR_MSGCONTROLLEN
424 /* define if your struct msghdr has msg_flag */
425 #undef HAVE_STRUCT_MSGHDR_MSGFLAGS
427 /* define if you have struct cmsghdr */
428 #undef HAVE_STRUCT_CMSGHDR
430 /* define if you have struct in_pktinfo */
431 #undef HAVE_STRUCT_IN_PKTINFO
433 /* define if your struct in_pktinfo has component ipi_spec_dst */
434 #undef HAVE_PKTINFO_IPI_SPEC_DST
436 /* define if you have struct in6_pktinfo */
437 #undef HAVE_STRUCT_IN6_PKTINFO
439 /* define if you have struct tpacket_auxdata */
440 #undef HAVE_STRUCT_TPACKET_AUXDATA
442 /* define if you have struct tpacket_auxdata and it has tp_vlan_tpid */
443 #undef HAVE_STRUCT_TPACKET_AUXDATA_TP_VLAN_TPID
445 /* define if your struct ip has ip_hl; otherwise assume ip_vhl */
446 #undef HAVE_STRUCT_IP_IP_HL
448 /* Define if you have the setns function */
451 /* Define if you have the setenv function */
454 /* Define if you have the unsetenv function. not on HP-UX */
457 /* Define if you have the cfsetispeed,cfgetispeed,cfsetspeed,cfgetospeed function */
458 #undef HAVE_CFSETISPEED
459 #undef HAVE_CFSETOSPEED
462 # define HAVE_TERMIOS_ISPEED 1
465 # define HAVE_TERMIOS_OSPEED 1
467 #if defined(HAVE_TERMIOS_ISPEED) && defined(HAVE_TERMIOS_OSPEED)
468 # define HAVE_TERMIOS_SPEED 1
471 /* Define if you have the OPENSSL_init_ssl function */
472 #undef HAVE_OPENSSL_INIT_SSL
474 /* Define if you have the OPENSSL_INIT_SETTINGS type (guarded for OpenBSD) */
475 #undef HAVE_OPENSSL_INIT_SETTINGS
477 /* Define if you have the SSL_library_init function */
478 #undef HAVE_SSL_library_init
480 /* Define if you have the OPENSSL_INIT_new function */
481 #undef HAVE_OPENSSL_INIT_new
483 /* Define if you have the SSLv2 client and server method functions. not in new openssl */
484 #undef HAVE_SSLv2_client_method
485 #undef HAVE_SSLv2_server_method
487 /* Define if you have the HAVE_SSL_CTX_set_default_verify_paths function */
488 #undef HAVE_SSL_CTX_set_default_verify_paths
490 /* Define if you have the TLS client and server method functions. not in old openssl? */
491 #undef HAVE_TLS_client_method
492 #undef HAVE_TLS_server_method
494 /* Define if you have the SSLv3 client and server method functions. not in new openssl */
495 #undef HAVE_SSLv3_client_method
496 #undef HAVE_SSLv3_server_method
498 /* Define if you have the SSLv3 client and server method functions with rollback to v2 */
499 #undef HAVE_SSLv23_client_method
500 #undef HAVE_SSLv23_server_method
502 /* Define if you have the TLSv1.0 client and server method functions */
503 #undef HAVE_TLSv1_client_method
504 #undef HAVE_TLSv1_server_method
506 /* Define if you have the TLSv1.1 client and server method functions */
507 #undef HAVE_TLSv1_1_client_method
508 #undef HAVE_TLSv1_1_server_method
510 /* Define if you have the TLSv1.2 client and server method functions */
511 #undef HAVE_TLSv1_2_client_method
512 #undef HAVE_TLSv1_2_server_method
514 /* Define if you have the DTLS client and server method functions */
515 #undef HAVE_DTLS_client_method
516 #undef HAVE_DTLS_server_method
518 /* Define if you have the DTLSv1 client and server method functions */
519 #undef HAVE_DTLSv1_client_method
520 #undef HAVE_DTLSv1_server_method
522 /* Define if you have the SSL CTX_set_min_proto_version function/macro */
523 #undef HAVE_SSL_CTX_set_min_proto_version
525 /* Define if you have the SSL_CTX_set_max_proto_version function/macro */
526 #undef HAVE_SSL_CTX_set_max_proto_version
528 /* Define if you have the DTLSv1_2 client and server method functions */
529 #undef HAVE_DTLSv1_2_client_method
530 #undef HAVE_DTLSv1_2_server_method
532 /* Define if you have the EC_KEY type */
533 #undef HAVE_TYPE_EC_KEY
535 /* Define if you have the OpenSSL RAND_egd function */
538 /* Define if you have the OpenSSL RAND_status function */
539 #undef HAVE_RAND_status
541 /* Define if you have the OpenSSL DH_set0_pqg function */
542 #undef HAVE_DH_set0_pqg
544 /* Define if you have the OpenSSL ASN1_STRING_get0_data function */
545 #undef HAVE_ASN1_STRING_get0_data
547 /* Define if you have the OpenSSL SSL_CTX_clear_mode macro or function */
548 #undef HAVE_SSL_CTX_clear_mode
550 /* Define if you have the OpenSSL SSL_set_tlsext_host_name define/function */
551 #undef HAVE_SSL_set_tlsext_host_name
553 /* Define if you have the OpenSSL SSL_CTX_set_tlsext_max_fragment_length define/function */
554 #undef HAVE_SSL_CTX_set_tlsext_max_fragment_length
556 /* Define if you have the OpenSSL SSL_CTX_set_max_send_fragment define/function */
557 #undef HAVE_SSL_CTX_set_max_send_fragment
559 /* Define if you have the flock function */
562 /* Define if you have the openpty function */
565 /* Define if you have the grantpt function */
568 /* Define if you have the unlockpt function */
571 /* Define if you have the ptsname function */
572 #undef HAVE_PROTOTYPE_LIB_ptsname
574 /* Define if you have the /dev/ptmx pseudo terminal multiplexer */
577 /* Define if you have the /dev/ptc pseudo terminal multiplexer */
580 /* Define if you have the cfmakeraw() function */
581 #undef HAVE_CFMAKERAW
583 /* Define if you have the long long type */
584 #undef HAVE_TYPE_LONGLONG
586 /* is sig_atomic_t declared */
587 #undef HAVE_TYPE_SIG_ATOMIC_T
589 /* is bool already typedef'd? */
590 #undef HAVE_TYPE_BOOL
592 /* is socklen_t already typedef'd? */
593 #undef HAVE_TYPE_SOCKLEN
595 /* Define if you have the struct stat64 type */
596 #undef HAVE_TYPE_STAT64
598 /* Define if you have the struct off64_t type */
599 #undef HAVE_TYPE_OFF64
601 /* is sighandler_t already typedef'd? */
602 #undef HAVE_TYPE_SIGHANDLER
604 /* is uint8_t already defined? */
605 #undef HAVE_TYPE_UINT8
607 /* is uint16_t already defined? */
608 #undef HAVE_TYPE_UINT16
610 /* is uint32_t already defined? */
611 #undef HAVE_TYPE_UINT32
613 /* is uint64_t already defined? */
614 #undef HAVE_TYPE_UINT64
616 /* Number of bits in a file offset, on hosts where this is settable. */
617 #undef _FILE_OFFSET_BITS
619 /* Define for large files, on AIX-style hosts. */
622 /* Define if snprintf() returns required len on truncation (C-99 conform) */
623 #undef HAVE_C99_SNPRINTF
625 /* Define if you have the printf "Z" modifier */
628 /* Define the shift offset of the CRDLY mask */
631 /* Define the shift offset of the TABDLY mask */
634 /* Define the shift offset of the CSIZE mask */
637 /* Define if you have tcpwrappers (libwrap, tcpd) and it declares hosts_allow_table */
638 #undef HAVE_HOSTS_ALLOW_TABLE
639 #if defined(HAVE_HOSTS_ALLOW_TABLE) && HAVE_HOSTS_ALLOW_TABLE
640 # define HAVE_HOSTS_DENY_TABLE 1
642 # undef HAVE_HOSTS_DENY_TABLE
645 /* 1..short, 3..int, 5..long; 2,4,6..unsigned */
646 #undef HAVE_BASIC_UINT16_T
647 #undef HAVE_BASIC_UINT32_T
648 #undef HAVE_BASIC_UINT64_T
649 #undef HAVE_BASIC_INT16_T
650 #undef HAVE_BASIC_INT32_T
651 #undef HAVE_BASIC_INT64_T
653 #undef HAVE_BASIC_SIZE_T
654 #undef HAVE_BASIC_MODE_T
655 #undef HAVE_BASIC_PID_T
656 #undef HAVE_BASIC_UID_T
657 #undef HAVE_BASIC_GID_T
658 #undef HAVE_BASIC_TIME_T
659 #undef HAVE_BASIC_OFF_T
660 #undef HAVE_BASIC_OFF64_T
661 #undef HAVE_BASIC_DEV_T
662 #undef HAVE_BASIC_SPEED_T
664 #undef HAVE_BASIC_SOCKLEN_T
666 #undef HAVE_TYPEOF_ST_INO
667 #undef HAVE_TYPEOF_ST_NLINK
668 #undef HAVE_TYPEOF_ST_SIZE
669 #undef HAVE_TYPEOF_ST_BLKSIZE
670 #undef HAVE_TYPEOF_ST_BLOCKS
672 #undef HAVE_TYPEOF_ST64_DEV
673 #undef HAVE_TYPEOF_ST64_INO
674 #undef HAVE_TYPEOF_ST64_NLINK
675 #undef HAVE_TYPEOF_ST64_SIZE
676 #undef HAVE_TYPEOF_ST64_BLKSIZE
677 #undef HAVE_TYPEOF_ST64_BLOCKS
679 #undef HAVE_TYPEOF_STRUCT_TIMEVAL_TV_USEC
680 #undef HAVE_TYPEOF_STRUCT_TIMESPEC_TV_NSEC
682 #undef HAVE_TYPEOF_RLIM_MAX
684 #undef HAVE_TYPEOF_STRUCT_CMSGHDR_CMSG_LEN
686 /* Define if you have the /proc filesystem */
689 /* Define if you have the /proc/$$/fd directories */
690 #undef HAVE_PROC_DIR_FD
691 #undef HAVE_PROC_DIR_PATH
693 #undef HAVE_DIRENT_D_TYPE
695 #undef HAVE_RES_RETRANS
696 #undef HAVE_RES_RETRY
697 #undef HAVE_RES_NSADDR_LIST
702 #undef HAVE_GETGROUPLIST
713 #undef WITH_SOCKETPAIR
715 #undef WITH_ABSTRACT_UNIXSOCKET
719 #undef WITH_GENERICSOCKET
720 #undef WITH_INTERFACE
732 #undef WITH_NAMESPACES
742 #undef WITH_OPENSSL_METHOD
744 #undef WITH_RES_DEPRECATED /* AAONLY,PRIMARY */
745 #define WITH_STREAMS 1
758 #undef WITH_DEFAULT_IPV /* default IP version: "0", "4", "6" */
760 #define BUILD_DATE __DATE__ " " __TIME__
762 #endif /* !defined(__config_h_included) */