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

cmake: cache more config and delete unused ones #11551

Closed
wants to merge 6 commits into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Jul 31, 2023

  • cache more Windows config results for faster initialization.

  • delete unused config macros HAVE_SYS_UTSNAME_H, HAVE_SSL_H.

  • delete dead references to sys/utsname.h.

Closes #11551

@vszakats vszakats added the cmake label Jul 31, 2023
@github-actions github-actions bot added build Windows Windows-specific labels Jul 31, 2023
@vszakats vszakats force-pushed the cmake-windows-precache-more branch from e25bea5 to f8d9401 Compare July 31, 2023 15:16
@vszakats vszakats force-pushed the cmake-windows-precache-more branch from f8d9401 to 4f51020 Compare August 1, 2023 10:19
It doesn't seem to be used since ecd29a2
(from 2002), but the header reference lived on and got copy-pasted to
more protocols. References in libssh.c/libssh2.c seems were unused all
along.

They were guarded by `HAVE_UTSNAME_H`, which was not defined by either
autotools or cmake.

The header was detected by cmake, but used the different macro name:
`HAVE_SYS_UTSNAME_H`, and also missed to include in `curl_config.h`.
@vszakats vszakats force-pushed the cmake-windows-precache-more branch from 4f51020 to 39801d7 Compare August 1, 2023 11:04
@vszakats vszakats changed the title cmake: cache more Windows config results cmake: cache more config results + delete unused ones Aug 1, 2023
@vszakats vszakats changed the title cmake: cache more config results + delete unused ones cmake: cache more config + delete unused ones Aug 1, 2023
@vszakats vszakats changed the title cmake: cache more config + delete unused ones cmake: cache more config and delete unused ones Aug 1, 2023
@vszakats

This comment was marked as outdated.

@dfandrich
Copy link
Contributor

dfandrich commented Aug 1, 2023 via email

@vszakats vszakats closed this in 00f8f9c Aug 1, 2023
@vszakats vszakats deleted the cmake-windows-precache-more branch August 1, 2023 22:00
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
- cache more Windows config results for faster initialization.

- delete unused config macros `HAVE_SYS_UTSNAME_H`, `HAVE_SSL_H`.

- delete dead references to `sys/utsname.h`.

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

2 participants