dovecot-2.0: auth: Removed USERDB_STATIC macro. It's always buil...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Jun 2 18:08:17 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/d8a801d2d3f1
changeset: 11453:d8a801d2d3f1
user: Timo Sirainen <tss at iki.fi>
date: Wed Jun 02 15:50:37 2010 +0100
description:
auth: Removed USERDB_STATIC macro. It's always built anyway.
diffstat:
configure.in | 8 +-------
src/auth/userdb-static.c | 7 -------
2 files changed, 1 insertions(+), 14 deletions(-)
diffs (46 lines):
diff -r dc94f9240ec1 -r d8a801d2d3f1 configure.in
--- a/configure.in Wed Jun 02 01:23:51 2010 +0100
+++ b/configure.in Wed Jun 02 15:50:37 2010 +0100
@@ -258,7 +258,6 @@
want_passwd=yes
want_passwd_file=yes
want_checkpassword=yes
-want_static_userdb=yes
want_prefetch_userdb=yes
AC_ISC_POSIX
@@ -1746,12 +1745,7 @@
not_userdb=""
not_passdb=""
-if test $want_static_userdb != no; then
- AC_DEFINE(USERDB_STATIC,, Build with static userdb support)
- userdb="$userdb static"
-else
- not_userdb="$not_userdb static"
-fi
+userdb="$userdb static"
if test $want_prefetch_userdb != no; then
AC_DEFINE(USERDB_PREFETCH,, Build with prefetch userdb support)
diff -r dc94f9240ec1 -r d8a801d2d3f1 src/auth/userdb-static.c
--- a/src/auth/userdb-static.c Wed Jun 02 01:23:51 2010 +0100
+++ b/src/auth/userdb-static.c Wed Jun 02 15:50:37 2010 +0100
@@ -122,8 +122,6 @@
}
}
-#ifdef USERDB_STATIC
-
struct static_context {
userdb_callback_t *callback, *old_callback;
void *old_context;
@@ -242,8 +240,3 @@
NULL,
NULL
};
-#else
-struct userdb_module_interface userdb_static = {
- .name = "static"
-};
-#endif
More information about the dovecot-cvs
mailing list