1 /* config.h. Generated from config.h.in by configure. */
2 /* source: config.h.in */
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. */
12 /* Define to `int' if <sys/types.h> doesn't define. */
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. */
33 /* Define to `long' if <sys/types.h> doesn't define. */
36 /* Define to `int' if <sys/types.h> doesn't define. */
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. */
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. */
54 /* Define if you have the putenv function. */
57 /* Define if you have the select function. */
60 /* Define if you have the poll function. */
63 /* Define if you have the socket function. */
66 /* Define if you have the strdup function. */
69 /* Define if you have the strerror function. */
70 #define HAVE_STRERROR 1
72 /* Define if you have the strstr function. */
75 /* Define if you have the strtod function. */
78 /* Define if you have the strtol function. */
81 /* Define if you have the strtoul function. */
82 #define HAVE_STRTOUL 1
84 /* Define if you have the uname function. */
87 /* Define if you have the getpgid function. */
88 #define HAVE_GETPGID 1
90 /* Define if you have the getsid function. */
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 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 #define HAVE_STAT64 1
120 /* Define if you have the fstat64 function */
121 #define HAVE_FSTAT64 1
123 /* Define if you have the lstat64 function */
124 #define HAVE_LSTAT64 1
126 /* Define if you have the lseek64 function */
127 #define HAVE_LSEEK64 1
129 /* Define if you have the truncate64 function */
130 #define HAVE_TRUNCATE64 1
132 /* Define if you have the ftruncate64 function */
133 #define HAVE_FTRUNCATE64 1
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. */
174 /* Define if you have the <grp.h> header file. */
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. */
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 /* #undef HAVE_NET_IF_DL_H */
234 /* Define if you have the <linux/types.h> header file. */
235 #define HAVE_LINUX_TYPES_H 1
237 /* Define if you have the <linux/errqueue.h> header file. */
238 #define HAVE_LINUX_ERRQUEUE_H 1
240 /* Define if you have the <linux/if_tun.h> header file. */
241 #define HAVE_LINUX_IF_TUN_H 1
243 /* Define if you have the <netpacket/packet.h> header file. */
244 #define HAVE_NETPACKET_PACKET_H 1
246 /* Define if you have the <netinet/if_ether.h> header file. */
247 #define HAVE_NETINET_IF_ETHER_H 1
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 /* #undef HAVE_UTIL_H */
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 #define HAVE_SYS_STROPTS_H 1
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 #define HAVE_LINUX_FS_H 1
273 /* Define if you have the <linux/ext2_fs.h> header file. */
274 #define HAVE_LINUX_EXT2_FS_H 1
276 /* Define if you have the <readline/readline.h> header file. */
277 #define HAVE_READLINE_READLINE_H 1
279 /* Define if you have the <readline/history.h> header file. */
280 #define HAVE_READLINE_HISTORY_H 1
282 /* Define if you have the readline library. */
283 #define HAVE_LIBREADLINE 1
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 13
310 /* the offset of c_ospeed in struct termios - see ISPEED_OFFSET */
312 # define OSPEED_OFFSET (ISPEED_OFFSET+1)
314 /* # undef OSPEED_OFFSET */
317 /* Define if your termios.h likes _SVID3 defined */
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 #define HAVE_STRUCT_IP_MREQN 1
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 #define HAVE_STRUCT_IFREQ_IFR_IFINDEX 1
344 /* Define if your struct sockaddr has sa_len */
345 /* #undef HAVE_STRUCT_SOCKADDR_SALEN */
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 #define HAVE_STRUCT_IN_PKTINFO 1
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 */
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 #define HAVE_TYPE_STAT64 1
407 /* Define if you have the struct off64_t type */
408 #define HAVE_TYPE_OFF64 1
410 /* is sighandler_t already typedef'd? */
411 #define HAVE_TYPE_SIGHANDLER 1
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 #define HAVE_FORMAT_Z 1
428 /* Define the shift offset of the CRDLY mask */
429 #define CRDLY_SHIFT 9
431 /* Define the shift offset of the TABDLY mask */
432 #define TABDLY_SHIFT 11
434 /* Define the shift offset of the CSIZE mask */
435 #define CSIZE_SHIFT 4
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
442 /* # undef HAVE_HOSTS_DENY_TABLE */
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 7 /* long long */
454 #define HAVE_BASIC_SOCKLEN_T 4 /* unsigned int */
456 #define HAVE_TYPEOF_ST_DEV 8 /* unsigned long long */
457 #define HAVE_TYPEOF_ST_INO 6 /* unsigned long */
458 #define HAVE_TYPEOF_ST_NLINK 4 /* unsigned int */
459 #define HAVE_TYPEOF_ST_SIZE 5 /* long */
460 #define HAVE_TYPEOF_ST_BLKSIZE 5 /* long */
461 #define HAVE_TYPEOF_ST_BLOCKS 5 /* long */
463 #define HAVE_TYPEOF_ST64_DEV 8 /* unsigned long long */
464 #define HAVE_TYPEOF_ST64_INO 8 /* unsigned long long */
465 #define HAVE_TYPEOF_ST64_NLINK 4 /* unsigned int */
466 #define HAVE_TYPEOF_ST64_SIZE 7 /* long long */
467 #define HAVE_TYPEOF_ST64_BLKSIZE 5 /* long */
468 #define HAVE_TYPEOF_ST64_BLOCKS 7 /* long long */
470 #define HAVE_TYPEOF_STRUCT_TIMEVAL_TV_USEC 5 /* long */
472 #define HAVE_TYPEOF_RLIM_MAX 6 /* unsigned 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 #define HAVE_PROC_DIR_FD 1
486 #define WITH_TERMIOS 1
489 #define WITH_ABSTRACT_UNIXSOCKET 1
493 #define WITH_GENERICSOCKET 1
494 #define WITH_INTERFACE 1
498 #define WITH_LISTEN 1
499 #define WITH_SOCKS4 1
500 #define WITH_SOCKS4A 1
503 #define WITH_SYSTEM 1
504 #define WITH_READLINE 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
520 #define WITH_MSGLEVEL 0
522 #endif /* !defined(__config_h_included) */