Skip to content

configure: drop duplicate feature checks for poll(), if_nametoindex() - #15170

Closed
vszakats wants to merge 3 commits into
curl:masterfrom
vszakats:configure-drop-dupe-detections
Closed

configure: drop duplicate feature checks for poll(), if_nametoindex()#15170
vszakats wants to merge 3 commits into
curl:masterfrom
vszakats:configure-drop-dupe-detections

Conversation

@vszakats

@vszakats vszakats commented Oct 6, 2024

Copy link
Copy Markdown
Member

Before this patch they were detected via manual methods, then with
AC_CHECK_FUNCS().

Delete the manual checks and keep the latter.

Also delete CURL_INCLUDES_POLL() which is no longer used after
the above.


Let me know if there is/was a reason for the duplicate checks, or if
it'd be better to keep the manual checks instead.

@bagder bagder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it makes sense to use the much simpler checks as long as we don't know any specific reasons why we need the "deeper" ones. And I don't know of any such reasons for these functions.

@vszakats vszakats closed this in 2d1959d Oct 7, 2024
@vszakats
vszakats deleted the configure-drop-dupe-detections branch October 7, 2024 10:34
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
…x()`

Before this patch they were detected via manual methods, then with
`AC_CHECK_FUNCS()`.

Delete the manual checks and keep the latter.

Also delete `CURL_INCLUDES_POLL()` which is no longer used after
the above.

Closes curl#15170
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants