diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b3ff4ba785..190f3cd50a 100644 --- a/configure.ac +++ b/configure.ac @@ -167,6 +167,12 @@ AC_ARG_ENABLE( , [enable_jsonc="detect"] ) +AC_ARG_ENABLE( + [ebpf], + [AS_HELP_STRING([--disable-ebpf], [Disable eBPF support @<:@default autodetect@:>@])], + , + [enable_ebpf="detect"] +) # ----------------------------------------------------------------------------- # Check if cloud is enabled and if the functionality is available @@ -968,6 +974,7 @@ AC_CHECK_FILE( AC_MSG_CHECKING([if ebpf.plugin should be enabled]) if test "${build_target}" = "linux" -a \ + "${enable_ebpf}" != "no" -a \ "${have_libelf}" = "yes" -a \ "${have_bpf}" = "yes" -a \ "${have_libbpf}" = "yes"; then |