cmake: delete unused NEED_LBER_H, HAVE_LDAP_H

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 7320e53d9e.
`HAVE_LDAP_H` added in 4c5307b456 (initial CMake commit).

Closes #14690
This commit is contained in:
Viktor Szakats 2024-08-26 13:53:41 +02:00
parent 9413949397
commit 8d32e878a0
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 2 additions and 36 deletions

View file

@ -50,6 +50,7 @@ my %remove = (
'#define HAVE_GETHOSTBYNAME 1' => 1,
'#define HAVE_INTTYPES_H 1' => 1,
'#define HAVE_IOCTL 1' => 1,
'#define HAVE_LDAP_H 1' => 1,
'#define HAVE_LDAP_SSL 1' => 1,
'#define HAVE_LIBBROTLIDEC 1' => 1,
'#define HAVE_LIBSOCKET 1' => 1,
@ -73,6 +74,7 @@ my %remove = (
'#define HAVE_ZSTD 1' => 1,
'#define HAVE_ZSTD_H 1' => 1,
'#define LT_OBJDIR ".libs/"' => 1,
'#define NEED_LBER_H 1' => 1,
'#define OS "Linux"' => 1,
'#define OS "x86_64-pc-linux-gnu"' => 1,
'#define PACKAGE "curl"' => 1,