1
0
mirror of https://github.com/moparisthebest/curl synced 2025-01-02 17:38:00 -05:00

Disable ldap support for cygwin builds, since it breaks whole build process.

This commit is contained in:
Yang Tse 2008-01-21 20:22:33 +00:00
parent 3caeb0a91f
commit a674654f83
2 changed files with 26 additions and 3 deletions

View File

@ -6,6 +6,10 @@
Changelog Changelog
Yang Tse (21 Jan 2008)
- Disable ldap support for cygwin builds, since it breaks whole build process.
Fixing it will affect other platforms, so it is postponed for another release.
Daniel S (18 Jan 2008) Daniel S (18 Jan 2008)
- Lau Hang Kin found and fixed a problem with the multi interface when doing - Lau Hang Kin found and fixed a problem with the multi interface when doing
CONNECT over a proxy. curl_multi_fdset() didn't report back the socket CONNECT over a proxy. curl_multi_fdset() didn't report back the socket

View File

@ -323,10 +323,29 @@ AC_HELP_STRING([--disable-ldap],[Disable LDAP support]),
AC_DEFINE(CURL_DISABLE_LDAP, 1, [to disable LDAP]) AC_DEFINE(CURL_DISABLE_LDAP, 1, [to disable LDAP])
AC_SUBST(CURL_DISABLE_LDAP, [1]) AC_SUBST(CURL_DISABLE_LDAP, [1])
;; ;;
*) AC_MSG_RESULT(yes) *)
case $host in
*-*-cygwin*)
# Force no ldap. config/build process is broken for cygwin
AC_DEFINE(CURL_DISABLE_LDAP, 1, [to disable LDAP])
AC_SUBST(CURL_DISABLE_LDAP, [1])
AC_MSG_RESULT(no)
;;
*)
AC_MSG_RESULT(yes)
esac
;; ;;
esac ], esac ],[
AC_MSG_RESULT(yes) case $host in
*-*-cygwin*)
# Force no ldap. config/build process is broken for cygwin
AC_DEFINE(CURL_DISABLE_LDAP, 1, [to disable LDAP])
AC_SUBST(CURL_DISABLE_LDAP, [1])
AC_MSG_RESULT(no)
;;
*)
AC_MSG_RESULT(yes)
esac ]
) )
AC_MSG_CHECKING([whether to support ldaps]) AC_MSG_CHECKING([whether to support ldaps])
AC_ARG_ENABLE(ldaps, AC_ARG_ENABLE(ldaps,