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: delete unused NEED_LBER_H, HAVE_LDAP_H #14690

Closed
wants to merge 7 commits into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Aug 26, 2024

Both are used by ./configure internally, not by curl C code.
CMake adds NEED_LBER_H to CURL_TEST_DEFINES, which is used by
curl_internal_test(), but there is no LDAP-related test made with that
call.

Thus, stop detecting and publishing these from CMake.

NEED_LBER_H added in 7320e53.
HAVE_LDAP_H added in 4c5307b (initial CMake commit).

@vszakats vszakats marked this pull request as draft August 26, 2024 12:06
@vszakats vszakats changed the title build: delete unused HAVE_LDAP_H (C macro) and NEED_LBER_H build: delete unused NEED_LBER_H Aug 26, 2024
@github-actions github-actions bot added the CI Continuous Integration label Aug 26, 2024
@vszakats vszakats changed the title build: delete unused NEED_LBER_H cmake: delete unused NEED_LBER_H, HAVE_LDAP_H Aug 26, 2024
@vszakats vszakats added cmake and removed build labels Aug 26, 2024
@vszakats vszakats marked this pull request as ready for review August 26, 2024 14:37
@vszakats
Copy link
Member Author

NEED_LBER_H was added in 7320e53.
Unless I'm missing something, this macro also wasn't used by this initial commit.

@vszakats vszakats closed this in 8d32e87 Sep 19, 2024
@vszakats vszakats deleted the del-NEED_LBER_H branch September 19, 2024 15:49
moritzbuhl pushed a commit to moritzbuhl/curl that referenced this pull request Sep 20, 2024
Both are used by `./configure` internally, not by curl C code.
CMake adds `NEED_LBER_H` to `CURL_TEST_DEFINES`, which is used by
`curl_internal_test()`, but there is no LDAP-related test made with that
call.

Thus, stop detecting and publishing these from CMake.

`NEED_LBER_H` added in 7320e53.
`HAVE_LDAP_H` added in 4c5307b (initial CMake commit).

Closes curl#14690
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration cmake LDAP tidy-up
Development

Successfully merging this pull request may close these issues.

1 participant