diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2021-01-11 20:30:16 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2021-01-11 20:30:16 +0200 |
commit | 25c2fc05d935da69bf513a795a5a9f175990275f (patch) | |
tree | 5ae7ecb60eb016bbc3a0a26ad2a9775eceeba090 | |
parent | 77cf5f0fd756ccef6ae133fd62fe13073f42373f (diff) | |
download | mailutils-25c2fc05d935da69bf513a795a5a9f175990275f.tar.gz mailutils-25c2fc05d935da69bf513a795a5a9f175990275f.tar.bz2 |
Fix building mda utilities with mailbox quotas off
-rw-r--r-- | mda/lib/util.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mda/lib/util.c b/mda/lib/util.c index 1e678723f..8c30930c6 100644 --- a/mda/lib/util.c +++ b/mda/lib/util.c | |||
@@ -156,12 +156,14 @@ mda_error (const char *fmt, ...) | |||
156 | va_end (ap); | 156 | va_end (ap); |
157 | } | 157 | } |
158 | 158 | ||
159 | #ifndef USE_MAILBOX_QUOTAS | ||
160 | # define mda_mailquota_cfg NULL | ||
161 | #endif | ||
162 | |||
159 | static struct mu_cli_capa mda_cli_capa[] = { | 163 | static struct mu_cli_capa mda_cli_capa[] = { |
160 | { "forward", NULL, mda_forward_cfg }, | 164 | { "forward", NULL, mda_forward_cfg }, |
161 | { "deliver", mda_deliver_options, mda_deliver_cfg }, | 165 | { "deliver", mda_deliver_options, mda_deliver_cfg }, |
162 | #ifdef USE_MAILBOX_QUOTAS | ||
163 | { "quota", NULL, mda_mailquota_cfg }, | 166 | { "quota", NULL, mda_mailquota_cfg }, |
164 | #endif | ||
165 | { "script", mda_script_options, mda_script_cfg }, | 167 | { "script", mda_script_options, mda_script_cfg }, |
166 | { NULL } | 168 | { NULL } |
167 | }; | 169 | }; |