summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org.ua>2013-03-12 10:04:08 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2013-03-12 10:04:08 (GMT)
commit02c6a0ad553ad51f91af9d9e6c28f2529e759305 (patch) (side-by-side diff)
tree1aa932d4f8e938c570460c8fc414ff48309cc706 /src
parent7c10eca883faa5dd5b01bf1e50b04abb792a6639 (diff)
downloadwydawca-02c6a0ad553ad51f91af9d9e6c28f2529e759305.tar.gz
wydawca-02c6a0ad553ad51f91af9d9e6c28f2529e759305.tar.bz2
Enable notification tests conditionally.
The tests are enabled only if the mailutils module is built. * configure.ac (WD_MAILUTILS): New subst variable. * tests/atlocal.in (WD_MAILUTILS): New variable. * tests/testsuite.at (AT_MAILUTILS_PREREQ): New macro. * tests/check-notify.at: Skip the test if mailutils is not configured. * tests/mailstats.at: Likewise. * tests/notify-upl.at: Likewise. * modules/mailutils/mod_mailutils.c (get_uploader_email): Simplify the signature. (expand_email_admin,expand_email_owner): Make static. * src/wydawca.h (expand_email_admin,expand_email_owner): Remove protos.
Diffstat (limited to 'src') (more/less context) (ignore whitespace changes)
-rw-r--r--src/wydawca.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wydawca.h b/src/wydawca.h
index 08126ac..1948e75 100644
--- a/src/wydawca.h
+++ b/src/wydawca.h
@@ -318,8 +318,6 @@ char *meta_expand_string(const char *string, struct metadef *def, void *data,
void meta_free(struct metadef *def);
struct metadef *metadef_join(struct metadef *a, struct metadef *b);
-const char *expand_email_admin(struct metadef *def, void *data);
-const char *expand_email_owner(struct metadef *def, void *data);
/* Modules */

Return to:

Send suggestions and report system problems to the System administrator.