Final fixes before release 1.7.3.0
[socat.git] / Config / config.NetBSD-5-1.h
blob27f18a98a50547fbe02d894d8c97f940218b839b
1 /* config.h. Generated from config.h.in by configure. */
2 /* source: config.h.in */
3 /* Copyright Gerhard Rieger 2001-2008 */
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 /* #undef HAVE_MEMRCHR */
111 /* Define if you have the if_indextoname function. */
112 #define HAVE_IF_INDEXTONAME 1
114 /* Define if you have the sigaction function */
115 #define HAVE_SIGACTION 1
117 /* Define if you have the stat64 function */
118 /* #undef HAVE_STAT64 */
120 /* Define if you have the fstat64 function */
121 /* #undef HAVE_FSTAT64 */
123 /* Define if you have the lstat64 function */
124 /* #undef HAVE_LSTAT64 */
126 /* Define if you have the lseek64 function */
127 /* #undef HAVE_LSEEK64 */
129 /* Define if you have the truncate64 function */
130 /* #undef HAVE_TRUNCATE64 */
132 /* Define if you have the ftruncate64 function */
133 /* #undef HAVE_FTRUNCATE64 */
135 /* Define if you have the strtoll function */
136 #define HAVE_STRTOLL 1
138 /* Define if you have the hstrerror function */
139 #define HAVE_HSTRERROR 1
141 /* Define if you have the inet_ntop function */
142 #define HAVE_INET_NTOP 1
144 /* Define if you have the hstrerror prototype */
145 #define HAVE_PROTOTYPE_HSTRERROR 1
147 /* Define if you have the <fcntl.h> header file. */
148 #define HAVE_FCNTL_H 1
150 /* Define if you have the <limits.h> header file. */
151 #define HAVE_LIMITS_H 1
153 /* Define if you have the <strings.h> header file. */
154 #define HAVE_STRINGS_H 1
156 /* Define if you have the <sys/param.h> header file. */
157 #define HAVE_SYS_PARAM_H 1
159 /* Define if you have the <sys/ioctl.h> header file. */
160 #define HAVE_SYS_IOCTL_H 1
162 /* Define if you have the <sys/time.h> header file. */
163 #define HAVE_SYS_TIME_H 1
165 /* Define if you have the <syslog.h> header file. */
166 #define HAVE_SYSLOG_H 1
168 /* Define if you have the <unistd.h> header file. */
169 #define HAVE_UNISTD_H 1
171 /* Define if you have the <pwd.h> header file. */
172 #define HAVE_PWD_H 1
174 /* Define if you have the <grp.h> header file. */
175 #define HAVE_GRP_H 1
177 /* Define if you have the <stdint.h> header file. */
178 #define HAVE_STDINT_H 1
180 /* Define if you have the <sys/types.h> header file. */
181 #define HAVE_SYS_TYPES_H 1
183 /* Define if you have the <sys/poll.h> header file. */
184 #define HAVE_SYS_POLL_H 1
186 /* Define if you have the <sys/socket.h> header file. */
187 #define HAVE_SYS_SOCKET_H 1
189 /* Define if you have the <sys/uio.h> header file. */
190 #define HAVE_SYS_UIO_H 1
192 /* Define if you have the <sys/stat.h> header file. */
193 #define HAVE_SYS_STAT_H 1
195 /* Define if you have the <netdb.h> header file. */
196 #define HAVE_NETDB_H 1
198 /* Define if you have the <sys/un.h> header file. */
199 #define HAVE_SYS_UN_H 1
201 /* Define if you have the <pty.h> header file. */
202 /* #undef HAVE_PTY_H */
204 /* Define if you have the <netinet/in.h> header file. */
205 #define HAVE_NETINET_IN_H 1
207 /* Define if you have the <netinet/in_systm.h> header file. */
208 #define HAVE_NETINET_IN_SYSTM_H 1
210 /* Define if you have the <netinet/ip.h> header file. */
211 #define HAVE_NETINET_IP_H 1
213 /* Define if you have the <netinet/tcp.h> header file. */
214 #define HAVE_NETINET_TCP_H 1
216 /* Define if you have the <netinet/ip6.h> header file. */
217 #define HAVE_NETINET_IP6_H 1
219 /* Define if you have the <arpa/nameser.h> header file. */
220 #define HAVE_ARPA_NAMESER_H 1
222 /* Define if you have the <resolv.h> header file. */
223 #define HAVE_RESOLV_H 1
225 /* Define if you have the <termios.h> header file. */
226 #define HAVE_TERMIOS_H 1
228 /* Define if you have the <net/if.h> header file. */
229 #define HAVE_NET_IF_H 1
231 /* Define if you have the <net/if_dl.h> header file. */
232 #define HAVE_NET_IF_DL_H 1
234 /* Define if you have the <linux/types.h> header file. */
235 /* #undef HAVE_LINUX_TYPES_H */
237 /* Define if you have the <linux/errqueue.h> header file. */
238 /* #undef HAVE_LINUX_ERRQUEUE_H */
240 /* Define if you have the <linux/if_tun.h> header file. */
241 /* #undef HAVE_LINUX_IF_TUN_H */
243 /* Define if you have the <netpacket/packet.h> header file. */
244 /* #undef HAVE_NETPACKET_PACKET_H */
246 /* Define if you have the <netinet/if_ether.h> header file. */
247 /* #undef HAVE_NETINET_IF_ETHER_H */
249 /* Define if you have the <sys/utsname.h> header file. */
250 #define HAVE_SYS_UTSNAME_H 1
252 /* Define if you have the <sys/select.h> header file. (AIX) */
253 #define HAVE_SYS_SELECT_H 1
255 /* Define if you have the <sys/file.h> header file. (AIX) */
256 #define HAVE_SYS_FILE_H 1
258 /* Define if you have the <util.h> header file. (NetBSD, OpenBSD: openpty()) */
259 #define HAVE_UTIL_H 1
261 /* Define if you have the <libutil.h> header file. (FreeBSD: openpty()) */
262 /* #undef HAVE_LIBUTIL_H */
264 /* Define if you have the <sys/stropts.h> header file. (stream opts on SunOS)*/
265 /* #undef HAVE_SYS_STROPTS_H */
267 /* Define if you have the <regex.h> header file. */
268 #define HAVE_REGEX_H 1
270 /* Define if you have the <linux/fs.h> header file. */
271 /* #undef HAVE_LINUX_FS_H */
273 /* Define if you have the <linux/ext2_fs.h> header file. */
274 /* #undef HAVE_LINUX_EXT2_FS_H */
276 /* Define if you have the <readline/readline.h> header file. */
277 /* #undef HAVE_READLINE_READLINE_H */
279 /* Define if you have the <readline/history.h> header file. */
280 /* #undef HAVE_READLINE_HISTORY_H */
282 /* Define if you have the readline library. */
283 /* #undef HAVE_LIBREADLINE */
285 /* Define if you have the m library (-lm). */
286 /* #undef HAVE_LIBM */
288 /* Define if you have the floor function */
289 /* #undef HAVE_FLOOR */
291 /* some platforms need _XOPEN_EXTENDED_SOURCE to get syslog headers (AIX4.1) */
292 /* #undef _XOPEN_EXTENDED_SOURCE */
294 /* fdset may have component fds_bits or __fds_bits */
295 #define HAVE_FDS_BITS 1
297 /* Define if you have the sa_family_t */
298 #define HAVE_TYPE_SA_FAMILY_T 1
300 /* define if your struct sigaction has sa_sigaction */
301 #define HAVE_STRUCT_SIGACTION_SA_SIGACTION 1
303 /* Define if your struct termios has component c_ispeed */
304 #define HAVE_TERMIOS_ISPEED 1
306 /* the offset of c_ispeed in struct termios - usable in an speed_t array.
307 Applies only when HAVE_TERMIOS_ISPEED is set */
308 #define ISPEED_OFFSET 9
310 /* the offset of c_ospeed in struct termios - see ISPEED_OFFSET */
311 #ifdef ISPEED_OFFSET
312 # define OSPEED_OFFSET (ISPEED_OFFSET+1)
313 #else
314 /* # undef OSPEED_OFFSET */
315 #endif
317 /* Define if your termios.h likes _SVID3 defined */
318 /* #undef _SVID3 */
320 /* Define if you have struct timespec (e.g. for nanosleep) */
321 #define HAVE_STRUCT_TIMESPEC 1
323 /* Define if you have struct linger */
324 #define HAVE_STRUCT_LINGER 1
326 /* Define if you have struct ip_mreq */
327 #define HAVE_STRUCT_IP_MREQ 1
329 /* Define if you have struct ip_mreqn */
330 /* #undef HAVE_STRUCT_IP_MREQN */
332 /* Define if you have struct ipv6_mreq */
333 #define HAVE_STRUCT_IPV6_MREQ 1
335 /* Define if you have struct ifreq */
336 #define HAVE_STRUCT_IFREQ 1
338 /* Define if you have struct ifreq.ifr_index */
339 /* #undef HAVE_STRUCT_IFREQ_IFR_INDEX */
341 /* Define if you have struct ifreq.ifr_ifindex; not on HPUX */
342 /* #undef HAVE_STRUCT_IFREQ_IFR_IFINDEX */
344 /* Define if your struct sockaddr has sa_len */
345 #define HAVE_STRUCT_SOCKADDR_SALEN 1
347 /* there are several implementations of sockaddr_in6 */
348 #define HAVE_IP6_SOCKADDR 0
350 /* Define if you have struct iovec */
351 #define HAVE_STRUCT_IOVEC 1
353 /* define if your struct msghdr has msg_control */
354 #define HAVE_STRUCT_MSGHDR_MSGCONTROL 1
356 /* define if your struct msghdr has msg_controllen */
357 #define HAVE_STRUCT_MSGHDR_MSGCONTROLLEN 1
359 /* define if your struct msghdr has msg_flag */
360 #define HAVE_STRUCT_MSGHDR_MSGFLAGS 1
362 /* define if you have struct cmsghdr */
363 #define HAVE_STRUCT_CMSGHDR 1
365 /* define if you have struct in_pktinfo */
366 /* #undef HAVE_STRUCT_IN_PKTINFO */
368 /* define if your struct ip has ip_hl; otherwise assume ip_vhl */
369 #define HAVE_STRUCT_IP_IP_HL 1
371 /* Define if you have the setenv function */
372 #define HAVE_SETENV 1
374 /* Define if you have the unsetenv function. not on HP-UX */
375 #define HAVE_UNSETENV 1
377 /* Define if you have the flock function */
378 #define HAVE_FLOCK 1
380 /* Define if you have the openpty function */
381 #define HAVE_OPENPTY 1
383 /* Define if you have the grantpt function */
384 #define HAVE_GRANTPT 1
386 /* Define if you have the unlockpt function */
387 #define HAVE_UNLOCKPT 1
389 /* Define if you have the ptsname function */
390 #define HAVE_PTSNAME 1
392 /* Define if you have the /dev/ptmx pseudo terminal multiplexer */
393 #define HAVE_DEV_PTMX 1
395 /* Define if you have the /dev/ptc pseudo terminal multiplexer */
396 /* #undef HAVE_DEV_PTC */
398 /* Define if you have the long long type */
399 #define HAVE_TYPE_LONGLONG 1
401 /* is socklen_t already typedef'd? */
402 #define HAVE_TYPE_SOCKLEN 1
404 /* Define if you have the struct stat64 type */
405 /* #undef HAVE_TYPE_STAT64 */
407 /* Define if you have the struct off64_t type */
408 /* #undef HAVE_TYPE_OFF64 */
410 /* is sighandler_t already typedef'd? */
411 /* #undef HAVE_TYPE_SIGHANDLER */
413 /* is uint8_t already defined? */
414 #define HAVE_TYPE_UINT8 1
416 /* is uint16_t already defined? */
417 #define HAVE_TYPE_UINT16 1
419 /* is uint32_t already defined? */
420 #define HAVE_TYPE_UINT32 1
422 /* is uint64_t already defined? */
423 #define HAVE_TYPE_UINT64 1
425 /* Define if you have the printf "Z" modifier */
426 /* #undef HAVE_FORMAT_Z */
428 /* Define the shift offset of the CRDLY mask */
429 #define CRDLY_SHIFT -1
431 /* Define the shift offset of the TABDLY mask */
432 #define TABDLY_SHIFT -1
434 /* Define the shift offset of the CSIZE mask */
435 #define CSIZE_SHIFT 8
437 /* Define if you have tcpwrappers (libwrap, tcpd) and it declares hosts_allow_table */
438 #define HAVE_HOSTS_ALLOW_TABLE 1
439 #if defined(HAVE_HOSTS_ALLOW_TABLE) && HAVE_HOSTS_ALLOW_TABLE
440 # define HAVE_HOSTS_DENY_TABLE 1
441 #else
442 /* # undef HAVE_HOSTS_DENY_TABLE */
443 #endif
445 /* 1..short, 3..int, 5..long; 2,4,6..unsigned */
446 #define HAVE_BASIC_SIZE_T 4 /* unsigned int */
447 #define HAVE_BASIC_MODE_T 4 /* unsigned int */
448 #define HAVE_BASIC_PID_T 3 /* int */
449 #define HAVE_BASIC_UID_T 4 /* unsigned int */
450 #define HAVE_BASIC_GID_T 4 /* unsigned int */
451 #define HAVE_BASIC_TIME_T 5 /* long */
452 #define HAVE_BASIC_OFF64_T 0 /* unknown, taking default */
454 #define HAVE_BASIC_SOCKLEN_T 4 /* unsigned int */
456 #define HAVE_TYPEOF_ST_DEV 4 /* unsigned int */
457 #define HAVE_TYPEOF_ST_INO 8 /* unsigned long long */
458 #define HAVE_TYPEOF_ST_NLINK 4 /* unsigned int */
459 #define HAVE_TYPEOF_ST_SIZE 7 /* long long */
460 #define HAVE_TYPEOF_ST_BLKSIZE 4 /* unsigned int */
461 #define HAVE_TYPEOF_ST_BLOCKS 7 /* long long */
463 /* #undef HAVE_TYPEOF_ST64_DEV */
464 /* #undef HAVE_TYPEOF_ST64_INO */
465 /* #undef HAVE_TYPEOF_ST64_NLINK */
466 /* #undef HAVE_TYPEOF_ST64_SIZE */
467 /* #undef HAVE_TYPEOF_ST64_BLKSIZE */
468 /* #undef HAVE_TYPEOF_ST64_BLOCKS */
470 #define HAVE_TYPEOF_STRUCT_TIMEVAL_TV_USEC 5 /* long */
472 #define HAVE_TYPEOF_RLIM_MAX 7 /* long long */
474 /* Define if you have the /proc filesystem */
475 #define HAVE_PROC_DIR 1
477 /* Define if you have the /proc/$$/fd directories */
478 /* #undef HAVE_PROC_DIR_FD */
480 #define WITH_HELP 1
481 #define WITH_STDIO 1
482 #define WITH_FDNUM 1
483 #define WITH_FILE 1
484 #define WITH_CREAT 1
485 #define WITH_GOPEN 1
486 #define WITH_TERMIOS 1
487 #define WITH_PIPE 1
488 #define WITH_UNIX 1
489 /* #undef WITH_ABSTRACT_UNIXSOCKET */
490 #define WITH_IP4 1
491 #define WITH_IP6 1
492 #define WITH_RAWIP 1
493 #define WITH_GENERICSOCKET 1
494 /* #undef WITH_INTERFACE */
495 #define WITH_TCP 1
496 #define WITH_UDP 1
497 /* #undef WITH_SCTP */
498 #define WITH_LISTEN 1
499 #define WITH_SOCKS4 1
500 #define WITH_SOCKS4A 1
501 #define WITH_PROXY 1
502 #define WITH_EXEC 1
503 #define WITH_SYSTEM 1
504 /* #undef WITH_READLINE */
505 /* #undef WITH_TUN */
506 #define WITH_PTY 1
507 #define WITH_EXT2 1
508 #define WITH_OPENSSL 1
509 #define WITH_STREAMS 1
510 /* #undef WITH_FIPS */
511 /* #undef OPENSSL_FIPS */
512 #define WITH_LIBWRAP 1
513 #define HAVE_TCPD_H 1
514 #define HAVE_LIBWRAP 1
516 #define WITH_SYCLS 1
517 #define WITH_FILAN 1
518 #define WITH_RETRY 1
520 #define WITH_MSGLEVEL 0
522 #endif /* !defined(__config_h_included) */