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

Comparing libeio/libeio.m4 (file contents):
Revision 1.29 by root, Sat Jan 6 01:04:43 2018 UTC vs.
Revision 1.30 by root, Tue Feb 20 04:32:59 2018 UTC

218 return 0; 218 return 0;
219} 219}
220]])],ac_cv_pipe2=yes,ac_cv_pipe2=no)]) 220]])],ac_cv_pipe2=yes,ac_cv_pipe2=no)])
221test $ac_cv_pipe2 = yes && AC_DEFINE(HAVE_PIPE2, 1, pipe2(2) is available) 221test $ac_cv_pipe2 = yes && AC_DEFINE(HAVE_PIPE2, 1, pipe2(2) is available)
222 222
223AC_CACHE_CHECK(for eventfd, ac_cv_eventfd, [AC_LINK_IFELSE([AC_LANG_SOURCE([[
224#include <sys/eventfd.h>
225int res;
226int main (void)
227{
228 res = eventfd (1, EFD_CLOEXEC | EFD_NONBLOCK);
229 return 0;
230}
231]])],ac_cv_eventfd=yes,ac_cv_eventfd=no)])
232test $ac_cv_eventfd = yes && AC_DEFINE(HAVE_EVENTFD, 1, eventfd(2) is available)
233
223AC_CACHE_CHECK(for renameat2, ac_cv_renameat2, [AC_LINK_IFELSE([AC_LANG_SOURCE([[ 234AC_CACHE_CHECK(for renameat2, ac_cv_renameat2, [AC_LINK_IFELSE([AC_LANG_SOURCE([[
224#include <unistd.h> 235#include <unistd.h>
225#include <sys/syscall.h> 236#include <sys/syscall.h>
226#include <linux/fs.h> 237#include <linux/fs.h>
227int res; 238int res;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines