diff options
Diffstat (limited to 'm4/want_checkpassword.m4')
-rw-r--r-- | m4/want_checkpassword.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/m4/want_checkpassword.m4 b/m4/want_checkpassword.m4 new file mode 100644 index 0000000..696adb4 --- /dev/null +++ b/m4/want_checkpassword.m4 @@ -0,0 +1,11 @@ +AC_DEFUN([DOVECOT_WANT_CHECKPASSWORD], [ + if test $want_checkpassword != no; then + AC_DEFINE(PASSDB_CHECKPASSWORD,, [Build with checkpassword passdb support]) + AC_DEFINE(USERDB_CHECKPASSWORD,, [Build with checkpassword userdb support]) + passdb="$passdb checkpassword" + userdb="$userdb checkpassword" + else + not_passdb="$not_passdb checkpassword" + not_userdb="$not_userdb checkpassword" + fi +]) |