From: Bartosz Golaszewski Date: Wed, 7 Nov 2018 20:29:02 +0000 (+0100) Subject: build: check for sys/sysmacros.h in configure X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4f1079b9f1aba19aca0363518696c2cfd3090ead;p=qemu-gpiodev%2Flibgpiod.git build: check for sys/sysmacros.h in configure We now need this header to build the core library. Signed-off-by: Bartosz Golaszewski --- diff --git a/configure.ac b/configure.ac index 782b395..761cdc6 100644 --- a/configure.ac +++ b/configure.ac @@ -81,6 +81,7 @@ AC_CHECK_FUNC([ppoll], [], [FUNC_NOT_FOUND_LIB([ppoll])]) AC_CHECK_HEADERS([getopt.h], [], [HEADER_NOT_FOUND_LIB([getopt.h])]) AC_CHECK_HEADERS([dirent.h], [], [HEADER_NOT_FOUND_LIB([dirent.h])]) AC_CHECK_HEADERS([sys/poll.h], [], [HEADER_NOT_FOUND_LIB([sys/poll.h])]) +AC_CHECK_HEADERS([sys/sysmacros.h], [], [HEADER_NOT_FOUND_LIB([sys/sysmacros.h])]) AC_CHECK_HEADERS([linux/gpio.h], [], [HEADER_NOT_FOUND_LIB([linux/gpio.h])]) AC_ARG_ENABLE([tools],