Commit c2745178 c2745178e58a2f0e1cd3e865ef858b3e828f23a7 by Sergey Poznyakoff

Use ENABLE_VIRTUAL_DOMAINS

1 parent 8d1c338f
......@@ -20,7 +20,7 @@ source $top_srcdir/testsuite/lib/mailutils.exp
mu_init "--authentication generic --authorization virtdomain"
mu_version
if ![mu_check_capability USE_VIRTUAL_DOMAINS] {
if ![mu_check_capability ENABLE_VIRTUAL_DOMAINS] {
clone_output "WARNING: Support for virtual domains not compiled in"
clone_output "WARNING: Skipping tests for imap4d"
exit 0
......
......@@ -256,9 +256,6 @@ static char *mu_conf_option[] = {
#ifdef USE_LIBPAM
"USE_LIBPAM",
#endif
#ifdef USE_VIRTUAL_DOMAINS
"USE_VIRTUAL_DOMAINS",
#endif
#ifdef WITH_BDB2
"WITH_BDB2",
#endif
......@@ -286,6 +283,9 @@ static char *mu_conf_option[] = {
#ifdef HAVE_MYSQL
"HAVE_MYSQL",
#endif
#ifdef ENABLE_VIRTUAL_DOMAINS
"ENABLE_VIRTUAL_DOMAINS",
#endif
#ifdef ENABLE_IMAP
"ENABLE_IMAP",
#endif
......
......@@ -363,7 +363,7 @@ mu_getpwnam (const char *name)
int mu_virtual_domain;
#ifdef USE_VIRTUAL_DOMAINS
#ifdef ENABLE_VIRTUAL_DOMAINS
struct passwd *
getpwnam_virtual (const char *u)
......
......@@ -21,7 +21,7 @@ source $top_srcdir/testsuite/lib/mailutils.exp
mu_init "--authentication generic --authorization virtdomain"
mu_version
if ![mu_check_capability USE_VIRTUAL_DOMAINS] {
if ![mu_check_capability ENABLE_VIRTUAL_DOMAINS] {
clone_output "WARNING: Support for virtual domains not compiled in"
clone_output "WARNING: Skipping tests for pop3d"
exit 0
......