From: Bartosz Golaszewski Date: Sat, 14 Dec 2019 21:33:33 +0000 (+0100) Subject: build: drop a redundant check for linux/version.h header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=08890ca264e94d8d95dfbe280b48c6c0a85b690d;p=qemu-gpiodev%2Flibgpiod.git build: drop a redundant check for linux/version.h header We're now checking for linux/version.h on every build - not only when building tests. Drop the redundant check. Signed-off-by: Bartosz Golaszewski --- diff --git a/configure.ac b/configure.ac index e939889..6f78ef8 100644 --- a/configure.ac +++ b/configure.ac @@ -134,8 +134,6 @@ AC_DEFUN([FUNC_NOT_FOUND_TESTS], if test "x$with_tests" = xtrue then - AC_CHECK_HEADERS([linux/version.h], [], [HEADER_NOT_FOUND_TESTS([linux/version.h])]) - # For libgpiomockup AC_CHECK_FUNC([qsort], [], [FUNC_NOT_FOUND_TESTS([qsort])]) PKG_CHECK_MODULES([KMOD], [libkmod >= 18])