[dovecot-cvs] dovecot configure.in,1.172,1.173

cras at dovecot.org cras at dovecot.org
Fri Jul 16 19:20:57 EEST 2004


Update of /home/cvs/dovecot
In directory talvi:/tmp/cvs-serv15839

Modified Files:
	configure.in 
Log Message:
Fixed to compile with Solaris LDAP library



Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.172
retrieving revision 1.173
diff -u -d -r1.172 -r1.173
--- configure.in	21 Jun 2004 14:51:04 -0000	1.172
+++ configure.in	16 Jul 2004 16:20:54 -0000	1.173
@@ -1011,6 +1011,9 @@
 if test $want_ldap = yes; then
 	AC_CHECK_LIB(ldap, ldap_init, [
 		AC_CHECK_HEADER(ldap.h, [
+			AC_CHECK_LIB(ldap, ldap_initialize, [
+				AC_DEFINE(LDAP_HAVE_INITIALIZE,, Define if you have ldap_initialize)
+			])
 			AUTH_LIBS="$AUTH_LIBS -lldap"
 
         		AC_DEFINE(USERDB_LDAP,, Build with LDAP support)



More information about the dovecot-cvs mailing list