diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-05-23 14:43:47 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-05-23 14:43:47 -0700 |
commit | e7011808dad1ce21fb33932bdc40f226e4290ad9 (patch) | |
tree | 0d4656bd4cead4c514bba102b25eadbcc4f99c61 /configure | |
parent | e02efb50447568144bddf8b8c1adaed95e8f9fa9 (diff) | |
download | tcpdump-e7011808dad1ce21fb33932bdc40f226e4290ad9.tar.gz |
Declare the NFLOG pseudo-header ourselves.
It's not specified by a libpcap header that might have a different
layout in different pcap releases, it's specified on the list of
link-layer header types and must remain the same forever (except for
getting additional bits defined), so we don't need to pick it up from
libpcap.
This means we get to use tcpdump's nd_ types; do so.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -6514,30 +6514,6 @@ $as_echo "#define u_int64_t uint64_t" >>confdefs.h fi -# -# Check for some headers introduced in later versions of libpcap -# and used by some printers. -# -# Those headers might use the {u_}intN_t types, so we must do this -# after we check for what's needed to get them defined. -# -savedcppflags="$CPPFLAGS" -CPPFLAGS="$CPPFLAGS $V_INCLS" -for ac_header in pcap/nflog.h -do : - ac_fn_c_check_header_compile "$LINENO" "pcap/nflog.h" "ac_cv_header_pcap_nflog_h" "#include \"netdissect-stdinc.h\" -" -if test "x$ac_cv_header_pcap_nflog_h" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_PCAP_NFLOG_H 1 -_ACEOF - -fi - -done - -CPPFLAGS="$savedcppflags" - if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |