diff options
author | Yang Tse <yangsita@gmail.com> | 2008-01-21 20:22:33 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-01-21 20:22:33 +0000 |
commit | a674654f83b61f1c83714e99af59b789bc747bea (patch) | |
tree | d2be8dc7d33cf988f9600882aff46695ec0f64ca | |
parent | 3caeb0a91fbf7dfbae5a42257f225f9a9304256c (diff) |
Disable ldap support for cygwin builds, since it breaks whole build process.
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | configure.ac | 25 |
2 files changed, 26 insertions, 3 deletions
@@ -6,6 +6,10 @@ 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) - 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 diff --git a/configure.ac b/configure.ac index 58a3a9a78..5f2e99055 100644 --- a/configure.ac +++ b/configure.ac @@ -323,10 +323,29 @@ AC_HELP_STRING([--disable-ldap],[Disable LDAP support]), AC_DEFINE(CURL_DISABLE_LDAP, 1, [to disable LDAP]) 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 ], - AC_MSG_RESULT(yes) + esac ],[ + 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_ARG_ENABLE(ldaps, |