Commit e347cff0 authored by Guenter Knauf's avatar Guenter Knauf
Browse files

added define for ldap_ssl.h.

parent d79fdbc4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1728,6 +1728,7 @@ AC_CHECK_HEADERS(
        assert.h \
        unistd.h \
        stdlib.h \
        ldap_ssl.h \
        limits.h \
        arpa/inet.h \
        net/if.h \
+2 −0
Original line number Diff line number Diff line
@@ -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
+8 −1
Original line number Diff line number Diff line
@@ -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                     */
+2 −0
Original line number Diff line number Diff line
@@ -433,6 +433,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