diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-10-31 15:39:01 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2008-10-31 15:39:01 +0000 |
commit | 8b1cbf520c6342b170ca2e0df8de4d75ba69d411 (patch) | |
tree | 1d2a87c996715e209272c469d584eefa403171b2 /configure.ac | |
parent | f7772b54228a9b6fd0f2d6929d2fe4a82ace01e4 (diff) | |
download | mailfromd-8b1cbf520c6342b170ca2e0df8de4d75ba69d411.tar.gz mailfromd-8b1cbf520c6342b170ca2e0df8de4d75ba69d411.tar.bz2 |
Allow to configure which macros to pass to the filter.
* gnulib.modules: Add inttostr
* smap/smap.c, pies/progman.c, pies/pies.h: Use umaxtostr, instead
of mu_umaxtostr.
* pmult/pmult.c (struct pmult_priv_data): New members: argc,
argv.
(macro_trans, meta_stage_trans, macrotab, macronames): New
globals.
(translate_macros0, translate_macros): New functions.
(define_macros, define_macros_iter): New functions.
(_cb_define, request_auth_macros): New functions.
(pmult_cfg_param): New keyword `define-macro'.
(pmult_free): Free argv.
(pmult_negotiate): Use sm_pmfi_setmacs, if available.
(pmult_connect, pmult_helo, pmult_mail, pmult_rcpt)
(pmult_data, process_headers, pmult_eom): Use translate_macros.
(main): Handle want_auth_macros.
* configure.ac: Check for sm_pmfi_setmacs. This function should
appear in meta1-1.0.PreAlpha28.0.
git-svn-id: file:///svnroot/mailfromd/trunk@1709 7a8a7f39-df28-0410-adc6-e0d955640f24
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d626e33d..36686cfa 100644 --- a/configure.ac +++ b/configure.ac @@ -581,6 +581,8 @@ if test "$enable_pmilter" = yes; then [AC_MSG_ERROR([Required library lib$file not found])]) done AC_SUBST(ENABLE_PMULT,'${PMULT_PROG}') + LIBS="$LIBS $META1_LIBS" + AC_CHECK_FUNCS([sm_pmfi_setmacs]) LIBS=$saved_LIBS fi |