[imapfilter-devel] configure and Make script

Lefteris Chatzimparmpas lefcha at hellug.gr
Mon Mar 19 03:02:57 EET 2007


Michael Skibbe wrote:
> ok. i saw that you wrote your own configure script which cat the Makefile. 
> IMHO it's better to use the autotools (autoconf, autoheader, ...). I wrote 
> the autotool configuration files for your project. Attached you can find a 
> tarball with version 1.3 and my changes.
> 
> [...]
> 
> it's very easy to maintain and develop autotool configuration files if they 
> are created once.

I still consider imapfilter's current configure/build mechanism
sufficient, at least for its complexity at this stage, and this has
nothing to do with the fact that I'm not fond of the autotools...

I believe that one cannot replace reading 5-10 lines from the
installation (requirements, configuration, etc.) section of the README
with autoconf, automake, etc.  The configure script supplied is as
simple as it gets for enabling/disabling imapfilter's options.

The only problem as I see it, are the include/library paths, something
that can be addressed easily with pkg-config, since both Lua and PCRE
seem to use that system now.

Bottom line is that imapfilter should compile fine if you have installed
Lua/PCRE/etc. in their default locations (if this isn't the case then
its a bug in imapfilter), and it's not really my problem if
distributions move all the time names/locations of the libraries they
install, and some major distributions already include imapfilter
packages, therefore...

> i hope you like this changes and import this to your project. it wasn't easy 
> to write these files.
> 
> [...]

I will look into the build system again, and also consider your work,
for which I thank you, but in the meantime, I'm sorry, but I don't think
that how hard was something to write is a reason to include it...

L.

PS. Also, I'm sorry for the delay but I was really busy trying to catch
project deadlines and study for exams (and stay sane at the same time)...




More information about the Imapfilter-devel mailing list