Initial import from FreeBSD RELENG_4:
[dragonfly.git] / usr.sbin / tcpdump / tcpdump / config.h
1 /* $FreeBSD: src/usr.sbin/tcpdump/tcpdump/config.h,v 1.1.2.4 2002/07/05 11:30:32 fenner Exp $ */
2 /* This is an edited copy of the config.h generated by configure. */
3
4 /* config.h.  Generated automatically by configure.  */
5 /* config.h.in.  Generated automatically 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 to empty if the keyword does not work.  */
10 /* #undef const */
11
12 /* Define as __inline if that's what the C compiler calls it.  */
13 /* #undef inline */
14
15 /* Define as the return type of signal handlers (int or void).  */
16 #define RETSIGTYPE void
17
18 /* Define if you can safely include both <sys/time.h> and <time.h>.  */
19 #define TIME_WITH_SYS_TIME 1
20
21 /* Define if you have SSLeay 0.9.0b with the buggy cast128. */
22 /* #undef HAVE_BUGGY_CAST128 */
23
24 /* Define if you enable IPv6 support */
25 /* Handled by Makefile, to allow NOINET6 */
26 /* #define INET6 1 */
27
28 /* Define if you enable support for the libsmi. */
29 /* #undef LIBSMI */
30
31 /* define if you have struct __res_state_ext */
32 #define HAVE_RES_STATE_EXT 1
33
34 /* define if your struct __res_state has the nsort member */
35 #define HAVE_NEW_RES_STATE 1
36
37 /* define if you have the addrinfo function. */
38 #define HAVE_ADDRINFO 1
39
40 /* define if you need to include missing/addrinfoh.h. */
41 /* #undef NEED_ADDRINFO_H */
42
43 /* define ifyou have the h_errno variable. */
44 #define HAVE_H_ERRNO 1
45
46 /* define if IN6ADDRSZ is defined (XXX not used!) */
47 #define HAVE_IN6ADDRSZ 1
48
49 /* define if INADDRSZ is defined (XXX not used!) */
50 #define HAVE_INADDRSZ 1
51
52 /* define if this is a development version, to use additional prototypes. */
53 /* #undef HAVE_OS_PROTO_H */
54
55 /* define if RES_USE_INET6 is defined */
56 #define HAVE_RES_USE_INET6 1
57
58 /* define if struct sockaddr has the sa_len member */
59 #define HAVE_SOCKADDR_SA_LEN 1
60
61 /* define if you have struct sockaddr_storage */
62 #define HAVE_SOCKADDR_STORAGE 1
63
64 /* define if you have ether_ntohost() and it works */
65 #define USE_ETHER_NTOHOST 1
66
67 /* define if unaligned memory accesses fail */
68 /* #undef LBL_ALIGN */
69
70 /* The successful return value from signal (?)XXX */
71 #define RETSIGVAL 
72
73 /* Define this on IRIX */
74 /* #undef _BSD_SIGNALS */
75
76 /* For HP/UX ANSI compiler? */
77 /* #undef _HPUX_SOURCE */
78
79 /* AIX hack. */
80 /* #undef _SUN */
81
82 /* Workaround for missing sized types */
83 /* XXX this should move to the more standard uint*_t */
84 /* #undef int16_t */
85 /* #undef int32_t */
86 /* #undef u_int16_t */
87 /* #undef u_int32_t */
88 /* #undef u_int8_t */
89
90 /* Whether or not to include the possibly-buggy SMB printer */
91 #define TCPDUMP_DO_SMB 1
92
93 /* Long story short: aclocal.m4 depends on autoconf 2.13
94  * implementation details wrt "const"; newer versions
95  * have different implementation details so for now we
96  * put "const" here.  This may cause duplicate definitions
97  * in config.h but that should be OK since they're the same.
98  */
99 /* #undef const */
100
101 /* The number of bytes in a char.  */
102 #define SIZEOF_CHAR 1
103
104 /* The number of bytes in a int.  */
105 #define SIZEOF_INT 4
106
107 /* The number of bytes in a long.  */
108 #define SIZEOF_LONG 4
109
110 /* The number of bytes in a short.  */
111 #define SIZEOF_SHORT 2
112
113 /* Define if you have the bpf_dump function.  */
114 #define HAVE_BPF_DUMP 1
115
116 /* Define if you have the ether_ntohost function.  */
117 #define HAVE_ETHER_NTOHOST 1
118
119 /* Define if you have the getaddrinfo function.  */
120 #define HAVE_GETADDRINFO 1
121
122 /* Define if you have the getnameinfo function.  */
123 #define HAVE_GETNAMEINFO 1
124
125 /* Define if you have the inet_aton function.  */
126 #define HAVE_INET_ATON 1
127
128 /* Define if you have the inet_ntop function.  */
129 #define HAVE_INET_NTOP 1
130
131 /* Define if you have the inet_pton function.  */
132 #define HAVE_INET_PTON 1
133
134 /* Define if you have the pfopen function.  */
135 /* #undef HAVE_PFOPEN */
136
137 /* Define if you have the setlinebuf function.  */
138 #define HAVE_SETLINEBUF 1
139
140 /* Define if you have the sigaction function.  */
141 #define HAVE_SIGACTION 1
142
143 /* Define if you have the sigset function.  */
144 /* #undef HAVE_SIGSET */
145
146 /* Define if you have the snprintf function.  */
147 #define HAVE_SNPRINTF 1
148
149 /* Define if you have the strcasecmp function.  */
150 #define HAVE_STRCASECMP 1
151  
152 /* Define if you have the strdup function.  */
153 #define HAVE_STRDUP 1
154
155 /* Define if you have the strlcat function.  */
156 #define HAVE_STRLCAT 1
157
158 /* Define if you have the strlcpy function.  */
159 #define HAVE_STRLCPY 1
160
161 /* Define if you have the vfprintf function.  */
162 #define HAVE_VFPRINTF 1
163
164 /* Define if you have the vsnprintf function.  */
165 #define HAVE_VSNPRINTF 1
166
167 /* Define if you have the <cast.h> header file.  */
168 /* Handled by Makefile, to allow optional crypto */
169 /* #define HAVE_CAST_H 1 */
170
171 /* Define if you have the <fcntl.h> header file.  */
172 #define HAVE_FCNTL_H 1
173
174 /* Define if you have the <netinet/if_ether.h> header file.  */
175 #define HAVE_NETINET_IF_ETHER_H 1
176
177 /* Define if you have the <rc5.h> header file.  */
178 /* #undef HAVE_RC5_H */
179
180 /* Define if you have the <rpc/rpcent.h> header file.  */
181 /* #undef HAVE_RPC_RPCENT_H */
182
183 /* Define if you have the <smi.h> header file.  */
184 /* #undef HAVE_SMI_H */
185
186 /* Define if you have the crypto library (-lcrypto).  */
187 /* Handled by Makefile, to allow optional crypto */
188 /* #define HAVE_LIBCRYPTO 1 */
189
190 /* Define if you have the dnet library (-ldnet).  */
191 /* #undef HAVE_LIBDNET */
192
193 /* Define if you have the rpc library (-lrpc).  */
194 /* #undef HAVE_LIBRPC */
195
196 /* Define if you have the smi library (-lsmi).  */
197 /* #undef HAVE_LIBSMI */
198
199 /* define if your compiler has __attribute__ */
200 #define HAVE___ATTRIBUTE__ 1
201