On Sat, 2006-02-18 at 01:59 -0500, Leif Jackson wrote: > On Fri, February 17, 2006 10:29 pm, Aaron Stone wrote:
> > I'm trying to figure out why sortmodule.c doesn't seem to be building > > unless --with-sieve is specified. The Makefile.am doesn't separate > > sortmodule.c from the other two module loaders... > > Right ok, well I belive it has to with other ifdef's then on the function > defs and having at least stub functions if the module is not ld'ed. But I > didn't really understand that was the goal. :) So the broken combination is static build without sieve. I suppose a null driver, sortnull.c, could stub the functions and give a warning: "Sieve enabled in config file but was not enabled at compile time." Either that or #ifdef (SIEVE || SHARED). The jury is out. Incidentally, the default build appears to be static? acinclude.m4 seems to indicate that builds should be shared by default... Aaron