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 /libmu_scm | |
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 'libmu_scm')
-rw-r--r-- | libmu_scm/mu_scm.c | 1 | ||||
-rw-r--r-- | libmu_scm/tests/testsuite.at | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libmu_scm/mu_scm.c b/libmu_scm/mu_scm.c index 21aa14a73..f7ca1e72a 100644 --- a/libmu_scm/mu_scm.c +++ b/libmu_scm/mu_scm.c @@ -49,6 +49,7 @@ static struct format_record format_table[] = { { "mbox", &mu_mbox_record }, { "mh", &mu_mh_record }, { "maildir", &mu_maildir_record }, + { "dotmail", &mu_dotmail_record }, { "pop", &mu_pop_record }, { "pops", &mu_pops_record }, { "imap", &mu_imap_record }, diff --git a/libmu_scm/tests/testsuite.at b/libmu_scm/tests/testsuite.at index 514b727a2..6bd194757 100644 --- a/libmu_scm/tests/testsuite.at +++ b/libmu_scm/tests/testsuite.at @@ -14,6 +14,7 @@ m4_define([MU_GUILE_CHECK], [AT_DATA([input.scm],[dnl (use-modules ((mailutils mailutils)) ((mailutils ancilla))) +(mu-register-format "mbox") [$1] ]) m4_if(MU_TEST_MAILBOX,,,[MUT_MBCOPY($abs_top_srcdir/testsuite/MU_TEST_MAILBOX,mbox)]) |