Hopefully this helps identify the failure early in confiure rather than
late when the tests should be executed.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
if test "x$with_tools" = xtrue
then
AC_CHECK_PROG([has_bats], [bats], [true], [false])
- if test "x$has_bats" = "xflase"
+ if test "x$has_bats" = "xfalse"
then
AC_MSG_NOTICE(["bats not found - gpio-tools tests cannot be run])
fi