From: Bartosz Golaszewski Date: Tue, 28 Feb 2017 17:17:17 +0000 (+0100) Subject: build: fix a test in configure.ac X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=8100a02af1cbd6bbb2a8fac7b1d3135cb0e19132;p=qemu-gpiodev%2Flibgpiod.git build: fix a test in configure.ac We were checking the 'with_tools' variable instead of 'with_tests'. Signed-off-by: Bartosz Golaszewski --- 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])])