New option --with-virtual-pwddir allows to configure the path to domain
passwd files. Defaults to <sysconfdir>/domain.
Showing
1 changed file
with
8 additions
and
0 deletions
... | @@ -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. | ... | ... |
-
Please register or sign in to post a comment