From a87ea20b7c649d79b77d3bd2c303f059de5f1589 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 31 Aug 2021 16:49:14 +0900 Subject: [PATCH] configure: Avoid compile failure --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index a5e106f4..b4b1e605 100644 --- a/configure.ac +++ b/configure.ac @@ -267,6 +267,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM( ]], [[ std::vector> v; +(void)v; ]])], [AC_DEFINE([HAVE_STD_FUTURE], [1], [Define to 1 if you have the `std::future`.]) @@ -570,6 +571,7 @@ if test "x${request_libbpf}" != "xno"; then ]], [[ enum bpf_stats_type foo; + (void)foo; ]])], [have_bpf_stats_type=yes], [have_bpf_stats_type=no])