mirror of
https://github.com/moparisthebest/socat
synced 2024-12-21 22:48:48 -05:00
485 lines
12 KiB
C
485 lines
12 KiB
C
/* source: config.h.in */
|
|
/* Copyright Gerhard Rieger 2001-2007 */
|
|
/* Published under the GNU General Public License V.2, see file COPYING */
|
|
|
|
#ifndef __config_h_included
|
|
#define __config_h_included 1
|
|
|
|
/* Define to empty if the keyword does not work. */
|
|
#undef const
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
#undef gid_t
|
|
|
|
/* Define if your struct stat has st_blksize. */
|
|
#undef HAVE_ST_BLKSIZE
|
|
|
|
/* Define if your struct stat has st_blocks. */
|
|
#undef HAVE_ST_BLOCKS
|
|
|
|
/* Define if your struct stat has st_rdev. */
|
|
#undef HAVE_ST_RDEV
|
|
|
|
/* Define if you have the strftime function. */
|
|
#undef HAVE_STRFTIME
|
|
|
|
/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
|
|
#undef HAVE_SYS_WAIT_H
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
#undef mode_t
|
|
|
|
/* Define to `long' if <sys/types.h> doesn't define. */
|
|
#undef off_t
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
#undef pid_t
|
|
|
|
/* Define as the return type of signal handlers (int or void). */
|
|
#undef RETSIGTYPE
|
|
|
|
/* Define to `unsigned' if <sys/types.h> doesn't define. */
|
|
#undef size_t
|
|
|
|
/* Define if you have the ANSI C header files. */
|
|
#undef STDC_HEADERS
|
|
|
|
/* Define if you can safely include both <sys/time.h> and <time.h>. */
|
|
#undef TIME_WITH_SYS_TIME
|
|
|
|
/* Define to `int' if <sys/types.h> doesn't define. */
|
|
#undef uid_t
|
|
|
|
/* Define if you have the putenv function. */
|
|
#undef HAVE_PUTENV
|
|
|
|
/* Define if you have the select function. */
|
|
#undef HAVE_SELECT
|
|
|
|
/* Define if you have the poll function. */
|
|
#undef HAVE_POLL
|
|
|
|
/* Define if you have the socket function. */
|
|
#undef HAVE_SOCKET
|
|
|
|
/* Define if you have the strdup function. */
|
|
#undef HAVE_STRDUP
|
|
|
|
/* Define if you have the strerror function. */
|
|
#undef HAVE_STRERROR
|
|
|
|
/* Define if you have the strstr function. */
|
|
#undef HAVE_STRSTR
|
|
|
|
/* Define if you have the strtod function. */
|
|
#undef HAVE_STRTOD
|
|
|
|
/* Define if you have the strtol function. */
|
|
#undef HAVE_STRTOL
|
|
|
|
/* Define if you have the strtoul function. */
|
|
#undef HAVE_STRTOUL
|
|
|
|
/* Define if you have the uname function. */
|
|
#undef HAVE_UNAME
|
|
|
|
/* Define if you have the getpgid function. */
|
|
#undef HAVE_GETPGID
|
|
|
|
/* Define if you have the getsid function. */
|
|
#undef HAVE_GETSID
|
|
|
|
/* Define if you have the nanosleep function. */
|
|
#undef HAVE_NANOSLEEP
|
|
|
|
/* Define if you have the getaddrinfo function. */
|
|
#undef HAVE_GETADDRINFO
|
|
|
|
/* Define if you have the getipnodebyname function. */
|
|
#undef HAVE_GETIPNODEBYNAME
|
|
|
|
/* Define if you have the setgroups function. */
|
|
#undef HAVE_SETGROUPS
|
|
|
|
/* Define if you have the inet_aton function. */
|
|
#undef HAVE_INET_ATON
|
|
|
|
/* Define if you have the memrchr function. */
|
|
#undef HAVE_MEMRCHR
|
|
|
|
/* Define if you have the sigaction function */
|
|
#undef HAVE_SIGACTION
|
|
|
|
/* Define if you have the stat64 function */
|
|
#undef HAVE_STAT64
|
|
|
|
/* Define if you have the fstat64 function */
|
|
#undef HAVE_FSTAT64
|
|
|
|
/* Define if you have the lstat64 function */
|
|
#undef HAVE_LSTAT64
|
|
|
|
/* Define if you have the lseek64 function */
|
|
#undef HAVE_LSEEK64
|
|
|
|
/* Define if you have the truncate64 function */
|
|
#undef HAVE_TRUNCATE64
|
|
|
|
/* Define if you have the ftruncate64 function */
|
|
#undef HAVE_FTRUNCATE64
|
|
|
|
/* Define if you have the strtoll function */
|
|
#undef HAVE_STRTOLL
|
|
|
|
/* Define if you have the hstrerror function */
|
|
#undef HAVE_HSTRERROR
|
|
|
|
/* Define if you have the inet_ntop function */
|
|
#undef HAVE_INET_NTOP
|
|
|
|
/* Define if you have the hstrerror prototype */
|
|
#undef HAVE_PROTOTYPE_HSTRERROR
|
|
|
|
/* Define if you have the <fcntl.h> header file. */
|
|
#undef HAVE_FCNTL_H
|
|
|
|
/* Define if you have the <limits.h> header file. */
|
|
#undef HAVE_LIMITS_H
|
|
|
|
/* Define if you have the <strings.h> header file. */
|
|
#undef HAVE_STRINGS_H
|
|
|
|
/* Define if you have the <sys/param.h> header file. */
|
|
#undef HAVE_SYS_PARAM_H
|
|
|
|
/* Define if you have the <sys/ioctl.h> header file. */
|
|
#undef HAVE_SYS_IOCTL_H
|
|
|
|
/* Define if you have the <sys/time.h> header file. */
|
|
#undef HAVE_SYS_TIME_H
|
|
|
|
/* Define if you have the <syslog.h> header file. */
|
|
#undef HAVE_SYSLOG_H
|
|
|
|
/* Define if you have the <unistd.h> header file. */
|
|
#undef HAVE_UNISTD_H
|
|
|
|
/* Define if you have the <pwd.h> header file. */
|
|
#undef HAVE_PWD_H
|
|
|
|
/* Define if you have the <grp.h> header file. */
|
|
#undef HAVE_GRP_H
|
|
|
|
/* Define if you have the <stdint.h> header file. */
|
|
#undef HAVE_STDINT_H
|
|
|
|
/* Define if you have the <sys/types.h> header file. */
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
/* Define if you have the <sys/poll.h> header file. */
|
|
#undef HAVE_SYS_POLL_H
|
|
|
|
/* Define if you have the <sys/socket.h> header file. */
|
|
#undef HAVE_SYS_SOCKET_H
|
|
|
|
/* Define if you have the <sys/uio.h> header file. */
|
|
#undef HAVE_SYS_UIO_H
|
|
|
|
/* Define if you have the <sys/stat.h> header file. */
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
/* Define if you have the <netdb.h> header file. */
|
|
#undef HAVE_NETDB_H
|
|
|
|
/* Define if you have the <sys/un.h> header file. */
|
|
#undef HAVE_SYS_UN_H
|
|
|
|
/* Define if you have the <pty.h> header file. */
|
|
#undef HAVE_PTY_H
|
|
|
|
/* Define if you have the <netinet/in.h> header file. */
|
|
#undef HAVE_NETINET_IN_H
|
|
|
|
/* Define if you have the <netinet/in_systm.h> header file. */
|
|
#undef HAVE_NETINET_IN_SYSTM_H
|
|
|
|
/* Define if you have the <netinet/ip.h> header file. */
|
|
#undef HAVE_NETINET_IP_H
|
|
|
|
/* Define if you have the <netinet/tcp.h> header file. */
|
|
#undef HAVE_NETINET_TCP_H
|
|
|
|
/* Define if you have the <netinet/ip6.h> header file. */
|
|
#undef HAVE_NETINET_IP6_H
|
|
|
|
/* Define if you have the <arpa/nameser.h> header file. */
|
|
#undef HAVE_ARPA_NAMESER_H
|
|
|
|
/* Define if you have the <resolv.h> header file. */
|
|
#undef HAVE_RESOLV_H
|
|
|
|
/* Define if you have the <termios.h> header file. */
|
|
#undef HAVE_TERMIOS_H
|
|
|
|
/* Define if you have the <net/if.h> header file. */
|
|
#undef HAVE_NET_IF_H
|
|
|
|
/* Define if you have the <linux/if_tun.h> header file. */
|
|
#undef HAVE_LINUX_IF_TUN_H
|
|
|
|
/* Define if you have the <sys/utsname.h> header file. */
|
|
#undef HAVE_SYS_UTSNAME_H
|
|
|
|
/* Define if you have the <sys/select.h> header file. (AIX) */
|
|
#undef HAVE_SYS_SELECT_H
|
|
|
|
/* Define if you have the <sys/file.h> header file. (AIX) */
|
|
#undef HAVE_SYS_FILE_H
|
|
|
|
/* Define if you have the <util.h> header file. (NetBSD, OpenBSD: openpty()) */
|
|
#undef HAVE_UTIL_H
|
|
|
|
/* Define if you have the <libutil.h> header file. (FreeBSD: openpty()) */
|
|
#undef HAVE_LIBUTIL_H
|
|
|
|
/* Define if you have the <sys/stropts.h> header file. (stream opts on SunOS)*/
|
|
#undef HAVE_SYS_STROPTS_H
|
|
|
|
/* Define if you have the <regex.h> header file. */
|
|
#undef HAVE_REGEX_H
|
|
|
|
/* Define if you have the <linux/fs.h> header file. */
|
|
#undef HAVE_LINUX_FS_H
|
|
|
|
/* Define if you have the <linux/ext2_fs.h> header file. */
|
|
#undef HAVE_LINUX_EXT2_FS_H
|
|
|
|
/* Define if you have the <readline/readline.h> header file. */
|
|
#undef HAVE_READLINE_READLINE_H
|
|
|
|
/* Define if you have the <readline/history.h> header file. */
|
|
#undef HAVE_READLINE_HISTORY_H
|
|
|
|
/* Define if you have the readline library. */
|
|
#undef HAVE_LIBREADLINE
|
|
|
|
/* Define if you have the m library (-lm). */
|
|
#undef HAVE_LIBM
|
|
|
|
/* Define if you have the floor function */
|
|
#undef HAVE_FLOOR
|
|
|
|
/* some platforms need _XOPEN_EXTENDED_SOURCE to get syslog headers (AIX4.1) */
|
|
#undef _XOPEN_EXTENDED_SOURCE
|
|
|
|
/* fdset may have component fds_bits or __fds_bits */
|
|
#undef HAVE_FDS_BITS
|
|
|
|
/* Define if your struct termios has component c_ispeed */
|
|
#undef HAVE_TERMIOS_ISPEED
|
|
|
|
/* the offset of c_ispeed in struct termios - usable in an speed_t array.
|
|
Applies only when HAVE_TERMIOS_ISPEED is set */
|
|
#undef ISPEED_OFFSET
|
|
|
|
/* the offset of c_ospeed in struct termios - see ISPEED_OFFSET */
|
|
#ifdef ISPEED_OFFSET
|
|
# define OSPEED_OFFSET (ISPEED_OFFSET+1)
|
|
#else
|
|
# undef OSPEED_OFFSET
|
|
#endif
|
|
|
|
/* Define if your termios.h likes _SVID3 defined */
|
|
#undef _SVID3
|
|
|
|
/* Define if you have struct timespec (e.g. for nanosleep) */
|
|
#undef HAVE_STRUCT_TIMESPEC
|
|
|
|
/* Define if you have struct linger */
|
|
#undef HAVE_STRUCT_LINGER
|
|
|
|
/* Define if you have struct ip_mreq */
|
|
#undef HAVE_STRUCT_IP_MREQ
|
|
|
|
/* Define if you have struct ip_mreqn */
|
|
#undef HAVE_STRUCT_IP_MREQN
|
|
|
|
/* Define if you have struct ipv6_mreq */
|
|
#undef HAVE_STRUCT_IPV6_MREQ
|
|
|
|
/* Define if you have struct ifreq */
|
|
#undef HAVE_STRUCT_IFREQ
|
|
|
|
/* Define if you have struct ifreq.ifr_index */
|
|
#undef HAVE_STRUCT_IFREQ_IFR_INDEX
|
|
|
|
/* Define if you have struct ifreq.ifr_ifindex */
|
|
#undef HAVE_STRUCT_IFREQ_IFR_IFINDEX
|
|
|
|
/* Define if your struct sockaddr has sa_len */
|
|
#undef HAVE_STRUCT_SOCKADDR_SALEN
|
|
|
|
/* there are several implementations of sockaddr_in6 */
|
|
#undef HAVE_IP6_SOCKADDR
|
|
|
|
/* Define if you have struct iovec */
|
|
#undef HAVE_STRUCT_IOVEC
|
|
|
|
/* define if your struct msghdr has msg_control */
|
|
#undef HAVE_STRUCT_MSGHDR_MSGCONTROL
|
|
|
|
/* define if your struct msghdr has msg_controllen */
|
|
#undef HAVE_STRUCT_MSGHDR_MSGCONTROLLEN
|
|
|
|
/* define if your struct msghdr has msg_flag */
|
|
#undef HAVE_STRUCT_MSGHDR_MSGFLAGS
|
|
|
|
/* define if your struct ip has ip_hl; otherwise assume ip_vhl */
|
|
#undef HAVE_STRUCT_IP_IP_HL
|
|
|
|
/* Define if you have the setenv function */
|
|
#undef HAVE_SETENV
|
|
|
|
/* Define if you have the flock function */
|
|
#undef HAVE_FLOCK
|
|
|
|
/* Define if you have the openpty function */
|
|
#undef HAVE_OPENPTY
|
|
|
|
/* Define if you have the grantpt function */
|
|
#undef HAVE_GRANTPT
|
|
|
|
/* Define if you have the unlockpt function */
|
|
#undef HAVE_UNLOCKPT
|
|
|
|
/* Define if you have the ptsname function */
|
|
#undef HAVE_PTSNAME
|
|
|
|
/* Define if you have the /dev/ptmx pseudo terminal multiplexer */
|
|
#undef HAVE_DEV_PTMX
|
|
|
|
/* Define if you have the /dev/ptc pseudo terminal multiplexer */
|
|
#undef HAVE_DEV_PTC
|
|
|
|
/* Define if you have the long long type */
|
|
#undef HAVE_TYPE_LONGLONG
|
|
|
|
/* is socklen_t already typedef'd? */
|
|
#undef HAVE_TYPE_SOCKLEN
|
|
|
|
/* Define if you have the struct stat64 type */
|
|
#undef HAVE_TYPE_STAT64
|
|
|
|
/* Define if you have the struct off64_t type */
|
|
#undef HAVE_TYPE_OFF64
|
|
|
|
/* is sighandler_t already typedef'd? */
|
|
#undef HAVE_TYPE_SIGHANDLER
|
|
|
|
/* is uint8_t already defined? */
|
|
#undef HAVE_TYPE_UINT8
|
|
|
|
/* is uint16_t already defined? */
|
|
#undef HAVE_TYPE_UINT16
|
|
|
|
/* is uint32_t already defined? */
|
|
#undef HAVE_TYPE_UINT32
|
|
|
|
/* is uint64_t already defined? */
|
|
#undef HAVE_TYPE_UINT64
|
|
|
|
/* Define if you have the printf "Z" modifier */
|
|
#undef HAVE_FORMAT_Z
|
|
|
|
/* Define the shift offset of the CRDLY mask */
|
|
#undef CRDLY_SHIFT
|
|
|
|
/* Define the shift offset of the TABDLY mask */
|
|
#undef TABDLY_SHIFT
|
|
|
|
/* Define the shift offset of the CSIZE mask */
|
|
#undef CSIZE_SHIFT
|
|
|
|
/* Define if you have tcpwrappers (libwrap, tcpd) and it declares hosts_allow_table */
|
|
#undef HAVE_HOSTS_ALLOW_TABLE
|
|
#if defined(HAVE_HOSTS_ALLOW_TABLE) && HAVE_HOSTS_ALLOW_TABLE
|
|
# define HAVE_HOSTS_DENY_TABLE 1
|
|
#else
|
|
# undef HAVE_HOSTS_DENY_TABLE
|
|
#endif
|
|
|
|
/* 1..short, 3..int, 5..long; 2,4,6..unsigned */
|
|
#undef HAVE_BASIC_SIZE_T
|
|
#undef HAVE_BASIC_MODE_T
|
|
#undef HAVE_BASIC_PID_T
|
|
#undef HAVE_BASIC_UID_T
|
|
#undef HAVE_BASIC_GID_T
|
|
#undef HAVE_BASIC_TIME_T
|
|
#undef HAVE_BASIC_OFF64_T
|
|
|
|
#undef HAVE_BASIC_SOCKLEN_T
|
|
|
|
#undef HAVE_TYPEOF_ST_DEV
|
|
#undef HAVE_TYPEOF_ST_INO
|
|
#undef HAVE_TYPEOF_ST_NLINK
|
|
#undef HAVE_TYPEOF_ST_SIZE
|
|
#undef HAVE_TYPEOF_ST_BLKSIZE
|
|
#undef HAVE_TYPEOF_ST_BLOCKS
|
|
|
|
#undef HAVE_TYPEOF_ST64_DEV
|
|
#undef HAVE_TYPEOF_ST64_INO
|
|
#undef HAVE_TYPEOF_ST64_NLINK
|
|
#undef HAVE_TYPEOF_ST64_SIZE
|
|
#undef HAVE_TYPEOF_ST64_BLKSIZE
|
|
#undef HAVE_TYPEOF_ST64_BLOCKS
|
|
|
|
#undef HAVE_TYPEOF_STRUCT_TIMEVAL_TV_USEC
|
|
|
|
#undef HAVE_TYPEOF_RLIM_MAX
|
|
|
|
/* Define if you have the /proc filesystem */
|
|
#undef HAVE_PROC_DIR
|
|
|
|
/* Define if you have the /proc/$$/fd directories */
|
|
#undef HAVE_PROC_DIR_FD
|
|
|
|
#undef WITH_HELP
|
|
#undef WITH_STDIO
|
|
#undef WITH_FDNUM
|
|
#undef WITH_FILE
|
|
#undef WITH_CREAT
|
|
#undef WITH_GOPEN
|
|
#undef WITH_TERMIOS
|
|
#undef WITH_PIPE
|
|
#undef WITH_UNIX
|
|
#undef WITH_ABSTRACT_UNIXSOCKET
|
|
#undef WITH_IP4
|
|
#undef WITH_IP6
|
|
#undef WITH_RAWIP
|
|
#undef WITH_TCP
|
|
#undef WITH_UDP
|
|
#undef WITH_LISTEN
|
|
#undef WITH_SOCKS4
|
|
#undef WITH_SOCKS4A
|
|
#undef WITH_PROXY
|
|
#undef WITH_EXEC
|
|
#undef WITH_SYSTEM
|
|
#undef WITH_READLINE
|
|
#undef WITH_TUN
|
|
#undef WITH_PTY
|
|
#undef WITH_EXT2
|
|
#undef WITH_OPENSSL
|
|
#undef WITH_FIPS
|
|
#undef OPENSSL_FIPS
|
|
#undef WITH_LIBWRAP
|
|
#undef HAVE_TCPD_H
|
|
#undef HAVE_LIBWRAP
|
|
|
|
#undef WITH_SYCLS
|
|
#undef WITH_FILAN
|
|
#undef WITH_RETRY
|
|
|
|
#undef WITH_MSGLEVEL
|
|
|
|
#endif /* !defined(__config_h_included) */
|