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. */
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 */
9 /* Define to empty if the keyword does not work. */
12 /* Define as __inline if that's what the C compiler calls it. */
15 /* Define as the return type of signal handlers (int or void). */
16 #define RETSIGTYPE void
18 /* Define if you can safely include both <sys/time.h> and <time.h>. */
19 #define TIME_WITH_SYS_TIME 1
21 /* Define if you have SSLeay 0.9.0b with the buggy cast128. */
22 /* #undef HAVE_BUGGY_CAST128 */
24 /* Define if you enable IPv6 support */
25 /* Handled by Makefile, to allow NOINET6 */
28 /* Define if you enable support for the libsmi. */
31 /* define if you have struct __res_state_ext */
32 #define HAVE_RES_STATE_EXT 1
34 /* define if your struct __res_state has the nsort member */
35 #define HAVE_NEW_RES_STATE 1
37 /* define if you have the addrinfo function. */
38 #define HAVE_ADDRINFO 1
40 /* define if you need to include missing/addrinfoh.h. */
41 /* #undef NEED_ADDRINFO_H */
43 /* define ifyou have the h_errno variable. */
44 #define HAVE_H_ERRNO 1
46 /* define if IN6ADDRSZ is defined (XXX not used!) */
47 #define HAVE_IN6ADDRSZ 1
49 /* define if INADDRSZ is defined (XXX not used!) */
50 #define HAVE_INADDRSZ 1
52 /* define if this is a development version, to use additional prototypes. */
53 /* #undef HAVE_OS_PROTO_H */
55 /* define if RES_USE_INET6 is defined */
56 #define HAVE_RES_USE_INET6 1
58 /* define if struct sockaddr has the sa_len member */
59 #define HAVE_SOCKADDR_SA_LEN 1
61 /* define if you have struct sockaddr_storage */
62 #define HAVE_SOCKADDR_STORAGE 1
64 /* define if you have ether_ntohost() and it works */
65 #define USE_ETHER_NTOHOST 1
67 /* define if unaligned memory accesses fail */
68 /* #undef LBL_ALIGN */
70 /* The successful return value from signal (?)XXX */
73 /* Define this on IRIX */
74 /* #undef _BSD_SIGNALS */
76 /* For HP/UX ANSI compiler? */
77 /* #undef _HPUX_SOURCE */
82 /* Workaround for missing sized types */
83 /* XXX this should move to the more standard uint*_t */
86 /* #undef u_int16_t */
87 /* #undef u_int32_t */
90 /* Whether or not to include the possibly-buggy SMB printer */
91 #define TCPDUMP_DO_SMB 1
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.
101 /* The number of bytes in a char. */
102 #define SIZEOF_CHAR 1
104 /* The number of bytes in a int. */
107 /* The number of bytes in a long. */
108 #define SIZEOF_LONG 4
110 /* The number of bytes in a short. */
111 #define SIZEOF_SHORT 2
113 /* Define if you have the bpf_dump function. */
114 #define HAVE_BPF_DUMP 1
116 /* Define if you have the ether_ntohost function. */
117 #define HAVE_ETHER_NTOHOST 1
119 /* Define if you have the getaddrinfo function. */
120 #define HAVE_GETADDRINFO 1
122 /* Define if you have the getnameinfo function. */
123 #define HAVE_GETNAMEINFO 1
125 /* Define if you have the inet_aton function. */
126 #define HAVE_INET_ATON 1
128 /* Define if you have the inet_ntop function. */
129 #define HAVE_INET_NTOP 1
131 /* Define if you have the inet_pton function. */
132 #define HAVE_INET_PTON 1
134 /* Define if you have the pfopen function. */
135 /* #undef HAVE_PFOPEN */
137 /* Define if you have the setlinebuf function. */
138 #define HAVE_SETLINEBUF 1
140 /* Define if you have the sigaction function. */
141 #define HAVE_SIGACTION 1
143 /* Define if you have the sigset function. */
144 /* #undef HAVE_SIGSET */
146 /* Define if you have the snprintf function. */
147 #define HAVE_SNPRINTF 1
149 /* Define if you have the strcasecmp function. */
150 #define HAVE_STRCASECMP 1
152 /* Define if you have the strdup function. */
153 #define HAVE_STRDUP 1
155 /* Define if you have the strlcat function. */
156 #define HAVE_STRLCAT 1
158 /* Define if you have the strlcpy function. */
159 #define HAVE_STRLCPY 1
161 /* Define if you have the vfprintf function. */
162 #define HAVE_VFPRINTF 1
164 /* Define if you have the vsnprintf function. */
165 #define HAVE_VSNPRINTF 1
167 /* Define if you have the <cast.h> header file. */
168 /* Handled by Makefile, to allow optional crypto */
169 /* #define HAVE_CAST_H 1 */
171 /* Define if you have the <fcntl.h> header file. */
172 #define HAVE_FCNTL_H 1
174 /* Define if you have the <netinet/if_ether.h> header file. */
175 #define HAVE_NETINET_IF_ETHER_H 1
177 /* Define if you have the <rc5.h> header file. */
178 /* #undef HAVE_RC5_H */
180 /* Define if you have the <rpc/rpcent.h> header file. */
181 /* #undef HAVE_RPC_RPCENT_H */
183 /* Define if you have the <smi.h> header file. */
184 /* #undef HAVE_SMI_H */
186 /* Define if you have the crypto library (-lcrypto). */
187 /* Handled by Makefile, to allow optional crypto */
188 /* #define HAVE_LIBCRYPTO 1 */
190 /* Define if you have the dnet library (-ldnet). */
191 /* #undef HAVE_LIBDNET */
193 /* Define if you have the rpc library (-lrpc). */
194 /* #undef HAVE_LIBRPC */
196 /* Define if you have the smi library (-lsmi). */
197 /* #undef HAVE_LIBSMI */
199 /* define if your compiler has __attribute__ */
200 #define HAVE___ATTRIBUTE__ 1