aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Makefile.netware3
-rw-r--r--src/Makefile.netware3
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index c30a1e0f5..8ebaa148c 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -457,6 +457,9 @@ ifdef DISABLE_LDAP
@echo $(DL)#define CURL_DISABLE_LDAP 1$(DL) >> $@
else
@echo $(DL)#define CURL_HAS_NOVELL_LDAPSDK 1$(DL) >> $@
+ifndef DISABLE_LDAPS
+ @echo $(DL)#define HAVE_LDAP_SSL 1$(DL) >> $@
+endif
@echo $(DL)#define HAVE_LDAP_SSL_H 1$(DL) >> $@
@echo $(DL)#define HAVE_LDAP_URL_PARSE 1$(DL) >> $@
endif
diff --git a/src/Makefile.netware b/src/Makefile.netware
index 9515c23c9..66a190baf 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -434,6 +434,9 @@ ifdef DISABLE_LDAP
@echo $(DL)#define CURL_DISABLE_LDAP 1$(DL) >> $@
else
@echo $(DL)#define CURL_HAS_NOVELL_LDAPSDK 1$(DL) >> $@
+ifndef DISABLE_LDAPS
+ @echo $(DL)#define HAVE_LDAP_SSL 1$(DL) >> $@
+endif
@echo $(DL)#define HAVE_LDAP_SSL_H 1$(DL) >> $@
@echo $(DL)#define HAVE_LDAP_URL_PARSE 1$(DL) >> $@
endif