version 1.7.3.0
[socat.git] / config.h.in
blob3f287020c2e2abc0e51fed3e1cd6408be89b4ce5
1 /* source: config.h.in */
2 /* Copyright Gerhard Rieger */
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. */
9 #undef const
11 /* Define to `int' if <sys/types.h> doesn't define. */
12 #undef gid_t
14 /* Define if your struct stat has st_blksize. */
15 #undef HAVE_ST_BLKSIZE
17 /* Define if your struct stat has st_blocks. */
18 #undef HAVE_ST_BLOCKS
20 /* Define if your struct stat has st_rdev. */
21 #undef HAVE_ST_RDEV
23 /* Define if you have the strftime function. */
24 #undef HAVE_STRFTIME
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. */
30 #undef mode_t
32 /* Define to `long' if <sys/types.h> doesn't define. */
33 #undef off_t
35 /* Define to `int' if <sys/types.h> doesn't define. */
36 #undef pid_t
38 /* Define as the return type of signal handlers (int or void). */
39 #undef RETSIGTYPE
41 /* Define to `unsigned' if <sys/types.h> doesn't define. */
42 #undef size_t
44 /* Define if you have the ANSI C header files. */
45 #undef STDC_HEADERS
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. */
51 #undef uid_t
53 /* Define if you have the putenv function. */
54 #undef HAVE_PUTENV
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. */
64 #undef HAVE_SELECT
66 /* Define if you have the poll function. */
67 #undef HAVE_POLL
69 /* Define if you have the socket function. */
70 #undef HAVE_SOCKET
72 /* Define if you have the strdup function. */
73 #undef HAVE_PROTOTYPE_LIB_strdup
75 /* Define if you have the strerror function. */
76 #undef HAVE_PROTOTYPE_LIB_strerror
78 /* Define if you have the strstr function. */
79 #undef HAVE_PROTOTYPE_LIB_strstr
81 /* Define if you have the strtod function. */
82 #undef HAVE_STRTOD
84 /* Define if you have the strtol function. */
85 #undef HAVE_STRTOL
87 /* Define if you have the strtoul function. */
88 #undef HAVE_STRTOUL
90 /* Define if you have the uname function. */
91 #undef HAVE_UNAME
93 /* Define if you have the getpgid function. */
94 #undef HAVE_GETPGID
96 /* Define if you have the getsid function. */
97 #undef HAVE_GETSID
99 /* Define if you have the nanosleep function. */
100 #undef HAVE_NANOSLEEP
102 /* Define if you have the getaddrinfo function. */
103 #undef HAVE_GETADDRINFO
105 /* Define if you have the getipnodebyname function. */
106 #undef HAVE_PROTOTYPE_LIB_getipnodebyname
108 /* Define if you have the setgroups function. */
109 #undef HAVE_SETGROUPS
111 /* Define if you have the inet_aton function. */
112 #undef HAVE_INET_ATON
114 /* Define if you have the memrchr function. */
115 #undef HAVE_PROTOTYPE_LIB_memrchr
117 /* Define if you have the if_indextoname function. */
118 #undef HAVE_PROTOTYPE_LIB_if_indextoname
120 /* Define if you have the sigaction function */
121 #undef HAVE_SIGACTION
123 /* Define if you have the stat64 function */
124 #undef HAVE_STAT64
126 /* Define if you have the fstat64 function */
127 #undef HAVE_FSTAT64
129 /* Define if you have the lstat64 function */
130 #undef HAVE_LSTAT64
132 /* Define if you have the lseek64 function */
133 #undef HAVE_LSEEK64
135 /* Define if you have the truncate64 function */
136 #undef HAVE_TRUNCATE64
138 /* Define if you have the ftruncate64 function */
139 #undef HAVE_FTRUNCATE64
141 /* Define if you have the clock_gettime function */
142 #undef HAVE_CLOCK_GETTIME
144 /* Define if you have the strtoll function */
145 #undef HAVE_STRTOLL
147 /* Define if you have the hstrerror function */
148 #undef HAVE_HSTRERROR
150 /* Define if you have the inet_ntop function */
151 #undef HAVE_INET_NTOP
153 /* Define if you have the hstrerror prototype */
154 #undef HAVE_PROTOTYPE_HSTRERROR
156 /* Define if you have the <stdbool.h> header file. */
157 #undef HAVE_STDBOOL_H
159 /* Define if you have the <inttypes.h> header file. */
160 #undef HAVE_INTTYPES_H
162 /* Define if you have the <fcntl.h> header file. */
163 #undef HAVE_FCNTL_H
165 /* Define if you have the <limits.h> header file. */
166 #undef HAVE_LIMITS_H
168 /* Define if you have the <strings.h> header file. */
169 #undef HAVE_STRINGS_H
171 /* Define if you have the <sys/param.h> header file. */
172 #undef HAVE_SYS_PARAM_H
174 /* Define if you have the <sys/ioctl.h> header file. */
175 #undef HAVE_SYS_IOCTL_H
177 /* Define if you have the <sys/time.h> header file. */
178 #undef HAVE_SYS_TIME_H
180 /* Define if you have the <syslog.h> header file. */
181 #undef HAVE_SYSLOG_H
183 /* Define if you have the <unistd.h> header file. */
184 #undef HAVE_UNISTD_H
186 /* Define if you have the <pwd.h> header file. */
187 #undef HAVE_PWD_H
189 /* Define if you have the <grp.h> header file. */
190 #undef HAVE_GRP_H
192 /* Define if you have the <stdint.h> header file. */
193 #undef HAVE_STDINT_H
195 /* Define if you have the <sys/types.h> header file. */
196 #undef HAVE_SYS_TYPES_H
198 /* Define if you have the <poll.h> header file. */
199 #undef HAVE_POLL_H
201 /* Define if you have the <sys/poll.h> header file. */
202 #undef HAVE_SYS_POLL_H
204 /* Define if you have the <sys/socket.h> header file. */
205 #undef HAVE_SYS_SOCKET_H
207 /* Define if you have the <sys/uio.h> header file. */
208 #undef HAVE_SYS_UIO_H
210 /* Define if you have the <sys/stat.h> header file. */
211 #undef HAVE_SYS_STAT_H
213 /* Define if you have the <netdb.h> header file. */
214 #undef HAVE_NETDB_H
216 /* Define if you have the <sys/un.h> header file. */
217 #undef HAVE_SYS_UN_H
219 /* Define if you have the <pty.h> header file. */
220 #undef HAVE_PTY_H
222 /* Define if you have the <netinet/in.h> header file. */
223 #undef HAVE_NETINET_IN_H
225 /* Define if you have the <netinet/in_systm.h> header file. */
226 #undef HAVE_NETINET_IN_SYSTM_H
228 /* Define if you have the <netinet/ip.h> header file. */
229 #undef HAVE_NETINET_IP_H
231 /* Define if you have the <netinet/tcp.h> header file. */
232 #undef HAVE_NETINET_TCP_H
234 /* Define if you have the <netinet/ip6.h> header file. */
235 #undef HAVE_NETINET_IP6_H
237 /* Define if you have the <netinet6/in6.h> header file. */
238 #undef HAVE_NETINET6_IN6_H
240 /* Define if you have the <arpa/nameser.h> header file. */
241 #undef HAVE_ARPA_NAMESER_H
243 /* Define if you have the <resolv.h> header file. */
244 #undef HAVE_RESOLV_H
246 /* Define if you have the <termios.h> header file. */
247 #undef HAVE_TERMIOS_H
249 /* Define if you have the <net/if.h> header file. */
250 #undef HAVE_NET_IF_H
252 /* Define if you have the <net/if_dl.h> header file. */
253 #undef HAVE_NET_IF_DL_H
255 /* Define if you have the <linux/types.h> header file. */
256 #undef HAVE_LINUX_TYPES_H
258 /* Define if you have the <linux/errqueue.h> header file. */
259 #undef HAVE_LINUX_ERRQUEUE_H
261 /* Define if you have the <linux/if_tun.h> header file. */
262 #undef HAVE_LINUX_IF_TUN_H
264 /* Define if you have the <netpacket/packet.h> header file. */
265 #undef HAVE_NETPACKET_PACKET_H
267 /* Define if you have the <netinet/if_ether.h> header file. */
268 #undef HAVE_NETINET_IF_ETHER_H
270 /* Define if you have the <sys/utsname.h> header file. */
271 #undef HAVE_SYS_UTSNAME_H
273 /* Define if you have the <sys/select.h> header file. (AIX) */
274 #undef HAVE_SYS_SELECT_H
276 /* Define if you have the <sys/file.h> header file. (AIX) */
277 #undef HAVE_SYS_FILE_H
279 /* Define if you have the <util.h> header file. (NetBSD, OpenBSD: openpty()) */
280 #undef HAVE_UTIL_H
282 /* Define if you have the <bsd/libutil.h> header file. */
283 #undef HAVE_BSD_LIBUTIL_H
285 /* Define if you have the <libutil.h> header file. (FreeBSD: openpty()) */
286 #undef HAVE_LIBUTIL_H
288 /* Define if you have the <sys/stropts.h> header file. (stream opts on SunOS)*/
289 #undef HAVE_SYS_STROPTS_H
291 /* Define if you have the <regex.h> header file. */
292 #undef HAVE_REGEX_H
294 /* Define if you have the <linux/fs.h> header file. */
295 #undef HAVE_LINUX_FS_H
297 /* Define if you have the <linux/ext2_fs.h> header file. */
298 #undef HAVE_LINUX_EXT2_FS_H
300 /* Define if you have the <readline/readline.h> header file. */
301 #undef HAVE_READLINE_READLINE_H
303 /* Define if you have the <readline/history.h> header file. */
304 #undef HAVE_READLINE_HISTORY_H
306 /* Define if you have the readline library. */
307 #undef HAVE_LIBREADLINE
309 /* Define if you have the m library (-lm). */
310 #undef HAVE_LIBM
312 /* Define if you have the floor function */
313 #undef HAVE_FLOOR
315 /* some platforms need _XOPEN_EXTENDED_SOURCE to get syslog headers (AIX4.1) */
316 #undef _XOPEN_EXTENDED_SOURCE
318 /* fdset may have component fds_bits or __fds_bits */
319 #undef HAVE_FDS_BITS
321 /* Define if you have the sa_family_t */
322 #undef HAVE_TYPE_SA_FAMILY_T
324 /* define if your struct sigaction has sa_sigaction */
325 #undef HAVE_STRUCT_SIGACTION_SA_SIGACTION
327 /* define if you have struct sock_extended_err */
328 #undef HAVE_STRUCT_SOCK_EXTENDED_ERR
330 /* Define if your struct termios has component c_ispeed */
331 #undef HAVE_TERMIOS_ISPEED
333 /* the offset of c_ispeed in struct termios - usable in an speed_t array.
334 Applies only when HAVE_TERMIOS_ISPEED is set */
335 #undef ISPEED_OFFSET
337 /* the offset of c_ospeed in struct termios - see ISPEED_OFFSET */
338 #ifdef ISPEED_OFFSET
339 # define OSPEED_OFFSET (ISPEED_OFFSET+1)
340 #else
341 # undef OSPEED_OFFSET
342 #endif
344 /* Define if your termios.h likes _SVID3 defined */
345 #undef _SVID3
347 /* Define if your sys/socket.h likes _XPG4_2 defined */
348 #undef _XPG4_2
350 /* Define if your ctime_r() choices need _POSIX_PTHREAD_SEMANTICS */
351 #undef _POSIX_PTHREAD_SEMANTICS
353 /* Define if you need __EXTENSIONS__ */
354 #undef __EXTENSIONS__
356 /* Define if you have struct timespec (e.g. for nanosleep) */
357 #undef HAVE_STRUCT_TIMESPEC
359 /* Define if you have struct linger */
360 #undef HAVE_STRUCT_LINGER
362 /* Define if you have struct ip_mreq */
363 #undef HAVE_STRUCT_IP_MREQ
365 /* Define if you have struct ip_mreqn */
366 #undef HAVE_STRUCT_IP_MREQN
368 /* Define if you have struct ipv6_mreq */
369 #undef HAVE_STRUCT_IPV6_MREQ
371 /* Define if you have struct ifreq */
372 #undef HAVE_STRUCT_IFREQ
374 /* Define if you have struct ifreq.ifr_index */
375 #undef HAVE_STRUCT_IFREQ_IFR_INDEX
377 /* Define if you have struct ifreq.ifr_ifindex; not on HPUX */
378 #undef HAVE_STRUCT_IFREQ_IFR_IFINDEX
380 /* Define if your struct sockaddr has sa_len */
381 #undef HAVE_STRUCT_SOCKADDR_SALEN
383 /* there are several implementations of sockaddr_in6 */
384 #undef HAVE_IP6_SOCKADDR
386 /* Define if you have struct iovec */
387 #undef HAVE_STRUCT_IOVEC
389 /* define if your struct msghdr has msg_control */
390 #undef HAVE_STRUCT_MSGHDR_MSGCONTROL
392 /* define if your struct msghdr has msg_controllen */
393 #undef HAVE_STRUCT_MSGHDR_MSGCONTROLLEN
395 /* define if your struct msghdr has msg_flag */
396 #undef HAVE_STRUCT_MSGHDR_MSGFLAGS
398 /* define if you have struct cmsghdr */
399 #undef HAVE_STRUCT_CMSGHDR
401 /* define if you have struct in_pktinfo */
402 #undef HAVE_STRUCT_IN_PKTINFO
404 /* define if your struct in_pktinfo has component ipi_spec_dst */
405 #undef HAVE_PKTINFO_IPI_SPEC_DST
407 /* define if you have struct in6_pktinfo */
408 #undef HAVE_STRUCT_IN6_PKTINFO
410 /* define if your struct ip has ip_hl; otherwise assume ip_vhl */
411 #undef HAVE_STRUCT_IP_IP_HL
413 /* Define if you have the setenv function */
414 #undef HAVE_SETENV
416 /* Define if you have the unsetenv function. not on HP-UX */
417 #undef HAVE_UNSETENV
419 /* Define if you have the SSLv2 client and server method functions. not in new openssl */
420 #undef HAVE_SSLv2_client_method
421 #undef HAVE_SSLv2_server_method
423 /* Define if you have the HAVE_SSL_CTX_set_default_verify_paths function */
424 #undef HAVE_SSL_CTX_set_default_verify_paths
426 /* Define if you have the SSLv3 client and server method functions. not in new openssl */
427 #undef HAVE_SSLv3_client_method
428 #undef HAVE_SSLv3_server_method
430 /* Define if you have the SSLv3 client and server method functions with rollback to v2 */
431 #undef HAVE_SSLv23_client_method
432 #undef HAVE_SSLv23_server_method
434 /* Define if you have the TLSv1.0 client and server method functions */
435 #undef HAVE_TLSv1_client_method
436 #undef HAVE_TLSv1_server_method
438 /* Define if you have the TLSv1.1 client and server method functions */
439 #undef HAVE_TLSv1_1_client_method
440 #undef HAVE_TLSv1_1_server_method
442 /* Define if you have the TLSv1.2 client and server method functions */
443 #undef HAVE_TLSv1_2_client_method
444 #undef HAVE_TLSv1_2_server_method
446 /* Define if you have the DTLSv1 client and server method functions */
447 #undef HAVE_DTLSv1_client_method
448 #undef HAVE_DTLSv1_server_method
450 /* Define if you have the flock function */
451 #undef HAVE_FLOCK
453 /* Define if you have the openpty function */
454 #undef HAVE_OPENPTY
456 /* Define if you have the grantpt function */
457 #undef HAVE_GRANTPT
459 /* Define if you have the unlockpt function */
460 #undef HAVE_UNLOCKPT
462 /* Define if you have the ptsname function */
463 #undef HAVE_PROTOTYPE_LIB_ptsname
465 /* Define if you have the /dev/ptmx pseudo terminal multiplexer */
466 #undef HAVE_DEV_PTMX
468 /* Define if you have the /dev/ptc pseudo terminal multiplexer */
469 #undef HAVE_DEV_PTC
471 /* Define if you have the cfmakeraw() function */
472 #undef HAVE_CFMAKERAW
474 /* Define if you have the long long type */
475 #undef HAVE_TYPE_LONGLONG
477 /* is sig_atomic_t declared */
478 #undef HAVE_TYPE_SIG_ATOMIC_T
480 /* is bool already typedef'd? */
481 #undef HAVE_TYPE_BOOL
483 /* is socklen_t already typedef'd? */
484 #undef HAVE_TYPE_SOCKLEN
486 /* Define if you have the struct stat64 type */
487 #undef HAVE_TYPE_STAT64
489 /* Define if you have the struct off64_t type */
490 #undef HAVE_TYPE_OFF64
492 /* is sighandler_t already typedef'd? */
493 #undef HAVE_TYPE_SIGHANDLER
495 /* is uint8_t already defined? */
496 #undef HAVE_TYPE_UINT8
498 /* is uint16_t already defined? */
499 #undef HAVE_TYPE_UINT16
501 /* is uint32_t already defined? */
502 #undef HAVE_TYPE_UINT32
504 /* is uint64_t already defined? */
505 #undef HAVE_TYPE_UINT64
507 /* Define if snprintf() returns required len on truncation (C-99 conform) */
508 #undef HAVE_C99_SNPRINTF
510 /* Define if you have the printf "Z" modifier */
511 #undef HAVE_FORMAT_Z
513 /* Define the shift offset of the CRDLY mask */
514 #undef CRDLY_SHIFT
516 /* Define the shift offset of the TABDLY mask */
517 #undef TABDLY_SHIFT
519 /* Define the shift offset of the CSIZE mask */
520 #undef CSIZE_SHIFT
522 /* Define if you have tcpwrappers (libwrap, tcpd) and it declares hosts_allow_table */
523 #undef HAVE_HOSTS_ALLOW_TABLE
524 #if defined(HAVE_HOSTS_ALLOW_TABLE) && HAVE_HOSTS_ALLOW_TABLE
525 # define HAVE_HOSTS_DENY_TABLE 1
526 #else
527 # undef HAVE_HOSTS_DENY_TABLE
528 #endif
530 /* 1..short, 3..int, 5..long; 2,4,6..unsigned */
531 #undef HAVE_BASIC_SIZE_T
532 #undef HAVE_BASIC_MODE_T
533 #undef HAVE_BASIC_PID_T
534 #undef HAVE_BASIC_UID_T
535 #undef HAVE_BASIC_GID_T
536 #undef HAVE_BASIC_TIME_T
537 #undef HAVE_BASIC_OFF_T
538 #undef HAVE_BASIC_OFF64_T
539 #undef HAVE_BASIC_DEV_T
541 #undef HAVE_BASIC_SOCKLEN_T
543 #undef HAVE_TYPEOF_ST_INO
544 #undef HAVE_TYPEOF_ST_NLINK
545 #undef HAVE_TYPEOF_ST_SIZE
546 #undef HAVE_TYPEOF_ST_BLKSIZE
547 #undef HAVE_TYPEOF_ST_BLOCKS
549 #undef HAVE_TYPEOF_ST64_DEV
550 #undef HAVE_TYPEOF_ST64_INO
551 #undef HAVE_TYPEOF_ST64_NLINK
552 #undef HAVE_TYPEOF_ST64_SIZE
553 #undef HAVE_TYPEOF_ST64_BLKSIZE
554 #undef HAVE_TYPEOF_ST64_BLOCKS
556 #undef HAVE_TYPEOF_STRUCT_TIMEVAL_TV_USEC
558 #undef HAVE_TYPEOF_RLIM_MAX
560 #undef HAVE_TYPEOF_STRUCT_CMSGHDR_CMSG_LEN
562 /* Define if you have the /proc filesystem */
563 #undef HAVE_PROC_DIR
565 /* Define if you have the /proc/$$/fd directories */
566 #undef HAVE_PROC_DIR_FD
568 #undef HAVE_SETGRENT
569 #undef HAVE_GETGRENT
570 #undef HAVE_ENDGRENT
571 #undef HAVE_GETGROUPLIST
573 #undef WITH_HELP
574 #undef WITH_STDIO
575 #undef WITH_FDNUM
576 #undef WITH_FILE
577 #undef WITH_CREAT
578 #undef WITH_GOPEN
579 #undef WITH_TERMIOS
580 #undef WITH_PIPE
581 #undef WITH_UNIX
582 #undef WITH_ABSTRACT_UNIXSOCKET
583 #undef WITH_IP4
584 #undef WITH_IP6
585 #undef WITH_RAWIP
586 #undef WITH_GENERICSOCKET
587 #undef WITH_INTERFACE
588 #undef WITH_TCP
589 #undef WITH_UDP
590 #undef WITH_SCTP
591 #undef WITH_LISTEN
592 #undef WITH_SOCKS4
593 #undef WITH_SOCKS4A
594 #undef WITH_PROXY
595 #undef WITH_EXEC
596 #undef WITH_SYSTEM
597 #undef WITH_READLINE
598 #undef WITH_TUN
599 #undef WITH_PTY
600 #undef WITH_EXT2
601 #undef WITH_OPENSSL
602 #define WITH_STREAMS 1
603 #undef WITH_FIPS
604 #undef OPENSSL_FIPS
605 #undef WITH_LIBWRAP
606 #undef HAVE_TCPD_H
607 #undef HAVE_LIBWRAP
609 #undef WITH_SYCLS
610 #undef WITH_FILAN
611 #undef WITH_RETRY
613 #undef WITH_MSGLEVEL
615 #define BUILD_DATE __DATE__ " " __TIME__
617 #endif /* !defined(__config_h_included) */