Add configure checks for timerfd

This commit is contained in:
Julien BLACHE 2010-09-14 22:39:22 +02:00
parent bc443752b3
commit ce683b26ab
1 changed files with 3 additions and 0 deletions

View File

@ -165,6 +165,9 @@ case "$host" in
AC_CHECK_FUNCS(eventfd)
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