aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.netware2
-rw-r--r--lib/config-win32.h9
2 files changed, 10 insertions, 1 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index 6aa38c49d..c30a1e0f5 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -456,6 +456,8 @@ endif
ifdef DISABLE_LDAP
@echo $(DL)#define CURL_DISABLE_LDAP 1$(DL) >> $@
else
+ @echo $(DL)#define CURL_HAS_NOVELL_LDAPSDK 1$(DL) >> $@
+ @echo $(DL)#define HAVE_LDAP_SSL_H 1$(DL) >> $@
@echo $(DL)#define HAVE_LDAP_URL_PARSE 1$(DL) >> $@
endif
ifdef NW_WINSOCK
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 91e76e974..6a2500c37 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -353,9 +353,16 @@
/* LDAP SUPPORT */
/* ---------------------------------------------------------------- */
-#define CURL_LDAP_WIN 1
+#ifdef CURL_HAS_NOVELL_LDAPSDK
+#undef CURL_LDAP_HYBRID
+#undef CURL_LDAP_WIN
+#define HAVE_LDAP_SSL_H 1
+#define HAVE_LDAP_URL_PARSE 1
+#else
#undef CURL_LDAP_HYBRID
#undef HAVE_LDAP_URL_PARSE
+#define CURL_LDAP_WIN 1
+#endif
/* ---------------------------------------------------------------- */
/* ADDITIONAL DEFINITIONS */