summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-05-23 14:43:47 -0700
committerGuy Harris <guy@alum.mit.edu>2018-05-23 14:43:47 -0700
commite7011808dad1ce21fb33932bdc40f226e4290ad9 (patch)
tree0d4656bd4cead4c514bba102b25eadbcc4f99c61 /configure
parente02efb50447568144bddf8b8c1adaed95e8f9fa9 (diff)
downloadtcpdump-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-xconfigure24
1 files changed, 0 insertions, 24 deletions
diff --git a/configure b/configure
index 63372c10..7c79206b 100755
--- a/configure
+++ b/configure
@@ -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