diff options
author | Christian Heimes <christian@python.org> | 2022-01-07 08:15:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-07 08:15:20 (GMT) |
commit | 994f90c0772612780361e1dc5fa5223dce22f70a (patch) | |
tree | bd33529897df229b6fe68a0d5c1720b08d8b014a /configure | |
parent | f4e325c21d6d9c2bf70224dc69d707b226f87872 (diff) | |
download | cpython-994f90c0772612780361e1dc5fa5223dce22f70a.zip cpython-994f90c0772612780361e1dc5fa5223dce22f70a.tar.gz cpython-994f90c0772612780361e1dc5fa5223dce22f70a.tar.bz2 |
bpo-45723: Fix detection of epoll (#30449)
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -13850,9 +13850,9 @@ fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll" >&5 -$as_echo_n "checking for epoll... " >&6; } -if ${ac_cv_func_epoll+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epoll_create" >&5 +$as_echo_n "checking for epoll_create... " >&6; } +if ${ac_cv_func_epoll_create+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@ -13861,22 +13861,22 @@ else int main () { -void *x=epoll +void *x=epoll_create ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_func_epoll=yes + ac_cv_func_epoll_create=yes else - ac_cv_func_epoll=no + ac_cv_func_epoll_create=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_epoll" >&5 -$as_echo "$ac_cv_func_epoll" >&6; } - if test "x$ac_cv_func_epoll" = xyes; then : +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_epoll_create" >&5 +$as_echo "$ac_cv_func_epoll_create" >&6; } + if test "x$ac_cv_func_epoll_create" = xyes; then : $as_echo "#define HAVE_EPOLL 1" >>confdefs.h |