1 /* source: config.h.in */
2 /* Copyright Gerhard Rieger 2001-2008 */
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. */
11 /* Define to `int' if <sys/types.h> doesn't define. */
14 /* Define if your struct stat has st_blksize. */
15 #undef HAVE_ST_BLKSIZE
17 /* Define if your struct stat has st_blocks. */
20 /* Define if your struct stat has st_rdev. */
23 /* Define if you have the strftime function. */
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. */
32 /* Define to `long' if <sys/types.h> doesn't define. */
35 /* Define to `int' if <sys/types.h> doesn't define. */
38 /* Define as the return type of signal handlers (int or void). */
41 /* Define to `unsigned' if <sys/types.h> doesn't define. */
44 /* Define if you have the ANSI C header files. */
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. */
53 /* Define if you have the putenv function. */
56 /* Define if you have the select function. */
59 /* Define if you have the poll function. */
62 /* Define if you have the socket function. */
65 /* Define if you have the strdup function. */
68 /* Define if you have the strerror function. */
71 /* Define if you have the strstr function. */
74 /* Define if you have the strtod function. */
77 /* Define if you have the strtol function. */
80 /* Define if you have the strtoul function. */
83 /* Define if you have the uname function. */
86 /* Define if you have the getpgid function. */
89 /* Define if you have the getsid function. */
92 /* Define if you have the nanosleep function. */
95 /* Define if you have the getaddrinfo function. */
96 #undef HAVE_GETADDRINFO
98 /* Define if you have the getipnodebyname function. */
99 #undef HAVE_GETIPNODEBYNAME
101 /* Define if you have the setgroups function. */
102 #undef HAVE_SETGROUPS
104 /* Define if you have the inet_aton function. */
105 #undef HAVE_INET_ATON
107 /* Define if you have the memrchr function. */
110 /* Define if you have the if_indextoname function. */
111 #undef HAVE_IF_INDEXTONAME
113 /* Define if you have the sigaction function */
114 #undef HAVE_SIGACTION
116 /* Define if you have the stat64 function */
119 /* Define if you have the fstat64 function */
122 /* Define if you have the lstat64 function */
125 /* Define if you have the lseek64 function */
128 /* Define if you have the truncate64 function */
129 #undef HAVE_TRUNCATE64
131 /* Define if you have the ftruncate64 function */
132 #undef HAVE_FTRUNCATE64
134 /* Define if you have the strtoll function */
137 /* Define if you have the hstrerror function */
138 #undef HAVE_HSTRERROR
140 /* Define if you have the inet_ntop function */
141 #undef HAVE_INET_NTOP
143 /* Define if you have the hstrerror prototype */
144 #undef HAVE_PROTOTYPE_HSTRERROR
146 /* Define if you have the <fcntl.h> header file. */
149 /* Define if you have the <limits.h> header file. */
152 /* Define if you have the <strings.h> header file. */
153 #undef HAVE_STRINGS_H
155 /* Define if you have the <sys/param.h> header file. */
156 #undef HAVE_SYS_PARAM_H
158 /* Define if you have the <sys/ioctl.h> header file. */
159 #undef HAVE_SYS_IOCTL_H
161 /* Define if you have the <sys/time.h> header file. */
162 #undef HAVE_SYS_TIME_H
164 /* Define if you have the <syslog.h> header file. */
167 /* Define if you have the <unistd.h> header file. */
170 /* Define if you have the <pwd.h> header file. */
173 /* Define if you have the <grp.h> header file. */
176 /* Define if you have the <stdint.h> header file. */
179 /* Define if you have the <sys/types.h> header file. */
180 #undef HAVE_SYS_TYPES_H
182 /* Define if you have the <sys/poll.h> header file. */
183 #undef HAVE_SYS_POLL_H
185 /* Define if you have the <sys/socket.h> header file. */
186 #undef HAVE_SYS_SOCKET_H
188 /* Define if you have the <sys/uio.h> header file. */
189 #undef HAVE_SYS_UIO_H
191 /* Define if you have the <sys/stat.h> header file. */
192 #undef HAVE_SYS_STAT_H
194 /* Define if you have the <netdb.h> header file. */
197 /* Define if you have the <sys/un.h> header file. */
200 /* Define if you have the <pty.h> header file. */
203 /* Define if you have the <netinet/in.h> header file. */
204 #undef HAVE_NETINET_IN_H
206 /* Define if you have the <netinet/in_systm.h> header file. */
207 #undef HAVE_NETINET_IN_SYSTM_H
209 /* Define if you have the <netinet/ip.h> header file. */
210 #undef HAVE_NETINET_IP_H
212 /* Define if you have the <netinet/tcp.h> header file. */
213 #undef HAVE_NETINET_TCP_H
215 /* Define if you have the <netinet/ip6.h> header file. */
216 #undef HAVE_NETINET_IP6_H
218 /* Define if you have the <arpa/nameser.h> header file. */
219 #undef HAVE_ARPA_NAMESER_H
221 /* Define if you have the <resolv.h> header file. */
224 /* Define if you have the <termios.h> header file. */
225 #undef HAVE_TERMIOS_H
227 /* Define if you have the <net/if.h> header file. */
230 /* Define if you have the <net/if_dl.h> header file. */
231 #undef HAVE_NET_IF_DL_H
233 /* Define if you have the <linux/types.h> header file. */
234 #undef HAVE_LINUX_TYPES_H
236 /* Define if you have the <linux/errqueue.h> header file. */
237 #undef HAVE_LINUX_ERRQUEUE_H
239 /* Define if you have the <linux/if_tun.h> header file. */
240 #undef HAVE_LINUX_IF_TUN_H
242 /* Define if you have the <netpacket/packet.h> header file. */
243 #undef HAVE_NETPACKET_PACKET_H
245 /* Define if you have the <netinet/if_ether.h> header file. */
246 #undef HAVE_NETINET_IF_ETHER_H
248 /* Define if you have the <sys/utsname.h> header file. */
249 #undef HAVE_SYS_UTSNAME_H
251 /* Define if you have the <sys/select.h> header file. (AIX) */
252 #undef HAVE_SYS_SELECT_H
254 /* Define if you have the <sys/file.h> header file. (AIX) */
255 #undef HAVE_SYS_FILE_H
257 /* Define if you have the <util.h> header file. (NetBSD, OpenBSD: openpty()) */
260 /* Define if you have the <libutil.h> header file. (FreeBSD: openpty()) */
261 #undef HAVE_LIBUTIL_H
263 /* Define if you have the <sys/stropts.h> header file. (stream opts on SunOS)*/
264 #undef HAVE_SYS_STROPTS_H
266 /* Define if you have the <regex.h> header file. */
269 /* Define if you have the <linux/fs.h> header file. */
270 #undef HAVE_LINUX_FS_H
272 /* Define if you have the <linux/ext2_fs.h> header file. */
273 #undef HAVE_LINUX_EXT2_FS_H
275 /* Define if you have the <readline/readline.h> header file. */
276 #undef HAVE_READLINE_READLINE_H
278 /* Define if you have the <readline/history.h> header file. */
279 #undef HAVE_READLINE_HISTORY_H
281 /* Define if you have the readline library. */
282 #undef HAVE_LIBREADLINE
284 /* Define if you have the m library (-lm). */
287 /* Define if you have the floor function */
290 /* some platforms need _XOPEN_EXTENDED_SOURCE to get syslog headers (AIX4.1) */
291 #undef _XOPEN_EXTENDED_SOURCE
293 /* fdset may have component fds_bits or __fds_bits */
296 /* Define if you have the sa_family_t */
297 #undef HAVE_TYPE_SA_FAMILY_T
299 /* define if your struct sigaction has sa_sigaction */
300 #undef HAVE_STRUCT_SIGACTION_SA_SIGACTION
302 /* Define if your struct termios has component c_ispeed */
303 #undef HAVE_TERMIOS_ISPEED
305 /* the offset of c_ispeed in struct termios - usable in an speed_t array.
306 Applies only when HAVE_TERMIOS_ISPEED is set */
309 /* the offset of c_ospeed in struct termios - see ISPEED_OFFSET */
311 # define OSPEED_OFFSET (ISPEED_OFFSET+1)
313 # undef OSPEED_OFFSET
316 /* Define if your termios.h likes _SVID3 defined */
319 /* Define if you have struct timespec (e.g. for nanosleep) */
320 #undef HAVE_STRUCT_TIMESPEC
322 /* Define if you have struct linger */
323 #undef HAVE_STRUCT_LINGER
325 /* Define if you have struct ip_mreq */
326 #undef HAVE_STRUCT_IP_MREQ
328 /* Define if you have struct ip_mreqn */
329 #undef HAVE_STRUCT_IP_MREQN
331 /* Define if you have struct ipv6_mreq */
332 #undef HAVE_STRUCT_IPV6_MREQ
334 /* Define if you have struct ifreq */
335 #undef HAVE_STRUCT_IFREQ
337 /* Define if you have struct ifreq.ifr_index */
338 #undef HAVE_STRUCT_IFREQ_IFR_INDEX
340 /* Define if you have struct ifreq.ifr_ifindex; not on HPUX */
341 #undef HAVE_STRUCT_IFREQ_IFR_IFINDEX
343 /* Define if your struct sockaddr has sa_len */
344 #undef HAVE_STRUCT_SOCKADDR_SALEN
346 /* there are several implementations of sockaddr_in6 */
347 #undef HAVE_IP6_SOCKADDR
349 /* Define if you have struct iovec */
350 #undef HAVE_STRUCT_IOVEC
352 /* define if your struct msghdr has msg_control */
353 #undef HAVE_STRUCT_MSGHDR_MSGCONTROL
355 /* define if your struct msghdr has msg_controllen */
356 #undef HAVE_STRUCT_MSGHDR_MSGCONTROLLEN
358 /* define if your struct msghdr has msg_flag */
359 #undef HAVE_STRUCT_MSGHDR_MSGFLAGS
361 /* define if you have struct cmsghdr */
362 #undef HAVE_STRUCT_CMSGHDR
364 /* define if you have struct in_pktinfo */
365 #undef HAVE_STRUCT_IN_PKTINFO
367 /* define if your struct ip has ip_hl; otherwise assume ip_vhl */
368 #undef HAVE_STRUCT_IP_IP_HL
370 /* Define if you have the setenv function */
373 /* Define if you have the unsetenv function. not on HP-UX */
376 /* Define if you have the flock function */
379 /* Define if you have the openpty function */
382 /* Define if you have the grantpt function */
385 /* Define if you have the unlockpt function */
388 /* Define if you have the ptsname function */
391 /* Define if you have the /dev/ptmx pseudo terminal multiplexer */
394 /* Define if you have the /dev/ptc pseudo terminal multiplexer */
397 /* Define if you have the long long type */
398 #undef HAVE_TYPE_LONGLONG
400 /* is socklen_t already typedef'd? */
401 #undef HAVE_TYPE_SOCKLEN
403 /* Define if you have the struct stat64 type */
404 #undef HAVE_TYPE_STAT64
406 /* Define if you have the struct off64_t type */
407 #undef HAVE_TYPE_OFF64
409 /* is sighandler_t already typedef'd? */
410 #undef HAVE_TYPE_SIGHANDLER
412 /* is uint8_t already defined? */
413 #undef HAVE_TYPE_UINT8
415 /* is uint16_t already defined? */
416 #undef HAVE_TYPE_UINT16
418 /* is uint32_t already defined? */
419 #undef HAVE_TYPE_UINT32
421 /* is uint64_t already defined? */
422 #undef HAVE_TYPE_UINT64
424 /* Define if you have the printf "Z" modifier */
427 /* Define the shift offset of the CRDLY mask */
430 /* Define the shift offset of the TABDLY mask */
433 /* Define the shift offset of the CSIZE mask */
436 /* Define if you have tcpwrappers (libwrap, tcpd) and it declares hosts_allow_table */
437 #undef HAVE_HOSTS_ALLOW_TABLE
438 #if defined(HAVE_HOSTS_ALLOW_TABLE) && HAVE_HOSTS_ALLOW_TABLE
439 # define HAVE_HOSTS_DENY_TABLE 1
441 # undef HAVE_HOSTS_DENY_TABLE
444 /* 1..short, 3..int, 5..long; 2,4,6..unsigned */
445 #undef HAVE_BASIC_SIZE_T
446 #undef HAVE_BASIC_MODE_T
447 #undef HAVE_BASIC_PID_T
448 #undef HAVE_BASIC_UID_T
449 #undef HAVE_BASIC_GID_T
450 #undef HAVE_BASIC_TIME_T
451 #undef HAVE_BASIC_OFF64_T
453 #undef HAVE_BASIC_SOCKLEN_T
455 #undef HAVE_TYPEOF_ST_DEV
456 #undef HAVE_TYPEOF_ST_INO
457 #undef HAVE_TYPEOF_ST_NLINK
458 #undef HAVE_TYPEOF_ST_SIZE
459 #undef HAVE_TYPEOF_ST_BLKSIZE
460 #undef HAVE_TYPEOF_ST_BLOCKS
462 #undef HAVE_TYPEOF_ST64_DEV
463 #undef HAVE_TYPEOF_ST64_INO
464 #undef HAVE_TYPEOF_ST64_NLINK
465 #undef HAVE_TYPEOF_ST64_SIZE
466 #undef HAVE_TYPEOF_ST64_BLKSIZE
467 #undef HAVE_TYPEOF_ST64_BLOCKS
469 #undef HAVE_TYPEOF_STRUCT_TIMEVAL_TV_USEC
471 #undef HAVE_TYPEOF_RLIM_MAX
473 /* Define if you have the /proc filesystem */
476 /* Define if you have the /proc/$$/fd directories */
477 #undef HAVE_PROC_DIR_FD
488 #undef WITH_ABSTRACT_UNIXSOCKET
492 #undef WITH_GENERICSOCKET
493 #undef WITH_INTERFACE
508 #define WITH_STREAMS 1
521 #endif /* !defined(__config_h_included) */