Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autotools: restore HAVE_IOCTL_* detections #12008

Closed

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Oct 2, 2023

This restores CURL_CHECK_FUNC_IOCTL detection. I deleted it in
4d73854 and c345665 (2022-08), because the HAVE_IOCTL
result it generated was unused in the source. But,
I did miss the fact that this had two dependent checks:
CURL_CHECK_FUNC_IOCTL_FIONBIO,
CURL_CHECK_FUNC_IOCTL_SIOCGIFADDR that we do actually need:
HAVE_IOCTL_FIONBIO, HAVE_IOCTL_SIOCGIFADDR.

Regression from 4d73854

Ref: #11964 (effort to sync cmake detections with autotools)

Closes #12008

This restores `CURL_CHECK_FUNC_IOCTL` detection. I deleted it in
4d73854 and
c345665 (2022-08), because the
`HAVE_IOCTL` result it generated was unused in the source. But, I
missed the fact that this had two dependent checks:
`CURL_CHECK_FUNC_IOCTL_FIONBIO`, `CURL_CHECK_FUNC_IOCTL_SIOCGIFADDR`
that we do actually need:
`HAVE_IOCTL_FIONBIO`, `HAVE_IOCTL_SIOCGIFADDR`.

Ref: curl#11964 (effort to sync cmake detections with autotools)

Closes #xxxxx
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.

None yet

1 participant