ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/configure.ac
(Generate patch)

Comparing IO-AIO/configure.ac (file contents):
Revision 1.13 by root, Mon Mar 18 23:52:09 2019 UTC vs.
Revision 1.14 by root, Wed Apr 3 03:03:53 2019 UTC

107 return 0; 107 return 0;
108} 108}
109]])],ac_cv_eventfd=yes,ac_cv_eventfd=no)]) 109]])],ac_cv_eventfd=yes,ac_cv_eventfd=no)])
110test $ac_cv_eventfd = yes && AC_DEFINE(HAVE_EVENTFD, 1, eventfd(2) is available) 110test $ac_cv_eventfd = yes && AC_DEFINE(HAVE_EVENTFD, 1, eventfd(2) is available)
111 111
112AC_CACHE_CHECK(for timerfd, ac_cv_timerfd, [AC_LINK_IFELSE([AC_LANG_SOURCE([[ 112AC_CACHE_CHECK(for timerfd_*, ac_cv_timerfd, [AC_LINK_IFELSE([AC_LANG_SOURCE([[
113#include <sys/timerfd.h> 113#include <sys/timerfd.h>
114int main (void) 114int main (void)
115{ 115{
116 struct itimerspec its; 116 struct itimerspec its;
117 int res; 117 int res;
120 res = timerfd_gettime (res, &its); 120 res = timerfd_gettime (res, &its);
121 return 0; 121 return 0;
122} 122}
123]])],ac_cv_timerfd=yes,ac_cv_timerfd=no)]) 123]])],ac_cv_timerfd=yes,ac_cv_timerfd=no)])
124test $ac_cv_timerfd = yes && AC_DEFINE(HAVE_TIMERFD, 1, timerfd_*(2) are available) 124test $ac_cv_timerfd = yes && AC_DEFINE(HAVE_TIMERFD, 1, timerfd_*(2) are available)
125
126AC_CACHE_CHECK(for memfd_create, ac_cv_memfd_create, [AC_LINK_IFELSE([AC_LANG_SOURCE([[
127#include <sys/mman.h>
128int main (void)
129{
130 int res = memfd_create ("name", MFD_CLOEXEC | MFD_ALLOW_SEALING);
131 return 0;
132}
133]])],ac_cv_memfd_create=yes,ac_cv_memfd_create=no)])
134test $ac_cv_memfd_create = yes && AC_DEFINE(HAVE_MEMFD_CREATE, 1, memfd_create(2) is available)
125 135
126AC_CACHE_CHECK(for copy_file_range, ac_cv_copy_file_range, [AC_LINK_IFELSE([AC_LANG_SOURCE([[ 136AC_CACHE_CHECK(for copy_file_range, ac_cv_copy_file_range, [AC_LINK_IFELSE([AC_LANG_SOURCE([[
127#include <unistd.h> 137#include <unistd.h>
128#include <sys/syscall.h> 138#include <sys/syscall.h>
129/*#include <linux/copy.h>*/ 139/*#include <linux/copy.h>*/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines