On Sat, February 18, 2006 2:57 am, Aaron Stone wrote: > 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.
You know as painfull as it can be this may be a good time to work out a loadable at runtime module system using function pointers. > > > Incidentally, the default build appears to be static? acinclude.m4 seems > to indicate that builds should be shared by default... >From what I get from svn it seams shared is my default. > > Aaron > > > > _______________________________________________ > Dbmail-dev mailing list > Dbmail-dev@dbmail.org > http://twister.fastxs.net/mailman/listinfo/dbmail-dev > >