cURL / Mailing Lists / curl-library / Single Mail



From: Guenter Knauf <>
Date: Tue, 21 Aug 2007 16:59:35 +0200

>> Guenter, or anyone else on Windows with mingw and msys (to run the
>> configure script), does the current ldap code build with this setup?
ok, the patch seems to work, and now the MingW32 autobuilds work again.
But what me still confuses is the CURL_LDAP_HYBRID:
from what I see it was not all the time there, but recently introduced here:
and what I dont understand there is the check for wldap32; I think that the win32api is always there for Cygwin, but at least my Cygwin install has also OpenLDAP, so why should one prefer the win32api implementation with CURL_LDAP_HYBRID when you can do a clean build and depend on OpenLDAP?
Shouldnt the check be the other way, and first check if the OpenLDAP lib is present, and only use the win32api as last resort?

I did just a plain configure without any params with a fresh CVS checkout on Cygwin, and winldap stuff seems always used; here is my config.log + the resulting config.h:

then I modified to exclude Cygwin from the wldap32 check, and this resulted then in a binary which uses OpenLDAP instead which works fine so far.

Received on 2007-08-21