Add configure checks for timerfd
This commit is contained in:
parent
bc443752b3
commit
ce683b26ab
|
@ -165,6 +165,9 @@ case "$host" in
|
||||||
AC_CHECK_FUNCS(eventfd)
|
AC_CHECK_FUNCS(eventfd)
|
||||||
|
|
||||||
AC_CHECK_HEADER(sys/signalfd.h, , AC_MSG_ERROR([signalfd required; glibc 2.9+ recommended]))
|
AC_CHECK_HEADER(sys/signalfd.h, , AC_MSG_ERROR([signalfd required; glibc 2.9+ recommended]))
|
||||||
|
|
||||||
|
AC_CHECK_HEADER(sys/timerfd.h, , AC_MSG_ERROR([timerfd required; glibc 2.8+ recommended]))
|
||||||
|
AC_CHECK_FUNC(timerfd_create, , AC_MSG_ERROR([timerfd required; glibc 2.8+ recommended]))
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue