From: Viktor Szakats Date: Sun, 5 Mar 2023 19:52:21 +0000 (+0000) Subject: Makefile.mk: delete redundant `HAVE_LDAP_SSL` macro [ci skip] X-Git-Tag: curl-8_0_0~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d0fa3a70d14f0dd275e5b41442406b74142687a;p=thirdparty%2Fcurl.git Makefile.mk: delete redundant `HAVE_LDAP_SSL` macro [ci skip] Since abebb2b8939c6b3e0f951eb2d9ec3729b569aa2c, we set this macro for all Windows `wldap32` builds using `Makefile.mk`. For OpenLDAP builds this macro is not enough to enable LDAPS, and OpenLDAP is not an option in `Makefile.mk`. For Novell LDAP it might have helped, but it's also not an option anymore in `Makefile.mk`. The future for LDAPS is that we should enable it by default without extra build knobs. Reviewed-by: Marcel Raad Closes #10681 --- diff --git a/lib/Makefile.mk b/lib/Makefile.mk index 3418ad14ad..ebf88547c0 100644 --- a/lib/Makefile.mk +++ b/lib/Makefile.mk @@ -310,9 +310,6 @@ endif ifneq ($(findstring -ipv6,$(CFG)),) CPPFLAGS += -DENABLE_IPV6 endif -ifneq ($(findstring -ldaps,$(CFG)),) - CPPFLAGS += -DHAVE_LDAP_SSL -endif ifneq ($(findstring -watt,$(CFG))$(MSDOS),) WATT_PATH ?= $(PROOT)/../watt