http://bugs.winehq.org/show_bug.cgi?id=13704
--- Comment #3 from Rion rion@plotinka.ru 2008-06-05 12:25:29 --- Created an attachment (id=13725) --> (http://bugs.winehq.org/attachment.cgi?id=13725) config.log
i tried to make it as simple as possible excluding all other parameters from configure.
LDFLAGS="-Wl,--as-needed" ./configure --with-ldap ..... configure: error: libldap (OpenLDAP) development files not found, LDAP won't be supported. This is an error since --with-ldap was requested.