configure option to build and install mlmmj-recieve-strip
PATCH 1/1 configure option to build and install mlmmj-recieve-strip
Hi,
I added an option to configure to build and install mlmmj-recieve-strip.
Ansgar
README +4 -0
@@ -29,6 +29,10 @@ To use mlmmj, do the following: $ ./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
configure.ac +5 -0
@@ -33,6 +33,11 @@ exec_prefix=$savex 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])
contrib/recievestrip/Makefile.am +3 -1
@@ -5,7 +5,9 @@ AUTOMAKE_OPTIONS = foreign 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 \
Hi Ansgar,
Quoted 1 line · Ansgar Burchardt
I added an option to configure to build and install mlmmj-recieve-strip.
Thanks, committed.
Morten
Signature · 2 lines
Morten K. Poulsen <[email protected]> http://www.afdelingp.dk/