1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

added define for ldap_ssl.h.

This commit is contained in:
Gunter Knauf 2007-08-20 12:50:44 +00:00
parent d79fdbc46e
commit e347cff0e4
4 changed files with 13 additions and 1 deletions

View File

@ -1728,6 +1728,7 @@ AC_CHECK_HEADERS(
assert.h \ assert.h \
unistd.h \ unistd.h \
stdlib.h \ stdlib.h \
ldap_ssl.h \
limits.h \ limits.h \
arpa/inet.h \ arpa/inet.h \
net/if.h \ net/if.h \

View File

@ -456,6 +456,8 @@ endif
ifdef DISABLE_LDAP ifdef DISABLE_LDAP
@echo $(DL)#define CURL_DISABLE_LDAP 1$(DL) >> $@ @echo $(DL)#define CURL_DISABLE_LDAP 1$(DL) >> $@
else 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) >> $@ @echo $(DL)#define HAVE_LDAP_URL_PARSE 1$(DL) >> $@
endif endif
ifdef NW_WINSOCK ifdef NW_WINSOCK

View File

@ -353,9 +353,16 @@
/* LDAP SUPPORT */ /* 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 CURL_LDAP_HYBRID
#undef HAVE_LDAP_URL_PARSE #undef HAVE_LDAP_URL_PARSE
#define CURL_LDAP_WIN 1
#endif
/* ---------------------------------------------------------------- */ /* ---------------------------------------------------------------- */
/* ADDITIONAL DEFINITIONS */ /* ADDITIONAL DEFINITIONS */

View File

@ -433,6 +433,8 @@ endif
ifdef DISABLE_LDAP ifdef DISABLE_LDAP
@echo $(DL)#define CURL_DISABLE_LDAP 1$(DL) >> $@ @echo $(DL)#define CURL_DISABLE_LDAP 1$(DL) >> $@
else 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) >> $@ @echo $(DL)#define HAVE_LDAP_URL_PARSE 1$(DL) >> $@
endif endif
ifdef NW_WINSOCK ifdef NW_WINSOCK