Mercurial > hg > mlmmj
changeset 655:d0eac1a38a8b
Added --enable-recieve-strip configure option (Ansgar Burchardt)
author | mortenp |
---|---|
date | Mon, 18 Jun 2007 06:37:35 +1000 |
parents | 2fbc10540ee5 |
children | 2b70ab446832 |
files | ChangeLog README configure.ac contrib/recievestrip/Makefile.am src/Makefile.in |
diffstat | 5 files changed, 15 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Jun 14 08:27:21 2007 +1000 +++ b/ChangeLog Mon Jun 18 06:37:35 2007 +1000 @@ -1,3 +1,4 @@ + o Added --enable-recieve-strip configure option (Ansgar Burchardt) o Added unicode support to listtexts o Fixed build outside the source directory (Ansgar Burchardt) o Moved English listtexts and install all languages (Ansgar Burchardt)
--- a/README Thu Jun 14 08:27:21 2007 +1000 +++ b/README Mon Jun 18 06:37:35 2007 +1000 @@ -29,6 +29,10 @@ $ ./configure && make && make install + If you want to filter multipart/mime messages, pass the option + --enable-recieve-strip to configure, and take a look at + contrib/recievestrip/README. + 1) Configure a recipient delimiter. The default is to use '+', and in Postfix it's done by adding
--- a/configure.ac Thu Jun 14 08:27:21 2007 +1000 +++ b/configure.ac Mon Jun 18 06:37:35 2007 +1000 @@ -33,6 +33,11 @@ AC_SUBST(textlibdir) +AC_ARG_ENABLE([recieve-strip], + AS_HELP_STRING([--enable-recieve-strip], + [build mlmmj-recieve-strip (default is no)])) +AM_CONDITIONAL(WANT_RECIEVESTRIP, test x"$enable_recieve_strip" = xyes) + # Checks for library functions. AC_FUNC_MALLOC AC_CHECK_FUNCS([ftruncate memset socket strerror strncasecmp snprintf fcntl])
--- a/contrib/recievestrip/Makefile.am Thu Jun 14 08:27:21 2007 +1000 +++ b/contrib/recievestrip/Makefile.am Mon Jun 18 06:37:35 2007 +1000 @@ -5,7 +5,9 @@ AM_CFLAGS = -g -Wall -pedantic -Wsign-compare -DDEFAULTTEXTDIR='"@textlibdir@"' INCLUDES = -I$(srcdir)/../../include -noinst_PROGRAMS = mlmmj-recieve-strip +if WANT_RECIEVESTRIP + bin_PROGRAMS = mlmmj-recieve-strip +endif mlmmj_recieve_strip_SOURCES = mlmmj-recieve-strip.c ../../src/mygetline.c ../../src/memory.c ../../src/readn.c \ ../../src/strgen.c ../../src/random-int.c ../../src/log_error.c ../../src/print-version.c \
--- a/src/Makefile.in Thu Jun 14 08:27:21 2007 +1000 +++ b/src/Makefile.in Mon Jun 18 06:37:35 2007 +1000 @@ -79,6 +79,8 @@ SHELL = @SHELL@ STRIP = @STRIP@ VERSION = @VERSION@ +WANT_RECIEVESTRIP_FALSE = @WANT_RECIEVESTRIP_FALSE@ +WANT_RECIEVESTRIP_TRUE = @WANT_RECIEVESTRIP_TRUE@ ac_ct_CC = @ac_ct_CC@ ac_ct_STRIP = @ac_ct_STRIP@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@