1 /* config.h. Generated by configure. */
2 /* source: Config/config.NetBSD-2-0-2.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. */
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 /* #undef HAVE_MEMRCHR */
111 /* Define if you have the sigaction function */
112 #define HAVE_SIGACTION 1
114 /* Define if you have the stat64 function */
115 /* #undef HAVE_STAT64 */
117 /* Define if you have the fstat64 function */
118 /* #undef HAVE_FSTAT64 */
120 /* Define if you have the lstat64 function */
121 /* #undef HAVE_LSTAT64 */
123 /* Define if you have the lseek64 function */
124 /* #undef HAVE_LSEEK64 */
126 /* Define if you have the truncate64 function */
127 /* #undef HAVE_TRUNCATE64 */
129 /* Define if you have the ftruncate64 function */
130 /* #undef HAVE_FTRUNCATE64 */
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 hstrerror prototype */
139 #define HAVE_PROTOTYPE_HSTRERROR 1
141 /* Define if you have the <fcntl.h> header file. */
142 #define HAVE_FCNTL_H 1
144 /* Define if you have the <limits.h> header file. */
145 #define HAVE_LIMITS_H 1
147 /* Define if you have the <strings.h> header file. */
148 #define HAVE_STRINGS_H 1
150 /* Define if you have the <sys/param.h> header file. */
151 #define HAVE_SYS_PARAM_H 1
153 /* Define if you have the <sys/ioctl.h> header file. */
154 #define HAVE_SYS_IOCTL_H 1
156 /* Define if you have the <sys/time.h> header file. */
157 #define HAVE_SYS_TIME_H 1
159 /* Define if you have the <syslog.h> header file. */
160 #define HAVE_SYSLOG_H 1
162 /* Define if you have the <unistd.h> header file. */
163 #define HAVE_UNISTD_H 1
165 /* Define if you have the <pwd.h> header file. */
168 /* Define if you have the <grp.h> header file. */
171 /* Define if you have the <stdint.h> header file. */
172 #define HAVE_STDINT_H 1
174 /* Define if you have the <sys/types.h> header file. */
175 #define HAVE_SYS_TYPES_H 1
177 /* Define if you have the <sys/poll.h> header file. */
178 #define HAVE_SYS_POLL_H 1
180 /* Define if you have the <sys/socket.h> header file. */
181 #define HAVE_SYS_SOCKET_H 1
183 /* Define if you have the <sys/uio.h> header file. */
184 #define HAVE_SYS_UIO_H 1
186 /* Define if you have the <sys/stat.h> header file. */
187 #define HAVE_SYS_STAT_H 1
189 /* Define if you have the <netdb.h> header file. */
190 #define HAVE_NETDB_H 1
192 /* Define if you have the <sys/un.h> header file. */
193 #define HAVE_SYS_UN_H 1
195 /* Define if you have the <pty.h> header file. */
196 /* #undef HAVE_PTY_H */
198 /* Define if you have the <netinet/in.h> header file. */
199 #define HAVE_NETINET_IN_H 1
201 /* Define if you have the <netinet/in_systm.h> header file. */
202 #define HAVE_NETINET_IN_SYSTM_H 1
204 /* Define if you have the <netinet/ip.h> header file. */
205 #define HAVE_NETINET_IP_H 1
207 /* Define if you have the <netinet/tcp.h> header file. */
208 #define HAVE_NETINET_TCP_H 1
210 /* Define if you have the <netinet/ip6.h> header file. */
211 #define HAVE_NETINET_IP6_H 1
213 /* Define if you have the <resolv.h> header file. */
214 #define HAVE_RESOLV_H 1
216 /* Define if you have the <termios.h> header file. */
217 #define HAVE_TERMIOS_H 1
219 /* Define if you have the <net/if.h> header file. */
220 #define HAVE_NET_IF_H 1
222 /* Define if you have the <sys/utsname.h> header file. */
223 #define HAVE_SYS_UTSNAME_H 1
225 /* Define if you have the <sys/select.h> header file. (AIX) */
226 #define HAVE_SYS_SELECT_H 1
228 /* Define if you have the <sys/file.h> header file. (AIX) */
229 #define HAVE_SYS_FILE_H 1
231 /* Define if you have the <util.h> header file. (NetBSD, OpenBSD: openpty()) */
232 #define HAVE_UTIL_H 1
234 /* Define if you have the <libutil.h> header file. (FreeBSD: openpty()) */
235 /* #undef HAVE_LIBUTIL_H */
237 /* Define if you have the <sys/stropts.h> header file. (stream opts on SunOS)*/
238 /* #undef HAVE_SYS_STROPTS_H */
240 /* Define if you have the <regex.h> header file. */
241 #define HAVE_REGEX_H 1
243 /* Define if you have the <linux/ext2_fs.h> header file. */
244 /* #undef HAVE_LINUX_EXT2_FS_H */
246 /* Define if you have the <readline/readline.h> header file. */
247 #define HAVE_READLINE_READLINE_H 1
249 /* Define if you have the <readline/history.h> header file. */
250 #define HAVE_READLINE_HISTORY_H 1
252 /* Define if you have the readline library. */
253 /* #undef HAVE_LIBREADLINE */
255 /* Define if you have the m library (-lm). */
256 /* #undef HAVE_LIBM */
258 /* Define if you have the floor function */
259 /* #undef HAVE_FLOOR */
261 /* some platforms need _XOPEN_EXTENDED_SOURCE to get syslog headers (AIX4.1) */
262 /* #undef _XOPEN_EXTENDED_SOURCE */
264 /* fdset may have component fds_bits or __fds_bits */
265 #define HAVE_FDS_BITS 1
267 /* Define if your struct termios has component c_ispeed */
268 #define HAVE_TERMIOS_ISPEED 1
270 /* the offset of c_ispeed in struct termios - usable in an speed_t array.
271 Applies only when HAVE_TERMIOS_ISPEED is set */
272 #define ISPEED_OFFSET 9
274 /* the offset of c_ospeed in struct termios - see ISPEED_OFFSET */
276 # define OSPEED_OFFSET (ISPEED_OFFSET+1)
278 /* # undef OSPEED_OFFSET */
281 /* Define if your termios.h likes _SVID3 defined */
284 /* Define if you have struct timespec (e.g. for nanosleep) */
285 #define HAVE_STRUCT_TIMESPEC 1
287 /* Define if you have struct linger */
288 #define HAVE_STRUCT_LINGER 1
290 /* Define if your struct sockaddr has sa_len */
291 #define HAVE_STRUCT_SOCKADDR_SALEN 1
293 /* there are several implementations of sockaddr_in6 */
294 #define HAVE_IP6_SOCKADDR 0
296 /* Define if you have struct iovec */
297 #define HAVE_STRUCT_IOVEC 1
299 /* define if your struct msghdr has msg_control */
300 #define HAVE_STRUCT_MSGHDR_MSGCONTROL 1
302 /* define if your struct msghdr has msg_controllen */
303 #define HAVE_STRUCT_MSGHDR_MSGCONTROLLEN 1
305 /* define if your struct msghdr has msg_flag */
306 #define HAVE_STRUCT_MSGHDR_MSGFLAGS 1
308 /* define if your struct ip has ip_hl; otherwise assume ip_vhl */
309 #define HAVE_STRUCT_IP_IP_HL 1
311 /* Define if you have the setenv function */
312 #define HAVE_SETENV 1
314 /* Define if you have the flock function */
317 /* Define if you have the openpty function */
318 #define HAVE_OPENPTY 1
320 /* Define if you have the grantpt function */
321 /* #undef HAVE_GRANTPT */
323 /* Define if you have the unlockpt function */
324 /* #undef HAVE_UNLOCKPT */
326 /* Define if you have the ptsname function */
327 /* #undef HAVE_PTSNAME */
329 /* Define if you have the /dev/ptmx pseudo terminal multiplexer */
330 /* #undef HAVE_DEV_PTMX */
332 /* Define if you have the /dev/ptc pseudo terminal multiplexer */
333 /* #undef HAVE_DEV_PTC */
335 /* Define if you have the long long type */
336 #define HAVE_TYPE_LONGLONG 1
338 /* is socklen_t already typedef'd? */
339 #define HAVE_TYPE_SOCKLEN 1
341 /* Define if you have the struct stat64 type */
342 /* #undef HAVE_TYPE_STAT64 */
344 /* Define if you have the struct off64_t type */
345 /* #undef HAVE_TYPE_OFF64 */
347 /* is sighandler_t already typedef'd? */
348 /* #undef HAVE_TYPE_SIGHANDLER */
350 /* is uint8_t already defined? */
351 #define HAVE_TYPE_UINT8 1
353 /* is uint16_t already defined? */
354 #define HAVE_TYPE_UINT16 1
356 /* is uint32_t already defined? */
357 #define HAVE_TYPE_UINT32 1
359 /* Define if you have the printf "Z" modifier */
360 /* #undef HAVE_FORMAT_Z */
362 /* Define the shift offset of the CRDLY mask */
363 #define CRDLY_SHIFT -1
365 /* Define the shift offset of the TABDLY mask */
366 #define TABDLY_SHIFT -1
368 /* Define the shift offset of the CSIZE mask */
369 #define CSIZE_SHIFT 8
371 /* Define if you have tcpwrappers (libwrap, tcpd) and it declares hosts_allow_table */
372 #define HAVE_HOSTS_ALLOW_TABLE 1
373 #if defined(HAVE_HOSTS_ALLOW_TABLE) && HAVE_HOSTS_ALLOW_TABLE
374 #define HAVE_HOSTS_DENY_TABLE 1
376 /* #undef HAVE_HOSTS_DENY_TABLE */
379 /* 1..short, 3..int, 5..long; 2,4,6..unsigned */
380 #define HAVE_BASIC_SIZE_T 4 /* unsigned int */
381 #define HAVE_BASIC_MODE_T 4 /* unsigned int */
382 #define HAVE_BASIC_PID_T 3 /* int */
383 #define HAVE_BASIC_UID_T 4 /* unsigned int */
384 #define HAVE_BASIC_GID_T 4 /* unsigned int */
385 #define HAVE_BASIC_TIME_T 5 /* long */
386 #define HAVE_BASIC_OFF64_T 0 /* unknown, taking default */
388 #define HAVE_BASIC_SOCKLEN_T 4 /* unsigned int */
390 #define HAVE_TYPEOF_ST_DEV 4 /* unsigned int */
391 #define HAVE_TYPEOF_ST_INO 4 /* unsigned int */
392 #define HAVE_TYPEOF_ST_NLINK 4 /* unsigned int */
393 #define HAVE_TYPEOF_ST_SIZE 7 /* long long */
394 #define HAVE_TYPEOF_ST_BLKSIZE 4 /* unsigned int */
395 #define HAVE_TYPEOF_ST_BLOCKS 7 /* long long */
397 /* #undef HAVE_TYPEOF_ST64_DEV */
398 /* #undef HAVE_TYPEOF_ST64_INO */
399 /* #undef HAVE_TYPEOF_ST64_NLINK */
400 /* #undef HAVE_TYPEOF_ST64_SIZE */
401 /* #undef HAVE_TYPEOF_ST64_BLKSIZE */
402 /* #undef HAVE_TYPEOF_ST64_BLOCKS */
404 /* #undef HAVE_TYPEOF_STRUCT_TIMEVAL_TV_USEC */
406 #define HAVE_TYPEOF_RLIM_MAX 7 /* long long */
408 /* Define if you have the /proc filesystem */
409 #define HAVE_PROC_DIR 1
411 /* Define if you have the /proc/$$/fd directories */
412 /* #undef HAVE_PROC_DIR_FD */
420 #define WITH_TERMIOS 1
428 #define WITH_LISTEN 1
429 #define WITH_SOCKS4 1
430 #define WITH_SOCKS4A 1
433 #define WITH_SYSTEM 1
434 /* #undef WITH_READLINE */
437 #define WITH_OPENSSL 1
438 /* #undef WITH_FIPS */
439 /* #undef OPENSSL_FIPS */
440 #define WITH_LIBWRAP 1
441 #define HAVE_TCPD_H 1
442 #define HAVE_LIBWRAP 1
448 #define WITH_MSGLEVEL 0
450 #endif /* !defined(__config_h_included) */