Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-45723: Fix detection of epoll#30449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
tiran merged 1 commit intopython:mainfromtiran:bpo-45723-epoll
Jan 7, 2022
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
Fixed a regression in ``configure`` check for :func:`select.epoll`.
18 changes: 9 additions & 9 deletionsconfigure
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -13850,9 +13850,9 @@ fi



{ $as_echo "$as_me:${as_lineno-$LINENO}: checking forepoll" >&5
$as_echo_n "checking forepoll... " >&6; }
if ${ac_cv_func_epoll+:} false; then :
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking forepoll_create" >&5
$as_echo_n "checking forepoll_create... " >&6; }
if ${ac_cv_func_epoll_create+:} false; then :
$as_echo_n "(cached) " >&6
else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Expand All@@ -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

Expand Down
2 changes: 1 addition & 1 deletionconfigure.ac
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -4089,7 +4089,7 @@ PY_CHECK_FUNC([symlink], [#include <unistd.h>])
PY_CHECK_FUNC([fchdir], [#include <unistd.h>])
PY_CHECK_FUNC([fsync], [#include <unistd.h>])
PY_CHECK_FUNC([fdatasync], [#include <unistd.h>])
PY_CHECK_FUNC([epoll], [#include <sys/epoll.h>])
PY_CHECK_FUNC([epoll_create], [#include <sys/epoll.h>], [HAVE_EPOLL])
PY_CHECK_FUNC([epoll_create1], [#include <sys/epoll.h>])
PY_CHECK_FUNC([kqueue],[
#include <sys/types.h>
Expand Down
2 changes: 1 addition & 1 deletionpyconfig.h.in
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -293,7 +293,7 @@
/* Define to 1 if you have the <endian.h> header file. */
#undef HAVE_ENDIAN_H

/* Define if you have the 'epoll' function. */
/* Define if you have the 'epoll_create' function. */
#undef HAVE_EPOLL

/* Define if you have the 'epoll_create1' function. */
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp