Commit 032eb706 032eb706531461dd27d5610f1157f6be4a32387e by Sergey Poznyakoff

New option --with-virtual-pwddir allows to configure the path to domain

passwd files. Defaults to <sysconfdir>/domain.
1 parent 4bb9592f
...@@ -145,6 +145,14 @@ dnl Virtual domain support, at least for pop3d ...@@ -145,6 +145,14 @@ dnl Virtual domain support, at least for pop3d
145 AC_ARG_ENABLE(virtual-domains, [ --enable-virtual-domains enable virtual domain support (default no)], [use_virtual_domains="yes"],,) 145 AC_ARG_ENABLE(virtual-domains, [ --enable-virtual-domains enable virtual domain support (default no)], [use_virtual_domains="yes"],,)
146 if test x"$use_virtual_domains" = x"yes"; then 146 if test x"$use_virtual_domains" = x"yes"; then
147 AC_DEFINE(USE_VIRTUAL_DOMAINS) 147 AC_DEFINE(USE_VIRTUAL_DOMAINS)
148 AC_SUBST(SITE_VIRTUAL_PWDDIR)
149 AC_ARG_WITH(virtual-pwddir,
150 [ --with-virtual-pwddir=DIR use DIR instead of \$sysconfdir/domain],
151 [case "${withval}" in
152 /*) SITE_VIRTUAL_PWDDIR="${withval}";;
153 *) SITE_VIRTUAL_PWDDIR="\$(sysconfdir)/${withval}";;
154 esac],
155 [SITE_VIRTUAL_PWDDIR="\$(sysconfdir)/domain"])
148 fi 156 fi
149 157
150 dnl Use either PAM or CRYPT, not both. 158 dnl Use either PAM or CRYPT, not both.
......