diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-03-12 12:04:08 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-03-12 12:04:08 +0200 |
commit | 02c6a0ad553ad51f91af9d9e6c28f2529e759305 (patch) | |
tree | 1aa932d4f8e938c570460c8fc414ff48309cc706 /configure.ac | |
parent | 7c10eca883faa5dd5b01bf1e50b04abb792a6639 (diff) | |
download | wydawca-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 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e165dea..94f6daf 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,7 @@ AC_CHECK_FUNCS([fchdir memset strchr strdup strerror strrchr setegid setregid\ AM_GNU_MAILUTILS(2.0, [mailer], [status_mailutils=yes], [status_mailutils=no]) AM_CONDITIONAL([COND_MAILUTILS],[test $status_mailutils = yes]) +AC_SUBST(WD_MAILUTILS,[$status_mailutils]) # ********************** # MySQL |