From: Bartosz Golaszewski Date: Sat, 7 Jan 2017 17:55:21 +0000 (+0100) Subject: configure: check for ppoll() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c3ac9245867d7ead05df28a5405518c5a62d1360;p=qemu-gpiodev%2Flibgpiod.git configure: check for ppoll() We're using ppoll() for events - check if we have it before trying to compile. Signed-off-by: Bartosz Golaszewski --- diff --git a/configure.ac b/configure.ac index 85424cb..a3d4e59 100644 --- a/configure.ac +++ b/configure.ac @@ -25,6 +25,7 @@ AC_HEADER_STDC AC_CHECK_FUNC([ioctl], [], [AC_MSG_ERROR([ioctl() unavailable])]) AC_CHECK_FUNC([asprintf], [], [AC_MSG_ERROR([asprintf() unavailable])]) AC_CHECK_FUNC([readdir], [], [AC_MSG_ERROR([readdir() unavailable])]) +AC_CHECK_FUNC([poll], [], [AC_MSG_ERROR([poll() unavailable])]) AC_FUNC_MALLOC