summaryrefslogtreecommitdiffstats
path: root/m4/want_checkpassword.m4
blob: 696adb47ecef2eb0e31af38373797c967f053b71 (plain)
1
2
3
4
5
6
7
8
9
10
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
])