1 /* $FreeBSD: src/usr.sbin/tcpdump/tcpdump/config.h,v 1.1.2.4 2002/07/05 11:30:32 fenner Exp $ */
2 /* $DragonFly: src/usr.sbin/tcpdump/tcpdump/config.h,v 1.2 2003/06/17 04:30:03 dillon Exp $ */
3 /* This is an edited copy of the config.h generated by configure. */
5 /* config.h. Generated automatically by configure. */
6 /* config.h.in. Generated automatically from configure.in by autoheader. */
7 /* "generated automatically" means DO NOT MAKE CHANGES TO config.h.in --
8 * make them to acconfig.h and rerun autoheader */
10 /* Define to empty if the keyword does not work. */
13 /* Define as __inline if that's what the C compiler calls it. */
16 /* Define as the return type of signal handlers (int or void). */
17 #define RETSIGTYPE void
19 /* Define if you can safely include both <sys/time.h> and <time.h>. */
20 #define TIME_WITH_SYS_TIME 1
22 /* Define if you have SSLeay 0.9.0b with the buggy cast128. */
23 /* #undef HAVE_BUGGY_CAST128 */
25 /* Define if you enable IPv6 support */
26 /* Handled by Makefile, to allow NOINET6 */
29 /* Define if you enable support for the libsmi. */
32 /* define if you have struct __res_state_ext */
33 #define HAVE_RES_STATE_EXT 1
35 /* define if your struct __res_state has the nsort member */
36 #define HAVE_NEW_RES_STATE 1
38 /* define if you have the addrinfo function. */
39 #define HAVE_ADDRINFO 1
41 /* define if you need to include missing/addrinfoh.h. */
42 /* #undef NEED_ADDRINFO_H */
44 /* define ifyou have the h_errno variable. */
45 #define HAVE_H_ERRNO 1
47 /* define if IN6ADDRSZ is defined (XXX not used!) */
48 #define HAVE_IN6ADDRSZ 1
50 /* define if INADDRSZ is defined (XXX not used!) */
51 #define HAVE_INADDRSZ 1
53 /* define if this is a development version, to use additional prototypes. */
54 /* #undef HAVE_OS_PROTO_H */
56 /* define if RES_USE_INET6 is defined */
57 #define HAVE_RES_USE_INET6 1
59 /* define if struct sockaddr has the sa_len member */
60 #define HAVE_SOCKADDR_SA_LEN 1
62 /* define if you have struct sockaddr_storage */
63 #define HAVE_SOCKADDR_STORAGE 1
65 /* define if you have ether_ntohost() and it works */
66 #define USE_ETHER_NTOHOST 1
68 /* define if unaligned memory accesses fail */
69 /* #undef LBL_ALIGN */
71 /* The successful return value from signal (?)XXX */
74 /* Define this on IRIX */
75 /* #undef _BSD_SIGNALS */
77 /* For HP/UX ANSI compiler? */
78 /* #undef _HPUX_SOURCE */
83 /* Workaround for missing sized types */
84 /* XXX this should move to the more standard uint*_t */
87 /* #undef u_int16_t */
88 /* #undef u_int32_t */
91 /* Whether or not to include the possibly-buggy SMB printer */
92 #define TCPDUMP_DO_SMB 1
94 /* Long story short: aclocal.m4 depends on autoconf 2.13
95 * implementation details wrt "const"; newer versions
96 * have different implementation details so for now we
97 * put "const" here. This may cause duplicate definitions
98 * in config.h but that should be OK since they're the same.
102 /* The number of bytes in a char. */
103 #define SIZEOF_CHAR 1
105 /* The number of bytes in a int. */
108 /* The number of bytes in a long. */
109 #define SIZEOF_LONG 4
111 /* The number of bytes in a short. */
112 #define SIZEOF_SHORT 2
114 /* Define if you have the bpf_dump function. */
115 #define HAVE_BPF_DUMP 1
117 /* Define if you have the ether_ntohost function. */
118 #define HAVE_ETHER_NTOHOST 1
120 /* Define if you have the getaddrinfo function. */
121 #define HAVE_GETADDRINFO 1
123 /* Define if you have the getnameinfo function. */
124 #define HAVE_GETNAMEINFO 1
126 /* Define if you have the inet_aton function. */
127 #define HAVE_INET_ATON 1
129 /* Define if you have the inet_ntop function. */
130 #define HAVE_INET_NTOP 1
132 /* Define if you have the inet_pton function. */
133 #define HAVE_INET_PTON 1
135 /* Define if you have the pfopen function. */
136 /* #undef HAVE_PFOPEN */
138 /* Define if you have the setlinebuf function. */
139 #define HAVE_SETLINEBUF 1
141 /* Define if you have the sigaction function. */
142 #define HAVE_SIGACTION 1
144 /* Define if you have the sigset function. */
145 /* #undef HAVE_SIGSET */
147 /* Define if you have the snprintf function. */
148 #define HAVE_SNPRINTF 1
150 /* Define if you have the strcasecmp function. */
151 #define HAVE_STRCASECMP 1
153 /* Define if you have the strdup function. */
154 #define HAVE_STRDUP 1
156 /* Define if you have the strlcat function. */
157 #define HAVE_STRLCAT 1
159 /* Define if you have the strlcpy function. */
160 #define HAVE_STRLCPY 1
162 /* Define if you have the vfprintf function. */
163 #define HAVE_VFPRINTF 1
165 /* Define if you have the vsnprintf function. */
166 #define HAVE_VSNPRINTF 1
168 /* Define if you have the <cast.h> header file. */
169 /* Handled by Makefile, to allow optional crypto */
170 /* #define HAVE_CAST_H 1 */
172 /* Define if you have the <fcntl.h> header file. */
173 #define HAVE_FCNTL_H 1
175 /* Define if you have the <netinet/if_ether.h> header file. */
176 #define HAVE_NETINET_IF_ETHER_H 1
178 /* Define if you have the <rc5.h> header file. */
179 /* #undef HAVE_RC5_H */
181 /* Define if you have the <rpc/rpcent.h> header file. */
182 /* #undef HAVE_RPC_RPCENT_H */
184 /* Define if you have the <smi.h> header file. */
185 /* #undef HAVE_SMI_H */
187 /* Define if you have the crypto library (-lcrypto). */
188 /* Handled by Makefile, to allow optional crypto */
189 /* #define HAVE_LIBCRYPTO 1 */
191 /* Define if you have the dnet library (-ldnet). */
192 /* #undef HAVE_LIBDNET */
194 /* Define if you have the rpc library (-lrpc). */
195 /* #undef HAVE_LIBRPC */
197 /* Define if you have the smi library (-lsmi). */
198 /* #undef HAVE_LIBSMI */
200 /* define if your compiler has __attribute__ */
201 #define HAVE___ATTRIBUTE__ 1