summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2016-06-21 15:10:10 -0700
committerMark Wielaard <mjw@redhat.com>2016-06-28 20:09:11 +0200
commit9a36c9226c4a237208a7735f0e6a6fd1eefb60ab (patch)
tree22f86eafeea028d09ff8f13ab4b5c3258f3b848f /configure.ac
parent4c746f2501f6062230e2fa609bf4e8499b33caa4 (diff)
Add support for BPF
Signed-off-by: Richard Henderson <rth@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 07c04637..926715cf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -361,6 +361,10 @@ 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.