summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2017-07-18 14:12:36 +0200
committerMark Wielaard <mark@klomp.org>2017-07-24 12:06:14 +0200
commit1609679b1ef3611c71a08900c2f6b94bb97d454d (patch)
tree24b3f6dfa5308e4c3a1ddb37b5097694a263ac7f /configure.ac
parentc8e16c12661d18e6ae724a6d89b81c0df9da365a (diff)
backends: Don't depend on linux/bpf.h to compile bpf disassembler.
We only need a few constants and one structure definition from linux/bpf. Just define those in a local lib/bpf.h file. This makes sure the bpf disassembler is always build and included even when elfutils is build on older GNU/Linux systems (and even on other platforms). Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 0 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index c2c1d90b..bb58f4b8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -385,10 +385,6 @@ else
fi
AC_SUBST([argp_LDADD])
-dnl Check if we have <linux/bpf.h> for EM_BPF disassembly.
-AC_CHECK_HEADERS(linux/bpf.h)
-AM_CONDITIONAL(HAVE_LINUX_BPF_H, [test "x$ac_cv_header_linux_bpf_h" = "xyes"])
-
dnl The directories with content.
dnl Documentation.