Auteur: Kevin P. Fleming Date: À: exim-users Sujet: Re: [Exim] Adding eciscan to exim
Nico Erfurth wrote:
> Well, the current patch is far from being complete :)
> It only supports the dl-interface (there are at least 2 others in the
> wild) and is only tested on linux.
If you're going to do this (which I think is a good thing) then you're
wasting your time if you're not using libtool to do the job. Libtool
already knows about a large number of platforms, what type of dynamic
loader (if any) is supported, etc. In combination with autoconf and a
proper configure script the user can select which modules they want
included in the binary and which should be dynamically loaded, unless
their platform doesn't support dynamic loading in which case they all
get linked into the binary. The nice part is the application itself
doesn't have to deal with this stuff at all, it's handled by libtool and
the app gets a nice clean "module" interface to deal with.
Take a look at Apache 2's configure/build process, they use these tools
to their fullest extent (as do gettext and the CVS version of m4). I
have some experience doing this with a smaller application and could
lend some assistance if needed.