Skip to content

cmake: detect HAVE_NETINET_IN6_H, HAVE_CLOSESOCKET_CAMEL, HAVE_PROTO_BSDSOCKET_H - #15172

Closed
vszakats wants to merge 3 commits into
curl:masterfrom
vszakats:cm-missing-detections
Closed

cmake: detect HAVE_NETINET_IN6_H, HAVE_CLOSESOCKET_CAMEL, HAVE_PROTO_BSDSOCKET_H#15172
vszakats wants to merge 3 commits into
curl:masterfrom
vszakats:cm-missing-detections

Conversation

@vszakats

@vszakats vszakats commented Oct 7, 2024

Copy link
Copy Markdown
Member

To sync with ./configure.

@vszakats vszakats added the cmake label Oct 7, 2024
@github-actions github-actions Bot added the build label Oct 7, 2024
@vszakats
vszakats force-pushed the cm-missing-detections branch from de93c46 to c2364c5 Compare October 7, 2024 02:18
@dfandrich

Copy link
Copy Markdown
Contributor

Analysis of PR #15172 at c2364c58:

Test 504 failed, which has NOT been flaky recently, so there could be a real issue in the PR.

Generated by Testclutch

do not add socket.h

committed to configure in 37eba37
to detect socket and closesocket, but then this header is nowhere
used from the code itself, suggesting this was unnecessary.

Let's not add this to cmake. It probably could be deleted from
configure.

limit HAVE_CLOSESOCKET_CAMEL to AmigaOS

limit HAVE_PROTO_BSDSOCKET_H to AmigaOS
Needed by HPE NonStop NSE and NSX systems

Follow-up to 76ebd54 curl#2155
@vszakats
vszakats force-pushed the cm-missing-detections branch from c2364c5 to ccb4007 Compare October 7, 2024 10:36
@vszakats vszakats closed this in e888069 Oct 7, 2024
@vszakats
vszakats deleted the cm-missing-detections branch October 7, 2024 11:45
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
…ROTO_BSDSOCKET_H`

To sync with `./configure`.

- `HAVE_NETINET_IN6_H` is
  needed by HPE NonStop NSE and NSX systems.
  Follow-up to 76ebd54 curl#2155

- `HAVE_CLOSESOCKET_CAMEL`, `HAVE_PROTO_BSDSOCKET_H`
  are for AmigaOS.
  (Note: `./configure` tries to detect these for all targets, cmake does
  it only for AmigaOS, to not inflate configure time.)

Closes curl#15172
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