# HG changeset patch # User mortenp # Date 1182112655 -36000 # Node ID d0eac1a38a8b7703786359ea34d7480556abfe4b # Parent 2fbc10540ee56e337d8016f5c7d856457829c3b4 Added --enable-recieve-strip configure option (Ansgar Burchardt) diff -r 2fbc10540ee5 -r d0eac1a38a8b ChangeLog --- 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) diff -r 2fbc10540ee5 -r d0eac1a38a8b README --- 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 diff -r 2fbc10540ee5 -r d0eac1a38a8b configure.ac --- 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]) diff -r 2fbc10540ee5 -r d0eac1a38a8b contrib/recievestrip/Makefile.am --- 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 \ diff -r 2fbc10540ee5 -r d0eac1a38a8b src/Makefile.in --- 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@