Skip to content

check for resolv.h and arpa/nameser.h #1190

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

Merged
merged 1 commit into from
Aug 1, 2025
Merged

Conversation

Un1q32
Copy link
Contributor

@Un1q32 Un1q32 commented Aug 1, 2025

The CMake build does not define these macros, autoconf build does. This fixes the CMake build and brings it on par with autoconf.

Fixes #1189

@botovq
Copy link
Contributor

botovq commented Aug 1, 2025

Thanks. Looks good to me. I'll merge once the CI is green.

@Un1q32
Copy link
Contributor Author

Un1q32 commented Aug 1, 2025

grepping the include/compat directory for "HAVE_*_H" shows there is also a HAVE_READPASSPHRASE_H, but that macro isn't even defined by the autoconf build. It doesn't cause me any build issues so I'm not gonna touch it. Every other HAVE_*_H macro is properly defined in the CMake build.

@botovq botovq merged commit bbac3a6 into libressl:master Aug 1, 2025
44 checks passed
@botovq
Copy link
Contributor

botovq commented Aug 1, 2025

Thanks for pointing it out. That's something that looks pretty harmless but should be fixed. I opened #1191 for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CMake build doesn't properly define HAVE_RESOLV_H
2 participants