Permit -dd; print a useful error message when single character options appear to...
[socat.git] / Config / config.Linux-2-6-16.h
blobfd8020f4d35d1417b3318d7f190cefc3fd8b2afe
1 /* config.h. Generated by configure. */
2 /* source: Config/config.Linux-2-6-16.h */
3 /* Copyright Gerhard Rieger and contributors (see file CHANGES) */
4 /* Published under the GNU General Public License V.2, see file COPYING */
6 #ifndef __config_h_included
7 #define __config_h_included 1
9 /* Define to empty if the keyword does not work. */
10 /* #undef const */
12 /* Define to `int' if <sys/types.h> doesn't define. */
13 /* #undef gid_t */
15 /* Define if your struct stat has st_blksize. */
16 #define HAVE_ST_BLKSIZE 1
18 /* Define if your struct stat has st_blocks. */
19 #define HAVE_ST_BLOCKS 1
21 /* Define if your struct stat has st_rdev. */
22 #define HAVE_ST_RDEV 1
24 /* Define if you have the strftime function. */
25 #define HAVE_STRFTIME 1
27 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
28 #define HAVE_SYS_WAIT_H 1
30 /* Define to `int' if <sys/types.h> doesn't define. */
31 /* #undef mode_t */
33 /* Define to `long' if <sys/types.h> doesn't define. */
34 /* #undef off_t */
36 /* Define to `int' if <sys/types.h> doesn't define. */
37 /* #undef pid_t */
39 /* Define as the return type of signal handlers (int or void). */
40 #define RETSIGTYPE void
42 /* Define to `unsigned' if <sys/types.h> doesn't define. */
43 /* #undef size_t */
45 /* Define if you have the ANSI C header files. */
46 #define STDC_HEADERS 1
48 /* Define if you can safely include both <sys/time.h> and <time.h>. */
49 #define TIME_WITH_SYS_TIME 1
51 /* Define to `int' if <sys/types.h> doesn't define. */
52 /* #undef uid_t */
54 /* Define if you have the putenv function. */
55 #define HAVE_PUTENV 1
57 /* Define if you have the select function. */
58 #define HAVE_SELECT 1
60 /* Define if you have the poll function. */
61 #define HAVE_POLL 1
63 /* Define if you have the socket function. */
64 #define HAVE_SOCKET 1
66 /* Define if you have the strdup function. */
67 #define HAVE_STRDUP 1
69 /* Define if you have the strerror function. */
70 #define HAVE_STRERROR 1
72 /* Define if you have the strstr function. */
73 #define HAVE_STRSTR 1
75 /* Define if you have the strtod function. */
76 #define HAVE_STRTOD 1
78 /* Define if you have the strtol function. */
79 #define HAVE_STRTOL 1
81 /* Define if you have the strtoul function. */
82 #define HAVE_STRTOUL 1
84 /* Define if you have the uname function. */
85 #define HAVE_UNAME 1
87 /* Define if you have the getpgid function. */
88 #define HAVE_GETPGID 1
90 /* Define if you have the getsid function. */
91 #define HAVE_GETSID 1
93 /* Define if you have the nanosleep function. */
94 #define HAVE_NANOSLEEP 1
96 /* Define if you have the getaddrinfo function. */
97 #define HAVE_GETADDRINFO 1
99 /* Define if you have the getipnodebyname function. */
100 /* #undef HAVE_GETIPNODEBYNAME */
102 /* Define if you have the setgroups function. */
103 #define HAVE_SETGROUPS 1
105 /* Define if you have the inet_aton function. */
106 #define HAVE_INET_ATON 1
108 /* Define if you have the memrchr function. */
109 #define HAVE_MEMRCHR 1
111 /* Define if you have the sigaction function */
112 #define HAVE_SIGACTION 1
114 /* Define if you have the stat64 function */
115 #define HAVE_STAT64 1
117 /* Define if you have the fstat64 function */
118 #define HAVE_FSTAT64 1
120 /* Define if you have the lstat64 function */
121 #define HAVE_LSTAT64 1
123 /* Define if you have the lseek64 function */
124 #define HAVE_LSEEK64 1
126 /* Define if you have the truncate64 function */
127 #define HAVE_TRUNCATE64 1
129 /* Define if you have the ftruncate64 function */
130 #define HAVE_FTRUNCATE64 1
132 /* Define if you have the strtoll function */
133 #define HAVE_STRTOLL 1
135 /* Define if you have the hstrerror function */
136 #define HAVE_HSTRERROR 1
138 /* Define if you have the inet_ntop function */
139 #define HAVE_INET_NTOP 1
141 /* Define if you have the hstrerror prototype */
142 #define HAVE_PROTOTYPE_HSTRERROR 1
144 /* Define if you have the <fcntl.h> header file. */
145 #define HAVE_FCNTL_H 1
147 /* Define if you have the <limits.h> header file. */
148 #define HAVE_LIMITS_H 1
150 /* Define if you have the <strings.h> header file. */
151 #define HAVE_STRINGS_H 1
153 /* Define if you have the <sys/param.h> header file. */
154 #define HAVE_SYS_PARAM_H 1
156 /* Define if you have the <sys/ioctl.h> header file. */
157 #define HAVE_SYS_IOCTL_H 1
159 /* Define if you have the <sys/time.h> header file. */
160 #define HAVE_SYS_TIME_H 1
162 /* Define if you have the <syslog.h> header file. */
163 #define HAVE_SYSLOG_H 1
165 /* Define if you have the <unistd.h> header file. */
166 #define HAVE_UNISTD_H 1
168 /* Define if you have the <pwd.h> header file. */
169 #define HAVE_PWD_H 1
171 /* Define if you have the <grp.h> header file. */
172 #define HAVE_GRP_H 1
174 /* Define if you have the <stdint.h> header file. */
175 #define HAVE_STDINT_H 1
177 /* Define if you have the <sys/types.h> header file. */
178 #define HAVE_SYS_TYPES_H 1
180 /* Define if you have the <sys/poll.h> header file. */
181 #define HAVE_SYS_POLL_H 1
183 /* Define if you have the <sys/socket.h> header file. */
184 #define HAVE_SYS_SOCKET_H 1
186 /* Define if you have the <sys/uio.h> header file. */
187 #define HAVE_SYS_UIO_H 1
189 /* Define if you have the <sys/stat.h> header file. */
190 #define HAVE_SYS_STAT_H 1
192 /* Define if you have the <netdb.h> header file. */
193 #define HAVE_NETDB_H 1
195 /* Define if you have the <sys/un.h> header file. */
196 #define HAVE_SYS_UN_H 1
198 /* Define if you have the <pty.h> header file. */
199 #define HAVE_PTY_H 1
201 /* Define if you have the <netinet/in.h> header file. */
202 #define HAVE_NETINET_IN_H 1
204 /* Define if you have the <netinet/in_systm.h> header file. */
205 #define HAVE_NETINET_IN_SYSTM_H 1
207 /* Define if you have the <netinet/ip.h> header file. */
208 #define HAVE_NETINET_IP_H 1
210 /* Define if you have the <netinet/tcp.h> header file. */
211 #define HAVE_NETINET_TCP_H 1
213 /* Define if you have the <netinet/ip6.h> header file. */
214 #define HAVE_NETINET_IP6_H 1
216 /* Define if you have the <arpa/nameser.h> header file. */
217 #define HAVE_ARPA_NAMESER_H 1
219 /* Define if you have the <resolv.h> header file. */
220 #define HAVE_RESOLV_H 1
222 /* Define if you have the <termios.h> header file. */
223 #define HAVE_TERMIOS_H 1
225 /* Define if you have the <net/if.h> header file. */
226 #define HAVE_NET_IF_H 1
228 /* Define if you have the <linux/if_tun.h> header file. */
229 #define HAVE_LINUX_IF_TUN_H 1
231 /* Define if you have the <sys/utsname.h> header file. */
232 #define HAVE_SYS_UTSNAME_H 1
234 /* Define if you have the <sys/select.h> header file. (AIX) */
235 #define HAVE_SYS_SELECT_H 1
237 /* Define if you have the <sys/file.h> header file. (AIX) */
238 #define HAVE_SYS_FILE_H 1
240 /* Define if you have the <util.h> header file. (NetBSD, OpenBSD: openpty()) */
241 /* #undef HAVE_UTIL_H */
243 /* Define if you have the <libutil.h> header file. (FreeBSD: openpty()) */
244 /* #undef HAVE_LIBUTIL_H */
246 /* Define if you have the <sys/stropts.h> header file. (stream opts on SunOS)*/
247 #define HAVE_SYS_STROPTS_H 1
249 /* Define if you have the <regex.h> header file. */
250 #define HAVE_REGEX_H 1
252 /* Define if you have the <linux/fs.h> header file. */
253 #define HAVE_LINUX_FS_H 1
255 /* Define if you have the <linux/ext2_fs.h> header file. */
256 #define HAVE_LINUX_EXT2_FS_H 1
258 /* Define if you have the <readline/readline.h> header file. */
259 #define HAVE_READLINE_READLINE_H 1
261 /* Define if you have the <readline/history.h> header file. */
262 #define HAVE_READLINE_HISTORY_H 1
264 /* Define if you have the readline library. */
265 #define HAVE_LIBREADLINE 1
267 /* Define if you have the m library (-lm). */
268 /* #undef HAVE_LIBM */
270 /* Define if you have the floor function */
271 /* #undef HAVE_FLOOR */
273 /* some platforms need _XOPEN_EXTENDED_SOURCE to get syslog headers (AIX4.1) */
274 /* #undef _XOPEN_EXTENDED_SOURCE */
276 /* fdset may have component fds_bits or __fds_bits */
277 #define HAVE_FDS_BITS 1
279 /* Define if your struct termios has component c_ispeed */
280 #define HAVE_TERMIOS_ISPEED 1
282 /* the offset of c_ispeed in struct termios - usable in an speed_t array.
283 Applies only when HAVE_TERMIOS_ISPEED is set */
284 #define ISPEED_OFFSET 13
286 /* the offset of c_ospeed in struct termios - see ISPEED_OFFSET */
287 #ifdef ISPEED_OFFSET
288 # define OSPEED_OFFSET (ISPEED_OFFSET+1)
289 #else
290 /* # undef OSPEED_OFFSET */
291 #endif
293 /* Define if your termios.h likes _SVID3 defined */
294 /* #undef _SVID3 */
296 /* Define if you have struct timespec (e.g. for nanosleep) */
297 #define HAVE_STRUCT_TIMESPEC 1
299 /* Define if you have struct linger */
300 #define HAVE_STRUCT_LINGER 1
302 /* Define if you have struct ip_mreq */
303 #define HAVE_STRUCT_IP_MREQ 1
305 /* Define if you have struct ip_mreqn */
306 #define HAVE_STRUCT_IP_MREQN 1
308 /* Define if you have struct ipv6_mreq */
309 #define HAVE_STRUCT_IPV6_MREQ 1
311 /* Define if you have struct ifreq */
312 #define HAVE_STRUCT_IFREQ 1
314 /* Define if you have struct ifreq.ifr_index */
315 /* #undef HAVE_STRUCT_IFREQ_IFR_INDEX */
317 /* Define if you have struct ifreq.ifr_ifindex */
318 #define HAVE_STRUCT_IFREQ_IFR_IFINDEX 1
320 /* Define if your struct sockaddr has sa_len */
321 /* #undef HAVE_STRUCT_SOCKADDR_SALEN */
323 /* there are several implementations of sockaddr_in6 */
324 #define HAVE_IP6_SOCKADDR 0
326 /* Define if you have struct iovec */
327 #define HAVE_STRUCT_IOVEC 1
329 /* define if your struct msghdr has msg_control */
330 #define HAVE_STRUCT_MSGHDR_MSGCONTROL 1
332 /* define if your struct msghdr has msg_controllen */
333 #define HAVE_STRUCT_MSGHDR_MSGCONTROLLEN 1
335 /* define if your struct msghdr has msg_flag */
336 #define HAVE_STRUCT_MSGHDR_MSGFLAGS 1
338 /* define if your struct ip has ip_hl; otherwise assume ip_vhl */
339 #define HAVE_STRUCT_IP_IP_HL 1
341 /* Define if you have the setenv function */
342 #define HAVE_SETENV 1
344 /* Define if you have the flock function */
345 #define HAVE_FLOCK 1
347 /* Define if you have the openpty function */
348 #define HAVE_OPENPTY 1
350 /* Define if you have the grantpt function */
351 #define HAVE_GRANTPT 1
353 /* Define if you have the unlockpt function */
354 #define HAVE_UNLOCKPT 1
356 /* Define if you have the ptsname function */
357 #define HAVE_PTSNAME 1
359 /* Define if you have the /dev/ptmx pseudo terminal multiplexer */
360 #define HAVE_DEV_PTMX 1
362 /* Define if you have the /dev/ptc pseudo terminal multiplexer */
363 /* #undef HAVE_DEV_PTC */
365 /* Define if you have the long long type */
366 #define HAVE_TYPE_LONGLONG 1
368 /* is socklen_t already typedef'd? */
369 #define HAVE_TYPE_SOCKLEN 1
371 /* Define if you have the struct stat64 type */
372 #define HAVE_TYPE_STAT64 1
374 /* Define if you have the struct off64_t type */
375 #define HAVE_TYPE_OFF64 1
377 /* is sighandler_t already typedef'd? */
378 #define HAVE_TYPE_SIGHANDLER 1
380 /* is uint8_t already defined? */
381 #define HAVE_TYPE_UINT8 1
383 /* is uint16_t already defined? */
384 #define HAVE_TYPE_UINT16 1
386 /* is uint32_t already defined? */
387 #define HAVE_TYPE_UINT32 1
389 /* is uint64_t already defined? */
390 #define HAVE_TYPE_UINT64 1
392 /* Define if you have the printf "Z" modifier */
393 #define HAVE_FORMAT_Z 1
395 /* Define the shift offset of the CRDLY mask */
396 #define CRDLY_SHIFT 9
398 /* Define the shift offset of the TABDLY mask */
399 #define TABDLY_SHIFT 11
401 /* Define the shift offset of the CSIZE mask */
402 #define CSIZE_SHIFT 4
404 /* Define if you have tcpwrappers (libwrap, tcpd) and it declares hosts_allow_table */
405 #define HAVE_HOSTS_ALLOW_TABLE 1
406 #if defined(HAVE_HOSTS_ALLOW_TABLE) && HAVE_HOSTS_ALLOW_TABLE
407 # define HAVE_HOSTS_DENY_TABLE 1
408 #else
409 /* # undef HAVE_HOSTS_DENY_TABLE */
410 #endif
412 /* 1..short, 3..int, 5..long; 2,4,6..unsigned */
413 #define HAVE_BASIC_SIZE_T 4 /* unsigned int */
414 #define HAVE_BASIC_MODE_T 4 /* unsigned int */
415 #define HAVE_BASIC_PID_T 3 /* int */
416 #define HAVE_BASIC_UID_T 4 /* unsigned int */
417 #define HAVE_BASIC_GID_T 4 /* unsigned int */
418 #define HAVE_BASIC_TIME_T 5 /* long */
419 #define HAVE_BASIC_OFF64_T 7 /* long long */
421 #define HAVE_BASIC_SOCKLEN_T 4 /* unsigned int */
423 #define HAVE_TYPEOF_ST_DEV 8 /* unsigned long long */
424 #define HAVE_TYPEOF_ST_INO 6 /* unsigned long */
425 #define HAVE_TYPEOF_ST_NLINK 4 /* unsigned int */
426 #define HAVE_TYPEOF_ST_SIZE 5 /* long */
427 #define HAVE_TYPEOF_ST_BLKSIZE 5 /* long */
428 #define HAVE_TYPEOF_ST_BLOCKS 5 /* long */
430 #define HAVE_TYPEOF_ST64_DEV 8 /* unsigned long long */
431 #define HAVE_TYPEOF_ST64_INO 8 /* unsigned long long */
432 #define HAVE_TYPEOF_ST64_NLINK 4 /* unsigned int */
433 #define HAVE_TYPEOF_ST64_SIZE 7 /* long long */
434 #define HAVE_TYPEOF_ST64_BLKSIZE 5 /* long */
435 #define HAVE_TYPEOF_ST64_BLOCKS 7 /* long long */
437 /* #undef HAVE_TYPEOF_STRUCT_TIMEVAL_TV_USEC */
439 #define HAVE_TYPEOF_RLIM_MAX 6 /* unsigned long */
441 /* Define if you have the /proc filesystem */
442 #define HAVE_PROC_DIR 1
444 /* Define if you have the /proc/$$/fd directories */
445 #define HAVE_PROC_DIR_FD 1
447 #define WITH_HELP 1
448 #define WITH_STDIO 1
449 #define WITH_FDNUM 1
450 #define WITH_FILE 1
451 #define WITH_CREAT 1
452 #define WITH_GOPEN 1
453 #define WITH_TERMIOS 1
454 #define WITH_PIPE 1
455 #define WITH_UNIX 1
456 #define WITH_ABSTRACT_UNIXSOCKET 1
457 #define WITH_IP4 1
458 #define WITH_IP6 1
459 #define WITH_RAWIP 1
460 #define WITH_TCP 1
461 #define WITH_UDP 1
462 #define WITH_LISTEN 1
463 #define WITH_SOCKS4 1
464 #define WITH_SOCKS4A 1
465 #define WITH_PROXY 1
466 #define WITH_EXEC 1
467 #define WITH_SYSTEM 1
468 #define WITH_READLINE 1
469 #define WITH_TUN 1
470 #define WITH_PTY 1
471 #define WITH_EXT2 1
472 #define WITH_OPENSSL 1
473 /* #undef WITH_FIPS */
474 /* #undef OPENSSL_FIPS */
475 #define WITH_LIBWRAP 1
476 #define HAVE_TCPD_H 1
477 #define HAVE_LIBWRAP 1
479 #define WITH_SYCLS 1
480 #define WITH_FILAN 1
481 #define WITH_RETRY 1
483 #define WITH_MSGLEVEL 0
485 #endif /* !defined(__config_h_included) */