dovecot-2.0: dict: Support file backend also with dict proxy.

dovecot at dovecot.org dovecot at dovecot.org
Thu Sep 30 21:18:20 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/e3fbe13c0eab
changeset: 12214:e3fbe13c0eab
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Sep 30 19:18:13 2010 +0100
description:
dict: Support file backend also with dict proxy.

diffstat:

 configure.in             |  2 +-
 src/lib-dict/Makefile.am |  2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r d6582f3ee54d -r e3fbe13c0eab configure.in
--- a/configure.in	Thu Sep 30 17:57:55 2010 +0100
+++ b/configure.in	Thu Sep 30 19:18:13 2010 +0100
@@ -2046,7 +2046,7 @@
 fi
 AM_CONDITIONAL(LDAP_PLUGIN, test "$have_ldap_plugin" = "yes")
 
-dict_drivers=client
+dict_drivers=
 
 if test $want_db != no; then
   AC_CACHE_CHECK([db_env_create in -ldb],i_cv_have_db_env_create,[
diff -r d6582f3ee54d -r e3fbe13c0eab src/lib-dict/Makefile.am
--- a/src/lib-dict/Makefile.am	Thu Sep 30 17:57:55 2010 +0100
+++ b/src/lib-dict/Makefile.am	Thu Sep 30 19:18:13 2010 +0100
@@ -48,6 +48,7 @@
 	  fi; \
 	done
 	echo 'void dict_drivers_register_all(void) {' >>$@
+	echo 'dict_drivers_register_builtin();' >>$@
 	echo 'dict_sql_register();' >>$@
 	for i in $(dict_drivers) null; do \
 	  if [ "$${i}" != "null" ]; then \
@@ -56,6 +57,7 @@
 	done
 	echo '}' >>$@
 	echo 'void dict_drivers_unregister_all(void) {' >>$@
+	echo 'dict_drivers_unregister_builtin();' >>$@
 	echo 'dict_sql_unregister();' >>$@
 	for i in $(dict_drivers) null; do \
 	  if [ "$${i}" != "null" ]; then \


More information about the dovecot-cvs mailing list