diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-05-30 09:59:45 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-05-30 10:09:36 +0300 |
commit | c7b2964d7b4a5e3437b1481f6474a38879cd9a8e (patch) | |
tree | 2860cc58e3a99f19be5989ec506310ef87516702 /configure.ac | |
parent | 20daef8388c97873f1d33c749e94ae558403f055 (diff) | |
download | mailutils-c7b2964d7b4a5e3437b1481f6474a38879cd9a8e.tar.gz mailutils-c7b2964d7b4a5e3437b1481f6474a38879cd9a8e.tar.bz2 |
Fix conditional compilation; add dotmail support to libmu_scm
* configure.ac: Accept dotmail as a value for MU_DEFAULT_SCHEME.
Display dotmail support status at the end of the run.
* libmailutils/base/nullrec.c: Provide placeholder for disabled dotmail.
* libmu_scm/mu_scm.c (format_table): Add dotmail.
* libmu_scm/tests/testsuite.at: Don't assume mbox as the default. Load
it explicitly.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 498014197..d49efad08 100644 --- a/configure.ac +++ b/configure.ac @@ -1271,14 +1271,14 @@ MU_ENABLE_SUPPORT(cxx, # Note: 1. Support for mbox type is always enabled. # 2. Only local mailbox types are allowed for MU_DEFAULT_SCHEME AC_ARG_VAR([MU_DEFAULT_SCHEME], - [Default mailbox record. Allowed values are: mbox (default), mh, and maildir.]) + [Default mailbox record. Allowed values are: mbox (default), dotmail, mh, and maildir.]) if test -z "$MU_DEFAULT_SCHEME"; then MU_DEFAULT_SCHEME=mbox fi case $MU_DEFAULT_SCHEME in mbox) ;; -mh|maildir) +mh|maildir|dotmail) eval testval=\$mu_cv_enable_$MU_DEFAULT_SCHEME if test "$testval" != yes; then AC_MSG_ERROR([Cannot set default mailbox record type: support for $MU_DEFAULT_SCHEME is disabled]) @@ -1427,6 +1427,7 @@ IMAP .......................... $status_imap POP ........................... $status_pop MH ............................ $status_mh maildir ....................... $status_maildir +dotmail ....................... $status_dotmail Mailers: @@ -1470,6 +1471,7 @@ status_imap=$mu_cv_enable_imap status_pop=$mu_cv_enable_pop status_mh=$mu_cv_enable_mh status_maildir=$mu_cv_enable_maildir +status_dotmail=$mu_cv_enable_dotmail status_smtp=$mu_cv_enable_smtp status_sendmail=$mu_cv_enable_sendmail status_ipv6=$status_ipv6 |