… | |
… | |
4525 | $as_echo "$ac_cv_eventfd" >&6; } |
4525 | $as_echo "$ac_cv_eventfd" >&6; } |
4526 | test $ac_cv_eventfd = yes && |
4526 | test $ac_cv_eventfd = yes && |
4527 | $as_echo "#define HAVE_EVENTFD 1" >>confdefs.h |
4527 | $as_echo "#define HAVE_EVENTFD 1" >>confdefs.h |
4528 | |
4528 | |
4529 | |
4529 | |
4530 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timerfd" >&5 |
4530 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timerfd_*" >&5 |
4531 | $as_echo_n "checking for timerfd... " >&6; } |
4531 | $as_echo_n "checking for timerfd_*... " >&6; } |
4532 | if ${ac_cv_timerfd+:} false; then : |
4532 | if ${ac_cv_timerfd+:} false; then : |
4533 | $as_echo_n "(cached) " >&6 |
4533 | $as_echo_n "(cached) " >&6 |
4534 | else |
4534 | else |
4535 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4535 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4536 | /* end confdefs.h. */ |
4536 | /* end confdefs.h. */ |
… | |
… | |
4557 | fi |
4557 | fi |
4558 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_timerfd" >&5 |
4558 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_timerfd" >&5 |
4559 | $as_echo "$ac_cv_timerfd" >&6; } |
4559 | $as_echo "$ac_cv_timerfd" >&6; } |
4560 | test $ac_cv_timerfd = yes && |
4560 | test $ac_cv_timerfd = yes && |
4561 | $as_echo "#define HAVE_TIMERFD 1" >>confdefs.h |
4561 | $as_echo "#define HAVE_TIMERFD 1" >>confdefs.h |
|
|
4562 | |
|
|
4563 | |
|
|
4564 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for memfd_create" >&5 |
|
|
4565 | $as_echo_n "checking for memfd_create... " >&6; } |
|
|
4566 | if ${ac_cv_memfd_create+:} false; then : |
|
|
4567 | $as_echo_n "(cached) " >&6 |
|
|
4568 | else |
|
|
4569 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
|
4570 | /* end confdefs.h. */ |
|
|
4571 | |
|
|
4572 | #include <sys/mman.h> |
|
|
4573 | int main (void) |
|
|
4574 | { |
|
|
4575 | int res = memfd_create ("name", MFD_CLOEXEC | MFD_ALLOW_SEALING); |
|
|
4576 | return 0; |
|
|
4577 | } |
|
|
4578 | |
|
|
4579 | _ACEOF |
|
|
4580 | if ac_fn_c_try_link "$LINENO"; then : |
|
|
4581 | ac_cv_memfd_create=yes |
|
|
4582 | else |
|
|
4583 | ac_cv_memfd_create=no |
|
|
4584 | fi |
|
|
4585 | rm -f core conftest.err conftest.$ac_objext \ |
|
|
4586 | conftest$ac_exeext conftest.$ac_ext |
|
|
4587 | fi |
|
|
4588 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_memfd_create" >&5 |
|
|
4589 | $as_echo "$ac_cv_memfd_create" >&6; } |
|
|
4590 | test $ac_cv_memfd_create = yes && |
|
|
4591 | $as_echo "#define HAVE_MEMFD_CREATE 1" >>confdefs.h |
4562 | |
4592 | |
4563 | |
4593 | |
4564 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copy_file_range" >&5 |
4594 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copy_file_range" >&5 |
4565 | $as_echo_n "checking for copy_file_range... " >&6; } |
4595 | $as_echo_n "checking for copy_file_range... " >&6; } |
4566 | if ${ac_cv_copy_file_range+:} false; then : |
4596 | if ${ac_cv_copy_file_range+:} false; then : |