ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libeio/libeio.m4
(Generate patch)

Comparing libeio/libeio.m4 (file contents):
Revision 1.30 by root, Tue Feb 20 04:32:59 2018 UTC vs.
Revision 1.31 by root, Tue Feb 20 05:23:47 2018 UTC

229 return 0; 229 return 0;
230} 230}
231]])],ac_cv_eventfd=yes,ac_cv_eventfd=no)]) 231]])],ac_cv_eventfd=yes,ac_cv_eventfd=no)])
232test $ac_cv_eventfd = yes && AC_DEFINE(HAVE_EVENTFD, 1, eventfd(2) is available) 232test $ac_cv_eventfd = yes && AC_DEFINE(HAVE_EVENTFD, 1, eventfd(2) is available)
233 233
234AC_CACHE_CHECK(for timerfd, ac_cv_timerfd, [AC_LINK_IFELSE([AC_LANG_SOURCE([[
235#include <sys/timerfd.h>
236int res;
237int main (void)
238{
239 struct itimerspec its;
240 res = timerfd_create (CLOCK_REALTIME, TFD_CLOEXEC | TFD_NONBLOCK);
241 res = timerfd_settime (res, TFD_TIMER_ABSTIME /*| TFD_TIMER_CANCEL_ON_SET*/, &its, 0);
242 res = timerfd_gettime (res, &its);
243 return 0;
244}
245]])],ac_cv_timerfd=yes,ac_cv_timerfd=no)])
246test $ac_cv_timerfd = yes && AC_DEFINE(HAVE_TIMERFD, 1, timerfd_*(2) are available)
247
234AC_CACHE_CHECK(for renameat2, ac_cv_renameat2, [AC_LINK_IFELSE([AC_LANG_SOURCE([[ 248AC_CACHE_CHECK(for renameat2, ac_cv_renameat2, [AC_LINK_IFELSE([AC_LANG_SOURCE([[
235#include <unistd.h> 249#include <unistd.h>
236#include <sys/syscall.h> 250#include <sys/syscall.h>
237#include <linux/fs.h> 251#include <linux/fs.h>
238int res; 252int res;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines