1999-11-21 17:36:43 +08:00
|
|
|
/* config.h.in. Generated automatically from configure.in by autoheader. */
|
1999-12-15 00:34:41 +08:00
|
|
|
/* "generated automatically" means DO NOT MAKE CHANGES TO config.h.in --
|
|
|
|
* make them to acconfig.h and rerun autoheader */
|
1999-11-21 17:36:43 +08:00
|
|
|
|
|
|
|
/* Define to empty if the keyword does not work. */
|
|
|
|
#undef const
|
|
|
|
|
|
|
|
/* Define as the return type of signal handlers (int or void). */
|
|
|
|
#undef RETSIGTYPE
|
|
|
|
|
|
|
|
/* Define if you can safely include both <sys/time.h> and <time.h>. */
|
|
|
|
#undef TIME_WITH_SYS_TIME
|
|
|
|
|
|
|
|
/* Define if you have SSLeay 0.9.0b with the buggy cast128. */
|
|
|
|
#undef HAVE_BUGGY_CAST128
|
|
|
|
|
2000-10-07 13:49:00 +08:00
|
|
|
/* Define if you enable IPv6 support */
|
1999-11-21 17:36:43 +08:00
|
|
|
#undef INET6
|
|
|
|
|
1999-12-14 02:06:13 +08:00
|
|
|
/* Define if you enable support for the libsmi. */
|
|
|
|
#undef LIBSMI
|
|
|
|
|
1999-11-21 17:36:43 +08:00
|
|
|
/* define if you have struct __res_state_ext */
|
|
|
|
#undef HAVE_RES_STATE_EXT
|
|
|
|
|
|
|
|
/* define if your struct __res_state has the nsort member */
|
|
|
|
#undef HAVE_NEW_RES_STATE
|
|
|
|
|
|
|
|
/* define if you have the addrinfo function. */
|
|
|
|
#undef HAVE_ADDRINFO
|
|
|
|
|
2000-01-21 12:06:17 +08:00
|
|
|
/* define if you need to include missing/addrinfoh.h. */
|
|
|
|
#undef NEED_ADDRINFO_H
|
|
|
|
|
1999-11-21 17:36:43 +08:00
|
|
|
/* define ifyou have the h_errno variable. */
|
|
|
|
#undef HAVE_H_ERRNO
|
|
|
|
|
|
|
|
/* define if IN6ADDRSZ is defined (XXX not used!) */
|
|
|
|
#undef HAVE_IN6ADDRSZ
|
|
|
|
|
|
|
|
/* define if INADDRSZ is defined (XXX not used!) */
|
|
|
|
#undef HAVE_INADDRSZ
|
|
|
|
|
|
|
|
/* define if this is a development version, to use additional prototypes. */
|
|
|
|
#undef HAVE_OS_PROTO_H
|
|
|
|
|
|
|
|
/* define if RES_USE_INET6 is defined */
|
|
|
|
#undef HAVE_RES_USE_INET6
|
|
|
|
|
|
|
|
/* define if struct sockaddr has the sa_len member */
|
|
|
|
#undef HAVE_SOCKADDR_SA_LEN
|
|
|
|
|
|
|
|
/* define if you have struct sockaddr_storage */
|
|
|
|
#undef HAVE_SOCKADDR_STORAGE
|
|
|
|
|
2001-04-27 10:33:42 +08:00
|
|
|
/* define if you have ether_ntohost() and it works */
|
|
|
|
#undef USE_ETHER_NTOHOST
|
|
|
|
|
2002-09-05 09:31:41 +08:00
|
|
|
/* define if libpcap has pcap_version */
|
|
|
|
#undef HAVE_PCAP_VERSION
|
|
|
|
|
|
|
|
/* define if libpcap has pcap_debug */
|
|
|
|
#undef HAVE_PCAP_DEBUG
|
|
|
|
|
|
|
|
/* define if libpcap has yydebug */
|
|
|
|
#undef HAVE_YYDEBUG
|
|
|
|
|
2002-12-19 17:27:54 +08:00
|
|
|
/* define if libpcap has pcap_list_datalinks() */
|
|
|
|
#undef HAVE_PCAP_LIST_DATALINKS
|
|
|
|
|
|
|
|
/* define if libpcap has pcap_set_datalink() */
|
|
|
|
#undef HAVE_PCAP_SET_DATALINK
|
|
|
|
|
|
|
|
/* define if libpcap has pcap_datalink_name_to_val() */
|
|
|
|
#undef HAVE_PCAP_DATALINK_NAME_TO_VAL
|
|
|
|
|
1999-11-21 17:36:43 +08:00
|
|
|
/* define if unaligned memory accesses fail */
|
|
|
|
#undef LBL_ALIGN
|
|
|
|
|
|
|
|
/* The successful return value from signal (?)XXX */
|
|
|
|
#undef RETSIGVAL
|
|
|
|
|
|
|
|
/* Define this on IRIX */
|
|
|
|
#undef _BSD_SIGNALS
|
|
|
|
|
|
|
|
/* For HP/UX ANSI compiler? */
|
|
|
|
#undef _HPUX_SOURCE
|
|
|
|
|
|
|
|
/* AIX hack. */
|
|
|
|
#undef _SUN
|
|
|
|
|
|
|
|
/* Workaround for missing sized types */
|
|
|
|
/* XXX this should move to the more standard uint*_t */
|
2002-12-11 13:00:05 +08:00
|
|
|
#undef int8_t
|
1999-11-21 17:36:43 +08:00
|
|
|
#undef int16_t
|
|
|
|
#undef int32_t
|
|
|
|
#undef u_int16_t
|
|
|
|
#undef u_int32_t
|
|
|
|
#undef u_int8_t
|
|
|
|
|
2001-10-09 05:25:50 +08:00
|
|
|
/* Whether or not to include the possibly-buggy SMB printer */
|
|
|
|
#undef TCPDUMP_DO_SMB
|
|
|
|
|
2001-11-13 06:39:12 +08:00
|
|
|
/* Long story short: aclocal.m4 depends on autoconf 2.13
|
|
|
|
* implementation details wrt "const"; newer versions
|
|
|
|
* have different implementation details so for now we
|
|
|
|
* put "const" here. This may cause duplicate definitions
|
|
|
|
* in config.h but that should be OK since they're the same.
|
|
|
|
*/
|
|
|
|
#undef const
|
|
|
|
|
2002-04-07 10:09:04 +08:00
|
|
|
/* Define if you have the dnet_htoa function. */
|
|
|
|
#undef HAVE_DNET_HTOA
|
|
|
|
|
|
|
|
/* Define if you have a dnet_htoa declaration in <netdnet/dnetdb.h>. */
|
|
|
|
#undef HAVE_NETDNET_DNETDB_H_DNET_HTOA
|
|
|
|
|
1999-11-21 17:36:43 +08:00
|
|
|
/* The number of bytes in a char. */
|
|
|
|
#undef SIZEOF_CHAR
|
|
|
|
|
|
|
|
/* The number of bytes in a int. */
|
|
|
|
#undef SIZEOF_INT
|
|
|
|
|
|
|
|
/* The number of bytes in a long. */
|
|
|
|
#undef SIZEOF_LONG
|
|
|
|
|
|
|
|
/* The number of bytes in a short. */
|
|
|
|
#undef SIZEOF_SHORT
|
|
|
|
|
2000-12-12 17:19:27 +08:00
|
|
|
/* Define if you have the bpf_dump function. */
|
|
|
|
#undef HAVE_BPF_DUMP
|
|
|
|
|
1999-12-15 00:34:41 +08:00
|
|
|
/* Define if you have the ether_ntohost function. */
|
|
|
|
#undef HAVE_ETHER_NTOHOST
|
1999-11-21 17:36:43 +08:00
|
|
|
|
|
|
|
/* Define if you have the getaddrinfo function. */
|
|
|
|
#undef HAVE_GETADDRINFO
|
|
|
|
|
|
|
|
/* Define if you have the getnameinfo function. */
|
|
|
|
#undef HAVE_GETNAMEINFO
|
|
|
|
|
|
|
|
/* Define if you have the inet_aton function. */
|
|
|
|
#undef HAVE_INET_ATON
|
|
|
|
|
|
|
|
/* Define if you have the inet_ntop function. */
|
|
|
|
#undef HAVE_INET_NTOP
|
|
|
|
|
|
|
|
/* Define if you have the inet_pton function. */
|
|
|
|
#undef HAVE_INET_PTON
|
|
|
|
|
2002-12-22 08:15:26 +08:00
|
|
|
/* Define if you have the pcap_dump_flush function. */
|
|
|
|
#undef HAVE_PCAP_DUMP_FLUSH
|
|
|
|
|
2002-08-04 06:37:01 +08:00
|
|
|
/* Define if you have the pcap_findalldevs function. */
|
|
|
|
#undef HAVE_PCAP_FINDALLDEVS
|
|
|
|
|
1999-11-21 17:36:43 +08:00
|
|
|
/* Define if you have the pfopen function. */
|
|
|
|
#undef HAVE_PFOPEN
|
|
|
|
|
|
|
|
/* Define if you have the setlinebuf function. */
|
|
|
|
#undef HAVE_SETLINEBUF
|
|
|
|
|
|
|
|
/* Define if you have the sigaction function. */
|
|
|
|
#undef HAVE_SIGACTION
|
|
|
|
|
|
|
|
/* Define if you have the sigset function. */
|
|
|
|
#undef HAVE_SIGSET
|
|
|
|
|
2000-01-08 14:00:59 +08:00
|
|
|
/* Define if you have the snprintf function. */
|
|
|
|
#undef HAVE_SNPRINTF
|
|
|
|
|
1999-11-21 17:36:43 +08:00
|
|
|
/* Define if you have the strcasecmp function. */
|
|
|
|
#undef HAVE_STRCASECMP
|
|
|
|
|
2001-01-20 15:22:20 +08:00
|
|
|
/* Define if you have the strdup function. */
|
|
|
|
#undef HAVE_STRDUP
|
|
|
|
|
2000-01-19 13:34:41 +08:00
|
|
|
/* Define if you have the strlcat function. */
|
|
|
|
#undef HAVE_STRLCAT
|
|
|
|
|
|
|
|
/* Define if you have the strlcpy function. */
|
|
|
|
#undef HAVE_STRLCPY
|
|
|
|
|
1999-11-21 17:36:43 +08:00
|
|
|
/* Define if you have the vfprintf function. */
|
|
|
|
#undef HAVE_VFPRINTF
|
|
|
|
|
2000-01-08 14:00:59 +08:00
|
|
|
/* Define if you have the vsnprintf function. */
|
|
|
|
#undef HAVE_VSNPRINTF
|
|
|
|
|
1999-11-21 17:36:43 +08:00
|
|
|
/* Define if you have the <fcntl.h> header file. */
|
|
|
|
#undef HAVE_FCNTL_H
|
|
|
|
|
2002-04-07 10:09:04 +08:00
|
|
|
/* Define if you have the <netdnet/dnetdb.h> header file. */
|
|
|
|
#undef HAVE_NETDNET_DNETDB_H
|
|
|
|
|
Add a few more GCC warnings on GCC >= 2 for ".devel" builds.
From Neil T. Spring: fixes for many of those warnings:
addrtoname.c, configure.in: Linux needs netinet/ether.h for
ether_ntohost
print-*.c: change char *foo = "bar" to const char *foo = "bar"
to appease -Wwrite-strings; should affect no run-time behavior.
print-*.c: make some variables unsigned.
print-bgp.c: plen ('prefix len') is unsigned, no reason to
validate by comparing to zero.
print-cnfp.c, print-rx.c: use intoa, provided by addrtoname,
instead of inet_ntoa.
print-domain.c: unsigned int l; (l=foo()) < 0 is guaranteed to
be false, so check for (u_int)-1, which represents failure,
explicitly.
print-isakmp.c: complete initialization of attrmap objects.
print-lwres.c: "if(x); print foo;" seemed much more likely to be
intended to be "if(x) { print foo; }".
print-smb.c: complete initialization of some structures.
In addition, add some fixes for the signed vs. unsigned comparison
warnings:
extract.h: cast the result of the byte-extraction-and-combining,
as, at least for the 16-bit version, C's integral promotions
will turn "u_int16_t" into "int" if there are other "int"s
nearby.
print-*.c: make some more variables unsigned, or add casts to an
unsigned type of signed values known not to be negative, or add
casts to "int" of unsigned values known to fit in an "int", and
make other changes needed to handle the aforementioned variables
now being unsigned.
print-isakmp.c: clean up the handling of error/status indicators
in notify messages.
print-ppp.c: get rid of a check that an unsigned quantity is >=
0.
print-radius.c: clean up some of the bounds checking.
print-smb.c: extract the word count into a "u_int" to avoid the
aforementioned problems with C's integral promotions.
print-snmp.c: change a check that an unsigned variable is >= 0
to a check that it's != 0.
Also, fix some formats to use "%u" rather than "%d" for unsigned
quantities.
2002-09-05 08:00:07 +08:00
|
|
|
/* Define if you have the <netinet/ether.h> header file. */
|
|
|
|
#undef HAVE_NETINET_ETHER_H
|
|
|
|
|
2001-01-18 02:27:36 +08:00
|
|
|
/* Define if you have the <netinet/if_ether.h> header file. */
|
|
|
|
#undef HAVE_NETINET_IF_ETHER_H
|
|
|
|
|
2002-04-07 10:16:03 +08:00
|
|
|
/* Define if you have the <openssl/cast.h> header file. */
|
|
|
|
#undef HAVE_OPENSSL_CAST_H
|
|
|
|
|
|
|
|
/* Define if you have the <openssl/rc5.h> header file. */
|
|
|
|
#undef HAVE_OPENSSL_RC5_H
|
2000-10-06 12:19:21 +08:00
|
|
|
|
1999-11-21 17:36:43 +08:00
|
|
|
/* Define if you have the <rpc/rpcent.h> header file. */
|
|
|
|
#undef HAVE_RPC_RPCENT_H
|
|
|
|
|
1999-12-15 00:34:41 +08:00
|
|
|
/* Define if you have the <smi.h> header file. */
|
|
|
|
#undef HAVE_SMI_H
|
|
|
|
|
1999-11-21 17:36:43 +08:00
|
|
|
/* Define if you have the crypto library (-lcrypto). */
|
|
|
|
#undef HAVE_LIBCRYPTO
|
|
|
|
|
|
|
|
/* Define if you have the rpc library (-lrpc). */
|
|
|
|
#undef HAVE_LIBRPC
|
|
|
|
|
1999-12-15 00:34:41 +08:00
|
|
|
/* Define if you have the smi library (-lsmi). */
|
|
|
|
#undef HAVE_LIBSMI
|
|
|
|
|
2002-06-28 18:45:40 +08:00
|
|
|
/* Define as token for inline if inlining supported */
|
|
|
|
#undef inline
|
|
|
|
|
2000-04-01 20:26:12 +08:00
|
|
|
/* define if your compiler has __attribute__ */
|
|
|
|
#undef HAVE___ATTRIBUTE__
|
|
|
|
|