]> granicus.if.org Git - curl/commitdiff
Disable ldap support for cygwin builds, since it breaks whole build process.
authorYang Tse <yangsita@gmail.com>
Mon, 21 Jan 2008 20:22:33 +0000 (20:22 +0000)
committerYang Tse <yangsita@gmail.com>
Mon, 21 Jan 2008 20:22:33 +0000 (20:22 +0000)
CHANGES
configure.ac

diff --git a/CHANGES b/CHANGES
index 3175ee212725e7ff7377527fa7b41a642fe5b349..b7c19d0783b4f334d9bdc0ae3ad075e6e7464e4e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -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
index 58a3a9a7817327224615de11736164f1e625ac8a..5f2e99055075ab20983203c19428034429d80913 100644 (file)
@@ -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,