Skip to content

autotools: restore HAVE_IOCTL_* detections#12008

Closed
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:autotools-restore-ioctl-detections
Closed

autotools: restore HAVE_IOCTL_* detections#12008
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:autotools-restore-ioctl-detections

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.

1 participant