config.h revision 146779
1/* $FreeBSD: head/usr.sbin/tcpdump/tcpdump/config.h 146779 2005-05-29 19:11:21Z sam $ */
2/* This is an edited copy of the config.h generated by configure. */
3
4/* config.h.  Generated by configure.  */
5/* config.h.in.  Generated from configure.in by autoheader.  */
6/* "generated automatically" means DO NOT MAKE CHANGES TO config.h.in --
7 * make them to acconfig.h and rerun autoheader */
8
9/* Define if you have SSLeay 0.9.0b with the buggy cast128. */
10/* #undef HAVE_BUGGY_CAST128 */
11
12/* Define if you enable IPv6 support */
13/* #undef INET6 */
14
15/* Define if you enable support for the libsmi. */
16/* #undef LIBSMI */
17
18/* Define if you have the <smi.h> header file.  */
19/* #undef HAVE_SMI_H */
20
21/* define if you have struct __res_state_ext */
22/* #undef HAVE_RES_STATE_EXT */
23
24/* define if your struct __res_state has the nsort member */
25/* #undef HAVE_NEW_RES_STATE */
26
27/* define if <inttypes.h> defines PRI[doxu]64 macros */
28#define INTTYPES_H_DEFINES_FORMATS 1
29
30/*
31 * define if struct ether_header.ether_dhost is a struct with ether_addr_octet
32 */
33/* #undef ETHER_HEADER_HAS_EA */
34
35/* define if struct ether_arp contains arp_xsha */
36/* #undef ETHER_ARP_HAS_X */
37
38/* define if you have the addrinfo function. */
39#define HAVE_ADDRINFO 1
40
41/* define if you need to include missing/addrinfoh.h. */
42/* #undef NEED_ADDRINFO_H */
43
44/* define ifyou have the h_errno variable. */
45#define HAVE_H_ERRNO 1
46
47/* define if IN6ADDRSZ is defined (XXX not used!) */
48#define HAVE_IN6ADDRSZ 1
49
50/* define if INADDRSZ is defined (XXX not used!) */
51#define HAVE_INADDRSZ 1
52
53/* define if this is a development version, to use additional prototypes. */
54/* #undef HAVE_OS_PROTO_H */
55
56/* define if <unistd.h> defines __P() */
57/* #undef HAVE_PORTABLE_PROTOTYPE */
58
59/* define if RES_USE_INET6 is defined */
60#define HAVE_RES_USE_INET6 1
61
62/* define if struct sockaddr has the sa_len member */
63#define HAVE_SOCKADDR_SA_LEN 1
64
65/* define if you have struct sockaddr_storage */
66#define HAVE_SOCKADDR_STORAGE 1
67
68/* define if you have both getipnodebyname() and getipnodebyaddr() */
69/* #undef USE_GETIPNODEBY */
70
71/* define if you have ether_ntohost() and it works */
72#define USE_ETHER_NTOHOST 1
73
74/* define if libpcap has pcap_version */
75/* #undef HAVE_PCAP_VERSION */
76
77/* define if libpcap has pcap_debug */
78/* #undef HAVE_PCAP_DEBUG */
79
80/* define if libpcap has yydebug */
81/* #undef HAVE_YYDEBUG */
82
83/* define if libpcap has pcap_list_datalinks() */
84#define HAVE_PCAP_LIST_DATALINKS 1
85
86/* define if libpcap has pcap_set_datalink() */
87#define HAVE_PCAP_SET_DATALINK 1
88
89/* define if libpcap has pcap_datalink_name_to_val() */
90#define HAVE_PCAP_DATALINK_NAME_TO_VAL 1
91
92/* define if libpcap has pcap_datalink_val_to_description() */
93#define HAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION 1
94
95/* define if you have getrpcbynumber() */
96#define HAVE_GETRPCBYNUMBER 1
97
98/* define if unaligned memory accesses fail */
99/* #undef LBL_ALIGN */
100
101/* The successful return value from signal (?)XXX */
102#define RETSIGVAL
103
104/* Define this on IRIX */
105/* #undef _BSD_SIGNALS */
106
107/* For HP/UX ANSI compiler? */
108/* #undef _HPUX_SOURCE */
109
110/* AIX hack. */
111/* #undef _SUN */
112
113/* Workaround for missing sized types */
114/* XXX this should move to the more standard uint*_t */
115/* #undef int8_t */
116/* #undef int16_t */
117/* #undef int32_t */
118/* #undef int64_t */
119/* #undef u_int8_t */
120/* #undef u_int16_t */
121/* #undef u_int32_t */
122/* #undef u_int64_t */
123
124/* Workaround for missing 64-bit formats */
125/* #undef PRId64 */
126/* #undef PRIo64 */
127/* #undef PRIx64 */
128/* #undef PRIu64 */
129
130/* Whether or not to include the possibly-buggy SMB printer */
131#define TCPDUMP_DO_SMB 1
132
133/* Long story short: aclocal.m4 depends on autoconf 2.13
134 * implementation details wrt "const"; newer versions
135 * have different implementation details so for now we
136 * put "const" here.  This may cause duplicate definitions
137 * in config.h but that should be OK since they're the same.
138 */
139/* #undef const */
140
141/* Define if you have the dnet_htoa function.  */
142/* #undef HAVE_DNET_HTOA */
143
144/* Define if you have a dnet_htoa declaration in <netdnet/dnetdb.h>.  */
145/* #undef HAVE_NETDNET_DNETDB_H_DNET_HTOA */
146
147/* define if should drop privileges by default */
148/* #undef WITH_USER */
149
150/* define if should chroot when dropping privileges */
151/* #undef WITH_CHROOT */
152
153/* Define to 1 if you have the `alarm' function. */
154#define HAVE_ALARM 1
155
156/* Define to 1 if you have the `bpf_dump' function. */
157#define HAVE_BPF_DUMP 1
158
159/* Define to 1 if you have the declaration of `ether_ntohost', and to 0 if you
160   don't. */
161#define HAVE_DECL_ETHER_NTOHOST 1
162
163/* Define to 1 if you have the `ether_ntohost' function. */
164#define HAVE_ETHER_NTOHOST 1
165
166/* Define to 1 if you have the <fcntl.h> header file. */
167#define HAVE_FCNTL_H 1
168
169/* Define to 1 if you have the `getaddrinfo' function. */
170#define HAVE_GETADDRINFO 1
171
172/* Define to 1 if you have the `getnameinfo' function. */
173#define HAVE_GETNAMEINFO 1
174
175/* Define to 1 if you have the <inttypes.h> header file. */
176#define HAVE_INTTYPES_H 1
177
178/* Define to 1 if you have the `crypto' library (-lcrypto). */
179/* #undef HAVE_LIBCRYPTO */
180
181/* Define to 1 if you have the `rpc' library (-lrpc). */
182/* #undef HAVE_LIBRPC */
183
184/* Define to 1 if you have the `smi' library (-lsmi). */
185/* #undef HAVE_LIBSMI */
186
187/* Define to 1 if you have the <memory.h> header file. */
188#define HAVE_MEMORY_H 1
189
190/* Define to 1 if you have the <netdnet/dnetdb.h> header file. */
191/* #undef HAVE_NETDNET_DNETDB_H */
192
193/* Define to 1 if you have the <netinet/ether.h> header file. */
194/* #undef HAVE_NETINET_ETHER_H */
195
196/* Define to 1 if you have the <netinet/if_ether.h> header file. */
197#define HAVE_NETINET_IF_ETHER_H 1
198
199/* Define to 1 if you have the <openssl/evp.h> header file. */
200/* #undef HAVE_OPENSSL_EVP_H 1 */
201
202/* Define to 1 if you have the `pcap_breakloop' function. */
203#define HAVE_PCAP_BREAKLOOP 1
204
205/* Define to 1 if you have the `pcap_dump_flush' function. */
206#define HAVE_PCAP_DUMP_FLUSH 1
207
208/* Define to 1 if you have the `pcap_findalldevs' function. */
209#define HAVE_PCAP_FINDALLDEVS 1
210
211/* Define to 1 if the system has the type `pcap_if_t'. */
212#define HAVE_PCAP_IF_T 1
213
214/* Define to 1 if you have the `pcap_lib_version' function. */
215#define HAVE_PCAP_LIB_VERSION 1
216
217/* Define to 1 if you have the `pfopen' function. */
218/* #undef HAVE_PFOPEN */
219
220/* Define to 1 if you have the <rpc/rpcent.h> header file. */
221#define HAVE_RPC_RPCENT_H 1
222
223/* Define to 1 if you have the `setlinebuf' function. */
224#define HAVE_SETLINEBUF 1
225
226/* Define to 1 if you have the `sigaction' function. */
227#define HAVE_SIGACTION 1
228
229/* Define to 1 if you have the `sigset' function. */
230/* #undef HAVE_SIGSET */
231
232/* Define to 1 if you have the <smi.h> header file. */
233/* #undef HAVE_SMI_H */
234
235/* Define to 1 if you have the `snprintf' function. */
236#define HAVE_SNPRINTF 1
237
238/* Define to 1 if you have the <stdint.h> header file. */
239#define HAVE_STDINT_H 1
240
241/* Define to 1 if you have the <stdlib.h> header file. */
242#define HAVE_STDLIB_H 1
243
244/* Define to 1 if you have the `strcasecmp' function. */
245#define HAVE_STRCASECMP 1
246
247/* Define to 1 if you have the `strdup' function. */
248#define HAVE_STRDUP 1
249
250/* Define to 1 if you have the `strftime' function. */
251#define HAVE_STRFTIME 1
252
253/* Define to 1 if you have the <strings.h> header file. */
254#define HAVE_STRINGS_H 1
255
256/* Define to 1 if you have the <string.h> header file. */
257#define HAVE_STRING_H 1
258
259/* Define to 1 if you have the `strlcat' function. */
260#define HAVE_STRLCAT 1
261
262/* Define to 1 if you have the `strlcpy' function. */
263#define HAVE_STRLCPY 1
264
265/* Define to 1 if you have the `strsep' function. */
266#define HAVE_STRSEP 1
267
268/* Define to 1 if you have the <sys/stat.h> header file. */
269#define HAVE_SYS_STAT_H 1
270
271/* Define to 1 if you have the <sys/types.h> header file. */
272#define HAVE_SYS_TYPES_H 1
273
274/* Define to 1 if you have the <unistd.h> header file. */
275#define HAVE_UNISTD_H 1
276
277/* Define to 1 if you have the `vfprintf' function. */
278#define HAVE_VFPRINTF 1
279
280/* Define to 1 if you have the `vsnprintf' function. */
281#define HAVE_VSNPRINTF 1
282
283/* define if your compiler has __attribute__ */
284#define HAVE___ATTRIBUTE__ 1
285
286/* Define to 1 if netinet/ether.h declares `ether_ntohost' */
287/* #undef NETINET_ETHER_H_DECLARES_ETHER_NTOHOST */
288
289/* Define to 1 if netinet/if_ether.h declares `ether_ntohost' */
290#define NETINET_IF_ETHER_H_DECLARES_ETHER_NTOHOST
291
292/* Define to the address where bug reports for this package should be sent. */
293#define PACKAGE_BUGREPORT ""
294
295/* Define to the full name of this package. */
296#define PACKAGE_NAME ""
297
298/* Define to the full name and version of this package. */
299#define PACKAGE_STRING ""
300
301/* Define to the one symbol short name of this package. */
302#define PACKAGE_TARNAME ""
303
304/* Define to the version of this package. */
305#define PACKAGE_VERSION ""
306
307/* Define as the return type of signal handlers (`int' or `void'). */
308#define RETSIGTYPE void
309
310/* The size of a `char', as computed by sizeof. */
311#define SIZEOF_CHAR 1
312
313/* The size of a `int', as computed by sizeof. */
314#define SIZEOF_INT 4
315
316/* The size of a `long', as computed by sizeof. */
317#define SIZEOF_LONG 4
318
319/* The size of a `long long', as computed by sizeof. */
320#define SIZEOF_LONG_LONG 8
321
322/* The size of a `short', as computed by sizeof. */
323#define SIZEOF_SHORT 2
324
325/* Define to 1 if you have the ANSI C header files. */
326#define STDC_HEADERS 1
327
328/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
329#define TIME_WITH_SYS_TIME 1
330
331/* Define as token for inline if inlining supported */
332#define inline inline
333