From 8100a02af1cbd6bbb2a8fac7b1d3135cb0e19132 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Tue, 28 Feb 2017 18:17:17 +0100 Subject: [PATCH] build: fix a test in configure.ac We were checking the 'with_tools' variable instead of 'with_tests'. Signed-off-by: Bartosz Golaszewski --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 9b79797..946059b 100644 --- a/configure.ac +++ b/configure.ac @@ -102,7 +102,7 @@ AC_DEFUN([HEADER_NOT_FOUND_TESTS], AC_DEFUN([FUNC_NOT_FOUND_TESTS], [ERR_NOT_FOUND([$1()], [tests])]) -if test "x$with_tools" = xtrue +if test "x$with_tests" = xtrue then AC_CHECK_LIB([kmod], [kmod_module_probe_insert_module], [], [AC_MSG_ERROR([libkmod not found (needed to build tests])]) -- 2.30.2